File: dumpasn1.1.xml

package info (click to toggle)
dumpasn1 20150808-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 604 kB
  • ctags: 527
  • sloc: ansic: 7,387; xml: 162; makefile: 19; sh: 16
file content (197 lines) | stat: -rw-r--r-- 5,035 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<?xml version="1.0" standalone='no'?>
<!DOCTYPE manpage PUBLIC "http://masqmail.cx/xmltoman/xmltoman.dtd" "file:///usr/share/xmltoman/xmltoman.dtd">
<?xml-stylesheet type="text/xsl" href="file:///usr/share/xmltoman/xmltoman.xsl" ?>

  <manpage name="dumpasn1" section="1" desc="ASN.1 object dump/syntax check program">

    <synopsis>
      <cmd>dumpasn1 [<arg>options</arg>] <arg>file</arg></cmd>
    </synopsis>
	
    <description>
	  
      <p>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.</p>

    </description>
	
    <options>
	  
      <option>
	<p><opt>-</opt></p>
	<optdesc><p>
	    Take input from stdin (some options may not work properly).
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-</opt><arg>number</arg></p>
	<optdesc><p>
	    Start <arg>number</arg> bytes into the file.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>--</opt></p>
	<optdesc><p>
	    End of arg list.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-a</opt></p>
	<optdesc><p>
	    Print all data in long data blocks, not just the first 128 bytes.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-c</opt> <arg>file</arg></p>
	<optdesc><p>
	    Read Object Identifier info from alternate config file
            (values will override equivalents in global config file)
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-d</opt></p>
	<optdesc><p>
	    Print dots to show column alignment.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-e</opt></p>
	<optdesc><p>
	    Don't print encapsulated data inside OCTET/BIT STRINGs.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-f</opt> <arg>file</arg></p>
	<optdesc><p>
	    Dump object at offset -<arg>number</arg> to file (allows data to be
	      extracted from encapsulating objects)
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-h</opt></p>
	<optdesc><p>
	    Hex dump object header (tag+length) before the decoded output
	  </p></optdesc>
      </option>
      
      <option>
	<p><opt>-hh</opt></p>
	<optdesc><p>
	    Same as -h but display more of the object as hex data.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-l</opt></p>
	<optdesc><p>
	    Long format, display extra info about Object Identifiers.
	  </p></optdesc>
      </option>
      
      <option>
	<p><opt>-o</opt></p>
	<optdesc><p>
	    Don't check validity of character strings hidden in octet strings.
	  </p></optdesc>
      </option>

      <option>
	<p><opt>-p</opt></p>
	<optdesc><p>
	    Pure ASN.1 output without encoding information.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-r</opt></p>
	<optdesc><p>
	    Print bits in BIT STRING as encoded in reverse order
	  </p></optdesc>
      </option>
      
      <option>
	<p><opt>-s</opt></p>
	<optdesc><p>
	    Syntax check only, don't dump ASN.1 structures.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-t</opt></p>
	<optdesc><p>
	    Display text values next to hex dump of data.
	  </p></optdesc>
      </option>
      
      <option>
	<p><opt>-u</opt></p>
	<optdesc><p>
	    Don't format UTCTime/GeneralizedTime string data.
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-w</opt></p>
	<optdesc><p>
            Set output width (default 80).
	  </p></optdesc>
      </option>
	  
      <option>
	<p><opt>-x</opt></p>
	<optdesc><p>
	    Display size and offset in hex not decimal.
	  </p></optdesc>
      </option>
	  
    </options>
	
    <section name="Files">
	  
      <p>
	<file>./dumpasn1.cfg, $HOME/.dumpasn1.cfg,
	/etc/dumpasn1/dumpasn1.cfg</file>: This is the configuration
	file, it will be searched in this order. It contains OIDs
	commonly used.
      </p>

    </section>
	
    <section name="Authors">

      <p>quote from Peter Gutmann:</p>
      <p>
ASN.1 object dumping code, copyright Peter Gutmann
&lt;pgut001@cs.auckland.ac.nz&gt;, based on ASN.1 dump program by
David Kemp &lt;dpkemp@missi.ncsc.mil&gt;, with contributions from
various people including Matthew Hamrick &lt;hamrick@rsa.com&gt;,
Bruno Couillard &lt;bcouillard@chrysalis-its.com&gt;, Hallvard
Furuseth &lt;h.b.furuseth@usit.uio.no&gt;, Geoff Thorpe
&lt;geoff@raas.co.nz&gt;, David Boyce &lt;d.boyce@isode.com&gt;, John
Hughes &lt;john.hughes@entegrity.com&gt;, Life is hard, and then you
die &lt;ronald@trustpoint.com&gt;, Hans-Olof Hermansson
&lt;hans-olof.hermansson@postnet.se&gt;, Tor Rustad
&lt;Tor.Rustad@bbs.no&gt;, Kjetil Barvik &lt;kjetil.barvik@bbs.no&gt;,
James Sweeny &lt;jsweeny@us.ibm.com&gt;, and several other people
whose names I've misplaced.</p>

      <p>dumpasn1 is available at <url
      href="http://www.cs.auckland.ac.nz/~pgut001/"/></p>

    </section>
    
    <section name="Comments">
      <p>This man page was written using <manref name="xmltoman" section="1"
						 href="http://masqmail.cx/xml2man/"/> by Oliver Kurth for Debian.</p>
    </section>
    
  </manpage>