IXmlEncryptor.Encrypt(XElement) 메서드

정의

지정된 XElement를 암호화합니다.

public:
 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
Public Function Encrypt (plaintextElement As XElement) As EncryptedXmlInfo

매개 변수

plaintextElement
XElement

암호화할 일반 텍스트입니다.

반환

EncryptedXmlInfo 암호 해독 방법에 대한 정보와 함께 의 plaintextElement 암호화된 값을 포함하는 입니다.

설명

이 메서드의 구현은 에서 제공하는 plaintextElementinstance 변경 XElement 해서는 안 됩니다.

적용 대상