Skip to content

RevokedCertificateInput

Single revoked certificate entry for createCertificateRevocationList.

ts
interface RevokedCertificateInput {
	readonly serialNumber: Uint8Array;
	readonly revocationDate?: Date;
	readonly reasonCode?: RevocationReason;
	readonly invalidityDate?: Date;
}

Properties

  • readonly serialNumber: Uint8Array — DER-encoded certificate serial number to revoke.
  • readonly revocationDate?: Date — When the certificate was revoked. Defaults to thisUpdate of the CRL.
  • readonly reasonCode?: RevocationReason — RFC 5280 CRLReason code. Omit for unspecified.
  • readonly invalidityDate?: Date — When the key or certificate became suspect — may predate revocationDate.

Released under the MIT License.