Find the next basic‐response extension with NID nid.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_BASICRESP_get_ext_by_NID(
    OCSP_BASICRESP* x,
    int nid,
    int lastpos);

Return Value

Extension index, or ‐1 if not found.

Parameters

Name

Description

x

Basic OCSP response whose extensions are searched.

nid

NID of the extension type to find.

lastpos

Index after which to search, or ‐1 to start from the beginning.

Created with MrDocs