DpapiNGXmlDecryptor Class

Definition

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

public ref class DpapiNGXmlDecryptor sealed : Microsoft::AspNetCore::DataProtection::XmlEncryption::IXmlDecryptor
public sealed class DpapiNGXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor
type DpapiNGXmlDecryptor = class
    interface IXmlDecryptor
Public NotInheritable Class DpapiNGXmlDecryptor
Implements IXmlDecryptor
Inheritance
DpapiNGXmlDecryptor
Implements

Remarks

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

Constructors

DpapiNGXmlDecryptor()

Creates a new instance of a DpapiNGXmlDecryptor.

DpapiNGXmlDecryptor(IServiceProvider)

Creates a new instance of a DpapiNGXmlDecryptor.

Methods

Decrypt(XElement)

Decrypts the specified XML element.

Applies to