3 references to CreateKey
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\DefaultKeyResolverTests.cs (3)
266
var key1 =
CreateKey
(activation1, expiration1, creationDate: creation1);
267
var key2 =
CreateKey
(activation2, expiration2, creationDate: creation2, createEncryptorThrows: true);
455
return
CreateKey
(ParseDateTimeOffset(activationDate), ParseDateTimeOffset(expirationDate), creationDate == null ? (DateTimeOffset?)null : ParseDateTimeOffset(creationDate), isRevoked, createEncryptorThrows);