共用方式為


X509ThumbprintKeyIdentifierClause 建構函式

定義

初始化 X509ThumbprintKeyIdentifierClause 類別的新執行個體。

多載

X509ThumbprintKeyIdentifierClause(Byte[])

使用指定的 X.509 憑證指紋,初始化 X509ThumbprintKeyIdentifierClause 類別的新執行個體。

X509ThumbprintKeyIdentifierClause(X509Certificate2)

使用指定的 X.509 憑證,初始化 X509ThumbprintKeyIdentifierClause 類別的新執行個體。

X509ThumbprintKeyIdentifierClause(Byte[])

來源:
X509ThumbprintKeyIdentifierClause.cs
來源:
X509ThumbprintKeyIdentifierClause.cs
來源:
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)

來源:
X509ThumbprintKeyIdentifierClause.cs
來源:
X509ThumbprintKeyIdentifierClause.cs
來源:
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 雜湊值)。

適用於