CipherData.GetXml Método

Definición

Obtiene los valores XML del CipherData objeto .

public:
 System::Xml::XmlElement ^ GetXml();
public System.Xml.XmlElement GetXml();
member this.GetXml : unit -> System.Xml.XmlElement
Public Function GetXml () As XmlElement

Devoluciones

Objeto XmlElement que representa la información XML del CipherData objeto .

Excepciones

La CipherValue propiedad y la CipherReference propiedad son null.

Ejemplos

En el ejemplo de código siguiente se muestra cómo crear una nueva instancia del CipherData objeto .

// Create a new CipherData object.
CipherData cd = new CipherData();
// Assign a byte array to be the CipherValue. This is a byte array representing encrypted data.
cd.CipherValue = new byte[8];
' Create a new CipherData object.
Dim cd As New CipherData
' Assign a byte array to the CipherValue.
cd.CipherValue = New Byte(7) {}

Comentarios

Use este método para generar XML para un CipherData objeto .

Se aplica a