Archived Forum Post

Index of archived forum posts

Question:

How navigate in chilkat.CkAsn()

Oct 13 '17 at 09:19

Dear,

How navigate in chilkat.CkAsn().

the get_NumSubItems attribute does not appear to work and after how retrieve the data based on the Tag ?

Thanx, Jacky


Answer

Thanks Jacky,

There are two possible ways to proceed.

1) Convert the ASN.1 to XML by calling AsnToXml. The go to https://tools.chilkat.io/, in the "XML" dropdown, select "Generate Code to Parse XML". Copy-and-paste the XML and then generate the parsing code in your selected programming language.

2) Send the binary ASN.1 file (in a zipped attachment) to support@chilkatsoft.com, and I'll have a look. If possible, let me know if I can publish the information contained in the ASN.1 as an example on example-code.com.