DpapiNGXmlEncryptor Klasse

Definition

Eine Klasse, die XML-Elemente mithilfe von Windows DPAPI:NG verschlüsseln kann.

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
Vererbung
DpapiNGXmlEncryptor
Implementiert

Hinweise

Diese API wird nur unter Windows 8/Windows Server 2012 und höher unterstützt.

Konstruktoren

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

Erstellt eine neue instance eines DpapiNGXmlEncryptor.

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory)

Erstellt eine neue instance eines DpapiNGXmlEncryptor.

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

Erstellt eine neue instance eines DpapiNGXmlEncryptor.

Methoden

Encrypt(XElement)

Verschlüsselt die angegebene XElement.

Gilt für: