[#OCSP_response_get1_basic]
= OCSP&lowbar;response&lowbar;get1&lowbar;basic
:mrdocs:

Extract and decode the BasicOCSPResponse from a successful OCSP response&period;

== Synopsis

Declared in `&lt;openssl&sol;ocsp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OCSP_BASICRESP.adoc[OCSP&lowbar;BASICRESP]*
OCSP&lowbar;response&lowbar;get1&lowbar;basic(xref:OCSP_RESPONSE.adoc[OCSP&lowbar;RESPONSE]* resp);
----

== Return Value

Newly allocated OCSP&lowbar;BASICRESP, or NULL on error&semi; free with OCSP&lowbar;BASICRESP&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *resp*
| OCSP response whose responseBytes contain an id&hyphen;pkix&hyphen;ocsp&hyphen;basic payload&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
