Share via


XmlKeyManager.RevokeAllKeys(DateTimeOffset, String) Method

Definition

Revokes all keys created before a specified date and persists the revocation to the underlying repository.

public void RevokeAllKeys (DateTimeOffset revocationDate, string reason = default);
public void RevokeAllKeys (DateTimeOffset revocationDate, string? reason = default);
abstract member RevokeAllKeys : DateTimeOffset * string -> unit
override this.RevokeAllKeys : DateTimeOffset * string -> unit
Public Sub RevokeAllKeys (revocationDate As DateTimeOffset, Optional reason As String = Nothing)

Parameters

revocationDate
DateTimeOffset

The revocation date. All keys with a creation date before this value will be revoked.

reason
String

An optional human-readable reason for revocation.

Implements

Applies to