CngCbcAuthenticatedEncryptorConfiguration CngCbcAuthenticatedEncryptorConfiguration CngCbcAuthenticatedEncryptorConfiguration Class

Definition

Represents a configured authenticated encryption mechanism which uses Windows CNG algorithms in CBC encryption + HMAC authentication modes.

public sealed class CngCbcAuthenticatedEncryptorConfiguration : Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration
type CngCbcAuthenticatedEncryptorConfiguration = class
    inherit AlgorithmConfiguration
Public NotInheritable Class CngCbcAuthenticatedEncryptorConfiguration
Inherits AlgorithmConfiguration
Inheritance
CngCbcAuthenticatedEncryptorConfigurationCngCbcAuthenticatedEncryptorConfigurationCngCbcAuthenticatedEncryptorConfiguration

Constructors

CngCbcAuthenticatedEncryptorConfiguration() CngCbcAuthenticatedEncryptorConfiguration() CngCbcAuthenticatedEncryptorConfiguration()
CngCbcAuthenticatedEncryptorConfiguration(CngCbcAuthenticatedEncryptionSettings) CngCbcAuthenticatedEncryptorConfiguration(CngCbcAuthenticatedEncryptionSettings) CngCbcAuthenticatedEncryptorConfiguration(CngCbcAuthenticatedEncryptionSettings)
CngCbcAuthenticatedEncryptorConfiguration(CngCbcAuthenticatedEncryptionSettings, IServiceProvider) CngCbcAuthenticatedEncryptorConfiguration(CngCbcAuthenticatedEncryptionSettings, IServiceProvider) CngCbcAuthenticatedEncryptorConfiguration(CngCbcAuthenticatedEncryptionSettings, IServiceProvider)

Properties

EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm

The name of the algorithm to use for symmetric encryption. This property corresponds to the 'pszAlgId' parameter of BCryptOpenAlgorithmProvider. This property is required to have a value.

EncryptionAlgorithmKeySize EncryptionAlgorithmKeySize EncryptionAlgorithmKeySize

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

EncryptionAlgorithmProvider EncryptionAlgorithmProvider EncryptionAlgorithmProvider

The name of the provider which contains the implementation of the symmetric encryption algorithm. This property corresponds to the 'pszImplementation' parameter of BCryptOpenAlgorithmProvider. This property is optional.

HashAlgorithm HashAlgorithm HashAlgorithm

The name of the algorithm to use for hashing data. This property corresponds to the 'pszAlgId' parameter of BCryptOpenAlgorithmProvider. This property is required to have a value.

HashAlgorithmProvider HashAlgorithmProvider HashAlgorithmProvider

The name of the provider which contains the implementation of the hash algorithm. This property corresponds to the 'pszImplementation' parameter of BCryptOpenAlgorithmProvider. This property is optional.

Settings Settings Settings

Methods

CreateNewDescriptor() CreateNewDescriptor() CreateNewDescriptor()

Applies to