MimeKit.Cryptography Namespace

The MimeKit.Cryptography namespace provides classes that are necessary for dealing with PGP, S/MIME, and other cryptographic services.

Classes

ApplicationPgpEncrypted A MIME part with a Content-Type of application/pgp-encrypted.
ApplicationPgpSignature A MIME part with a Content-Type of application/pgp-signature.
ApplicationPkcs7Mime An S/MIME part with a Content-Type of application/pkcs7-mime.
ApplicationPkcs7Signature An S/MIME part with a Content-Type of application/pkcs7-signature.
ArcHeaderValidationResult An ARC header validation result.
ArcSigner An ARC signer.
ArcValidationResult An ARC validation result.
ArcVerifier An ARC verifier.
AsymmetricAlgorithmExtensions Extension methods for System.Security.Cryptography.AsymmetricAlgorithm.
AuthenticationMethodProperty An authentication method property.
AuthenticationMethodResult Represents an authentication method and its result.
AuthenticationResults A parsed representation of the Authentication-Results header.
BouncyCastleCertificateExtensions Extension methods for use with BouncyCastle X509Certificates.
BouncyCastleSecureMimeContext A Secure MIME (S/MIME) cryptography context.
CertificateNotFoundException An exception that is thrown when a certificate could not be found for a specified mailbox.
CmsEnvelopeException The exception that is thrown if an error occurs while generating a CMS envelope.
CmsRecipient An S/MIME recipient.
CmsRecipientCollection A collection of CmsRecipient objects.
CmsRecipientException The exception that is thrown when an error occurs while processing a CMS recipient.
CmsSigner An S/MIME signer.
CryptographicMimeVisitor Represents a visitor for cryptographic MIME trees.
CryptographyContext An abstract cryptography context.
CryptographyModule The cryptography module.
DefaultSecureMimeContext A cross-platform SecureMimeContext implementation that uses an SQLite database as a certificate and private key store.
DigitalSignatureCollection A collection of digital signatures.
DigitalSignatureVerifyException An exception that is thrown when an error occurrs in Verify.
DkimSignatureValidationResult The result of verifying a DKIM-Signature header.
DkimSigner A DKIM signer.
DkimSignerBase A base class for DKIM and ARC signers.
DkimVerifier A DKIM-Signature verifier.
DkimVerifierBase A base class for DKIM and ARC verifiers.
DmarcRecord A DMARC Policy Record.
DmarcValidationResult The result of DMARC validation.
DmarcVerifier A DMARC verifier.
DnsTxtResponse The response to a DNS TXT query.
GnuPGContext An OpenPgpContext that uses the GnuPG keyrings.
MimeMessageExtensions Extension methods for MimeMessage that add convenient S/MIME and PGP/MIME support.
MultipartEncrypted A multipart MIME part with a ContentType of multipart/encrypted containing an encrypted MIME part.
MultipartSigned A signed multipart, as used by both S/MIME and PGP/MIME protocols.
OpenPgpContext An abstract OpenPGP cryptography context which can be used for PGP/MIME.
OpenPgpDetectionFilter A filter meant to aid in the detection of OpenPGP blocks.
OpenPgpDigitalCertificate An OpenPGP digital certificate.
OpenPgpDigitalSignature An OpenPGP digital signature.
PrivateKeyNotFoundException An exception that is thrown when a private key could not be found for a specified mailbox or key id.
PublicKeyNotFoundException An exception that is thrown when a public key could not be found for a specified mailbox.
RsaEncryptionPadding The RSA encryption padding schemes and parameters used by S/MIME.
RsaSignaturePadding The RSA signature padding schemes and parameters used by S/MIME.
SecureMailboxAddress A secure mailbox address which includes a fingerprint for a certificate.
SecureMimeContext A Secure MIME (S/MIME) cryptography context.
SecureMimeDigitalCertificate An S/MIME digital certificate.
SecureMimeDigitalSignature An S/MIME digital signature.
SpfCheckResult The result of an SPF check of the MAIL FROM identity.
SqlCertificateDatabase An abstract X.509 certificate database built on generic SQL storage.
SqliteCertificateDatabase An X.509 certificate database built on SQLite.
SQLServerCertificateDatabase An X.509 certificate database built on SQL Server.
TemporarySecureMimeContext An S/MIME context that does not persist certificates, private keys or CRLs.
WindowsSecureMimeContext A Secure MIME (S/MIME) cryptography context.
WindowsSecureMimeDigitalCertificate An S/MIME digital certificate.
WindowsSecureMimeDigitalSignature An S/MIME digital signature.
X509Certificate2Extensions Extension methods for X509Certificate2.
X509CertificateChain An X.509 certificate chain.
X509CertificateDatabase An X.509 certificate database.
X509CertificateDatabaseCertificateColumnNames The column names for the certificates table.
X509CertificateDatabaseCrlColumnNames The column names for the CRLs table.
X509CertificateRecord An X.509 certificate record.
X509CertificateStore A store for X.509 certificates and keys.
X509CrlRecord An X.509 certificate revocation list (CRL) record.

