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
readonlycertificate:RevocationCertificateSource— Certificate whose revocation status to determine.readonlyissuerCertificate:RevocationCertificateSource— Issuer ofcertificate.readonlyevidence?:readonlyRevocationEvidenceInput[]— CRL and/or OCSP evidence to evaluate. Returnsindeterminateif empty.readonlyat?:Date— Evaluation time. Defaults tonew Date().readonlyclockSkewMs?:number— Clock-skew tolerance in milliseconds. It also widenscrlMaxAgeMs. ThrowsRangeErrorwhen negative or not finite.readonlycrlMaxAgeMs?:number— Maximum age of each CRL'sthisUpdatein milliseconds. Unbounded by default. SeeValidateCertificateRevocationListInput.maxAgeMs.readonlyocspProfile?:ValidateOcspResponseInput["profile"] — OCSP client profile for every OCSP evidence entry. SeeValidateOcspResponseInput.profile. Defaults to'rfc6960'.readonlyocspResponderRevocation?:OcspResponderRevocationPolicy— Revocation policy for delegated OCSP responders. The CRLs inevidence, delta CRLs included, serve as their revocation evidence. SeeOcspResponderRevocationPolicy. Defaults to'nocheck-or-evidence'.readonlyunrecognizedReasonCode?:UnrecognizedReasonCodePolicy— Treatment of CRL or OCSP evidence whose CRLReason is unrecognized. SeeUnrecognizedReasonCodePolicy.'reject'turns that evidence intoreason_code_unrecognized, which also keeps other evidence from settling the status asgood. Defaults to'revoked'.readonlyunreadSupersededDeltaCrls?:SupersededDeltaCrlPolicy— Treatment of delta CRLs inevidencethat the attempt limits leave unread although one already read supersedes them, for the certificate and its delegated OCSP responders. SeeSupersededDeltaCrlPolicy. Defaults to'indeterminate'.readonlysignatureVerifiers?: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 throwsRangeError.