Compartir a través de


X509AsymmetricSecurityKey(X509Certificate2) Constructor

Definición

Inicializa una instancia nueva de la clase X509AsymmetricSecurityKey con el certificado X.509 especificado.

public:
 X509AsymmetricSecurityKey(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public X509AsymmetricSecurityKey (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new System.IdentityModel.Tokens.X509AsymmetricSecurityKey : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.IdentityModel.Tokens.X509AsymmetricSecurityKey
Public Sub New (certificate As X509Certificate2)

Parámetros

certificate
X509Certificate2

X509Certificate2 que representa el certificado X.509.

Excepciones

certificate es null.

Se aplica a