SamlAssertionKeyIdentifierClause Constructor (String, Byte[], Int32)

 
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 SamlAssertionKeyIdentifierClause class using the specified SAML assertion identifier, nonce, and key length.

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

public SamlAssertionKeyIdentifierClause(
	string assertionId,
	byte[] derivationNonce,
	int derivationLength
)

Parameters

assertionId
Type: System.String

The identifier of the SamlAssertion that contains the key identifier.

derivationNonce
Type: System.Byte[]

An array of Byte that contains the nonce that was used to create a derived key.

derivationLength
Type: System.Int32

The size of the derived key.

Exception Condition
ArgumentNullException

assertionId is null.

Pass the AssertionId property of a SamlAssertion to this constructor.

The derivationNonce and derivationLength parameters are ignored when the SamlAssertionKeyIdentifierClause class is serialized into an outgoing SOAP message.

.NET Framework
Available since 3.0
Return to top
Show: