1 implementation of CreateNewKey
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\XmlKeyManager.cs (1)
504IKey IInternalXmlKeyManager.CreateNewKey(Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate)
4 references to CreateNewKey
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\XmlKeyManager.cs (1)
150return _internalKeyManager.CreateNewKey(
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\XmlKeyManagerTests.cs (3)
119var newKey = ((IInternalXmlKeyManager)keyManager).CreateNewKey( 217var newKey = ((IInternalXmlKeyManager)keyManager).CreateNewKey( 299.Setup(o => o.CreateNewKey(It.IsAny<Guid>(), It.IsAny<DateTimeOffset>(), activationDate, expirationDate))