Click or drag to resize
MimeKit

CryptographyContextVerify Method

Verify the specified content using the detached signatureData.

Namespace:  MimeKit.Cryptography
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
public abstract DigitalSignatureCollection Verify(
	Stream content,
	Stream signatureData,
	CancellationToken cancellationToken = default
)

Parameters

content
Type: System.IOStream
The content.
signatureData
Type: System.IOStream
The signature data.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: DigitalSignatureCollection
A list of digital signatures.
Exceptions
ExceptionCondition
ArgumentNullException

content is null.

-or-

signatureData is null.

OperationCanceledException The operation was canceled via the cancellation token.
Remarks
Verifies the specified content using the detached signatureData.
See Also