Implemented interface member:
method
RevokeKey
Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager.RevokeKey(System.Guid, System.String)
4 references to RevokeKey
Microsoft.AspNetCore.DataProtection.Tests (4)
KeyManagement\XmlKeyManagerTests.cs (4)
746keyManager.RevokeKey(keyToRevoke, "Here's some reason text."); 963keyManager.RevokeKey(key2.KeyId); // Revoked by time, but also individually 964keyManager.RevokeKey(key3.KeyId); 965keyManager.RevokeKey(key3.KeyId); // Nothing prevents us from revoking the same key twice