Default |
public class DefaultSecureMimeContext : BouncyCastleSecureMimeContext
The DefaultSecureMimeContext type exposes the following members.
| Name | Description | |
|---|---|---|
| DefaultSecureMimeContext | Initialize a new instance of the DefaultSecureMimeContext class. | |
| DefaultSecureMimeContext(IX509CertificateDatabase) | Initialize a new instance of the DefaultSecureMimeContext class. | |
| DefaultSecureMimeContext(String) | Initialize a new instance of the DefaultSecureMimeContext class. | |
| DefaultSecureMimeContext(IX509CertificateDatabase, SecureRandom) | Initialize a new instance of the DefaultSecureMimeContext class. | |
| DefaultSecureMimeContext(String, SecureRandom) | Initialize a new instance of the DefaultSecureMimeContext class. | |
| DefaultSecureMimeContext(String, String) | Initialize a new instance of the DefaultSecureMimeContext class. | |
| DefaultSecureMimeContext(String, String, SecureRandom) | Initialize a new instance of the DefaultSecureMimeContext class. |
| Name | Description | |
|---|---|---|
| CheckCertificateRevocation |
Get or set whether certificate revocation lists should be downloaded when verifying signatures.
(Inherited from BouncyCastleSecureMimeContext) | |
| 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.
(Inherited from SecureMimeContext) | |
| HttpClient |
Get the HTTP client to use for downloading CRLs.
(Inherited from BouncyCastleSecureMimeContext) | |
| KeyExchangeProtocol |
Get the key exchange protocol.
(Inherited from SecureMimeContext) | |
| PrepareBeforeSigning |
Get or set whether a MimeEntity should be prepared before signing.
(Inherited from CryptographyContext) | |
| RandomNumberGenerator |
Get the pseudo-random number generator.
(Inherited from BouncyCastleSecureMimeContext) | |
| SignatureProtocol |
Get the signature protocol.
(Inherited from SecureMimeContext) |
| Name | Description | |
|---|---|---|
| BuildCertificateChain |
Build a certificate chain.
(Inherited from BouncyCastleSecureMimeContext) | |
| CanEncrypt |
Check whether the cryptography context can encrypt to a particular recipient.
(Overrides CryptographyContextCanEncrypt(MailboxAddress, CancellationToken)) | |
| CanEncryptAsync |
Asynchronously check whether the cryptography context can encrypt to a particular recipient.
(Inherited from CryptographyContext) | |
| CanSign |
Check whether a particular mailbox address can be used for signing.
(Overrides CryptographyContextCanSign(MailboxAddress, CancellationToken)) | |
| CanSignAsync |
Asynchronously check whether a particular mailbox address can be used for signing.
(Inherited from CryptographyContext) | |
| Compress |
Compress the specified stream.
(Inherited from SecureMimeContext) | |
| CompressAsync |
Asynchronously compress the specified stream.
(Inherited from SecureMimeContext) | |
| Decompress |
Decompress the specified stream.
(Inherited from SecureMimeContext) | |
| DecompressAsync |
Asynchronously decompress the specified stream.
(Inherited from SecureMimeContext) | |
| DecompressTo |
Decompress the specified stream to an output stream.
(Inherited from SecureMimeContext) | |
| DecompressToAsync |
Asynchronously decompress the specified stream to an output stream.
(Inherited from SecureMimeContext) | |
| Decrypt |
Decrypt the specified encryptedData.
(Inherited from BouncyCastleSecureMimeContext) | |
| DecryptAsync |
Asynchronously decrypt the specified encryptedData.
(Inherited from BouncyCastleSecureMimeContext) | |
| DecryptTo |
Decrypt the specified encryptedData to an output stream.
(Inherited from BouncyCastleSecureMimeContext) | |
| DecryptToAsync |
Asynchronously decrypt the specified encryptedData to an output stream.
(Inherited from BouncyCastleSecureMimeContext) | |
| 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 DefaultSecureMimeContext and
optionally releases the managed resources.
(Overrides CryptographyContextDispose(Boolean)) | |
| 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.
(Inherited from BouncyCastleSecureMimeContext) | |
| EncapsulatedSign(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Sign and encapsulate the content using the specified signer and digest algorithm.
(Inherited from BouncyCastleSecureMimeContext) | |
| EncapsulatedSignAsync(CmsSigner, Stream, CancellationToken) |
Asynchronously signs and encapsulate the content using the specified signer.
(Inherited from BouncyCastleSecureMimeContext) | |
| EncapsulatedSignAsync(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Asynchronously sign and encapsulate the content using the specified signer and digest algorithm.
(Inherited from BouncyCastleSecureMimeContext) | |
| Encrypt(CmsRecipientCollection, Stream, CancellationToken) |
Encrypt the specified content for the specified recipients.
(Inherited from BouncyCastleSecureMimeContext) | |
| Encrypt(IEnumerableMailboxAddress, Stream, CancellationToken) |
Encrypt the specified content for the specified recipients.
(Inherited from BouncyCastleSecureMimeContext) | |
| EncryptAsync(CmsRecipientCollection, Stream, CancellationToken) |
Asynchronously encrypt the specified content for the specified recipients.
(Inherited from BouncyCastleSecureMimeContext) | |
| EncryptAsync(IEnumerableMailboxAddress, Stream, CancellationToken) |
Asynchronously encrypt the specified content for the specified recipients.
(Inherited from BouncyCastleSecureMimeContext) | |
| Equals | (Inherited from Object) | |
| Export |
Export the certificates for the specified mailboxes.
(Inherited from BouncyCastleSecureMimeContext) | |
| ExportAsync |
Asynchronously export the certificates for the specified mailboxes.
(Inherited from BouncyCastleSecureMimeContext) | |
| Finalize | (Inherited from Object) | |
| GetCertificate |
Gets the X.509 certificate matching the specified selector.
(Overrides BouncyCastleSecureMimeContextGetCertificate(ISelectorX509Certificate)) | |
| GetCertificateRevocationLists |
Gets the certificate revocation lists.
(Overrides BouncyCastleSecureMimeContextGetCertificateRevocationLists) | |
| GetCmsRecipient |
Gets the CmsRecipient for the specified mailbox.
(Overrides BouncyCastleSecureMimeContextGetCmsRecipient(MailboxAddress)) | |
| GetCmsRecipients |
Get a collection of CmsRecipients for the specified mailboxes.
(Inherited from BouncyCastleSecureMimeContext) | |
| GetCmsSigner |
Gets the CmsSigner for the specified mailbox.
(Overrides BouncyCastleSecureMimeContextGetCmsSigner(MailboxAddress, DigestAlgorithm)) | |
| GetDigestAlgorithm |
Get the digest algorithm from the micalg parameter value in a multipart/signed part.
(Inherited from SecureMimeContext) | |
| GetDigestAlgorithmName |
Get the string name of the digest algorithm for use with the micalg parameter of a multipart/signed part.
(Inherited from SecureMimeContext) | |
| GetHashCode | (Inherited from Object) | |
| GetIntermediateCertificates |
Gets the intermediate certificates.
(Overrides BouncyCastleSecureMimeContextGetIntermediateCertificates) | |
| GetNextCertificateRevocationListUpdate |
Get the date & time for the next scheduled certificate revocation list update for the specified issuer.
(Overrides BouncyCastleSecureMimeContextGetNextCertificateRevocationListUpdate(X509Name)) | |
| GetPreferredEncryptionAlgorithm |
Get the preferred encryption algorithm to use for encrypting to the specified recipients.
(Inherited from SecureMimeContext) | |
| GetPrivateKey |
Gets the private key for the certificate matching the specified selector.
(Overrides BouncyCastleSecureMimeContextGetPrivateKey(ISelectorX509Certificate)) | |
| GetTrustedAnchors |
Gets the trusted anchors.
(Overrides BouncyCastleSecureMimeContextGetTrustedAnchors) | |
| GetType | (Inherited from Object) | |
| Import(Stream, CancellationToken) |
Import certificates (as from a certs-only application/pkcs-mime part)
from the specified stream.
(Inherited from SecureMimeContext) | |
| Import(X509Certificate, CancellationToken) |
Import a certificate.
(Overrides SecureMimeContextImport(X509Certificate, CancellationToken)) | |
| Import(X509Certificate2, CancellationToken) |
Import a certificate.
(Overrides SecureMimeContextImport(X509Certificate2, CancellationToken)) | |
| Import(X509Crl, CancellationToken) |
Imports a certificate revocation list.
(Overrides SecureMimeContextImport(X509Crl, CancellationToken)) | |
| Import(Stream, Boolean, CancellationToken) | Import a DER-encoded certificate stream. | |
| Import(Stream, String, CancellationToken) |
Imports certificates and keys from a pkcs12-encoded stream.
(Overrides SecureMimeContextImport(Stream, String, CancellationToken)) | |
| Import(String, String, CancellationToken) |
Imports certificates and keys from a pkcs12 file.
(Inherited from SecureMimeContext) | |
| Import(X509Certificate, Boolean, CancellationToken) | Import a certificate. | |
| ImportAsync(Stream, CancellationToken) |
Asynchronously import certificates (as from a certs-only application/pkcs-mime part)
from the specified stream.
(Inherited from SecureMimeContext) | |
| ImportAsync(X509Certificate, CancellationToken) |
Asynchronously import a certificate.
(Inherited from SecureMimeContext) | |
| ImportAsync(X509Certificate2, CancellationToken) |
Asynchronously import a certificate.
(Inherited from SecureMimeContext) | |
| ImportAsync(X509Crl, CancellationToken) |
Asynchronously import a certificate revocation list.
(Inherited from SecureMimeContext) | |
| ImportAsync(Stream, Boolean, CancellationToken) | Asynchronously import a DER-encoded certificate stream. | |
| ImportAsync(Stream, String, CancellationToken) |
Asynchronously imports certificates and keys from a pkcs12-encoded stream.
(Overrides SecureMimeContextImportAsync(Stream, String, CancellationToken)) | |
| ImportAsync(String, String, CancellationToken) |
Asynchronously imports certificates and keys from a pkcs12 file.
(Inherited from SecureMimeContext) | |
| ImportAsync(X509Certificate, Boolean, CancellationToken) | Asynchronously import a certificate. | |
| 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 | (Inherited from Object) | |
| Sign(CmsSigner, Stream, CancellationToken) |
Sign the content using the specified signer.
(Inherited from BouncyCastleSecureMimeContext) | |
| Sign(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Sign the content using the specified signer and digest algorithm.
(Inherited from BouncyCastleSecureMimeContext) | |
| SignAsync(CmsSigner, Stream, CancellationToken) |
Asynchronously sign the content using the specified signer.
(Inherited from BouncyCastleSecureMimeContext) | |
| SignAsync(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Asynchronously sign the content using the specified signer and digest algorithm.
(Inherited from BouncyCastleSecureMimeContext) | |
| Supports |
Check whether the specified protocol is supported by the CryptographyContext.
(Inherited from SecureMimeContext) | |
| ToString | (Inherited from Object) | |
| UpdateSecureMimeCapabilities |
Updates the known S/MIME capabilities of the client used by the recipient that owns the specified certificate.
(Overrides BouncyCastleSecureMimeContextUpdateSecureMimeCapabilities(X509Certificate, EncryptionAlgorithm, DateTime)) | |
| Verify(Stream, DigitalSignatureCollection, CancellationToken) |
Verify the digital signatures of the specified signed data and extract the original content.
(Inherited from BouncyCastleSecureMimeContext) | |
| Verify(Stream, MimeEntity, CancellationToken) |
Verify the digital signatures of the specified signed data and extract the original content.
(Inherited from BouncyCastleSecureMimeContext) | |
| Verify(Stream, Stream, CancellationToken) |
Verify the specified content using the detached signature data.
(Inherited from BouncyCastleSecureMimeContext) | |
| VerifyAsync |
Asynchronously verify the specified content using the detached signature data.
(Inherited from BouncyCastleSecureMimeContext) |
| Name | Description | |
|---|---|---|
| DefaultDatabasePath | The default database path for certificates, private keys and CRLs. |