Implemented interface member:
method
CreateNewKey
Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager.CreateNewKey(System.DateTimeOffset, System.DateTimeOffset)
6 references to CreateNewKey
Microsoft.AspNetCore.DataProtection.Tests (6)
KeyManagement\XmlKeyManagerTests.cs (6)
314
keyManager.
CreateNewKey
(activationDate, expirationDate);
811
var createdKey = keyManager.
CreateNewKey
(activationDate, expirationDate);
948
var key1 = keyManager.
CreateNewKey
(activationTime, activationTime.AddMinutes(10));
950
var key2 = keyManager.
CreateNewKey
(activationTime, activationTime.AddMinutes(10));
952
var key3 = keyManager.
CreateNewKey
(activationTime, activationTime.AddMinutes(10));
953
var key4 = keyManager.
CreateNewKey
(activationTime, activationTime.AddMinutes(10));