RSACertificateExtensions RSACertificateExtensions RSACertificateExtensions RSACertificateExtensions Class

Definition

Provides extension methods for retrieving RSA implementations for the public and private keys of an X509Certificate2.

public ref class RSACertificateExtensions abstract sealed
public static class RSACertificateExtensions
type RSACertificateExtensions = class
Public Module RSACertificateExtensions
Inheritance
RSACertificateExtensionsRSACertificateExtensionsRSACertificateExtensionsRSACertificateExtensions

Methods

CopyWithPrivateKey(X509Certificate2, RSA) CopyWithPrivateKey(X509Certificate2, RSA) CopyWithPrivateKey(X509Certificate2, RSA) CopyWithPrivateKey(X509Certificate2, RSA)

Combines a private key with the public key of an RSA certificate to generate a new RSA certificate.

GetRSAPrivateKey(X509Certificate2) GetRSAPrivateKey(X509Certificate2) GetRSAPrivateKey(X509Certificate2) GetRSAPrivateKey(X509Certificate2)

Gets the RSA private key from the X509Certificate2.

GetRSAPublicKey(X509Certificate2) GetRSAPublicKey(X509Certificate2) GetRSAPublicKey(X509Certificate2) GetRSAPublicKey(X509Certificate2)

Gets the RSA public key from the X509Certificate2.

Applies to