Microsoft.AspNetCore.DataProtection.XmlEncryption Namespace

Contains types for encrypting and decrypting XML.

Classes

CertificateResolver

A default implementation of ICertificateResolver that looks in the current user and local machine certificate stores.

CertificateXmlEncryptor

An IXmlEncryptor that can perform XML encryption by using an X.509 certificate.

DpapiNGXmlDecryptor

An IXmlDecryptor that decrypts XML elements that were encrypted with DpapiNGXmlEncryptor.

DpapiNGXmlEncryptor

A class that can encrypt XML elements using Windows DPAPI:NG.

DpapiXmlDecryptor

An IXmlDecryptor that decrypts XML elements that were encrypted with DpapiXmlEncryptor.

DpapiXmlEncryptor

An IXmlEncryptor that encrypts XML by using Windows DPAPI.

EncryptedXmlDecryptor

An IXmlDecryptor that decrypts XML elements by using the EncryptedXml class.

EncryptedXmlInfo

Wraps an XElement that contains a blob of encrypted XML and information about the class which can be used to decrypt it.

NullXmlDecryptor

An IXmlDecryptor that decrypts XML elements with a null decryptor.

NullXmlEncryptor

An IXmlEncryptor that encrypts XML elements with a null encryptor.

Interfaces

ICertificateResolver

Provides services for locating X509Certificate2 instances.

IXmlDecryptor

The basic interface for decrypting an XML element.

IXmlEncryptor

The basic interface for encrypting XML elements.

Enums

DpapiNGProtectionDescriptorFlags

Flags used to control the creation of protection descriptors.

Remarks

For more information about data protection, see ASP.NET Core Data Protection.