Man Linux: Main Page and Category List


       dumpasn1 - ASN.1 object dump/syntax check program


       /usr/bin/dumpasn1 [options] file


       An  ASN.1 object dump program which will dump data encoded using any of
       the ASN.1 encoding rules in a variety of user-specified formats.


       -      Take input from stdin (some options may not work properly).

              Start number bytes into the file.

       --     End of arg list.

       -a     Print all data in long data  blocks,  not  just  the  first  128

       -c file
              Read  Object  Identifier info from alternate config file (values
              will override equivalents in global config file)

       -d     Print dots to show column alignment.

       -e     Don’t print encapsulated data inside OCTET/BIT STRINGs.

       -f file
              Dump object at  offset  -number  to  file  (allows  data  to  be
              extracted from encapsulating objects)

       -h     Hex dump object header (tag+length) before the decoded output

       -hh    Same as -h but display more of the object as hex data.

       -l     Long format, display extra info about Object Identifiers.

       -o     Don’t  check  validity  of  character  strings  hidden  in octet

       -p     Pure ASN.1 output without encoding information.

       -r     Print bits in BIT STRING as encoded in reverse order

       -s     Syntax check only, don’t dump ASN.1 structures.

       -t     Display text values next to hex dump of data.

       -u     Don’t format UTCTime/GeneralizedTime string data.

       -w     Set output width (default 80).

       -x     Display size and offset in hex not decimal.


       ./dumpasn1.cfg, $HOME/.dumpasn1.cfg,  /etc/dumpasn1/dumpasn1.cfg:  This
       is  the  configuration  file,  it  will  be  searched in this order. It
       contains OIDs commonly used.


       qoute from Peter Gutmann:

       ASN.1    object    dumping    code,     copyright     Peter     Gutmann
       <>,  based on ASN.1 dump program by David Kemp
       <>,  with  contributions   from   various   people
       including    Matthew   Hamrick   <>,   Bruno   Couillard
       <>,            Hallvard            Furuseth
       <>,   Geoff  Thorpe  <>,  David
       Boyce  <>,  John  Hughes  <>,
       Life  is  hard,  and  then  you  die <>, Hans-Olof
       Hermansson      <>,      Tor      Rustad
       <>, Kjetil Barvik <>, James Sweeny
       <>,  and  several  other  people  whose  names   I’ve

       dumpasn1 is available at


       This  man page was written using xml2man(1) by Oliver Kurth for Debian.