Skip to content

CertificateRevocationStatus ​

CertificateRevocationStatus ​

Revocation evaluation result for a single certificate.

One entry per certificate in CheckChainRevocationValue.certificates. The trust anchor is excluded (never checked for revocation).

ts
type CertificateRevocationStatus = {
  readonly certificate: ParsedCertificate;
  readonly status: "good";
  readonly source: RevocationSource;
  readonly indeterminateReasons?: undefined;
  readonly revocationInfo?: undefined
} | {
  readonly certificate: ParsedCertificate;
  readonly status: "revoked";
  readonly source: RevocationSource;
  readonly revocationInfo: {
  readonly revocationDate: Date;
  readonly reason?: ParsedRevocationReason
};
  readonly indeterminateReasons?: undefined
} | {
  readonly certificate: ParsedCertificate;
  readonly status: "indeterminate";
  readonly indeterminateReasons: readonly RevocationIndeterminateReason[];
  readonly source?: undefined;
  readonly revocationInfo?: undefined
} | {
  readonly certificate: ParsedCertificate;
  readonly status: "skipped";
  readonly skipReason: "no_rev_avail" | "ocsp_nocheck";
  readonly source?: undefined;
  readonly indeterminateReasons?: undefined;
  readonly revocationInfo?: undefined
}

Released under the MIT License.