2 instantiations of ManagedAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfiguration.cs (1)
64return new ManagedAuthenticatedEncryptorDescriptor(this, secret);
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializer.cs (1)
43return new ManagedAuthenticatedEncryptorDescriptor(configuration, masterKey);
19 references to ManagedAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (6)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptor.cs (1)
18/// Initializes a new instance of <see cref="ManagedAuthenticatedEncryptorDescriptor"/>.
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializer.cs (2)
14/// of an <see cref="ManagedAuthenticatedEncryptorDescriptor"/>. 19/// Imports the <see cref="ManagedAuthenticatedEncryptorDescriptor"/> from serialized XML.
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (1)
33if (key.Descriptor is not ManagedAuthenticatedEncryptorDescriptor descriptor)
EphemeralDataProtectionProvider.cs (2)
113var descriptor = (ManagedAuthenticatedEncryptorDescriptor)new T().CreateNewDescriptor();
Microsoft.AspNetCore.DataProtection.Tests (13)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfigurationTests.cs (4)
15var masterKey1 = ((ManagedAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 16var masterKey2 = ((ManagedAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 31var descriptor = (ManagedAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs (7)
23var descriptor = new ManagedAuthenticatedEncryptorDescriptor( 42var test = CreateEncryptorInstanceFromDescriptor(deserializedDescriptor as ManagedAuthenticatedEncryptorDescriptor); 57var descriptor = new ManagedAuthenticatedEncryptorDescriptor( 76var test = CreateEncryptorInstanceFromDescriptor(deserializedDescriptor as ManagedAuthenticatedEncryptorDescriptor); 103var managedDescriptor = (ManagedAuthenticatedEncryptorDescriptor)deserializedDescriptor; 149private static IAuthenticatedEncryptor CreateEncryptorInstanceFromDescriptor(ManagedAuthenticatedEncryptorDescriptor descriptor)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorTests.cs (2)
16var descriptor = new ManagedAuthenticatedEncryptorDescriptor(new ManagedAuthenticatedEncryptorConfiguration() 48var descriptor = new ManagedAuthenticatedEncryptorDescriptor(new ManagedAuthenticatedEncryptorConfiguration()