SecurityContextKeyIdentifierClause 构造函数

定义

初始化 SecurityContextKeyIdentifierClause 类的新实例。Initializes a new instance of the SecurityContextKeyIdentifierClause class.

重载

SecurityContextKeyIdentifierClause(UniqueId)

使用指定的上下文标识符初始化 SecurityContextKeyIdentifierClause 类的新实例。Initializes a new instance of the SecurityContextKeyIdentifierClause class using the specified context identifier.

SecurityContextKeyIdentifierClause(UniqueId, UniqueId)

使用指定的上下文标识符和生成初始化 SecurityContextKeyIdentifierClause 类的新实例。Initializes a new instance of the SecurityContextKeyIdentifierClause class using the specified context identifier and generation.

SecurityContextKeyIdentifierClause(UniqueId, UniqueId, Byte[], Int32)

用指定的值初始化 SecurityContextKeyIdentifierClause 类的新实例。Initializes a new instance of the SecurityContextKeyIdentifierClause class with the specified values.

SecurityContextKeyIdentifierClause(UniqueId)

使用指定的上下文标识符初始化 SecurityContextKeyIdentifierClause 类的新实例。Initializes a new instance of the SecurityContextKeyIdentifierClause class using the specified context identifier.

public:
 SecurityContextKeyIdentifierClause(System::Xml::UniqueId ^ contextId);
public SecurityContextKeyIdentifierClause (System.Xml.UniqueId contextId);
new System.ServiceModel.Security.SecurityContextKeyIdentifierClause : System.Xml.UniqueId -> System.ServiceModel.Security.SecurityContextKeyIdentifierClause
Public Sub New (contextId As UniqueId)

参数

contextId
UniqueId

安全性上下文的唯一 ID。The unique ID of the security context.

注解

有关 contextId 参数的更多信息,请参见 ContextIdFor more about the contextId parameter, see ContextId.

适用于

SecurityContextKeyIdentifierClause(UniqueId, UniqueId)

使用指定的上下文标识符和生成初始化 SecurityContextKeyIdentifierClause 类的新实例。Initializes a new instance of the SecurityContextKeyIdentifierClause class using the specified context identifier and generation.

public:
 SecurityContextKeyIdentifierClause(System::Xml::UniqueId ^ contextId, System::Xml::UniqueId ^ generation);
public SecurityContextKeyIdentifierClause (System.Xml.UniqueId contextId, System.Xml.UniqueId generation);
new System.ServiceModel.Security.SecurityContextKeyIdentifierClause : System.Xml.UniqueId * System.Xml.UniqueId -> System.ServiceModel.Security.SecurityContextKeyIdentifierClause
Public Sub New (contextId As UniqueId, generation As UniqueId)

参数

contextId
UniqueId

一个 UniqueId,表示安全上下文的上下文 ID。A UniqueId that represents the Context ID of the security context.

generation
UniqueId

一个 UniqueId,表示安全上下文令牌的密钥生成。A UniqueId that refers to the Key generation of the Security Context Token.

注解

有关 contextId 参数的更多信息,请参见 ContextIdFor more about the contextId parameter, see ContextId.

有关 generation 参数的更多信息,请参见 KeyGenerationFor more about the generation parameter, see KeyGeneration.

适用于

SecurityContextKeyIdentifierClause(UniqueId, UniqueId, Byte[], Int32)

用指定的值初始化 SecurityContextKeyIdentifierClause 类的新实例。Initializes a new instance of the SecurityContextKeyIdentifierClause class with the specified values.

public:
 SecurityContextKeyIdentifierClause(System::Xml::UniqueId ^ contextId, System::Xml::UniqueId ^ generation, cli::array <System::Byte> ^ derivationNonce, int derivationLength);
public SecurityContextKeyIdentifierClause (System.Xml.UniqueId contextId, System.Xml.UniqueId generation, byte[] derivationNonce, int derivationLength);
new System.ServiceModel.Security.SecurityContextKeyIdentifierClause : System.Xml.UniqueId * System.Xml.UniqueId * byte[] * int -> System.ServiceModel.Security.SecurityContextKeyIdentifierClause
Public Sub New (contextId As UniqueId, generation As UniqueId, derivationNonce As Byte(), derivationLength As Integer)

参数

contextId
UniqueId

标识符子句的上下文 ID 部分。The context ID part of the identifier clause.

generation
UniqueId

标识符子句的生成部分。The generation part of the identifier clause.

derivationNonce
Byte[]

用于派生令牌的“只用一次的数字”(Nonce)。The nonce ("number used once") used to derive the token.

derivationLength
Int32

要派生的密钥长度。The length of the key being derived.

注解

derivationNoncederivationLength 用于隐含的派生密钥。derivationNonce and derivationLength are used for implied derived keys. 只有发送端支持这种情况。This is supported only on the sending side.

适用于