Click or drag to resize
MimeKit

ICryptographyContext Methods

The ICryptographyContext type exposes the following members.

Methods
 NameDescription
Public methodCanEncrypt Check whether or not the cryptography context can encrypt to a particular recipient.
Public methodCanEncryptAsync Asynchronously check whether or not the cryptography context can encrypt to a particular recipient.
Public methodCanSign Check whether or not a particular mailbox address can be used for signing.
Public methodCanSignAsync Asynchronously check whether or not a particular mailbox address can be used for signing.
Public methodDecrypt Decrypt the specified encryptedData.
Public methodDecryptAsync Asynchronously decrypt the specified encryptedData.
Public methodDisable(DigestAlgorithm) Disable the digest algorithm.
Public methodDisable(EncryptionAlgorithm) Disable the encryption algorithm.
Public methodDispose
(Inherited from IDisposable)
Public methodEnable(DigestAlgorithm) Enable the digest algorithm.
Public methodEnable(EncryptionAlgorithm) Enable the encryption algorithm.
Public methodEncrypt Encrypt the specified content for the specified recipients.
Public methodEncryptAsync Asynchronously encrypt the specified content for the specified recipients.
Public methodExport Exports the keys for the specified mailboxes.
Public methodExportAsync Asynchronously exports the keys for the specified mailboxes.
Public methodGetDigestAlgorithm Get the digest algorithm from the micalg parameter value in a multipart/signed part.
Public methodGetDigestAlgorithmName Get the string name of the digest algorithm for use with the micalg parameter of a multipart/signed part.
Public methodImport Imports the public certificates or keys from the specified stream.
Public methodImportAsync Asynchronously imports the public certificates or keys from the specified stream.
Public methodIsEnabled(DigestAlgorithm) Check whether the specified digest algorithm is enabled.
Public methodIsEnabled(EncryptionAlgorithm) Check whether the specified encryption algorithm is enabled.
Public methodSign Sign the content using the specified signer and digest algorithm.
Public methodSignAsync Asynchronously sign the content using the specified signer and digest algorithm.
Public methodSupports Check whether or not the specified protocol is supported by the ICryptographyContext.
Public methodVerify Verify the specified content using the detached signatureData.
Public methodVerifyAsync Asynchronously verify the specified content using the detached signatureData.
Top
See Also