Click or drag to resize
MimeKit

MultipartSignedVerify(CancellationToken) Method

Verify the multipart/signed part.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public DigitalSignatureCollection Verify(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

DigitalSignatureCollection
A signer info collection.
Exceptions
ExceptionCondition
FormatException

The protocol parameter was not specified.

-or-

The multipart is malformed in some way.

NotSupportedException A cryptography context suitable for verifying the signature could not be found.
ObjectDisposedException The MultipartSigned has been disposed.
OperationCanceledException The operation was cancelled via the cancellation token.
CmsException An error occurred in the cryptographic message syntax subsystem.
Remarks
Verifies the multipart/signed part using the default cryptography context.
See Also