3 instantiations of CngCbcAuthenticatedEncryptorConfiguration
Microsoft.AspNetCore.DataProtection (3)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
84
var configuration = new
CngCbcAuthenticatedEncryptorConfiguration
()
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
33
var configuration = new
CngCbcAuthenticatedEncryptorConfiguration
();
RegistryPolicyResolver.cs (1)
116
var options = new
CngCbcAuthenticatedEncryptorConfiguration
();
19 references to CngCbcAuthenticatedEncryptorConfiguration
Microsoft.AspNetCore.DataProtection (19)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
84
var
configuration = new CngCbcAuthenticatedEncryptorConfiguration()
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (3)
51
CngCbcAuthenticatedEncryptorConfiguration
? configuration)
67
private BCryptAlgorithmHandle GetHmacAlgorithmHandle(
CngCbcAuthenticatedEncryptorConfiguration
configuration)
101
private BCryptAlgorithmHandle GetSymmetricBlockCipherAlgorithmHandle(
CngCbcAuthenticatedEncryptorConfiguration
configuration)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfiguration.cs (1)
89
/// Validates that this <see cref="
CngCbcAuthenticatedEncryptorConfiguration
"/> is well-formed, i.e.,
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (4)
13
/// configuration provided by an <see cref="
CngCbcAuthenticatedEncryptorConfiguration
"/> object.
21
/// <param name="configuration">The <see cref="
CngCbcAuthenticatedEncryptorConfiguration
"/>.</param>
23
public CngCbcAuthenticatedEncryptorDescriptor(
CngCbcAuthenticatedEncryptorConfiguration
configuration, ISecret masterKey)
34
internal
CngCbcAuthenticatedEncryptorConfiguration
Configuration { get; }
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
33
var
configuration = new CngCbcAuthenticatedEncryptorConfiguration();
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
21
/// <param name="configuration">The <see cref="
CngCbcAuthenticatedEncryptorConfiguration
"/>.</param>
DataProtectionBuilderExtensions.cs (1)
447
public static IDataProtectionBuilder UseCustomCryptographicAlgorithms(this IDataProtectionBuilder builder,
CngCbcAuthenticatedEncryptorConfiguration
configuration)
RegistryPolicyResolver.cs (7)
114
private static
CngCbcAuthenticatedEncryptorConfiguration
GetCngCbcAuthenticatedEncryptorConfiguration(RegistryKey key)
116
var
options = new CngCbcAuthenticatedEncryptorConfiguration();
117
var valueFromRegistry = key.GetValue(nameof(
CngCbcAuthenticatedEncryptorConfiguration
.EncryptionAlgorithm));
123
valueFromRegistry = key.GetValue(nameof(
CngCbcAuthenticatedEncryptorConfiguration
.EncryptionAlgorithmProvider));
129
valueFromRegistry = key.GetValue(nameof(
CngCbcAuthenticatedEncryptorConfiguration
.EncryptionAlgorithmKeySize));
135
valueFromRegistry = key.GetValue(nameof(
CngCbcAuthenticatedEncryptorConfiguration
.HashAlgorithm));
141
valueFromRegistry = key.GetValue(nameof(
CngCbcAuthenticatedEncryptorConfiguration
.HashAlgorithmProvider));