X509AsymmetricSecurityKey(X509Certificate2) 构造函数

定义

使用指定的 X.509 证书初始化 X509AsymmetricSecurityKey 类的新实例。

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)

参数

certificate
X509Certificate2

表示 X.509 证书的 X509Certificate2

例外

certificatenull

适用于