Base:
method
CreateNewDescriptor
Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AlgorithmConfiguration.CreateNewDescriptor()
6 references to CreateNewDescriptor
Microsoft.AspNetCore.DataProtection.Tests (6)
KeyManagement\KeyRingBasedDataProtectorTests.cs (6)
569
Key key = new Key(Guid.NewGuid(), DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, new AuthenticatedEncryptorConfiguration().
CreateNewDescriptor
(), new[] { encryptorFactory });
648
Key key = new Key(Guid.NewGuid(), DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, configuration.
CreateNewDescriptor
(), new[] { encryptorFactory });
680
Key key = new Key(Guid.NewGuid(), DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, new AuthenticatedEncryptorConfiguration().
CreateNewDescriptor
(), new[] { encryptorFactory });
714
Key key = new Key(Guid.NewGuid(), DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, new AuthenticatedEncryptorConfiguration().
CreateNewDescriptor
(), new[] { encryptorFactory });
739
Key key = new Key(Guid.NewGuid(), DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, new AuthenticatedEncryptorConfiguration().
CreateNewDescriptor
(), new[] { encryptorFactory });
762
Key key = new Key(Guid.NewGuid(), DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, new AuthenticatedEncryptorConfiguration().
CreateNewDescriptor
(), new[] { encryptorFactory });