[#OCSP_url_svcloc_new]
= OCSP&lowbar;url&lowbar;svcloc&lowbar;new
:mrdocs:

Create a ServiceLocator OCSP extension for `issuer` and locator URLs&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;url&lowbar;svcloc&lowbar;new(
    xref:X509_NAME.adoc[X509&lowbar;NAME] const* issuer,
    char const** urls);
----

== 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
| *issuer*
| Issuer name placed in the ServiceLocator&period;
| *urls*
| NULL&hyphen;terminated array of OCSP service URI strings&period;
|===


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