ManagedAuthenticatedEncryptorConfiguration Class

Definition

Represents a configured authenticated encryption mechanism which uses managed SymmetricAlgorithm and KeyedHashAlgorithm types.

public ref class ManagedAuthenticatedEncryptorConfiguration sealed
public ref class ManagedAuthenticatedEncryptorConfiguration sealed : Microsoft::AspNetCore::DataProtection::AuthenticatedEncryption::ConfigurationModel::AlgorithmConfiguration
public sealed class ManagedAuthenticatedEncryptorConfiguration
public sealed class ManagedAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration
type ManagedAuthenticatedEncryptorConfiguration = class
    interface IAuthenticatedEncryptorConfiguration
type ManagedAuthenticatedEncryptorConfiguration = class
    inherit AlgorithmConfiguration
Public NotInheritable Class ManagedAuthenticatedEncryptorConfiguration
Public NotInheritable Class ManagedAuthenticatedEncryptorConfiguration
Inherits AlgorithmConfiguration
Inheritance
ManagedAuthenticatedEncryptorConfiguration
Inheritance
ManagedAuthenticatedEncryptorConfiguration
Implements

Constructors

ManagedAuthenticatedEncryptorConfiguration()
ManagedAuthenticatedEncryptorConfiguration(ManagedAuthenticatedEncryptionSettings)
ManagedAuthenticatedEncryptorConfiguration(ManagedAuthenticatedEncryptionSettings, IServiceProvider)

Properties

EncryptionAlgorithmKeySize

The length (in bits) of the key that will be used for symmetric encryption. This property is required to have a value.

EncryptionAlgorithmType

The type of the algorithm to use for symmetric encryption. The type must subclass SymmetricAlgorithm. This property is required to have a value.

Settings
ValidationAlgorithmType

The type of the algorithm to use for validation. Type type must subclass KeyedHashAlgorithm. This property is required to have a value.

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