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)
741keyManager.RevokeKey(keyToRevoke, "Here's some reason text."); 955keyManager.RevokeKey(key2.KeyId); // Revoked by time, but also individually 956keyManager.RevokeKey(key3.KeyId); 957keyManager.RevokeKey(key3.KeyId); // Nothing prevents us from revoking the same key twice