| IApplicationPkcs7MimeDecryptAsync(SecureMimeContext, CancellationToken) Method |
Asynchronously decrypt the enveloped-data.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax Task<MimeEntity> DecryptAsync(
SecureMimeContext ctx,
CancellationToken cancellationToken = default
)
Parameters
- ctx SecureMimeContext
- The S/MIME context to use for decrypting.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskMimeEntityThe decrypted
MimeEntity.
Exceptions Remarks See Also