Bouncy |
public override ApplicationPkcs7Mime Encrypt( CmsRecipientCollection recipients, Stream content, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | recipients is null. -or- content is null. |
OperationCanceledException | The operation was canceled via the cancellation token. |
CmsException | An error occurred in the cryptographic message syntax subsystem. |