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