OCSP_crlID_new

Create a CrlID OCSP extension from optional URL, CRL number, and time.

Synopsis

Declared in <openssl/ocsp.h>

X509_EXTENSION*
OCSP_crlID_new(
    char const* url,
    long* n,
    char* tim);

Return Value

New X509_EXTENSION, or NULL on error; free with X509_EXTENSION_free().

Parameters

NameDescription
urlOptional CRL distribution URL string, or NULL.
nOptional CRL number; when non-NULL its value is encoded into the extension.
timOptional GeneralizedTime string (YYYYMMDDHHMMSSZ) for crlTime, or NULL.