Share via


XmlKeyManager.RevokeKey(Guid, String) Method

Definition

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.

Implements

Applies to