This file contains release notes on the ASN2XML 2.2 release.
ASN2XML (ASN.1 to XML translator) is a command-line program that is used to translate data encoded using any of the ASN.1 binary encoding rules into XML format. The transalation of BER/DER/CER encoded data to XML can be done either with or without the aid of an associated ASN.1 schema file.
A dynamic link library (DLL) version of the program is now available. This allows a user to embed the ASN2XML functionality in their own applications programs. A possible use case would be to create a GUI version of the tool.
The following new command-line options were added:
- -emptyOptionals - This option cause an empty element declaration to be inserted into the XML output at the position of missing optional items.
- -emptyDefault - This option cause elements with default values as defined in the ASN.1 schema to be inserted into the XML output at the position of missing items with these values.
- -nowhitespace - This option removes all whitespace between elements (spaces and newline characters) which provides more compact instances.
Documentation for this release is provided in the doc subdirectory of the installation.
The steps to install ASN2XML on a Windows system are as follows:
- Download the ASN2XML package distribution file.
- ASN2XML for Windows is packaged in a self-extracting executable file format. To install, all that should be necessary is to double-click this file after downloading and then following the setup wizard instructions.
A license activation key was sent in the E-mail message that was sent at the time the product was downloaded. If you did not receive the key, please contact us. If you use the command line tool, use option -lickey <key> to enter this key value; or enter the key value in the GUI.
NOTE: An internet connection is required to activate a license using the key. If it is not available, contact us for a license file.
- ASN2XML should now be operational. Refer to the ASN2XML User's Guide document in the doc subdirectory for instructions on how to run the program.
The following subdirectories contain the following files (note: <installdir> refers to the installation directory that was specified during the installation process):
- The asn2xml program executable file.
- The asn2xml dynamic link library files.
- Header files for use in compiling programs to work with the DLL.
- This directory contains the ASN2XML User's Guide file asn2xml.pdf file.
- This directory contains a collection of common ASN.1 specification files from existing standards that have been used with the tool.
- This directory contains sample programs containing encoded BER/DER message files (these files have a '.dat' or '.bin' extension) and corresponding ASN.1 schema files (these have extension '.asn'). ASN2XML can be used to translate these files to XML. A perl script (asn2xml.pl) is provided to test the translation of all files to XML.
- This directory contains sample programs containing encoded PER message files and corresponding ASN.1 schema files. The message files generally have an '_a' suffix for aligned PER or '_u' for unaligned PER messages. A perl script (asn2xml.pl) is provided to test the translation of all files to XML.
Report problems you encounter by sending E-mail to email@example.com. The preferred format of example programs is the same as the sample programs. Please provide a message file and an ASN.1 syntax file (if it exists) and also indicate where the problem occurs.
If you have any further questions or comments on what you would like to see in the product or what is difficult to use or understand, please communicate them to us. Your feedback is important to us.