ParsedOcspResponse
Decoded OCSP response, returned by parseOcspResponseDer / parseOcspResponsePem.
When responseStatus is not 'successful', most fields are absent.
ts
interface ParsedOcspResponse {
readonly der?: Uint8Array;
readonly responseStatus: OcspResponseStatus;
readonly responseTypeOid?: string;
readonly responseDataDer?: Uint8Array;
readonly responderId?: ParsedOcspResponderId;
readonly signatureAlgorithmOid?: string;
readonly signatureAlgorithmName?: string;
readonly signatureValue?: Uint8Array;
readonly producedAt?: Date;
readonly responses?: readonly ParsedOcspSingleResponse[];
readonly nonce?: string;
readonly certificates?: readonly ParsedCertificate[];
}Properties
readonlyder?:Uint8Array— Original DER bytes when this object came fromparseOcspResponseDeror PEM parsing.readonlyresponseStatus:OcspResponseStatus— Overall response status. Only'successful'carries a BasicOCSPResponse body.readonlyresponseTypeOid?:string— OID of the response type (normallyid-pkix-ocsp-basic).readonlyresponseDataDer?:Uint8Array— DER-encoded ResponseData — the signed payload for signature verification.readonlyresponderId?:ParsedOcspResponderId— How the responder identifies itself.readonlysignatureAlgorithmOid?:string— OID of the algorithm used to sign this response.readonlysignatureAlgorithmName?:string— Human-readable signature algorithm name.readonlysignatureValue?:Uint8Array— Raw signature bytes.readonlyproducedAt?:Date— Timestamp when the responder produced this response.readonlyresponses?:readonlyParsedOcspSingleResponse[]— Per-certificate status entries.readonlynonce?:string— Hex-encoded nonce, if the response echoed one.readonlycertificates?:readonlyParsedCertificate[]— Certificates embedded in the response (typically the responder's chain).