GenericXmlSecurityKeyIdentifierClause Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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
.NET