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