| IApplicationPkcs7MimeVerify(SecureMimeContext, MimeEntity, CancellationToken) Method |
Verify the signed-data and return the unencapsulated
MimeEntity.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax DigitalSignatureCollection Verify(
SecureMimeContext ctx,
out MimeEntity entity,
CancellationToken cancellationToken = default
)
Parameters
- ctx SecureMimeContext
- The S/MIME context to use for verifying the signature.
- entity MimeEntity
- The unencapsulated entity.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
DigitalSignatureCollectionThe list of digital signatures.
Exceptions Remarks
Verifies the signed-data and returns the unencapsulated
MimeEntity.
See Also