2 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);
15 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 (9)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfigurationTests.cs (4)
15var masterKey1 = ((CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 16var masterKey2 = ((CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 31var descriptor = (CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializerTests.cs (3)
22var descriptor = new CngGcmAuthenticatedEncryptorDescriptor( 38var test = CreateEncryptorInstanceFromDescriptor(deserializedDescriptor as CngGcmAuthenticatedEncryptorDescriptor); 48private static IAuthenticatedEncryptor CreateEncryptorInstanceFromDescriptor(CngGcmAuthenticatedEncryptorDescriptor descriptor)
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorTests.cs (2)
15var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(new CngGcmAuthenticatedEncryptorConfiguration() 42var descriptor = new CngGcmAuthenticatedEncryptorDescriptor(new CngGcmAuthenticatedEncryptorConfiguration()