1 implementation of CreateNewKey
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\XmlKeyManager.cs (1)
145
public IKey
CreateNewKey
(DateTimeOffset activationDate, DateTimeOffset expirationDate)
4 references to CreateNewKey
KeyManagementSample (1)
Program.cs (1)
49
keyManager.
CreateNewKey
(
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\KeyRingProvider.cs (2)
158
var newKey = _keyManager.
CreateNewKey
(activationDate: now, expirationDate: now + _newKeyLifetime);
166
var newKey = _keyManager.
CreateNewKey
(activationDate: defaultKey.ExpirationDate, expirationDate: now + _newKeyLifetime);
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\KeyRingProviderTests.cs (1)
782
mockKeyManager.Setup(o => o.
CreateNewKey
(It.IsAny<DateTimeOffset>(), It.IsAny<DateTimeOffset>()))