With the move to make ASN1 structures opaque, I’d like to ask: Will the following facility still be supported in 4.x? Of course I mean for providing a custom native interface to an existing ASN1 primitive.
static ASN1_PRIMITIVE_FUNCS xxxx_pf = {
NULL, 0,
xxxx_new,
xxxx_free,
xxxx_clear,
xxxx_c2i,
xxxx_i2c,
xxxx_print
};
ASN1_ITEM_start(XXXX)
ASN1_ITYPE_PRIMITIVE,
V_ASN1_XXPRIMITIVEXX, NULL, 0, &xxxx_pf,
0, "XXPRIMITIVEXX" ASN1_ITEM_end(XXXX)