Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption Namespace

Contains types that are used for authenticated encryption and decryption routines. Custom authenication can be created by implementing IAuthenticatedEncryptor.

Classes

AuthenticatedEncryptionSettings

Settings for configuring authenticated encryption algorithms.

AuthenticatedEncryptorFactory

An IAuthenticatedEncryptorFactory to create an IAuthenticatedEncryptor based on the AuthenticatedEncryptorConfiguration.

CngCbcAuthenticatedEncryptionSettings

Settings for configuring an authenticated encryption mechanism which uses Windows CNG algorithms in CBC encryption + HMAC authentication modes.

CngCbcAuthenticatedEncryptorFactory

An IAuthenticatedEncryptorFactory for Microsoft.AspNetCore.DataProtection.Cng.CbcAuthenticatedEncryptor.

CngGcmAuthenticatedEncryptionSettings

Settings for configuring an authenticated encryption mechanism which uses Windows CNG algorithms in GCM encryption + authentication modes.

CngGcmAuthenticatedEncryptorFactory

An IAuthenticatedEncryptorFactory for Microsoft.AspNetCore.DataProtection.Cng.GcmAuthenticatedEncryptor.

ManagedAuthenticatedEncryptionSettings

Settings for configuring an authenticated encryption mechanism which uses managed SymmetricAlgorithm and KeyedHashAlgorithm implementations.

ManagedAuthenticatedEncryptorFactory

An IAuthenticatedEncryptorFactory for Microsoft.AspNetCore.DataProtection.Managed.ManagedAuthenticatedEncryptor.

Interfaces

IAuthenticatedEncryptor

The basic interface for providing an authenticated encryption and decryption routine.

IAuthenticatedEncryptorFactory

Enums

EncryptionAlgorithm

Specifies a symmetric encryption algorithm to use for providing confidentiality to protected payloads.

ValidationAlgorithm

Specifies a message authentication algorithm to use for providing tamper-proofing to protected payloads.

Remarks

For more information about ASP.NET Core data protection, see Data Protection.