[#OCSP_resp_get0_id]
= OCSP&lowbar;resp&lowbar;get0&lowbar;id
:mrdocs:

Return internal pointers to the ResponderID fields of a basic OCSP response&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OCSP&lowbar;resp&lowbar;get0&lowbar;id(
    xref:OCSP_BASICRESP.adoc[OCSP&lowbar;BASICRESP] const* bs,
    xref:ASN1_OCTET_STRING.adoc[ASN1&lowbar;OCTET&lowbar;STRING] const** pid,
    xref:X509_NAME.adoc[X509&lowbar;NAME] const** pname);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bs*
| Basic OCSP response to query&period;
| *pid*
| Receives the byKey OCTET STRING when that form is used&semi; otherwise set to NULL&period;
| *pname*
| Receives the byName X509&lowbar;NAME when that form is used&semi; otherwise set to NULL&period;
|===


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