aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/unber.1
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-09-30 05:23:40 +0000
committerLev Walkin <vlm@lionet.info>2005-09-30 05:23:40 +0000
commit904477967a15abfcf8ac1fd67b1c39a672dc9160 (patch)
treeabf6175e22265b249cd340d0811019f8f92dc4d2 /asn1c/unber.1
parentef62540d72b133d2263fc0741a6c91ab88e58ab3 (diff)
-s <skip> feature
Diffstat (limited to 'asn1c/unber.1')
-rw-r--r--asn1c/unber.112
1 files changed, 8 insertions, 4 deletions
diff --git a/asn1c/unber.1 b/asn1c/unber.1
index e219df91..9055da81 100644
--- a/asn1c/unber.1
+++ b/asn1c/unber.1
@@ -12,7 +12,7 @@
.SH NAME
unber \- ASN.1 BER Decoder
.SH SYNOPSIS
-unber [\fB-1\fR] [\fB-i\fRindent] [\fB-m\fR] [\fB-p\fR] [\fB\-t\fR\fIdata-string\fR] [\fB-\fR] [\fIinfile\fR...]
+unber [\fB-1\fR] [\fB-i\fRindent] [\fB-m\fR] [\fB-p\fR] [\fB\-s\fR\fIskip\fR] [\fB\-t\fR\fIhex-string\fR] [\fB-\fR] [\fIinfile\fR...]
.SH DESCRIPTION
unber takes the BER-encoded files and dumps their internal structure as human readable text.
A single dash represents the standard input.
@@ -32,11 +32,15 @@ Use the specified number of spaces for output indentation. Default is 4 spaces.
Generate minimum amount of output while still preserving BER encoding information.
.TP
\fB\-p\fR
-Do \fInot\fR attempt pretty-printing of known ASN.1 types (OBJECT IDENTIFIER, INTEGER, BOOLEAN, etc). By default, some ASN.1 types are converted into
+Do \fInot\fR attempt pretty-printing of known ASN.1 types (BOOLEAN, INTEGER, OBJECT IDENTIFIER, etc). By default, some ASN.1 types are converted into
the text representation. This option is required for \&\fIenber\fR\|(1).
.TP
-\fB\-t\fR \fIdata-string\fR
-Interpret the data-string as a sequence of hexadecimal values representing
+\fB\-s\fR \fIskip\fR
+Ignore the first \fIskip\fR bytes in the input stream; useful for stripping off
+lower level protocol framing data.
+.TP
+\fB\-t\fR \fIhex-string\fR
+Interpret the hex-string as a sequence of hexadecimal values representing
the start of BER TLV encoding. Print the human readable explanation.
.SH XML FORMAT
unber dumps the output in the regular XML format which preserves most of the