Find the next SingleResponse whose CertID matches id.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_resp_find(
    OCSP_BASICRESP* bs,
    OCSP_CERTID* id,
    int last);

Return Value

Index of the matching SingleResponse, or ‐1 if not found.

Parameters

Name

Description

bs

Basic OCSP response to search.

id

CertID identifying the certificate of interest.

last

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

Created with MrDocs