[#ASN1_SCTX_new] = ASN1_SCTX_new :mrdocs: Allocate an ASN.1 scan context with the given per‐field scan callback. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ASN1_SCTX.adoc[ASN1_SCTX]* ASN1_SCTX_new(int(* scan_cb)(xref:ASN1_SCTX.adoc[ASN1_SCTX]*)); ---- == Return Value New ASN1_SCTX, or NULL on allocation failure; free with ASN1_SCTX_free(). == Parameters [cols="1,4"] |=== | Name| Description | *scan_cb* | Callback invoked while scanning ASN.1 templates, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#