Base:
method
CreateNewDescriptor
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration.CreateNewDescriptor()
4 references to CreateNewDescriptor
Microsoft.AspNetCore.DataProtection.Tests (4)
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactoryTest.cs (1)
38
var descriptor = new CngCbcAuthenticatedEncryptorConfiguration().
CreateNewDescriptor
();
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfigurationTests.cs (3)
17
var masterKey1 = ((CngCbcAuthenticatedEncryptorDescriptor)configuration.
CreateNewDescriptor
()).MasterKey;
18
var masterKey2 = ((CngCbcAuthenticatedEncryptorDescriptor)configuration.
CreateNewDescriptor
()).MasterKey;
33
var descriptor = (CngCbcAuthenticatedEncryptorDescriptor)configuration.
CreateNewDescriptor
();