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

Name

Description

url

Optional CRL distribution URL string, or NULL.

n

Optional CRL number; when non‐NULL its value is encoded into the extension.

tim

Optional GeneralizedTime string (YYYYMMDDHHMMSSZ) for crlTime, or NULL.

Created with MrDocs