Base:
method
CreateNewDescriptor
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration.CreateNewDescriptor()
4 references to CreateNewDescriptor
Microsoft.AspNetCore.DataProtection.Tests (4)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfigurationTests.cs (3)
15var masterKey1 = ((ManagedAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 16var masterKey2 = ((ManagedAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 31var descriptor = (ManagedAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor();
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactoryTest.cs (1)
34var descriptor = new ManagedAuthenticatedEncryptorConfiguration().CreateNewDescriptor();