Implemented interface member:
property
KeyId
Microsoft.AspNetCore.DataProtection.KeyManagement.IKey.KeyId
1 write to KeyId
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\KeyRingTests.cs (1)
108KeyId = Guid.NewGuid();
7 references to KeyId
Microsoft.AspNetCore.DataProtection.Tests (7)
KeyManagement\KeyRingTests.cs (7)
46Assert.Equal(key2.KeyId, keyRing.DefaultKeyId); 61Assert.Equal(key3.KeyId, keyRing.DefaultKeyId); 62Assert.Equal(key3.CreateEncryptor(), keyRing.GetAuthenticatedEncryptorByKeyId(key3.KeyId, out var _)); 80Assert.Same(expectedEncryptorInstance1, keyRing.GetAuthenticatedEncryptorByKeyId(key1.KeyId, out var isRevoked)); 83Assert.Same(expectedEncryptorInstance1, keyRing.GetAuthenticatedEncryptorByKeyId(key1.KeyId, out isRevoked)); 87Assert.Same(expectedEncryptorInstance2, keyRing.GetAuthenticatedEncryptorByKeyId(key2.KeyId, out isRevoked)); 90Assert.Same(expectedEncryptorInstance2, keyRing.GetAuthenticatedEncryptorByKeyId(key2.KeyId, out isRevoked));