4 overrides of CreateNewDescriptor
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorConfiguration.cs (1)
32
public override IAuthenticatedEncryptorDescriptor
CreateNewDescriptor
()
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorConfiguration.cs (1)
77
public override IAuthenticatedEncryptorDescriptor
CreateNewDescriptor
()
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorConfiguration.cs (1)
53
public override IAuthenticatedEncryptorDescriptor
CreateNewDescriptor
()
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfiguration.cs (1)
56
public 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)
105
var descriptor = (CngGcmAuthenticatedEncryptorDescriptor)new T().
CreateNewDescriptor
();
113
var descriptor = (ManagedAuthenticatedEncryptorDescriptor)new T().
CreateNewDescriptor
();
KeyManagement\XmlKeyManager.cs (1)
517
var newDescriptor = _authenticatedEncryptorConfiguration.
CreateNewDescriptor
()
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\XmlKeyManagerTests.cs (3)
92
mockConfiguration.Setup(o => o.
CreateNewDescriptor
()).Returns(expectedDescriptor);
181
mockConfiguration.Setup(o => o.
CreateNewDescriptor
()).Returns(expectedDescriptor);
762
.Setup(o => o.
CreateNewDescriptor
())