Multipart |
public static MultipartSigned Create( CmsSigner signer, MimeEntity entity, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | signer is null. -or- entity is null. |
NotSupportedException | A cryptography context suitable for signing could not be found. |
ObjectDisposedException | entity has been disposed. |
OperationCanceledException | The operation was canceled via the cancellation token. |
CmsException | An error occurred in the cryptographic message syntax subsystem. |