GenericXmlSecurityKeyIdentifierClause Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy GenericXmlSecurityKeyIdentifierClause.

Przeciążenia

GenericXmlSecurityKeyIdentifierClause(XmlElement)

Inicjuje nowe wystąpienie GenericXmlSecurityKeyIdentifierClause klasy przy użyciu określonego elementu XML.

GenericXmlSecurityKeyIdentifierClause(XmlElement, Byte[], Int32)

Inicjuje nowe wystąpienie klasy przy użyciu określonego GenericXmlSecurityKeyIdentifierClause elementu XML, typu nonce i długości pochodnej.

GenericXmlSecurityKeyIdentifierClause(XmlElement)

Inicjuje nowe wystąpienie GenericXmlSecurityKeyIdentifierClause klasy przy użyciu określonego elementu XML.

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)

Parametry

referenceXml
XmlElement

Element XML reprezentujący klauzulę identyfikatora klucza. Ustawia wartość ReferenceXml właściwości.

Wyjątki

referenceXML to null.

Uwagi

Właściwość ClauseType jest inicjowana do , null a właściwość jest DerivationLength inicjowana do zera w nowym wystąpieniu.

Dotyczy

GenericXmlSecurityKeyIdentifierClause(XmlElement, Byte[], Int32)

Inicjuje nowe wystąpienie klasy przy użyciu określonego GenericXmlSecurityKeyIdentifierClause elementu XML, typu nonce i długości pochodnej.

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)

Parametry

referenceXml
XmlElement

Element XML reprezentujący klauzulę identyfikatora klucza. Ustawia wartość ReferenceXml właściwości.

derivationNonce
Byte[]

Tablica Byte zawierająca element nonce, który został użyty do utworzenia klucza pochodnego. Ustawia wartość zwracaną przez GetDerivationNonce() metodę .

derivationLength
Int32

Rozmiar klucza pochodnego. Ustawia wartość DerivationLength właściwości.

Wyjątki

referenceXML to null.

Uwagi

Właściwość ClauseType jest inicjowana null do w nowym wystąpieniu.

Dotyczy