| BouncyCastleSecureMimeContextVerify(Stream, Stream, CancellationToken) Method |
Verify the specified content using the detached signature data.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax public override DigitalSignatureCollection Verify(
Stream content,
Stream signatureData,
CancellationToken cancellationToken = default
)
Parameters
- content Stream
- The content.
- signatureData Stream
- The detached signature data.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
DigitalSignatureCollectionA list of the digital signatures.
Exceptions Exception | Condition |
---|
ArgumentNullException | content is null. -or- signatureData is null. |
CmsException |
An error occurred in the cryptographic message syntax subsystem.
|
OperationCanceledException |
The operation was canceled via the cancellation token.
|
Remarks
Verifies the specified content using the detached signature data.
See Also