C# Class System.Security.Cryptography.X509Certificates.RSACertificateExtensions

Provides extension methods for retrieving RSA implementations for the public and private keys of a X509Certificate2.
Mostra file Open project: dotnet/corefx

Public Methods

Method Description
GetRSAPrivateKey ( this certificate ) : System.Security.Cryptography.RSA
GetRSAPublicKey ( this certificate ) : System.Security.Cryptography.RSA

Method Details

GetRSAPrivateKey() public static method

public static GetRSAPrivateKey ( this certificate ) : System.Security.Cryptography.RSA
certificate this
return System.Security.Cryptography.RSA

GetRSAPublicKey() public static method

public static GetRSAPublicKey ( this certificate ) : System.Security.Cryptography.RSA
certificate this
return System.Security.Cryptography.RSA