Base:
method
CreateNewDescriptor
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration.CreateNewDescriptor()
4 references to CreateNewDescriptor
Microsoft.AspNetCore.DataProtection.Tests (4)
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactoryTest.cs (1)
37var descriptor = new CngGcmAuthenticatedEncryptorConfiguration().CreateNewDescriptor();
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfigurationTests.cs (3)
15var masterKey1 = ((CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 16var masterKey2 = ((CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor()).MasterKey; 31var descriptor = (CngGcmAuthenticatedEncryptorDescriptor)configuration.CreateNewDescriptor();