Find the next basic-response extension with object identifier obj.
Declared in <openssl/ocsp.h>
int
OCSP_BASICRESP_get_ext_by_OBJ(
OCSP_BASICRESP* x,
ASN1_OBJECT const* obj,
int lastpos);
Extension index, or -1 if not found.
| Name | Description |
|---|---|
| x | Basic OCSP response whose extensions are searched. |
| obj | ASN.1 object identifier to match. |
| lastpos | Index after which to search, or -1 to start from the beginning. |