Bouncy | 
public override Task<ApplicationPkcs7Signature> SignAsync( CmsSigner signer, Stream content, CancellationToken cancellationToken = default )
| Exception | Condition | 
|---|---|
| ArgumentNullException | signer is . -or- content is .  | 
| OperationCanceledException | The operation was canceled via the cancellation token. | 
| CmsException | An error occurred in the cryptographic message syntax subsystem. |