ASN1 custom primitives in 4.x

8 views
Skip to first unread message

Sands, Daniel N.

unread,
Jun 1, 2026, 2:03:59 PMJun 1
to openss...@openssl.org

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)

Reply all
Reply to author
Forward
0 new messages