Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Convert::ASN1 - Decode error

Thread Tools

Convert::ASN1 - Decode error

Posts: n/a
Hi all,

I want to decode a .der file. I upgrade my version to 0.19 but I still
have the same trouble, when I use Data Dumper it gives :
'error' => 'decode error at
/usr/lib/perl5/site_perl/5.8.1/Convert/ASN1/ line 123
but asn_dump works find, my asn.1 seems ok.

In fact when I do a decode like that $data =
Dumper of $data gives $VAR1 = undef;
So after when I want to do a $data->{'field1'}->{'field2'}; of course
it prints nothing.

I set the option $asn->configure( decode => { encoding => DER } );
before, don't know if the problem occurs because of that.

I would like to know if somebody had the same problem before and from
what it could come from. I can send my little program if somebody wants
more details.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unicode Decode Error reetesh nigam Python 2 04-09-2009 02:59 PM
Re: sqlite3 decode error David Pratt Python 0 11-08-2005 11:30 PM
sqlite3 decode error David Pratt Python 0 11-08-2005 08:27 PM
Combine-and-Decode multipart news posts? William W. Plummer Firefox 0 07-03-2004 12:37 AM
Combine and Decode? Chris Firefox 0 11-28-2003 04:40 PM