sowraaj has asked for the wisdom of the Perl Monks concerning the following question:

Dear friends,

I need your help to decode the file which might ti the form of .chr extension.i think that file is encoded by BER/PER/DER. I don't know how to decode it

i need help

<thanks

Replies are listed 'Best First'.
Re: ASN1/BER/DER/PER Decoder
by toolic (Bishop) on Jan 07, 2012 at 16:51 UTC
Re: ASN1/BER/DER/PER Decoder
by VinsWorldcom (Prior) on Jan 07, 2012 at 17:14 UTC

    As recommended by toolic above, Convert::ASN1 is good - it replaces Convert::BER IIRC. I've used both in the past, but upgraded all my uses to Convert::ASN1 for decoding.

    At the very least, throw your data at the Convert::ASN1 asn_dump function - it will try to decode your data automagically! A brilliant piece of code from which I was able to write correct parsers for the specific data format I was looking to decode.