Implemented interface member:
property
KeyId
Microsoft.AspNetCore.DataProtection.KeyManagement.IKey.KeyId
1 write to KeyId
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\KeyRingTests.cs (1)
105
KeyId
= Guid.NewGuid();
7 references to KeyId
Microsoft.AspNetCore.DataProtection.Tests (7)
KeyManagement\KeyRingTests.cs (7)
43
Assert.Equal(key2.
KeyId
, keyRing.DefaultKeyId);
58
Assert.Equal(key3.
KeyId
, keyRing.DefaultKeyId);
59
Assert.Equal(key3.CreateEncryptor(), keyRing.GetAuthenticatedEncryptorByKeyId(key3.
KeyId
, out var _));
77
Assert.Same(expectedEncryptorInstance1, keyRing.GetAuthenticatedEncryptorByKeyId(key1.
KeyId
, out var isRevoked));
80
Assert.Same(expectedEncryptorInstance1, keyRing.GetAuthenticatedEncryptorByKeyId(key1.
KeyId
, out isRevoked));
84
Assert.Same(expectedEncryptorInstance2, keyRing.GetAuthenticatedEncryptorByKeyId(key2.
KeyId
, out isRevoked));
87
Assert.Same(expectedEncryptorInstance2, keyRing.GetAuthenticatedEncryptorByKeyId(key2.
KeyId
, out isRevoked));