RSACertificateExtensions Class

 

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

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  System.Core (in System.Core.dll)

System.Object
  System.Security.Cryptography.X509Certificates.RSACertificateExtensions

public static class RSACertificateExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetRSAPrivateKey(X509Certificate2)

Gets the RSA private key from the X509Certificate2.

System_CAPS_pubmethodSystem_CAPS_staticGetRSAPublicKey(X509Certificate2)

Gets the RSA public key from the X509Certificate2.

.NET Framework
Available since 4.6

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: