Saml2SecurityKeyIdentifierClause 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當收到 Saml2Assertion 時,簽名元素中沒有 <ds:KeyInfo> 元素,則會使用此類別。 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
- 繼承
建構函式
| 名稱 | Description |
|---|---|
| Saml2SecurityKeyIdentifierClause(Saml2Assertion) |
初始化 Saml2SecurityKeyIdentifierClause 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Assertion |
獲得目前與此實例相關的 Saml2Assertion。 |
| CanCreateKey |
會得到一個值,表示是否能建立一個金鑰。 (繼承來源 SecurityKeyIdentifierClause) |
| ClauseType |
取得金鑰識別子句類型。 (繼承來源 SecurityKeyIdentifierClause) |
| DerivationLength |
取得導出金鑰的大小。 (繼承來源 SecurityKeyIdentifierClause) |
| Id |
取得或設定金鑰識別子句的 ID。 (繼承來源 SecurityKeyIdentifierClause) |
方法
| 名稱 | Description |
|---|---|
| CreateKey() |
根據輸入到建構子的參數建立一個鍵。 (繼承來源 SecurityKeyIdentifierClause) |
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetDerivationNonce() |
取得用來產生導出金鑰的 nonce 值。 (繼承來源 SecurityKeyIdentifierClause) |
| GetHashCode() |
做為預設哈希函式。 (繼承來源 Object) |
| GetType() |
取得目前實例的 Type。 (繼承來源 Object) |
| Matches(SecurityKeyIdentifierClause) |
回傳一個值,指示此實例的金鑰識別碼是否等同於指定的金鑰識別子句。 (繼承來源 SecurityKeyIdentifierClause) |
| MemberwiseClone() |
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
傳回表示目前 物件的字串。 (繼承來源 Object) |