IAuthenticatedEncryptorDescriptor.ExportToXml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exports the current descriptor to 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
Returns
An XmlSerializedDescriptorInfo wrapping the XElement which represents the serialized current descriptor object. The deserializer type must be assignable to IAuthenticatedEncryptorDescriptorDeserializer.
Remarks
If an element contains sensitive information (such as key material), the element should be marked via the MarkAsRequiresEncryption(XElement) extension method, and the caller should encrypt the element before persisting the XML to storage.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for