[#OCSP_ONEREQ_get1_ext_d2i] = OCSP_ONEREQ_get1_ext_d2i :mrdocs: Decode the first single‐request extension of type `nid` into its native structure. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* OCSP_ONEREQ_get1_ext_d2i( xref:OCSP_ONEREQ.adoc[OCSP_ONEREQ]* x, int nid, int* crit, int* idx); ---- == Return Value Newly allocated decoded extension value, or NULL if absent or on error. == Parameters [cols="1,4"] |=== | Name| Description | *x* | Single OCSP request entry to query. | *nid* | NID of the extension type to extract. | *crit* | Optional output set to 1 if critical, 0 if not, or ‐1 on error; may be NULL. | *idx* | Optional in/out extension index for X509V3_get_d2i‐style iteration; may be NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#