1dumpasn1(1) General Commands Manual dumpasn1(1)
2
3
4
6 dumpasn1 - ASN.1 object dump/syntax check program
7
9 /usr/bin/dumpasn1 [options] file
10
12 An ASN.1 object dump program which will dump data encoded using any of
13 the ASN.1 encoding rules in a variety of user-specified formats.
14
16 - Take input from stdin (some options may not work properly).
17
18 -number
19 Start number bytes into the file.
20
21 -- End of arg list.
22
23 -a Print all data in long data blocks, not just the first 128
24 bytes.
25
26 -c file
27 Read Object Identifier info from alternate config file (values
28 will override equivalents in global config file)
29
30 -d Print dots to show column alignment.
31
32 -e Don't print encapsulated data inside OCTET/BIT STRINGs.
33
34 -f file
35 Dump object at offset -number to file (allows data to be
36 extracted from encapsulating objects)
37
38 -h Hex dump object header (tag+length) before the decoded output
39
40 -hh Same as -h but display more of the object as hex data.
41
42 -l Long format, display extra info about Object Identifiers.
43
44 -o Don't check validity of character strings hidden in octet
45 strings.
46
47 -p Pure ASN.1 output without encoding information.
48
49 -r Print bits in BIT STRING as encoded in reverse order
50
51 -s Syntax check only, don't dump ASN.1 structures.
52
53 -t Display text values next to hex dump of data.
54
55 -u Don't format UTCTime/GeneralizedTime string data.
56
57 -x Display size and offset in hex not decimal.
58
60 ./dumpasn1.cfg, $HOME/.dumpasn1.cfg, /etc/dumpasn1/dumpasn1.cfg: This
61 is the configuration file, it will be searched in this order. It con‐
62 tains OIDs commonly used.
63
65 qoute from Peter Gutmann:
66
67 ASN.1 object dumping code, copyright Peter Gutmann <pgut001@cs.auck‐
68 land.ac.nz>, based on ASN.1 dump program by David Kemp
69 <dpkemp@missi.ncsc.mil>, with contributions from various people includ‐
70 ing Matthew Hamrick <hamrick@rsa.com>, Bruno Couillard <bcouil‐
71 lard@chrysalis-its.com>, Hallvard Furuseth <h.b.furuseth@usit.uio.no>,
72 Geoff Thorpe <geoff@raas.co.nz>, David Boyce <d.boyce@isode.com>, John
73 Hughes <john.hughes@entegrity.com>, Life is hard, and then you die
74 <ronald@trustpoint.com>, Hans-Olof Hermansson <hans-olof.hermans‐
75 son@postnet.se>, Tor Rustad <Tor.Rustad@bbs.no>, Kjetil Barvik
76 <kjetil.barvik@bbs.no>, James Sweeny <jsweeny@us.ibm.com>, and several
77 other people whose names I've misplaced.
78
79 dumpasn1 is available at http://www.cs.auckland.ac.nz/~pgut001/
80
82 This man page was written using xml2man(1) by Oliver Kurth for Debian.
83
84
85
86Manuals User dumpasn1(1)