IApplication |
MimeEntity Decrypt( SecureMimeContext ctx, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | ctx is null. |
InvalidOperationException | The "smime-type" parameter on the Content-Type header is not "enveloped-data". |
ObjectDisposedException | The IApplicationPkcs7Mime has been disposed. |
OperationCanceledException | The operation was canceled via the cancellation token. |
CmsException | An error occurred in the cryptographic message syntax subsystem. |