SecurityKeyIdentifierClause Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SecurityKeyIdentifierClause class.
Overloads
SecurityKeyIdentifierClause(String) |
Initializes a new instance of the SecurityKeyIdentifierClause class using the specified key identifier clause type. |
SecurityKeyIdentifierClause(String, Byte[], Int32) |
Initializes a new instance of the SecurityKeyIdentifierClause class using the specified key identifier clause type, nonce, and the derived key length. |
SecurityKeyIdentifierClause(String)
Initializes a new instance of the SecurityKeyIdentifierClause class using the specified key identifier clause type.
protected:
SecurityKeyIdentifierClause(System::String ^ clauseType);
protected SecurityKeyIdentifierClause (string clauseType);
new System.IdentityModel.Tokens.SecurityKeyIdentifierClause : string -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Protected Sub New (clauseType As String)
Parameters
- clauseType
- String
The key identifier clause type. Sets the value of the ClauseType property.
Remarks
When this security key identifier is serialized into XML, the clauseType
parameter is serialized as the ValueType
attribute of the <SecurityTokenReference>
element.
Applies to
SecurityKeyIdentifierClause(String, Byte[], Int32)
Initializes a new instance of the SecurityKeyIdentifierClause class using the specified key identifier clause type, nonce, and the derived key length.
protected:
SecurityKeyIdentifierClause(System::String ^ clauseType, cli::array <System::Byte> ^ nonce, int length);
protected SecurityKeyIdentifierClause (string clauseType, byte[] nonce, int length);
new System.IdentityModel.Tokens.SecurityKeyIdentifierClause : string * byte[] * int -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Protected Sub New (clauseType As String, nonce As Byte(), length As Integer)
Parameters
- clauseType
- String
The key identifier clause type. Sets the value of the ClauseType property.
- nonce
- Byte[]
An array of Byte that contains the nonce that was used to create a derived key. Sets the value that is returned by the GetDerivationNonce() method.
- length
- Int32
The size of the derived key. Sets the value of the DerivationLength property.
Remarks
Windows Communication Foundation (WCF) does not support the creation of implied derived key identifiers. However, WCF processes incoming SOAP messages that contain implied key identifier.