ENBER(1)

NAME
enber - Convert the unber XML output back into BER

SYNOPSIS
enber [-n] [-] [infile...]

DESCRIPTION
enber takes the XML-formatted files produced by unber(1) and converts them back into the BER format. A single dash represents the standard input.

OPTIONS

-n  Disable input validation. By default, enber performs some basic validity checks against the XML input. This option disables such checks.

EXAMPLES
Decode the BER sequence and immediately encode it back
    unber -p filename.ber | enber - > reconstructed.ber

FOOTNOTES
This program does not attempt to perform full-fledged XML parsing. It is merely compatible with unber(1)'s output. In particular, the XML comments are not supported. The following characters after the initial white space indicate the start of a comment: "#" (a hash) and "--" (two dashes). The whole comment line is ignored completely. Empty lines are ignored as well.

The following example demostrates the use of comments:
	<C O="0" T="[1]" TL="2" V="2">
		<I O="2" T="[1]" TL="2" V="Indefinite">
		-- </I O="4" T="[UNIVERSAL 0]" L="4">
		# Do not terminate:
		# the absence of end-of-content octets is intentional!
	</C O="6" T="[1]" L="6">

SEE ALSO

unber(1), asn1c(1)

AUTHORS
Lev Walkin <vlm@lionet.info>