11 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
();
Microsoft.AspNetCore.DataProtection.Tests (8)
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactoryTest.cs (1)
37
var descriptor = new
CngCbcAuthenticatedEncryptorConfiguration
().CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfigurationTests.cs (2)
12
var configuration = new
CngCbcAuthenticatedEncryptorConfiguration
();
28
var configuration = new
CngCbcAuthenticatedEncryptorConfiguration
();
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializerTests.cs (1)
23
new
CngCbcAuthenticatedEncryptorConfiguration
()
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorTests.cs (2)
15
var descriptor = new CngCbcAuthenticatedEncryptorDescriptor(new
CngCbcAuthenticatedEncryptorConfiguration
()
45
var descriptor = new CngCbcAuthenticatedEncryptorDescriptor(new
CngCbcAuthenticatedEncryptorConfiguration
()
RegistryPolicyResolverTests.cs (2)
96
var expectedConfiguration = new
CngCbcAuthenticatedEncryptorConfiguration
();
125
var expectedConfiguration = new
CngCbcAuthenticatedEncryptorConfiguration
()
27 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));
Microsoft.AspNetCore.DataProtection.Tests (8)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfigurationTests.cs (2)
12
var
configuration = new CngCbcAuthenticatedEncryptorConfiguration();
28
var
configuration = new CngCbcAuthenticatedEncryptorConfiguration();
RegistryPolicyResolverTests.cs (6)
96
var
expectedConfiguration = new CngCbcAuthenticatedEncryptorConfiguration();
102
var
actualConfiguration = (
CngCbcAuthenticatedEncryptorConfiguration
)context.EncryptorConfiguration;
125
var
expectedConfiguration = new CngCbcAuthenticatedEncryptorConfiguration()
138
var
actualConfiguration = (
CngCbcAuthenticatedEncryptorConfiguration
)context.EncryptorConfiguration;