Ethereal-dev: [Ethereal-dev] How to display Octet String in ASN1 encoded packets

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Wei Li (Michael)" <mich@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 May 2004 23:46:26 -0500
Hi,
  I was wondering how to display Octet String in ASN1-encoded packets. I used the asn1_string_decode( ) method in asn1.c, but the octet string type is not displaying well.
  How to display the original binary? For example, if the binary is "01 03 ce 00", I need to convert to "01.03.ce.00". I tried the accessors such as tvb_get_guint8( ), tvb_get_ptr( ), but the resulting results are not what I want.
  Thanks for help.
  Sincerely,
  Michael