X509CertificateKeyAccessors Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides helper methods to access keys on X509Certificate2.
public ref class X509CertificateKeyAccessors abstract sealed
public static class X509CertificateKeyAccessors
type X509CertificateKeyAccessors = class
Public Module X509CertificateKeyAccessors
- Inheritance
-
X509CertificateKeyAccessors
Methods
| CopyWithPrivateKey(X509Certificate2, CompositeMLDsa) |
Combines a private key with a certificate containing the associated public key into a new instance that can access the private key. |
| CopyWithPrivateKey(X509Certificate2, MLDsa) |
Combines a private key with a certificate containing the associated public key into a new instance that can access the private key. |
| CopyWithPrivateKey(X509Certificate2, MLKem) |
Combines a private key with a certificate containing the associated public key into a new instance that can access the private key. |
| CopyWithPrivateKey(X509Certificate2, SlhDsa) |
Combines a private key with a certificate containing the associated public key into a new instance that can access the private key. |
| GetCompositeMLDsaPrivateKey(X509Certificate2) |
Gets the CompositeMLDsa private key from this certificate. |
| GetCompositeMLDsaPublicKey(X509Certificate2) |
Gets the CompositeMLDsa public key from this certificate. |
| GetMLDsaPrivateKey(X509Certificate2) |
Gets the MLDsa private key from this certificate. |
| GetMLDsaPublicKey(X509Certificate2) |
Gets the MLDsa public key from this certificate. |
| GetMLKemPrivateKey(X509Certificate2) |
Gets the MLKem private key from this certificate. |
| GetMLKemPublicKey(X509Certificate2) |
Gets the MLKem public key from this certificate. |
| GetSlhDsaPrivateKey(X509Certificate2) |
Gets the SlhDsa private key from this certificate. |
| GetSlhDsaPublicKey(X509Certificate2) |
Gets the SlhDsa public key from this certificate. |