ProtectedKey 类

定义

表示在 RequestSecurityToken 和 RequestSecurityTokenResponse 中 wst:Entropy 或 wst:RequestedProofToken 元素的内容。Represents the contents of a wst:Entropy or a wst:RequestedProofToken element inside the RequestSecurityToken and RequestSecurityTokenResponse.

public ref class ProtectedKey
public class ProtectedKey
type ProtectedKey = class
Public Class ProtectedKey
继承
ProtectedKey
派生

注解

表示 wst: RequestSecurityToken 内的 wst:熵或 wst: RequestedProofToken 元素的内容 (RequestSecurityToken) 和 wst: RequestSecurityTokenResponse (RequestSecurityTokenResponse) 消息。Represents the contents of a wst:Entropy or a wst:RequestedProofToken element inside the wst:RequestSecurityToken (RequestSecurityToken) and wst:RequestSecurityTokenResponse (RequestSecurityTokenResponse) messages.

有关此类表示的元素的详细信息,请参阅适用于你的方案的 WS-Trust 规范的版本。For more information about the element that this class represents, see the version of the WS-Trust specification that applies to your scenario.

构造函数

ProtectedKey(Byte[])

不带加密初始化 ProtectedKey 类的新实例。Initializes a new instance of the ProtectedKey class with no encryption.

ProtectedKey(Byte[], EncryptingCredentials)

使用指定的加密凭据初始化 ProtectedKey 类的新实例。Initializes a new instance of the ProtectedKey class using the specified encrypting credentials.

属性

WrappingCredentials

获取密钥的加密凭据。Gets the encrypting credentials for the key.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetKeyBytes()

获取密钥材料。Gets the key material.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于