Skip to content

CheckCertificateRevocationInput ​

CheckCertificateRevocationInput ​

Input for checkCertificateRevocation.

ts
interface CheckCertificateRevocationInput {
	readonly certificate: RevocationCertificateSource;
	readonly issuerCertificate: RevocationCertificateSource;
	readonly evidence?: readonly RevocationEvidenceInput[];
	readonly at?: Date;
	readonly clockSkewMs?: number;
	readonly crlMaxAgeMs?: number;
	readonly ocspProfile?: ValidateOcspResponseInput["profile"];
	readonly ocspResponderRevocation?: OcspResponderRevocationPolicy;
	readonly unrecognizedReasonCode?: UnrecognizedReasonCodePolicy;
	readonly unreadSupersededDeltaCrls?: SupersededDeltaCrlPolicy;
	readonly signatureVerifiers?: SignatureVerifiers;
}

Properties

  • readonly certificate: RevocationCertificateSource — Certificate whose revocation status to determine.
  • readonly issuerCertificate: RevocationCertificateSource — Issuer of certificate.
  • readonly evidence?: readonly RevocationEvidenceInput[] — CRL and/or OCSP evidence to evaluate. Returns indeterminate if empty.
  • readonly at?: Date — Evaluation time. Defaults to new Date().
  • readonly clockSkewMs?: number — Clock-skew tolerance in milliseconds. It also widens crlMaxAgeMs. Throws RangeError when negative or not finite.
  • readonly crlMaxAgeMs?: number — Maximum age of each CRL's thisUpdate in milliseconds. Unbounded by default. See ValidateCertificateRevocationListInput.maxAgeMs.
  • readonly ocspProfile?: ValidateOcspResponseInput["profile"] — OCSP client profile for every OCSP evidence entry. See ValidateOcspResponseInput.profile. Defaults to 'rfc6960'.
  • readonly ocspResponderRevocation?: OcspResponderRevocationPolicy — Revocation policy for delegated OCSP responders. The CRLs in evidence, delta CRLs included, serve as their revocation evidence. See OcspResponderRevocationPolicy. Defaults to 'nocheck-or-evidence'.
  • readonly unrecognizedReasonCode?: UnrecognizedReasonCodePolicy — Treatment of CRL or OCSP evidence whose CRLReason is unrecognized. See UnrecognizedReasonCodePolicy. 'reject' turns that evidence into reason_code_unrecognized, which also keeps other evidence from settling the status as good. Defaults to 'revoked'.
  • readonly unreadSupersededDeltaCrls?: SupersededDeltaCrlPolicy — Treatment of delta CRLs in evidence that the attempt limits leave unread although one already read supersedes them, for the certificate and its delegated OCSP responders. See SupersededDeltaCrlPolicy. Defaults to 'indeterminate'.
  • readonly signatureVerifiers?: SignatureVerifiers — Caller verifiers for signature algorithms micro509 does not verify through WebCrypto, keyed by dotted-decimal signature algorithm OID, for the CRL and OCSP evidence. 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.