Create an OCSP response with the given status and optional basic response.
Declared in <openssl/ocsp.h>
OCSP_RESPONSE*
OCSP_response_create(
int status,
OCSP_BASICRESP* bs);
Newly allocated OCSP_RESPONSE, or NULL on error; free with OCSP_RESPONSE_free().
| Name | Description |
|---|---|
| status | OCSPResponseStatus value such as OCSP_RESPONSE_STATUS_SUCCESSFUL. |
| bs | Optional BasicOCSPResponse to embed as responseBytes, or NULL for status-only. |