Sdílet prostřednictvím


X509AsymmetricSecurityKey(X509Certificate2) Konstruktor

Definice

Inicializuje novou instanci X509AsymmetricSecurityKey třídy pomocí zadaného certifikátu X.509.

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)

Parametry

certificate
X509Certificate2

Představuje X509Certificate2 certifikát X.509.

Výjimky

certificate je null.

Platí pro