XmlKeyManager.RevokeKey(Guid, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Revokes a specific key and persists the revocation to the underlying repository.
public void RevokeKey (Guid keyId, string reason = default);
public void RevokeKey (Guid keyId, string? reason = default);
abstract member RevokeKey : Guid * string -> unit
override this.RevokeKey : Guid * string -> unit
Public Sub RevokeKey (keyId As Guid, Optional reason As String = Nothing)
Parameters
- keyId
- Guid
The id of the key to revoke.
- reason
- String
An optional human-readable reason for revocation.