4 overrides of CreateNewDescriptor
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorConfiguration.cs (1)
32public override IAuthenticatedEncryptorDescriptor CreateNewDescriptor()
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfiguration.cs (1)
77public override IAuthenticatedEncryptorDescriptor CreateNewDescriptor()
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfiguration.cs (1)
53public override IAuthenticatedEncryptorDescriptor CreateNewDescriptor()
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfiguration.cs (1)
56public override IAuthenticatedEncryptorDescriptor CreateNewDescriptor()
7 references to CreateNewDescriptor
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\AlgorithmConfiguration.cs (1)
16/// from all other descriptors created by the <see cref="CreateNewDescriptor"/> method.
EphemeralDataProtectionProvider.cs (2)
105var descriptor = (CngGcmAuthenticatedEncryptorDescriptor)new T().CreateNewDescriptor(); 113var descriptor = (ManagedAuthenticatedEncryptorDescriptor)new T().CreateNewDescriptor();
KeyManagement\XmlKeyManager.cs (1)
517var newDescriptor = _authenticatedEncryptorConfiguration.CreateNewDescriptor()
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\XmlKeyManagerTests.cs (3)
92mockConfiguration.Setup(o => o.CreateNewDescriptor()).Returns(expectedDescriptor); 181mockConfiguration.Setup(o => o.CreateNewDescriptor()).Returns(expectedDescriptor); 762.Setup(o => o.CreateNewDescriptor())