5 instantiations of CngGcmAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfiguration.cs (1)
61return new CngGcmAuthenticatedEncryptorDescriptor(this, secret);
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
41return new CngGcmAuthenticatedEncryptorDescriptor(configuration, masterKey);
Microsoft.AspNetCore.DataProtection.Tests (3)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializerTests.cs (1)
24var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorTests.cs (2)
17var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(new CngGcmAuthenticatedEncryptorConfiguration() 44var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(new CngGcmAuthenticatedEncryptorConfiguration()
17 references to CngGcmAuthenticatedEncryptorDescriptor
Microsoft.AspNetCore.DataProtection (6)
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactory.cs (2)
38var descriptor = key.Descriptor as CngGcmAuthenticatedEncryptorDescriptor;
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
19/// Initializes a new instance of <see cref="CngGcmAuthenticatedEncryptorDescriptor"/>.
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
14/// of an <see cref="CngGcmAuthenticatedEncryptorDescriptor"/>.
EphemeralDataProtectionProvider.cs (2)
105var descriptor = (CngGcmAuthenticatedEncryptorDescriptor)new T().CreateNewDescriptor();
Microsoft.AspNetCore.DataProtection.Tests (11)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfigurationTests.cs (4)
17var masterKey1 = ((CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 18var masterKey2 = ((CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 33var descriptor = (CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializerTests.cs (3)
24var descriptor = new CngGcmAuthenticatedEncryptorDescriptor( 40var test = CreateEncryptorInstanceFromDescriptor(deserializedDescriptor as CngGcmAuthenticatedEncryptorDescriptor); 50private static IAuthenticatedEncryptor CreateEncryptorInstanceFromDescriptor(CngGcmAuthenticatedEncryptorDescriptor descriptor)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorTests.cs (2)
17var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(new CngGcmAuthenticatedEncryptorConfiguration() 44var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(new CngGcmAuthenticatedEncryptorConfiguration()
TestsDataProtectionProvider.cs (2)
80var descriptor = (CngGcmAuthenticatedEncryptorDescriptor)new T().CreateNewDescriptor();