语言

Saml2SecurityKeyIdentifierClause 类

定义

当在签名元素内没有 ds:KeyInfo< 元素的情况下>接收 Saml2Assertion 时,将使用此类。 KeyInfo 描述了检查签名所需的密钥。 当需要密钥时,此子句将呈现给当前 SecurityTokenResolver子句。 它将包含 Saml2Assertion 完全读取,可以查询它以确定所需的密钥。

public ref class Saml2SecurityKeyIdentifierClause : System::IdentityModel::Tokens::SecurityKeyIdentifierClause
public class Saml2SecurityKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause
type Saml2SecurityKeyIdentifierClause = class
    inherit SecurityKeyIdentifierClause
Public Class Saml2SecurityKeyIdentifierClause
Inherits SecurityKeyIdentifierClause
继承
Saml2SecurityKeyIdentifierClause

构造函数

名称 说明
Saml2SecurityKeyIdentifierClause(Saml2Assertion)

初始化 Saml2SecurityKeyIdentifierClause 类的新实例。

属性

名称 说明
Assertion

获取当前与此实例关联的 Saml2Assertion。

CanCreateKey

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

(继承自 SecurityKeyIdentifierClause)
ClauseType

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

(继承自 SecurityKeyIdentifierClause)
DerivationLength

获取派生密钥的大小。

(继承自 SecurityKeyIdentifierClause)
Id

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

(继承自 SecurityKeyIdentifierClause)

方法

名称 说明
CreateKey()

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

(继承自 SecurityKeyIdentifierClause)
Equals(Object)

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

(继承自 Object)
GetDerivationNonce()

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

(继承自 SecurityKeyIdentifierClause)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
Matches(SecurityKeyIdentifierClause)

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

(继承自 SecurityKeyIdentifierClause)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

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

(继承自 Object)

适用于