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