Interfaces

IApplicationPgpEncrypted An interface for a MIME part with a Content-Type of application/pgp-encrypted.
IApplicationPgpSignature An interface for a MIME part with a Content-Type of application/pgp-signature.
IApplicationPkcs7Mime An interface for an S/MIME part with a Content-Type of application/pkcs7-mime.
IApplicationPkcs7Signature An interface for an S/MIME part with a Content-Type of application/pkcs7-signature.
ICryptographyContext An abstract cryptography context interface.
IDigitalCertificate An interface for a digital certificate.
IDigitalSignature An interface for a digital signature.
IDnsResolver An interface for a DNS resolver.
IMultipartEncrypted An interface for a multipart MIME part with a ContentType of multipart/encrypted containing an encrypted MIME part.
IMultipartSigned An interface for a signed multipart, as used by both S/MIME and PGP/MIME protocols.
ISecureMimeContext An interface for a Secure MIME (S/MIME) cryptography context.
IX509CertificateDatabase An interface for an X.509 Certificate database.

Enumerations

ArcSignatureValidationResult An ARC signature validation result.
ArcValidationErrors An enumeration of possible ARC validation errors.
DigestAlgorithm A digest algorithm.
DkimCanonicalizationAlgorithm A DKIM canonicalization algorithm.
DkimSignatureAlgorithm A DKIM signature algorithm.
DkimSignatureStatus The result of verifying a DKIM-Signature header.
DmarcAlignmentMode A DMARC identifier alignment mode.
DmarcErrors The problems encountered during DMARC validation.
DmarcFailureReportingOptions The DMARC failure reporting options.
DmarcPolicy A DMARC Domain Owner Assessment Policy.
DmarcPolicyDomainSource The location at which the applicable DMARC Policy Record was discovered.
DmarcPublicSuffixDomain The value of the psd tag of a DMARC Policy Record.
DmarcRecordErrors The syntax errors found while parsing a DMARC Policy Record.
DmarcStatus The result of DMARC validation.
DnsQueryStatus The outcome of a DNS query.
EncryptionAlgorithm Encryption algorithms supported by S/MIME and OpenPGP.
OpenPgpDataType An enum expressing a type of OpenPGP data.
OpenPgpKeyCertification An OpenPGP key certification.
PublicKeyAlgorithm An enumeration of public key algorithms.
RsaEncryptionPaddingScheme The RSA encryption padding schemes used by S/MIME.
RsaSignaturePaddingScheme The RSA signature padding schemes used by S/MIME.
SecureMimeType The type of S/MIME data that an application/pkcs7-mime part contains.
SpfStatus The result of an SPF check.
SubjectIdentifierType The method to use for identifying a certificate.
X509CertificateRecordFields X.509 certificate record fields.
X509CrlRecordFields X.509 certificate revocation list record fields.
X509KeyUsageBits X.509 key usage bits.
X509KeyUsageFlags X.509 key usage flags.