Application |
public DigitalSignatureCollection Verify( SecureMimeContext ctx, out MimeEntity entity, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | ctx is null. |
InvalidOperationException | The "smime-type" parameter on the Content-Type header is not "signed-data". |
FormatException | The extracted content could not be parsed as a MIME entity. |
ObjectDisposedException | The ApplicationPkcs7Mime has been disposed. |
OperationCanceledException | The operation was canceled via the cancellation token. |
CmsException | An error occurred in the cryptographic message syntax subsystem. |