X509Certificate 2Extensions Class
Extension methods for X509Certificate2.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public static class X509Certificate2Extensions- Inheritance
- Object X509Certificate2Extensions
Remarks
Extension methods for X509Certificate2.
Methods
| AsBouncyCastleCertificate | Convert an X509Certificate2 into a BouncyCastle X509Certificate. |
| GetEncryptionAlgorithms | Get the encryption algorithms that can be used with an X.509 certificate. |
| GetPrivateKeyAsAsymmetricKeyParameter | Get the certificate's private key as a BouncyCastle AsymmetricKeyParameter, if available. |
| GetPublicKeyAlgorithm | Gets the public key algorithm for the certificate. |
| GetSubjectDnsNames | Get the subject domain names of the certificate. |