Send an OCSP request over HTTP via b and return the decoded response.
Declared in <openssl/ocsp.h>
OCSP_RESPONSE*
OCSP_sendreq_bio(
BIO* b,
char const* path,
OCSP_REQUEST* req);
Newly allocated OCSP_RESPONSE, or NULL on error; free with OCSP_RESPONSE_free().
| 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. |