[#OCSP_resp_get0_signer]
= OCSP&lowbar;resp&lowbar;get0&lowbar;signer
:mrdocs:

Locate the signer certificate for 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;signer(
    xref:OCSP_BASICRESP.adoc[OCSP&lowbar;BASICRESP]* bs,
    xref:X509.adoc[X509]** signer,
    stack&lowbar;st&lowbar;X509* extra&lowbar;certs);
----

== Return Value

1 if a signer was found, or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bs*
| Basic OCSP response whose ResponderID is matched&period;
| *signer*
| Receives an internal pointer to the signer certificate on success&period;
| *extra&lowbar;certs*
| Optional additional certificates to search, or NULL&period;
|===


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