Saml2AssertionKeyIdentifierClause Constructor (String, Byte[], Int32)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Exception Condition
ArgumentNullException

id is null or an empty string.

.NET Framework
Available since 4.5
Return to top
Show: