Return the SingleResponse at index idx in a basic OCSP response.

Synopsis

Declared in <openssl/ocsp.h>

OCSP_SINGLERESP*
OCSP_resp_get0(
    OCSP_BASICRESP* bs,
    int idx);

Return Value

Internal OCSP_SINGLERESP pointer, or NULL if bs is NULL or idx is out of range.

Parameters

Name

Description

bs

Basic OCSP response to query.

idx

Zero‐based index into the responses sequence.

Created with MrDocs