From: Chris R. <chr...@me...> - 2000-07-31 14:58:05
|
Graham Barr <gb...@po...> wrote: > 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 ^definite? In other words, Convert::ASN1 will not decode a certificate encoded using BER, though a cert encoded in DER will be OK. > do have a fix for indefinate lengths for Convert::ASN1 > > Graham. I just had a quick go, and am having problems. How does Convert::ASN1 handle ANY, Graham? I don't fancy decoding the *entire* certificate so want to put in placeholders for the bits I don't care about. eg Foo ::= SEQUENCE { version [0] INTEGER, serialNumber ANY, subject ANY, ... } will that do what I expect and let me decode past the bits I don't care about (serialNumber and subject in the above case)? Cheers, Chris |