Click or drag to resize
MimeKit

ApplicationPkcs7MimeDecompress Method (SecureMimeContext)

Decompress the compressed-data.

Namespace:  MimeKit.Cryptography
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
public MimeEntity Decompress(
	SecureMimeContext ctx
)

Parameters

ctx
Type: MimeKit.CryptographySecureMimeContext
The S/MIME context to use for decompressing.

Return Value

Type: MimeEntity
The decompressed MimeEntity.
Exceptions
ExceptionCondition
ArgumentNullExceptionctx is null.
InvalidOperationException The "smime-type" parameter on the Content-Type header is not "compressed-data".
CmsException An error occurred in the cryptographic message syntax subsystem.
Remarks
Decompresses the compressed-data using the specified SecureMimeContext.
See Also