DpapiXmlEncryptor Class
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.
An IXmlEncryptor that encrypts XML by using Windows DPAPI.
public ref class DpapiXmlEncryptor sealed : Microsoft::AspNetCore::DataProtection::XmlEncryption::IXmlEncryptor
public sealed class DpapiXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor
type DpapiXmlEncryptor = class
interface IXmlEncryptor
Public NotInheritable Class DpapiXmlEncryptor
Implements IXmlEncryptor
- Inheritance
-
DpapiXmlEncryptor
- Implements
Remarks
This API is only supported on Windows platforms.
Constructors
DpapiXmlEncryptor(Boolean, ILoggerFactory) |
Creates a DpapiXmlEncryptor given a protection scope and an IServiceProvider. |
DpapiXmlEncryptor(Boolean, IServiceProvider) |
Creates a DpapiXmlEncryptor given a protection scope and an IServiceProvider. |
DpapiXmlEncryptor(Boolean) |
Creates a DpapiXmlEncryptor given a protection scope. |
Methods
Encrypt(XElement) |
Encrypts the specified XElement. |