Share via


Saml2SecurityKeyIdentifierClause 類別

定義

當收到簽章項目中沒有 <ds:KeyInfo> 項目的 Saml2Assertion 時,會使用這個類別。 KeyInfo 會描述檢查簽章時所需的金鑰。 當需要金鑰時,此子句將呈現給目前的 SecurityTokenResolver。 它會包含完整讀取的 Saml2Assertion,可查詢它以判斷所需的索引鍵。

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

建構函式

Saml2SecurityKeyIdentifierClause(Saml2Assertion)

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

屬性

Assertion

取得目前與這個執行個體相關聯的 Saml2Assertion。

CanCreateKey

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

(繼承來源 SecurityKeyIdentifierClause)
ClauseType

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

(繼承來源 SecurityKeyIdentifierClause)
DerivationLength

取得衍生金鑰大小。

(繼承來源 SecurityKeyIdentifierClause)
Id

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

(繼承來源 SecurityKeyIdentifierClause)

方法

CreateKey()

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

(繼承來源 SecurityKeyIdentifierClause)
Equals(Object)

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

(繼承來源 Object)
GetDerivationNonce()

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

(繼承來源 SecurityKeyIdentifierClause)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
Matches(SecurityKeyIdentifierClause)

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

(繼承來源 SecurityKeyIdentifierClause)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於