BinaryKeyIdentifierClause 类

定义

表示基于二进制数据的密钥标识符子句的基类。

public ref class BinaryKeyIdentifierClause abstract : System::IdentityModel::Tokens::SecurityKeyIdentifierClause
public abstract class BinaryKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause
type BinaryKeyIdentifierClause = class
    inherit SecurityKeyIdentifierClause
Public MustInherit Class BinaryKeyIdentifierClause
Inherits SecurityKeyIdentifierClause
继承
BinaryKeyIdentifierClause
派生

注解

通常, BinaryKeyIdentifierClause 无需使用自定义安全令牌服务,而不是创建自定义安全令牌服务时。 当安全令牌服务返回安全令牌时,颁发的安全令牌包含对附加的安全令牌和未附加安全令牌的引用。 附加引用是指 SOAP 消息的安全标头中包含的安全令牌,未附加的引用是 SOAP 消息的安全标头中不包含的安全令牌。 这些引用通常确认颁发的安全令牌的真实性。

构造函数

名称 说明
BinaryKeyIdentifierClause(String, Byte[], Boolean, Byte[], Int32)

使用指定的键标识符子句类型、二进制数据(指示是否必须克隆二进制数据、nonce 和密钥长度的值)初始化类的新实例 BinaryKeyIdentifierClause

BinaryKeyIdentifierClause(String, Byte[], Boolean)

使用指定的键标识符子句类型、二进制数据和指示是否必须克隆二进制数据的值初始化类的新实例 BinaryKeyIdentifierClause

属性

名称 说明
CanCreateKey

获取一个值,该值指示是否可以创建密钥。

(继承自 SecurityKeyIdentifierClause)
ClauseType

获取密钥标识符子句类型。

(继承自 SecurityKeyIdentifierClause)
DerivationLength

获取派生密钥的大小。

(继承自 SecurityKeyIdentifierClause)
Id

获取或设置密钥标识符子句 ID。

(继承自 SecurityKeyIdentifierClause)

方法

名称 说明
CreateKey()

基于传入构造函数的参数创建密钥。

(继承自 SecurityKeyIdentifierClause)
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetBuffer()

获取表示密钥标识符的二进制数据。

GetDerivationNonce()

获取用于生成派生密钥的 nonce。

(继承自 SecurityKeyIdentifierClause)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetRawBuffer()

获取表示密钥标识符的二进制数据。

GetType()

获取当前实例的 Type

(继承自 Object)
Matches(Byte[], Int32)

返回一个值,该值指示当前实例的二进制数据是否与指定偏移量处的指定二进制数据等效。

Matches(Byte[])

返回一个值,该值指示当前实例的二进制数据是否与指定的二进制数据匹配。

Matches(SecurityKeyIdentifierClause)

返回一个值,该值指示此实例的密钥标识符是否等效于指定的密钥标识符子句。

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于