2 instantiations of CngCbcAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfiguration.cs (1)
85return new CngCbcAuthenticatedEncryptorDescriptor(this, secret);
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
46return new CngCbcAuthenticatedEncryptorDescriptor(configuration, masterKey);
14 references to CngCbcAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (5)
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
38if (key.Descriptor is not CngCbcAuthenticatedEncryptorDescriptor descriptor)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (1)
19/// Initializes a new instance of <see cref="CngCbcAuthenticatedEncryptorDescriptor"/>.
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (2)
14/// of an <see cref="CngCbcAuthenticatedEncryptorDescriptor"/>. 20/// Imports the <see cref="CngCbcAuthenticatedEncryptorDescriptor"/> from serialized XML.
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
20/// Imports the <see cref="CngCbcAuthenticatedEncryptorDescriptor"/> from serialized XML.
Microsoft.AspNetCore.DataProtection.Tests (9)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfigurationTests.cs (4)
15var masterKey1 = ((CngCbcAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 16var masterKey2 = ((CngCbcAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 31var descriptor = (CngCbcAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializerTests.cs (3)
22var descriptor = new CngCbcAuthenticatedEncryptorDescriptor( 41var test = CreateEncryptorInstanceFromDescriptor(deserializedDescriptor as CngCbcAuthenticatedEncryptorDescriptor); 51private static IAuthenticatedEncryptor CreateEncryptorInstanceFromDescriptor(CngCbcAuthenticatedEncryptorDescriptor descriptor)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorTests.cs (2)
15var descriptor = new CngCbcAuthenticatedEncryptorDescriptor(new CngCbcAuthenticatedEncryptorConfiguration() 45var descriptor = new CngCbcAuthenticatedEncryptorDescriptor(new CngCbcAuthenticatedEncryptorConfiguration()