Allocate an ASN.1 scan context with the given per‐field scan callback.

Synopsis

Declared in <openssl/asn1.h>

ASN1_SCTX*
ASN1_SCTX_new(int(* scan_cb)(ASN1_SCTX*));

Return Value

New ASN1_SCTX, or NULL on allocation failure; free with ASN1_SCTX_free().

Parameters

Name

Description

scan_cb

Callback invoked while scanning ASN.1 templates, or NULL.

Created with MrDocs