XmlKeyManager.RevokeAllKeys(DateTimeOffset, String) Method

Definition

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

C#
public void RevokeAllKeys (DateTimeOffset revocationDate, string reason = default);
C#
public void RevokeAllKeys (DateTimeOffset revocationDate, string? reason = default);

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

Produkt Versiounen
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0