ASN2TXT (ASN.1 to text translator) is a command-line tool for translating data encoded using BER, CER, DER, or PER ASN.1 encoding rules to various text formats. Currently it supports writing CSV data (for BER/CER/DER only) and XML (all encoding rules).
It provides the capability to transform ASN.1-encoded data to a delimited format by assigning an ASN.1 schema to binary data. No programming is required to produce the output, and the conversions may be done in a batch process.
ASN2TXT attempts to address a common need in data mediation: the conversion of binary-encoded ASN.1 other formats suitable for user editing or database population. Common applications include CDR formats like TAP3, R12, CCN, and newer 3G CDR formats.
As an example, the following command-line can be used to translate a Tranferred Account Procedure (TAP3) batch file to CSV format:
asn2txt message.dat -csv -schema TAP-0311.asn
The resulting output would be as follows:
ASN2TXT, Version 2.3.0 ASN.1 to Text translation tool Copyright (c) 2004-2012 Objective Systems, Inc. All Rights Reserved. Parsing ASN.1 definitions.. Opening TAP-0311_Notification.csv for writing... Done.
The results can be downloaded here.
A 30-day trial version is available by clicking on the evaluate link below.