BouncyCastleCertificateExtensions Class

Extension methods for use with BouncyCastle X509Certificates.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public static class BouncyCastleCertificateExtensions
Inheritance
Object    BouncyCastleCertificateExtensions

Remarks

Extension methods for use with BouncyCastle X509Certificates.

Methods

AsX509Certificate2 Convert a BouncyCastle certificate into an X509Certificate2.
GetCommonName Gets the common name of the certificate.
GetEncryptionAlgorithms Get the encryption algorithms that can be used with an X.509 certificate.
GetFingerprint Gets the fingerprint of the certificate.
GetIssuerNameInfo Gets the issuer name info.
GetKeyUsageFlags(Boolean) Generates an X509KeyUsageFlags value based on the provided usage bit array.
GetKeyUsageFlags(X509Certificate) Gets the key usage flags.
GetPublicKeyAlgorithm Gets the public key algorithm for the certificate.
GetSubjectDnsNames Get the subject domain names of the certificate.
GetSubjectEmailAddress Get the subject email address of the certificate.
GetSubjectName Gets the subject name of the certificate.
GetSubjectNameInfo Gets the issuer name info.
IsDelta Determines whether the specified X.509 CRL is a delta CRL.
IsSelfSigned Determines whether the specified certificate is self-signed.

See Also