Skip to content

ParsedOcspSingleResponse

Status of one certificate inside an OCSP BasicResponse.

ts
interface ParsedOcspSingleResponse {
	readonly certId: ParsedOcspCertId;
	readonly certStatus: OcspCertStatus;
	readonly thisUpdate: Date;
	readonly nextUpdate?: Date;
	readonly revokedAt?: Date;
	readonly revocationReasonCode?: number;
}

Properties

  • readonly certId: ParsedOcspCertId — Which certificate this status applies to.
  • readonly certStatus: OcspCertStatus — Responder's verdict: good, revoked, or unknown.
  • readonly thisUpdate: Date — Start of the validity window for this status assertion.
  • readonly nextUpdate?: Date — End of the validity window. Absent if the responder does not commit to a schedule.
  • readonly revokedAt?: Date — When the certificate was revoked (only for certStatus === 'revoked').
  • readonly revocationReasonCode?: number — CRLReason integer (only for certStatus === 'revoked').

Released under the MIT License.