Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ENBER(1)		       unber counterpart		      ENBER(1)

NAME
       enber - Convert the unber XML output back into BER

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

DESCRIPTION
       enber  convers  the  XML-formatted files	produced by unber(1) back into
       the BER format.	A single dash denotes the standard input.

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

EXAMPLES
       Decode a	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, XML	 style
       comments	 are not supported.  A hash "#"	or two dashes "--" following a
       whitespace is treated as	a beginning of a comment line,	which  is  ig-
       nored 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>

unber counterpart						      ENBER(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | FOOTNOTES | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=enber&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help