10 instantiations of CngGcmAuthenticatedEncryptorConfiguration
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
32
var configuration = new
CngGcmAuthenticatedEncryptorConfiguration
();
RegistryPolicyResolver.cs (1)
152
var options = new
CngGcmAuthenticatedEncryptorConfiguration
();
Microsoft.AspNetCore.DataProtection.Tests (8)
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactoryTest.cs (1)
37
var descriptor = new
CngGcmAuthenticatedEncryptorConfiguration
().CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfigurationTests.cs (2)
12
var configuration = new
CngGcmAuthenticatedEncryptorConfiguration
();
28
var configuration = new
CngGcmAuthenticatedEncryptorConfiguration
();
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializerTests.cs (1)
23
new
CngGcmAuthenticatedEncryptorConfiguration
()
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorTests.cs (2)
15
var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(new
CngGcmAuthenticatedEncryptorConfiguration
()
42
var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(new
CngGcmAuthenticatedEncryptorConfiguration
()
RegistryPolicyResolverTests.cs (2)
156
var expectedConfiguration = new
CngGcmAuthenticatedEncryptorConfiguration
();
181
var expectedConfiguration = new
CngGcmAuthenticatedEncryptorConfiguration
()
23 references to CngGcmAuthenticatedEncryptorConfiguration
Microsoft.AspNetCore.DataProtection (15)
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactory.cs (2)
53
CngGcmAuthenticatedEncryptorConfiguration
configuration)
68
private BCryptAlgorithmHandle GetSymmetricBlockCipherAlgorithmHandle(
CngGcmAuthenticatedEncryptorConfiguration
configuration)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfiguration.cs (1)
65
/// Validates that this <see cref="
CngGcmAuthenticatedEncryptorConfiguration
"/> is well-formed, i.e.,
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (3)
13
/// configuration provided by an <see cref="
CngGcmAuthenticatedEncryptorConfiguration
"/> object.
23
public CngGcmAuthenticatedEncryptorDescriptor(
CngGcmAuthenticatedEncryptorConfiguration
configuration, ISecret masterKey)
34
internal
CngGcmAuthenticatedEncryptorConfiguration
Configuration { get; }
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
32
var
configuration = new CngGcmAuthenticatedEncryptorConfiguration();
DataProtectionBuilderExtensions.cs (1)
469
public static IDataProtectionBuilder UseCustomCryptographicAlgorithms(this IDataProtectionBuilder builder,
CngGcmAuthenticatedEncryptorConfiguration
configuration)
EphemeralDataProtectionProvider.cs (2)
52
keyringProvider = new EphemeralKeyRing<
CngGcmAuthenticatedEncryptorConfiguration
>(loggerFactory);
101
if (configuration is
CngGcmAuthenticatedEncryptorConfiguration
cngConfiguration)
RegistryPolicyResolver.cs (5)
150
private static
CngGcmAuthenticatedEncryptorConfiguration
GetCngGcmAuthenticatedEncryptorConfiguration(RegistryKey key)
152
var
options = new CngGcmAuthenticatedEncryptorConfiguration();
153
var valueFromRegistry = key.GetValue(nameof(
CngGcmAuthenticatedEncryptorConfiguration
.EncryptionAlgorithm));
159
valueFromRegistry = key.GetValue(nameof(
CngGcmAuthenticatedEncryptorConfiguration
.EncryptionAlgorithmProvider));
165
valueFromRegistry = key.GetValue(nameof(
CngGcmAuthenticatedEncryptorConfiguration
.EncryptionAlgorithmKeySize));
Microsoft.AspNetCore.DataProtection.Tests (8)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfigurationTests.cs (2)
12
var
configuration = new CngGcmAuthenticatedEncryptorConfiguration();
28
var
configuration = new CngGcmAuthenticatedEncryptorConfiguration();
RegistryPolicyResolverTests.cs (6)
156
var
expectedConfiguration = new CngGcmAuthenticatedEncryptorConfiguration();
162
var
actualConfiguration = (
CngGcmAuthenticatedEncryptorConfiguration
)context.EncryptorConfiguration;
181
var
expectedConfiguration = new CngGcmAuthenticatedEncryptorConfiguration()
192
var
actualConfiguration = (
CngGcmAuthenticatedEncryptorConfiguration
)context.EncryptorConfiguration;