 | IApplicationPkcs7MimeDecryptAsync(SecureMimeContext, CancellationToken) Method |
Asynchronously decrypt the enveloped-data.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
SyntaxTask<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