[#OCSP_request_verify]
= OCSP&lowbar;request&lowbar;verify
:mrdocs:

Verify the signature on a signed OCSP request&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OCSP&lowbar;request&lowbar;verify(
    xref:OCSP_REQUEST.adoc[OCSP&lowbar;REQUEST]* req,
    xref:stack_st_X509.adoc[stack&lowbar;st&lowbar;X509]* certs,
    xref:X509_STORE.adoc[X509&lowbar;STORE]* store,
    unsigned long flags);
----

== Return Value

1 on successful verification, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *req*
| Signed OCSP request to verify&period;
| *certs*
| Optional additional certificates for path building, or NULL&period;
| *store*
| Trusted certificate store used for verification&period;
| *flags*
| OCSP&lowbar;&ast; &sol; X509 verify flags controlling verification behaviour&period;
|===


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