Udostępnij za pośrednictwem


NullXmlEncryptor.Encrypt(XElement) Metoda

Definicja

Szyfruje określony XElement element z szyfrowaniem o wartości null, tj. zwracając oryginalną wartość plaintextElement niezaszyfrowanego.

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

Parametry

plaintextElement
XElement

Zwykły tekst do echa.

Zwraca

Element EncryptedXmlInfo zawierający wartość plaintextElement zaszyfrowaną o wartości null wraz z informacjami o tym, jak go odszyfrować.

Implementuje

Dotyczy