Export (0) Print
Expand All

Saml2AssertionKeyIdentifierClause Constructor (String, Byte[], Int32)

.NET Framework 4.5

Initializes a new instance of the Saml2AssertionKeyIdentifierClause class for the specified ID, nonce, and key size.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Saml2AssertionKeyIdentifierClause(
	string id,
	byte[] derivationNonce,
	int derivationLength
)

Parameters

id
Type: System.String

The ID that defines the clause to create.

derivationNonce
Type: System.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.

derivationLength
Type: System.Int32

The size of the derived key. Sets the value of the DerivationLength property.

ExceptionCondition
ArgumentNullException

id is null or an empty string.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft