X509ThumbprintKeyIdentifierClause 构造函数

定义

初始化 X509ThumbprintKeyIdentifierClause 类的新实例。

重载

X509ThumbprintKeyIdentifierClause(Byte[])

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

X509ThumbprintKeyIdentifierClause(X509Certificate2)

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

X509ThumbprintKeyIdentifierClause(Byte[])

Source:
X509ThumbprintKeyIdentifierClause.cs
Source:
X509ThumbprintKeyIdentifierClause.cs
Source:
X509ThumbprintKeyIdentifierClause.cs

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

public:
 X509ThumbprintKeyIdentifierClause(cli::array <System::Byte> ^ thumbprint);
public X509ThumbprintKeyIdentifierClause (byte[] thumbprint);
new System.IdentityModel.Tokens.X509ThumbprintKeyIdentifierClause : byte[] -> System.IdentityModel.Tokens.X509ThumbprintKeyIdentifierClause
Public Sub New (thumbprint As Byte())

参数

thumbprint
Byte[]

一个 Byte 数组,包含 X.509 证书的指纹。

例外

thumbprintnull

- 或 -

thumbprint 长度为零。

适用于

X509ThumbprintKeyIdentifierClause(X509Certificate2)

Source:
X509ThumbprintKeyIdentifierClause.cs
Source:
X509ThumbprintKeyIdentifierClause.cs
Source:
X509ThumbprintKeyIdentifierClause.cs

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

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

参数

certificate
X509Certificate2

一个包含 X.509 证书的 X509Certificate2

例外

certificatenull

注解

此构造函数通过调用 GetCertHash 方法来获取指纹(X.509 证书原始数据的 SHA-1 哈希值)。

适用于