The suggestions are good and I will use them. Will give the new output and let's see how it's like. Thanks!
-----Original Message----- From: Emmanuel Lécharny [mailto:[email protected]] Sent: Wednesday, December 02, 2015 11:30 PM To: [email protected] Subject: Re: FW: [jira] [Created] (DIRKRB-485) Provide an ASN1 dumping tool for troubleshooting Le 02/12/15 16:14, Zheng, Kai a écrit : > Hi, > > Any suggestion for this? Below is my initial output, simple and short data > will be appended for each item, long data will be sampled. > The offsets are only useful for debugging and will not show by default. > Thanks. Sounds a very good idea. Keep the tags in hex format (48 is far less readable than 0x30), add the length in deimal format, and also print the values when it's a non constructed type. Like : Sequence[0x30, 1509] OID[0x06, 7] : "1.2.4.3" Tag:0[0xA0, 1494] Sequence[0x30, 1492] Integer[0x02,2] : 341 ... I have used lowercased name for readability.
