Επεξεργασία

Κοινή χρήση μέσω


X509AsymmetricSecurityKey(X509Certificate2) Constructor

Definition

Initializes a new instance of the X509AsymmetricSecurityKey class using the specified X.509 certificate.

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)

Parameters

certificate
X509Certificate2

The X509Certificate2 that represents the X.509 certificate.

Exceptions

certificate is null.

Applies to