Extract and decode the BasicOCSPResponse from a successful OCSP response.

Synopsis

Declared in <openssl/ocsp.h>

OCSP_BASICRESP*
OCSP_response_get1_basic(OCSP_RESPONSE* resp);

Return Value

Newly allocated OCSP_BASICRESP, or NULL on error; free with OCSP_BASICRESP_free().

Parameters

Name

Description

resp

OCSP response whose responseBytes contain an id‐pkix‐ocsp‐basic payload.

Created with MrDocs