11 instantiations of CngCbcAuthenticatedEncryptorConfiguration
Microsoft.AspNetCore.DataProtection (3)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
84var configuration = new CngCbcAuthenticatedEncryptorConfiguration()
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
33var configuration = new CngCbcAuthenticatedEncryptorConfiguration();
RegistryPolicyResolver.cs (1)
116var options = new CngCbcAuthenticatedEncryptorConfiguration();
Microsoft.AspNetCore.DataProtection.Tests (8)
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactoryTest.cs (1)
37var descriptor = new CngCbcAuthenticatedEncryptorConfiguration().CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfigurationTests.cs (2)
12var configuration = new CngCbcAuthenticatedEncryptorConfiguration(); 28var configuration = new CngCbcAuthenticatedEncryptorConfiguration();
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializerTests.cs (1)
23new CngCbcAuthenticatedEncryptorConfiguration()
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorTests.cs (2)
15var descriptor = new CngCbcAuthenticatedEncryptorDescriptor(new CngCbcAuthenticatedEncryptorConfiguration() 45var descriptor = new CngCbcAuthenticatedEncryptorDescriptor(new CngCbcAuthenticatedEncryptorConfiguration()
RegistryPolicyResolverTests.cs (2)
96var expectedConfiguration = new CngCbcAuthenticatedEncryptorConfiguration(); 125var expectedConfiguration = new CngCbcAuthenticatedEncryptorConfiguration()
27 references to CngCbcAuthenticatedEncryptorConfiguration
Microsoft.AspNetCore.DataProtection (19)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
84var configuration = new CngCbcAuthenticatedEncryptorConfiguration()
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (3)
51CngCbcAuthenticatedEncryptorConfiguration? configuration) 67private BCryptAlgorithmHandle GetHmacAlgorithmHandle(CngCbcAuthenticatedEncryptorConfiguration configuration) 101private 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> 23public CngCbcAuthenticatedEncryptorDescriptor(CngCbcAuthenticatedEncryptorConfiguration configuration, ISecret masterKey) 34internal CngCbcAuthenticatedEncryptorConfiguration Configuration { get; }
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
33var configuration = new CngCbcAuthenticatedEncryptorConfiguration();
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
21/// <param name="configuration">The <see cref="CngCbcAuthenticatedEncryptorConfiguration"/>.</param>
DataProtectionBuilderExtensions.cs (1)
447public static IDataProtectionBuilder UseCustomCryptographicAlgorithms(this IDataProtectionBuilder builder, CngCbcAuthenticatedEncryptorConfiguration configuration)
RegistryPolicyResolver.cs (7)
114private static CngCbcAuthenticatedEncryptorConfiguration GetCngCbcAuthenticatedEncryptorConfiguration(RegistryKey key) 116var options = new CngCbcAuthenticatedEncryptorConfiguration(); 117var valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.EncryptionAlgorithm)); 123valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.EncryptionAlgorithmProvider)); 129valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.EncryptionAlgorithmKeySize)); 135valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.HashAlgorithm)); 141valueFromRegistry = key.GetValue(nameof(CngCbcAuthenticatedEncryptorConfiguration.HashAlgorithmProvider));
Microsoft.AspNetCore.DataProtection.Tests (8)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfigurationTests.cs (2)
12var configuration = new CngCbcAuthenticatedEncryptorConfiguration(); 28var configuration = new CngCbcAuthenticatedEncryptorConfiguration();
RegistryPolicyResolverTests.cs (6)
96var expectedConfiguration = new CngCbcAuthenticatedEncryptorConfiguration(); 102var actualConfiguration = (CngCbcAuthenticatedEncryptorConfiguration)context.EncryptorConfiguration; 125var expectedConfiguration = new CngCbcAuthenticatedEncryptorConfiguration() 138var actualConfiguration = (CngCbcAuthenticatedEncryptorConfiguration)context.EncryptorConfiguration;