Find the next SingleResponse extension with NID nid.
Declared in <openssl/ocsp.h>
int
OCSP_SINGLERESP_get_ext_by_NID(
OCSP_SINGLERESP* x,
int nid,
int lastpos);
Extension index, or -1 if not found.
| Name | Description |
|---|---|
| x | SingleResponse 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. |