WrappedKeySecurityToken 類別

定義

表示其金鑰包裝在另一個權杖之內的安全性權杖。

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

備註

這個類別代表來自網路傳輸的加密金鑰。 加密金鑰是對稱金鑰,使用接收者的公開金鑰為接收者加密。 收到這類金鑰時,會解析接收者的安全性權杖、解密對稱金鑰,並建立此類別的實例,其中包含這兩項資訊。

建構函式

WrappedKeySecurityToken(String, Byte[], String, SecurityToken, SecurityKeyIdentifier)

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

屬性

Id

取得 Token 識別碼。

SecurityKeys

取得安全性金鑰的集合。

ValidFrom

取得權杖的有效開始日期。

ValidTo

取得權杖到期日。

WrappingAlgorithm

取得包裝的演算法。

WrappingToken

取得包裝用的權杖。

WrappingTokenReference

取得包裝所用權杖的參考。

方法

CanCreateKeyIdentifierClause<T>()

取得值,這個值表示權杖是否可以建立金鑰識別碼子句。

CreateKeyIdentifierClause<T>()

建立金鑰識別碼子句。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
GetWrappedKey()

取得包裝的金鑰。

MatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

比較目前的安全性金鑰識別碼子句與指定的子句,以判斷是否相等。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ResolveKeyIdentifierClause(SecurityKeyIdentifierClause)

取得指定之金鑰識別碼子句的金鑰。

(繼承來源 SecurityToken)
ToString()

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

(繼承來源 Object)

適用於