Share via


X509ThumbprintKeyIdentifierClause 類別

定義

表示金鑰識別碼子句,這個子句會識別使用 X.509 憑證指紋的 X509SecurityToken 安全性權杖。

public ref class X509ThumbprintKeyIdentifierClause : System::IdentityModel::Tokens::BinaryKeyIdentifierClause
public class X509ThumbprintKeyIdentifierClause : System.IdentityModel.Tokens.BinaryKeyIdentifierClause
type X509ThumbprintKeyIdentifierClause = class
    inherit BinaryKeyIdentifierClause
Public Class X509ThumbprintKeyIdentifierClause
Inherits BinaryKeyIdentifierClause
繼承

備註

除了在建立自訂安全性權杖服務時,通常並不需要使用 X509ThumbprintKeyIdentifierClause。 當安全性權杖服務傳回安全性權杖時,所發出的安全性權杖會包含已附加及未附加之安全性權杖的參考。 附加的參考會參考包含在 SOAP 訊息權杖之安全性標頭中的安全性權杖,而未附加的參考則會參考未包含在 SOAP 訊息之安全性標頭中的安全性權杖。 這些參考通常會證明這些發出之安全性權杖的真實性。 使用 X509ThumbprintKeyIdentifierClause 類別,參考使用 X.509 憑證指紋的 X509SecurityToken 安全性權杖。 GetX509Thumbprint 方法會傳回指紋。

Windows Communication Foundation 支援安全性令牌的下列安全性令牌參考 X509SecurityToken 類型。

建構函式

X509ThumbprintKeyIdentifierClause(Byte[])

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

X509ThumbprintKeyIdentifierClause(X509Certificate2)

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

屬性

CanCreateKey

取得指出是否能夠建立金鑰的值。

(繼承來源 SecurityKeyIdentifierClause)
ClauseType

取得金鑰識別碼子句型別。

(繼承來源 SecurityKeyIdentifierClause)
DerivationLength

取得衍生金鑰大小。

(繼承來源 SecurityKeyIdentifierClause)
Id

取得或設定金鑰識別碼子句 ID。

(繼承來源 SecurityKeyIdentifierClause)

方法

CreateKey()

根據傳入建構函式的參數來建立金鑰。

(繼承來源 SecurityKeyIdentifierClause)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetBuffer()

取得表示金鑰識別碼的二進位資料。

(繼承來源 BinaryKeyIdentifierClause)
GetDerivationNonce()

取得用來產生衍生金鑰的 Nonce。

(繼承來源 SecurityKeyIdentifierClause)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetRawBuffer()

取得表示金鑰識別碼的二進位資料。

(繼承來源 BinaryKeyIdentifierClause)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
GetX509Thumbprint()

傳回 X.509 憑證的指紋。

Matches(Byte[])

傳回值,這個值會指出目前執行個體的二進位資料是否符合指定的二進位資料。

(繼承來源 BinaryKeyIdentifierClause)
Matches(Byte[], Int32)

傳回值,這個值會指出目前執行個體的二進位資料是否相等於具有所指定偏差的已指定二進位資料。

(繼承來源 BinaryKeyIdentifierClause)
Matches(SecurityKeyIdentifierClause)

傳回值,這個值會指出這個執行個體的金鑰識別碼是否相等於指定的金鑰識別碼子句。

(繼承來源 BinaryKeyIdentifierClause)
Matches(X509Certificate2)

傳回值,這個值會指出這個執行個體的金鑰識別碼是否等於指定的 X.509 憑證指紋。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

適用於