tags:

views:

56

answers:

3

Hi

I have ASN format files i have to convert into CSV format also readable one

I need a Decoder with some advanced options like schedule,Auto FTP like that

A: 

Erlang provides very good support for reading and writing BER-, DER- and PER-encoded ASN.1 packets. The Erlang compiler even accepts ASN.1 syntax natively and produces a custom codec as an Erlang module.

It's a whole new programming language for most people though, so whether it's worth learning it just for this exercise, I'll leave up to you. It is a very fun language to learn, however, and will teach you a very different way to think about programming.

Marcelo Cantos
i need the decoder like application or exe
Anand Gnanasekar
@Anand: There's no such thing. ASN.1 allows for the specification of very rich and complex data formats. There is simply no way for a generic tool to know how to convert any arbitrary ASN.1 into comma-separated text.
Marcelo Cantos
A: 

You could have a look at asn1 compiler. It converts asn.1 syntax files to C code. As Marcelo noted in you question, you didn't exactly say precisely what you need, so can't tell if it covers all your bases, but you will be able to compile the code to binary (from C code, obviously)

Yoni H
A: 

There is an open source package called asn1c which will do ASN.1 encoding and decoding. Its a C library that you need to build and then write code around to implement your program. In order to build the library, it requires the ASN.1 syntax file that is used to construct the encoded messages. When decoding, one option is to output the data to an XML file which you would then need to convert to a CSV file somehow. At a minimum, it supports BER, XER, and PER.

Larry