1enber(1)                        Version 0.9.28                        enber(1)
2
3
4

NAME

6       enber -- Convert the unber XML output back into BER
7

SYNOPSIS

9       enber [-n] [-] [input-filenames...]
10

DESCRIPTION

12       enber converts the XML-formatted files produced by unber(1) back into
13       the BER format.  A single dash denotes the standard input.
14

OPTIONS

16       -n     Disable input validation.  By default, enber performs some basic
17              validity checks against XML input.
18

EXAMPLES

20       Decode a BER sequence and immediately encode it back
21
22              unber -p filename.ber | enber - > reconstructed.ber
23

FOOTNOTES

25       This program does not attempt to perform full-fledged XML parsing.  It
26       is merely compatible with unber(1)'s output.  In particular, the XML
27       style comments are not supported.  A hash "#" or two dashes "--"
28       following a whitespace is treated as a beginning of a comment line,
29       which is ignored completely.  Empty lines are ignored as well.
30
31       The following example enber(1) input demostrates the use of comments:
32
33       <C O="0" T="[1]" TL="2" V="2">
34           <I O="2" T="[1]" TL="2" V="Indefinite">
35           -- </I O="4" T="[UNIVERSAL 0]" L="4">
36           # Do not terminate:
37           # the absence of end-of-content octets is intentional!
38       </C O="6" T="[1]" L="6">
39

SEE ALSO

41       unber(1), asn1c(1).
42

AUTHORS

44       Lev Walkin <vlm@lionet.info>.
45
46
47
48unber(1) counterpart              2016-01-23                          enber(1)
Impressum