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