Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] support for INSTANCE OF in ASN.1

From: Ed Beroset <beroset@xxxxxxxxxxxxxx>
Date: Sat, 13 Mar 2010 10:37:02 -0500
I've been working on a dissector which uses ASN.1 and for the moment I am using type EXTERNAL, but I would prefer to define my own CLASS and use INSTANCE OF instead. In looking through all existing ASN.1 dissectors, it seems that INSTANCE OF seems only to be supported when it's INSTANCE OF TYPE-IDENTIFIER and not of any user-defined class. Is that correct? I'm not that adept with ASN.1 yet, so I'm not certain of the syntax. Any examples showing the successful use of INSTANCE OF with a class other than TYPE-IDENTIFIER would be most helpful.

Ed