Send an OCSP request over HTTP via b and return the decoded response.

Synopsis

Declared in <openssl/ocsp.h>

OCSP_RESPONSE*
OCSP_sendreq_bio(
    BIO* b,
    char const* path,
    OCSP_REQUEST* req);

Return Value

Newly allocated OCSP_RESPONSE, or NULL on error; free with OCSP_RESPONSE_free().

Parameters

Name

Description

b

BIO connected to the OCSP responder (typically a connected socket BIO).

path

HTTP request‐URI path for the OCSP service (for example "/").

req

OCSP request to POST as application/ocsp‐request.

Created with MrDocs