Skip to content

ValidateCertificateRevocationListInput ​

ValidateCertificateRevocationListInput ​

Input for validateCertificateRevocationList.

ts
interface ValidateCertificateRevocationListInput {
	readonly crl: CrlSource;
	readonly issuerCertificate: CrlCertificateSource;
	readonly at?: Date;
	readonly clockSkewMs?: number;
	readonly maxAgeMs?: number;
	readonly signatureVerifiers?: SignatureVerifiers;
}

Properties

  • readonly crl: CrlSource — The CRL to validate.
  • readonly issuerCertificate: CrlCertificateSource — Certificate of the CA that should have signed the CRL.
  • readonly at?: Date — Evaluation time for freshness checks. Defaults to new Date().
  • readonly clockSkewMs?: number — Tolerance in milliseconds for clock skew when checking thisUpdate and nextUpdate. It also widens maxAgeMs by the same amount. Throws RangeError when negative or not finite.
  • readonly maxAgeMs?: number — Maximum age of thisUpdate at at, in milliseconds. A CRL older than this fails with stale_crl even when nextUpdate is absent or later. Unbounded by default, in which case a CRL without nextUpdate fails with stale_crl. RFC 5280 §3.3 leaves the required recency of revocation data to local policy. checkCertificateRevocationAgainstCrl still reports a revocation such a CRL lists with a reason other than certificateHold, for a certificate that has not expired (RFC 5280 §5.3.1).
  • readonly signatureVerifiers?: SignatureVerifiers — Caller verifiers for signature algorithms micro509 does not verify through WebCrypto, keyed by dotted-decimal signature algorithm OID. One runs only where the CRL signature would otherwise use unsupported algorithm parameters, with the parameters in the issuer certificate. A key that micro509 verifies natively, a key that is no OID, or a value that is no function throws RangeError.

Released under the MIT License.