AuthenticatedEncryptorConfiguration Class

Definition

Represents a generalized authenticated encryption mechanism.

C#
public sealed class AuthenticatedEncryptorConfiguration
C#
public sealed class AuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration
Inheritance
AuthenticatedEncryptorConfiguration
Inheritance
AuthenticatedEncryptorConfiguration
Implements

Constructors

Properties

EncryptionAlgorithm

The algorithm to use for symmetric encryption (confidentiality).

Settings
ValidationAlgorithm

The algorithm to use for message authentication (tamper-proofing).

Methods

CreateNewDescriptor()

Creates a new IAuthenticatedEncryptorDescriptor instance based on this configuration. The newly-created instance contains unique key material and is distinct from all other descriptors created by the CreateNewDescriptor() method.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0