Compartir a través de


DpapiXmlEncryptor.Encrypt(XElement) Método

Definición

Cifra el especificado XElement.

public:
 virtual Microsoft::AspNetCore::DataProtection::XmlEncryption::EncryptedXmlInfo ^ Encrypt(System::Xml::Linq::XElement ^ plaintextElement);
public Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo Encrypt (System.Xml.Linq.XElement plaintextElement);
abstract member Encrypt : System.Xml.Linq.XElement -> Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo
override this.Encrypt : System.Xml.Linq.XElement -> Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlInfo
Public Function Encrypt (plaintextElement As XElement) As EncryptedXmlInfo

Parámetros

plaintextElement
XElement

Texto no cifrado que se va a cifrar.

Devoluciones

que EncryptedXmlInfo contiene el valor cifrado de plaintextElement junto con información sobre cómo descifrarlo.

Implementaciones

Se aplica a