Share via


IAuthenticatedEncryptorDescriptor.ExportToXml 메서드

정의

현재 설명자를 XML로 내보냅니다.

public:
 Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::XmlSerializedDescriptorInfo ^ ExportToXml();
public Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo ExportToXml ();
abstract member ExportToXml : unit -> Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.XmlSerializedDescriptorInfo
Public Function ExportToXml () As XmlSerializedDescriptorInfo

반환

XmlSerializedDescriptorInfo 직렬화된 현재 설명자 개체를 나타내는 래핑 XElement 입니다. 역직렬 변환기 형식을 에 할당할 수 IAuthenticatedEncryptorDescriptorDeserializer있어야 합니다.

설명

요소에 중요한 정보(예: 키 자료)가 포함된 경우 요소는 확장 메서드를 MarkAsRequiresEncryption(XElement) 통해 표시되어야 하며 호출자는 XML을 스토리지에 유지하기 전에 요소를 암호화해야 합니다.

적용 대상