3 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();
19 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));