[#OCSP_crlID_new-06]
= OCSP&lowbar;crlID&lowbar;new
:mrdocs:

Create a CrlID OCSP extension from optional URL, CRL number, and time&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;crlID&lowbar;new(
    char const* url,
    long* n,
    char* tim);
----

== 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
| *url*
| Optional CRL distribution URL string, or NULL&period;
| *n*
| Optional CRL number&semi; when non&hyphen;NULL its value is encoded into the extension&period;
| *tim*
| Optional GeneralizedTime string (YYYYMMDDHHMMSSZ) for crlTime, or NULL&period;
|===


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