9 references to MyKey
Microsoft.AspNetCore.DataProtection.Tests (9)
KeyManagement\KeyRingTests.cs (9)
18
var key1 = new
MyKey
(expectedEncryptorInstance: expectedEncryptorInstance);
19
var key2 = new
MyKey
();
36
var key1 = new
MyKey
();
37
var key2 = new
MyKey
();
50
var key1 = new
MyKey
();
51
var key2 = new
MyKey
();
52
var key3 = new
MyKey
(expectedEncryptorInstance: new Mock<IAuthenticatedEncryptor>().Object);
69
var key1 = new
MyKey
(expectedEncryptorInstance: expectedEncryptorInstance1, isRevoked: true);
70
var key2 = new
MyKey
(expectedEncryptorInstance: expectedEncryptorInstance2);