[#OCSP_accept_responses_new]
= OCSP&lowbar;accept&lowbar;responses&lowbar;new
:mrdocs:

Create an AcceptableResponses OCSP extension from OID strings&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:X509_EXTENSION.adoc[X509&lowbar;EXTENSION]*
OCSP&lowbar;accept&lowbar;responses&lowbar;new(char** oids);
----

== Return Value

New X509&lowbar;EXTENSION, or NULL on error&semi; free with X509&lowbar;EXTENSION&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *oids*
| NULL&hyphen;terminated array of textual OIDs naming acceptable response types&period;
|===


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