Share via


NullXmlEncryptor Class

Definition

An IXmlEncryptor that encrypts XML elements with a null encryptor.

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

Constructors

NullXmlEncryptor()

Creates a new instance of NullXmlEncryptor.

NullXmlEncryptor(IServiceProvider)

Creates a new instance of NullXmlEncryptor.

Methods

Encrypt(XElement)

Encrypts the specified XElement with a null encryptor, i.e., by returning the original value of plaintextElement unencrypted.

Applies to