GenericXmlSecurityKeyIdentifierClause Constructor (XmlElement, Byte[], Int32)

.NET Framework (current version)

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

Initializes a new instance of the GenericXmlSecurityKeyIdentifierClause class by using the specified XML element, nonce, and derivation length.

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

public GenericXmlSecurityKeyIdentifierClause(
	XmlElement referenceXml,
	byte[] derivationNonce,
	int derivationLength


Type: System.Xml.XmlElement

The XML element that represents the key identifier clause. Sets the value of the ReferenceXml property.

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.

Type: System.Int32

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

Exception Condition

referenceXML is null.

The ClauseType property is initialized to null in the new instance.

.NET Framework
Available since 4.5
Return to top