From: Graham B. <gb...@po...> - 2000-07-31 14:45:05
|
Well looking in the sources for Net::LDAP will show how to use it. But do you have the ASN.1 definition for the certificate, it also has to be implicitly encoded and with indefinate lengths. Although I do have a fix for indefinate lengths for Convert::ASN1 Graham. On Mon, Jul 31, 2000 at 03:57:14PM +0200, vi...@al... wrote: > Hi all, > > I would like to decode an ASN.1 string. In this string a digital > certificate is stored. > I'm able to retrieve the userCertificate attribute value from > the Directory server, but I still don't know how to decode the > ASN.1. The only thing I need is the creation timestamp of the > certificate. I looked at the Convert::ASN.1 library, but I don't > know how to use it. > http://search.cpan.org/doc/GBARR/Convert-ASN1-0.07/htdocs/Convert/ASN1.html > > Maybe somebody has a another example how to decode ASN.1 in Perl > with Convert::ASN1? > > Thanks! > Vincent. > > > > > |