Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ManagedAuthenticatedEncryptorConfiguration Class

Definition

Namespace:
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel
Assembly:
Microsoft.AspNetCore.DataProtection.dll
Package:
Microsoft.AspNetCore.DataProtection v1.0.0
Package:
Microsoft.AspNetCore.DataProtection v1.1.0
Package:
Microsoft.AspNetCore.DataProtection v10.0.0
Package:
Microsoft.AspNetCore.DataProtection v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.DataProtection v2.0.0
Package:
Microsoft.AspNetCore.DataProtection v2.1.0
Package:
Microsoft.AspNetCore.DataProtection v2.2.0
Package:
Microsoft.AspNetCore.DataProtection v3.0.3
Package:
Microsoft.AspNetCore.DataProtection v3.1.18
Package:
Microsoft.AspNetCore.DataProtection v5.0.9
Package:
Microsoft.AspNetCore.DataProtection v6.0.6
Package:
Microsoft.AspNetCore.DataProtection v7.0.5
Package:
Microsoft.AspNetCore.DataProtection v8.0.19
Package:
Microsoft.AspNetCore.DataProtection v9.0.8
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs
Source:
ManagedAuthenticatedEncryptorConfiguration.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
ManagedAuthenticatedEncryptorConfiguration()
ManagedAuthenticatedEncryptorConfiguration(ManagedAuthenticatedEncryptionSettings, IServiceProvider)
ManagedAuthenticatedEncryptorConfiguration(ManagedAuthenticatedEncryptionSettings)

Properties

Name Description
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

Name Description
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


Feedback

Was this page helpful?