a189933
.TH dumpasn1 1 User Manuals
a189933
.SH NAME
a189933
dumpasn1 \- ASN.1 object dump/syntax check program
a189933
.SH SYNOPSIS
a189933
\fB/usr/bin/dumpasn1 [\fIoptions\fB] \fIfile\fB
a189933
\f1
a189933
.SH DESCRIPTION
a189933
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.
a189933
.SH OPTIONS
a189933
.TP
a189933
\fB-\f1
a189933
Take input from stdin (some options may not work properly). 
a189933
.TP
a189933
\fB-\f1\fInumber\f1
a189933
Start \fInumber\f1 bytes into the file. 
a189933
.TP
a189933
\fB--\f1
a189933
End of arg list. 
a189933
.TP
a189933
\fB-a\f1
a189933
Print all data in long data blocks, not just the first 128 bytes. 
a189933
.TP
a189933
\fB-c\f1 \fIfile\f1
a189933
Read Object Identifier info from alternate config file (values will override equivalents in global config file) 
a189933
.TP
a189933
\fB-d\f1
a189933
Print dots to show column alignment. 
a189933
.TP
a189933
\fB-e\f1
a189933
Don't print encapsulated data inside OCTET/BIT STRINGs. 
a189933
.TP
a189933
\fB-f\f1 \fIfile\f1
a189933
Dump object at offset -\fInumber\f1 to file (allows data to be extracted from encapsulating objects) 
a189933
.TP
a189933
\fB-h\f1
a189933
Hex dump object header (tag+length) before the decoded output 
a189933
.TP
a189933
\fB-hh\f1
a189933
Same as -h but display more of the object as hex data. 
a189933
.TP
a189933
\fB-l\f1
a189933
Long format, display extra info about Object Identifiers. 
a189933
.TP
a189933
\fB-o\f1
a189933
Don't check validity of character strings hidden in octet strings. 
a189933
.TP
a189933
\fB-p\f1
a189933
Pure ASN.1 output without encoding information. 
a189933
.TP
a189933
\fB-r\f1
a189933
Print bits in BIT STRING as encoded in reverse order 
a189933
.TP
a189933
\fB-s\f1
a189933
Syntax check only, don't dump ASN.1 structures. 
a189933
.TP
a189933
\fB-t\f1
a189933
Display text values next to hex dump of data. 
a189933
.TP
a189933
\fB-u\f1
a189933
Don't format UTCTime/GeneralizedTime string data. 
a189933
.TP
a189933
\fB-x\f1
a189933
Display size and offset in hex not decimal. 
a189933
.SH FILES
a189933
\fI./dumpasn1.cfg, $HOME/.dumpasn1.cfg, /etc/dumpasn1/dumpasn1.cfg\f1: This is the configuration file, it will be searched in this order. It contains OIDs commonly used. 
a189933
.SH AUTHORS
a189933
qoute from Peter Gutmann:
a189933
a189933
ASN.1 object dumping code, copyright Peter Gutmann <pgut001@cs.auckland.ac.nz>, based on ASN.1 dump program by David Kemp <dpkemp@missi.ncsc.mil>, with contributions from various people including Matthew Hamrick <hamrick@rsa.com>, Bruno Couillard <bcouillard@chrysalis-its.com>, Hallvard Furuseth <h.b.furuseth@usit.uio.no>, Geoff Thorpe <geoff@raas.co.nz>, David Boyce <d.boyce@isode.com>, John Hughes <john.hughes@entegrity.com>, Life is hard, and then you die <ronald@trustpoint.com>, Hans-Olof Hermansson <hans-olof.hermansson@postnet.se>, Tor Rustad <Tor.Rustad@bbs.no>, Kjetil Barvik <kjetil.barvik@bbs.no>, James Sweeny <jsweeny@us.ibm.com>, and several other people whose names I've misplaced.
a189933
a189933
dumpasn1 is available at \fBhttp://www.cs.auckland.ac.nz/~pgut001/\f1
a189933
.SH COMMENTS
a189933
This man page was written using \fBxml2man(1)\f1 by Oliver Kurth for Debian.