[#OCSP_REQUEST_get_ext_by_NID] = OCSP_REQUEST_get_ext_by_NID :mrdocs: Find the next OCSP request extension with NID `nid.` == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_REQUEST_get_ext_by_NID( xref:OCSP_REQUEST.adoc[OCSP_REQUEST]* x, int nid, int lastpos); ---- == Return Value Extension index, or ‐1 if not found. == Parameters [cols="1,4"] |=== | Name| Description | *x* | OCSP request 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#