Bouncy |
The BouncyCastleSecureMimeContext type exposes the following members.
Name | Description | |
---|---|---|
BuildCertificateChain | Build a certificate chain. | |
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.
(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.
(Overrides CryptographyContextDecrypt(Stream, CancellationToken)) | |
DecryptAsync |
Asynchronously decrypt the specified encryptedData.
(Overrides CryptographyContextDecryptAsync(Stream, CancellationToken)) | |
DecryptTo |
Decrypt the specified encryptedData to an output stream.
(Overrides SecureMimeContextDecryptTo(Stream, Stream, CancellationToken)) | |
DecryptToAsync |
Asynchronously decrypt the specified encryptedData to an output stream.
(Overrides SecureMimeContextDecryptToAsync(Stream, Stream, CancellationToken)) | |
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 all resources used by the BouncyCastleSecureMimeContext object.
(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.
(Overrides SecureMimeContextEncapsulatedSign(CmsSigner, Stream, CancellationToken)) | |
EncapsulatedSign(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Sign and encapsulate the content using the specified signer and digest algorithm.
(Overrides SecureMimeContextEncapsulatedSign(MailboxAddress, DigestAlgorithm, Stream, CancellationToken)) | |
EncapsulatedSignAsync(CmsSigner, Stream, CancellationToken) |
Asynchronously signs and encapsulate the content using the specified signer.
(Overrides SecureMimeContextEncapsulatedSignAsync(CmsSigner, Stream, CancellationToken)) | |
EncapsulatedSignAsync(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Asynchronously sign and encapsulate the content using the specified signer and digest algorithm.
(Overrides SecureMimeContextEncapsulatedSignAsync(MailboxAddress, DigestAlgorithm, Stream, CancellationToken)) | |
Encrypt(CmsRecipientCollection, Stream, CancellationToken) |
Encrypt the specified content for the specified recipients.
(Overrides SecureMimeContextEncrypt(CmsRecipientCollection, Stream, CancellationToken)) | |
Encrypt(IEnumerableMailboxAddress, Stream, CancellationToken) |
Encrypt the specified content for the specified recipients.
(Overrides CryptographyContextEncrypt(IEnumerableMailboxAddress, Stream, CancellationToken)) | |
EncryptAsync(CmsRecipientCollection, Stream, CancellationToken) |
Asynchronously encrypt the specified content for the specified recipients.
(Overrides SecureMimeContextEncryptAsync(CmsRecipientCollection, Stream, CancellationToken)) | |
EncryptAsync(IEnumerableMailboxAddress, Stream, CancellationToken) |
Asynchronously encrypt the specified content for the specified recipients.
(Overrides CryptographyContextEncryptAsync(IEnumerableMailboxAddress, Stream, CancellationToken)) | |
Equals | (Inherited from Object) | |
Export |
Export the certificates for the specified mailboxes.
(Overrides CryptographyContextExport(IEnumerableMailboxAddress, CancellationToken)) | |
ExportAsync |
Asynchronously export the certificates for the specified mailboxes.
(Overrides CryptographyContextExportAsync(IEnumerableMailboxAddress, CancellationToken)) | |
Finalize | (Inherited from Object) | |
GetCertificate | Get the X.509 certificate matching the specified selector. | |
GetCertificateRevocationLists | Get the certificate revocation lists. | |
GetCmsRecipient | Get the CmsRecipient for the specified mailbox. | |
GetCmsRecipients | Get a collection of CmsRecipients for the specified mailboxes. | |
GetCmsSigner | Get the CmsSigner for the specified mailbox. | |
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 | Get the intermediate certificates. | |
GetNextCertificateRevocationListUpdate | Get the date & time for the next scheduled certificate revocation list update for the specified issuer. | |
GetPreferredEncryptionAlgorithm |
Get the preferred encryption algorithm to use for encrypting to the specified recipients.
(Inherited from SecureMimeContext) | |
GetPrivateKey | Get the private key for the certificate matching the specified selector. | |
GetTrustedAnchors | Get the trusted anchors. | |
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.
(Inherited from SecureMimeContext) | |
Import(X509Certificate2, CancellationToken) |
Import a certificate.
(Inherited from SecureMimeContext) | |
Import(X509Crl, CancellationToken) |
Import a certificate revocation list.
(Inherited from SecureMimeContext) | |
Import(Stream, String, CancellationToken) |
Imports certificates and keys from a pkcs12-encoded stream.
(Inherited from SecureMimeContext) | |
Import(String, String, CancellationToken) |
Imports certificates and keys from a pkcs12 file.
(Inherited from SecureMimeContext) | |
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, String, CancellationToken) |
Asynchronously imports certificates and keys from a pkcs12-encoded stream.
(Inherited from SecureMimeContext) | |
ImportAsync(String, String, CancellationToken) |
Asynchronously imports certificates and keys from a pkcs12 file.
(Inherited from SecureMimeContext) | |
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.
(Overrides SecureMimeContextSign(CmsSigner, Stream, CancellationToken)) | |
Sign(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Sign the content using the specified signer and digest algorithm.
(Overrides CryptographyContextSign(MailboxAddress, DigestAlgorithm, Stream, CancellationToken)) | |
SignAsync(CmsSigner, Stream, CancellationToken) |
Asynchronously sign the content using the specified signer.
(Overrides SecureMimeContextSignAsync(CmsSigner, Stream, CancellationToken)) | |
SignAsync(MailboxAddress, DigestAlgorithm, Stream, CancellationToken) |
Asynchronously sign the content using the specified signer and digest algorithm.
(Overrides CryptographyContextSignAsync(MailboxAddress, DigestAlgorithm, Stream, CancellationToken)) | |
Supports |
Check whether or not the specified protocol is supported by the CryptographyContext.
(Inherited from SecureMimeContext) | |
ToString | (Inherited from Object) | |
TryGetDigestAlgorithm | Attempts to map a AlgorithmIdentifier to a DigestAlgorithm. | |
TryGetEncryptionAlgorithm | Attempts to map a AlgorithmIdentifier to a EncryptionAlgorithm. | |
UpdateSecureMimeCapabilities | Updates the known S/MIME capabilities of the client used by the recipient that owns the specified certificate. | |
Verify(Stream, DigitalSignatureCollection, CancellationToken) |
Verify the digital signatures of the specified signed data and extract the original content.
(Overrides SecureMimeContextVerify(Stream, DigitalSignatureCollection, CancellationToken)) | |
Verify(Stream, MimeEntity, CancellationToken) |
Verify the digital signatures of the specified signed data and extract the original content.
(Overrides SecureMimeContextVerify(Stream, MimeEntity, CancellationToken)) | |
Verify(Stream, Stream, CancellationToken) |
Verify the specified content using the detached signature data.
(Overrides CryptographyContextVerify(Stream, Stream, CancellationToken)) | |
VerifyAsync |
Asynchronously verify the specified content using the detached signature data.
(Overrides CryptographyContextVerifyAsync(Stream, Stream, CancellationToken)) |