CngGcmAuthenticatedEncryptorConfiguration Class

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

Namespace
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel
Assemblies
  • Microsoft.AspNetCore.DataProtection

Syntax

public sealed class CngGcmAuthenticatedEncryptorConfiguration : IInternalAuthenticatedEncryptorConfiguration, IAuthenticatedEncryptorConfiguration
class Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration

Constructors

CngGcmAuthenticatedEncryptorConfiguration(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptionSettings)
public CngGcmAuthenticatedEncryptorConfiguration(CngGcmAuthenticatedEncryptionSettings settings)
CngGcmAuthenticatedEncryptorConfiguration(Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptionSettings, System.IServiceProvider)
public CngGcmAuthenticatedEncryptorConfiguration(CngGcmAuthenticatedEncryptionSettings settings, IServiceProvider services)

Methods

CreateNewDescriptor()
Return type:Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.IAuthenticatedEncryptorDescriptor
public IAuthenticatedEncryptorDescriptor CreateNewDescriptor()

Properties

Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.CngGcmAuthenticatedEncryptorConfiguration.Settings
Return type:Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptionSettings
public CngGcmAuthenticatedEncryptionSettings Settings { get; }