![]() | SecureMimeContext Class |
Namespace: MimeKit.Cryptography
public abstract class SecureMimeContext : CryptographyContext
The SecureMimeContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | SecureMimeContext |
Initialize a new instance of the SecureMimeContext class.
|
Name | Description | |
---|---|---|
![]() | DigestAlgorithmRank |
Get the preferred rank order for the digest algorithms; from the most preferred to the least.
(Inherited from CryptographyContext.) |
![]() | EnabledDigestAlgorithms |
Get the enabled digest algorithms in ranked order.
(Inherited from CryptographyContext.) |
![]() | EnabledEncryptionAlgorithms |
Get the enabled encryption algorithms in ranked order.
(Inherited from CryptographyContext.) |
![]() | EncryptionAlgorithmRank |
Get the preferred rank order for the encryption algorithms; from the most preferred to the least.
(Inherited from CryptographyContext.) |
![]() | EncryptionProtocol |
Get the encryption protocol.
(Overrides CryptographyContextEncryptionProtocol.) |
![]() | KeyExchangeProtocol |
Get the key exchange protocol.
(Overrides CryptographyContextKeyExchangeProtocol.) |
![]() | PrepareBeforeSigning |
Get or set whether MimeEntitys should be prepared before signing.
(Inherited from CryptographyContext.) |
![]() | SignatureProtocol |
Get the signature protocol.
(Overrides CryptographyContextSignatureProtocol.) |
Name | Description | |
---|---|---|
![]() | CanEncrypt |
Check whether or not the cryptography context can encrypt to a particular recipient.
(Inherited from CryptographyContext.) |
![]() | CanEncryptAsync |
Asynchronously check whether or not the cryptography context can encrypt to a particular recipient.
(Inherited from CryptographyContext.) |
![]() | CanSign |
Check whether or not a particular mailbox address can be used for signing.
(Inherited from CryptographyContext.) |
![]() | CanSignAsync |
Asynchronously check whether or not a particular mailbox address can be used for signing.
(Inherited from CryptographyContext.) |
![]() | Compress |
Compress the specified stream.
|
![]() | CompressAsync |
Asynchronously compress the specified stream.
|
![]() | Decompress |
Decompress the specified stream.
|
![]() | DecompressAsync |
Asynchronously decompress the specified stream.
|
![]() | DecompressTo |
Decompress the specified stream to an output stream.
|
![]() | DecompressToAsync |
Asynchronously decompress the specified stream to an output stream.
|
![]() | Decrypt |
Decrypt the specified encryptedData.
(Inherited from CryptographyContext.) |
![]() | DecryptAsync |
Asynchronously decrypt the specified encryptedData.
(Inherited from CryptographyContext.) |
![]() | DecryptTo |
Decrypts the specified encryptedData to an output stream.
|
![]() | DecryptToAsync |
Asynchronously decrypts the specified encryptedData to an output stream.
|
![]() | Disable(DigestAlgorithm) |
Disable the digest algorithm.
(Inherited from CryptographyContext.) |
![]() | Disable(EncryptionAlgorithm) |
Disable the encryption algorithm.
(Inherited from CryptographyContext.) |
![]() | Dispose |
Releases all resources used by the CryptographyContext object.
(Inherited from CryptographyContext.) |
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the CryptographyContext and
optionally releases the managed resources.
(Inherited from CryptographyContext.) |
![]() | Enable(DigestAlgorithm) |
Enable the digest algorithm.
(Inherited from CryptographyContext.) |
![]() | Enable(EncryptionAlgorithm) |
Enable the encryption algorithm.
(Inherited from CryptographyContext.) |
![]() | EncapsulatedSign(CmsSigner, Stream, CancellationToken) |
Sign and encapsulate the content using the specified signer.
|
![]() | EncapsulatedSign(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Sign and encapsulate the content using the specified signer and digest algorithm.
|
![]() | EncapsulatedSignAsync(CmsSigner, Stream, CancellationToken) |
Asynchronously sign and encapsulate the content using the specified signer.
|
![]() | EncapsulatedSignAsync(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Asynchronously sign and encapsulate the content using the specified signer and digest algorithm.
|
![]() | Encrypt(CmsRecipientCollection, Stream, CancellationToken) |
Encrypts the specified content for the specified recipients.
|
![]() | Encrypt(IEnumerableMailboxAddress, Stream, CancellationToken) |
Encrypt the specified content for the specified recipients.
(Inherited from CryptographyContext.) |
![]() | EncryptAsync(CmsRecipientCollection, Stream, CancellationToken) |
Asynchronously encrypts the specified content for the specified recipients.
|
![]() | EncryptAsync(IEnumerableMailboxAddress, Stream, CancellationToken) |
Asynchronously encrypt the specified content for the specified recipients.
(Inherited from CryptographyContext.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Export |
Exports the keys for the specified mailboxes.
(Inherited from CryptographyContext.) |
![]() | ExportAsync |
Asynchronously exports the keys for the specified mailboxes.
(Inherited from CryptographyContext.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDigestAlgorithm |
Get the digest algorithm from the micalg parameter value in a multipart/signed part.
(Overrides CryptographyContextGetDigestAlgorithm(String).) |
![]() | GetDigestAlgorithmName |
Get the string name of the digest algorithm for use with the micalg parameter of a multipart/signed part.
(Overrides CryptographyContextGetDigestAlgorithmName(DigestAlgorithm).) |
![]() ![]() | GetDigestOid |
Get the OID for the digest algorithm.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPreferredEncryptionAlgorithm |
Get the preferred encryption algorithm to use for encrypting to the specified recipients.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Import(Stream, CancellationToken) |
Import certificates (as from a certs-only application/pkcs-mime part)
from the specified stream.
(Overrides CryptographyContextImport(Stream, CancellationToken).) |
![]() | Import(X509Certificate, CancellationToken) |
Import the specified certificate.
|
![]() | Import(X509Crl, CancellationToken) |
Import the specified certificate revocation list.
|
![]() | Import(Stream, String, CancellationToken) |
Imports certificates and keys from a pkcs12-encoded stream.
|
![]() | Import(String, String, CancellationToken) |
Imports certificates and keys from a pkcs12 file.
|
![]() | ImportAsync(Stream, CancellationToken) |
Asynchronously import certificates (as from a certs-only application/pkcs-mime part)
from the specified stream.
(Overrides CryptographyContextImportAsync(Stream, CancellationToken).) |
![]() | ImportAsync(X509Certificate, CancellationToken) |
Asynchronously import the specified certificate.
|
![]() | ImportAsync(X509Crl, CancellationToken) |
Asynchronously import the specified certificate revocation list.
|
![]() | ImportAsync(Stream, String, CancellationToken) |
Asynchronously imports certificates and keys from a pkcs12-encoded stream.
|
![]() | ImportAsync(String, String, CancellationToken) |
Asynchronously imports certificates and keys from a pkcs12 file.
|
![]() | IsEnabled(DigestAlgorithm) |
Check whether the specified digest algorithm is enabled.
(Inherited from CryptographyContext.) |
![]() | IsEnabled(EncryptionAlgorithm) |
Check whether the specified encryption algorithm is enabled.
(Inherited from CryptographyContext.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Sign(CmsSigner, Stream, CancellationToken) |
Sign the content using the specified signer.
|
![]() | Sign(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Sign the content using the specified signer and digest algorithm.
(Inherited from CryptographyContext.) |
![]() | SignAsync(CmsSigner, Stream, CancellationToken) |
Asynchronously sign the content using the specified signer.
|
![]() | SignAsync(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Asynchronously sign the content using the specified signer and digest algorithm.
(Inherited from CryptographyContext.) |
![]() | Supports |
Check whether or not the specified protocol is supported by the CryptographyContext.
(Overrides CryptographyContextSupports(String).) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Verify(Stream, Stream, CancellationToken) |
Verify the specified content using the detached signatureData.
(Inherited from CryptographyContext.) |
![]() | Verify(Stream, DigitalSignatureCollection, CancellationToken) |
Verify the digital signatures of the specified signed data and extract the original content.
|
![]() | Verify(Stream, MimeEntity, CancellationToken) |
Verify the digital signatures of the specified signed data and extract the original content.
|
![]() | VerifyAsync |
Asynchronously verify the specified content using the detached signatureData.
(Inherited from CryptographyContext.) |