Editar

Compartir a través de


GenericXmlSecurityKeyIdentifierClause Constructors

Definition

Initializes a new instance of the GenericXmlSecurityKeyIdentifierClause class.

Overloads

GenericXmlSecurityKeyIdentifierClause(XmlElement)

Initializes a new instance of the GenericXmlSecurityKeyIdentifierClause class by using the specified XML element.

GenericXmlSecurityKeyIdentifierClause(XmlElement, Byte[], Int32)

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

GenericXmlSecurityKeyIdentifierClause(XmlElement)

Source:
GenericXmlSecurityKeyIdentifierClause.cs
Source:
GenericXmlSecurityKeyIdentifierClause.cs

Initializes a new instance of the GenericXmlSecurityKeyIdentifierClause class by using the specified XML element.

public:
 GenericXmlSecurityKeyIdentifierClause(System::Xml::XmlElement ^ referenceXml);
public GenericXmlSecurityKeyIdentifierClause (System.Xml.XmlElement referenceXml);
new System.IdentityModel.Tokens.GenericXmlSecurityKeyIdentifierClause : System.Xml.XmlElement -> System.IdentityModel.Tokens.GenericXmlSecurityKeyIdentifierClause
Public Sub New (referenceXml As XmlElement)

Parameters

referenceXml
XmlElement

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

Exceptions

referenceXML is null.

Remarks

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

Applies to

GenericXmlSecurityKeyIdentifierClause(XmlElement, Byte[], Int32)

Source:
GenericXmlSecurityKeyIdentifierClause.cs
Source:
GenericXmlSecurityKeyIdentifierClause.cs

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

public:
 GenericXmlSecurityKeyIdentifierClause(System::Xml::XmlElement ^ referenceXml, cli::array <System::Byte> ^ derivationNonce, int derivationLength);
public GenericXmlSecurityKeyIdentifierClause (System.Xml.XmlElement referenceXml, byte[] derivationNonce, int derivationLength);
new System.IdentityModel.Tokens.GenericXmlSecurityKeyIdentifierClause : System.Xml.XmlElement * byte[] * int -> System.IdentityModel.Tokens.GenericXmlSecurityKeyIdentifierClause
Public Sub New (referenceXml As XmlElement, derivationNonce As Byte(), derivationLength As Integer)

Parameters

referenceXml
XmlElement

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

derivationNonce
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
Int32

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

Exceptions

referenceXML is null.

Remarks

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

Applies to