Re: R: A few trivial questions...

1999-05-21 Thread William M. Perry
Andrea e Luca Giacobazzi wrote: > >I need the full subject DN of the certificate, and the DER encoded X509 > >certificate itself (and its length). ie: what you would find in the > >userCertificate field in an LDAP directory. > > Use i2d_X509(..) to convert from X509* to DER : > > /* Convert cert

R: A few trivial questions...

1999-05-21 Thread Andrea e Luca Giacobazzi
>I need the full subject DN of the certificate, and the DER encoded X509 >certificate itself (and its length). ie: what you would find in the >userCertificate field in an LDAP directory. Use i2d_X509(..) to convert from X509* to DER : /* Convert certificate from X509* to DER, put it in a str

R: A few trivial questions...

1999-05-21 Thread Andrea e Luca Giacobazzi
I forgot: int len; unsigned char *buf, *cert; Andrea __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager

A few trivial questions...

1999-05-21 Thread William M. Perry
I've been digging around all morning in the header files and source for openssl and could not find an easy way to get what I need out of an 'X509 *' object. I need the full subject DN of the certificate, and the DER encoded X509 certificate itself (and its length). ie: what you would find in the