logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

enber -- Convert the unber XML output back into BER

Authors

       Lev Walkin <vlm@lionet.info>.

unber(1) counterpart                               2016-01-23                                           enber(1)

Description

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

Examples

       Decode a BER sequence and immediately encode it back

              unber -pfilename.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 style comments are not supported.  A hash "#"  or  two  dashes
       "--"  following  a  whitespace  is treated as a beginning of a comment line, which is ignored completely.
       Empty lines are ignored as well.

       The following example enber(1) input demonstrates 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">

Name

       enber -- Convert the unber XML output back into BER

Options

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

See Also

unber(1), asn1c(1).

Synopsis

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

See Also