Title: Message
Hi.,
 Use d2i interfaces....
For any object...
d2i_OBJNAME(OBJTYPE *obj, char *pp, long length)
for example
to get RSA key from buffer
 
RSA *rsa
rsa = d2i_RSAPublicKey(NULL, &buf, len)..
Hope it helps..
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Roberto Zainos H
Sent: Monday, August 02, 2004 10:21 PM
To: [EMAIL PROTECTED]
Subject: How to convert a buffer to an intern structure???

Hi guys!!!
I'm working in a Crypto-OpenSSL based Project generating and mannaging X509 cert's. I have a little problem because I'm using an Oracle DB like repository. The cert's are stored in PEM format in the DB (-----BEGIN ..... END-----),  the connection between my app and the server is ODBC based, when I recover the cert froom DB I store that in a buffer (char []) but I don't know how convert that buffer in an intern usable structure.......(Maybe BIO or PEM)
 
Any hint???
 
Best Regards
Zainos



Do You Yahoo!?
Yahoo! Net: La mejor conexión a internet y 25MB extra a tu correo por $100 al mes.

Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

Reply via email to