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 unrecognizedReasonCode?: UnrecognizedReasonCodePolicy;
}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.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'.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'.