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
>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
I forgot:
int len;
unsigned char *buf, *cert;
Andrea
__
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager