Share via


LocalIdKeyIdentifierClause 類別

定義

表示金鑰識別碼子句,這個子句會識別指定於 SOAP 訊息之安全性標頭中的安全性權杖。

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

備註

除了在建立自訂安全性權杖服務時,通常並不需要使用 LocalIdKeyIdentifierClause。 當安全性權杖服務傳回安全性權杖時,所發出的安全性權杖會包含已附加及未附加之安全性權杖的參考。附加的參考會參考包含在 SOAP 訊息之安全性標頭中的安全性權杖,而未附加的參考是指不包含在 SOAP 訊息之安全性標頭中的安全性權杖。 這些參考通常會證明這些發出之安全性權杖的真實性。

LocalIdKeyIdentifierClause 金鑰識別碼會放置在 <SecurityTokenReference> 項目中。

建構函式

LocalIdKeyIdentifierClause(String)

使用指定的識別碼和型別陣列,初始化 LocalIdKeyIdentifierClause 類別的新執行個體。

LocalIdKeyIdentifierClause(String, Byte[], Int32, Type)

使用指定的識別碼、Nonce、衍生金鑰長度以及擁有人安全性權杖類型,初始化 LocalIdKeyIdentifierClause 類別的新執行個體。

LocalIdKeyIdentifierClause(String, Type)

使用指定的識別碼和擁有者安全性權杖型別,初始化 LocalIdKeyIdentifierClause 類別的新執行個體。

屬性

CanCreateKey

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

(繼承來源 SecurityKeyIdentifierClause)
ClauseType

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

(繼承來源 SecurityKeyIdentifierClause)
DerivationLength

取得衍生金鑰大小。

(繼承來源 SecurityKeyIdentifierClause)
Id

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

(繼承來源 SecurityKeyIdentifierClause)
LocalId

取得目前 SOAP 訊息內 XML 項目之 wsu:Id 屬性的值。

OwnerType

取得安全性權杖類型,而該安全性權杖是由 LocalId 參數所參考。

方法

CreateKey()

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

(繼承來源 SecurityKeyIdentifierClause)
Equals(Object)

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

(繼承來源 Object)
GetDerivationNonce()

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

(繼承來源 SecurityKeyIdentifierClause)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
Matches(SecurityKeyIdentifierClause)

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

Matches(String, Type)

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

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

適用於