DpapiNGXmlEncryptor 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.
A class that can encrypt XML elements using Windows DPAPI:NG.
public ref class DpapiNGXmlEncryptor sealed : Microsoft::AspNetCore::DataProtection::XmlEncryption::IXmlEncryptor
public sealed class DpapiNGXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor
type DpapiNGXmlEncryptor = class
interface IXmlEncryptor
Public NotInheritable Class DpapiNGXmlEncryptor
Implements IXmlEncryptor
- Inheritance
-
DpapiNGXmlEncryptor
- Implements
Remarks
This API is only supported on Windows 8 / Windows Server 2012 and higher.
Constructors
DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory) |
Creates a new instance of a DpapiNGXmlEncryptor. |
DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider) |
Creates a new instance of a DpapiNGXmlEncryptor. |
DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags) |
Creates a new instance of a DpapiNGXmlEncryptor. |
Methods
Encrypt(XElement) |
Encrypts the specified XElement. |