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