Entropy 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示令牌请求消息和令牌响应消息中使用的 entropy。
public ref class Entropy : System::IdentityModel::Protocols::WSTrust::ProtectedKey
public class Entropy : System.IdentityModel.Protocols.WSTrust.ProtectedKey
type Entropy = class
inherit ProtectedKey
Public Class Entropy
Inherits ProtectedKey
- 继承
注解
表示 WS-Trust 定义的 wst:Entropy 元素的内容。
构造函数
| 名称 | 说明 |
|---|---|
| Entropy(Byte[], EncryptingCredentials) |
初始化类的新实例 Entropy ,以加密密钥格式发送 entropy。 |
| Entropy(Byte[]) |
初始化类的新实例 Entropy ,以二进制机密格式发送 entropy。 |
| Entropy(Int32) |
使用随机生成的字节初始化类的新实例 Entropy 。 |
| Entropy(ProtectedKey) |
使用指定的受保护密钥初始化类的新实例 Entropy 。 |
属性
| 名称 | 说明 |
|---|---|
| WrappingCredentials |
获取密钥的加密凭据。 (继承自 ProtectedKey) |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetKeyBytes() |
获取密钥材料。 (继承自 ProtectedKey) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |