OCSP_BASICRESP_get_ext

Return the basic-response extension at index loc.

Synopsis

Declared in <openssl/ocsp.h>

X509_EXTENSION*
OCSP_BASICRESP_get_ext(
    OCSP_BASICRESP* x,
    int loc);

Return Value

Internal X509_EXTENSION pointer, or NULL if loc is out of range.

Parameters

NameDescription
xBasic OCSP response to query.
locZero-based extension index.