4 references to Key
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\XmlKeyManager.cs (1)
309
var key = new
Key
(
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\DeferredKeyTests.cs (3)
34
var key = new
Key
(keyId, creationDate, activationDate, expirationDate, mockInternalKeyManager.Object, XElement.Parse(@"<node />"), new[] { encryptorFactory });
50
var key = new
Key
(Guid.Empty, now, now, now, new Mock<IInternalXmlKeyManager>().Object, XElement.Parse(@"<node />"), new[] { encryptorFactory });
73
var key = new
Key
(Guid.Empty, now, now, now, mockKeyManager.Object, XElement.Parse(@"<node />"), new[] { encryptorFactory });