ProtectedKey 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 RequestSecurityToken 和 RequestSecurityTokenResponse 中的 wst:Entropy 或 wst:RequestedProofToken 元素的内容。
public ref class ProtectedKey
public class ProtectedKey
type ProtectedKey = class
Public Class ProtectedKey
- 继承
-
ProtectedKey
- 派生
注解
表示 wst:Entropy 或 wst:RequestedProofToken 元素在 wst:RequestSecurityToken (RequestSecurityToken) 和 wst:RequestSecurityTokenResponse (RequestSecurityTokenResponse) 消息中的内容。
有关此类所表示的元素的详细信息,请参阅适用于方案的 WS-Trust 规范的版本。
构造函数
| 名称 | 说明 |
|---|---|
| ProtectedKey(Byte[], EncryptingCredentials) |
使用指定的加密凭据初始化类的新实例 ProtectedKey 。 |
| ProtectedKey(Byte[]) |
初始化没有加密的 ProtectedKey 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| WrappingCredentials |
获取密钥的加密凭据。 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetKeyBytes() |
获取密钥材料。 |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |