DpapiNGXmlEncryptor DpapiNGXmlEncryptor DpapiNGXmlEncryptor DpapiNGXmlEncryptor Class

Definition

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
DpapiNGXmlEncryptorDpapiNGXmlEncryptorDpapiNGXmlEncryptorDpapiNGXmlEncryptor
Implements

Remarks

This API is only supported on Windows 8 / Windows Server 2012 and higher.

Constructors

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

Creates a new instance of a DpapiNGXmlEncryptor.

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory)

Creates a new instance of a DpapiNGXmlEncryptor.

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider) DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

Creates a new instance of a DpapiNGXmlEncryptor.

Methods

Encrypt(XElement) Encrypt(XElement) Encrypt(XElement) Encrypt(XElement)

Encrypts the specified XElement.

Applies to