3 instantiations of AuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorConfiguration.cs (1)
40return new AuthenticatedEncryptorDescriptor(this, secret);
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializer.cs (1)
44return new AuthenticatedEncryptorDescriptor(configuration, masterKey);
Microsoft.AspNetCore.DataProtection.Tests (1)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (1)
190return new AuthenticatedEncryptorDescriptor(new AuthenticatedEncryptorConfiguration()
12 references to AuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (5)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
38if (key.Descriptor is not AuthenticatedEncryptorDescriptor descriptor)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptor.cs (2)
17/// Initializes a new instance of <see cref="AuthenticatedEncryptorDescriptor"/>. 19/// <param name="configuration">The <see cref="AuthenticatedEncryptorDescriptor"/>.</param>
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializer.cs (2)
14/// of an <see cref="AuthenticatedEncryptorDescriptor"/>. 19/// Imports the <see cref="AuthenticatedEncryptorDescriptor"/> from serialized XML.
Microsoft.AspNetCore.DataProtection.Tests (7)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializerTests.cs (3)
18var descriptor = new AuthenticatedEncryptorDescriptor( 34var test = CreateEncryptorInstanceFromDescriptor(deserializedDescriptor as AuthenticatedEncryptorDescriptor); 44private static IAuthenticatedEncryptor CreateEncryptorInstanceFromDescriptor(AuthenticatedEncryptorDescriptor descriptor)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (4)
147var descriptor = CreateDescriptor(EncryptionAlgorithm.AES_192_CBC, ValidationAlgorithm.HMACSHA512, masterKey.ToSecret()); 170var descriptor = CreateDescriptor(EncryptionAlgorithm.AES_192_GCM, ValidationAlgorithm.HMACSHA512, masterKey.ToSecret()); 188private static AuthenticatedEncryptorDescriptor CreateDescriptor(EncryptionAlgorithm encryptionAlgorithm, ValidationAlgorithm validationAlgorithm, ISecret masterKey) 197private static IAuthenticatedEncryptor CreateEncryptorInstanceFromDescriptor(AuthenticatedEncryptorDescriptor descriptor)