The d2i_* functions will convert from DER-encoded things to Internal structures. The two you'll probably want are

d2i_RSAPrivateKey()
d2i_RSAPublicKey()




On Sep 10, 2004, at 3:36 PM, Herbert Skopnik V. wrote:

Hi everybody!

I'm working in a project (transactional switch) which uses RSA encryption to encrypt part of the transaction data. I'm using RSA keys in DER format stored in a database and I need to convert this buffer to a RSA structure, without using files (which is the method I'm using now).

Does�someone know how this could be accomplished?

Any help would be really appreciated.

Best regards,

Herbert Skopnik V.
Ingeniero de Proyectos
Ingenier�a Solem Ltda.
7 Norte 1094, Vi�a del Mar, Chile
Fono: +56 (32) 656021
Fax: +56 (32) 656016
Email: [EMAIL PROTECTED]
Web: www.solem.cl


______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]

Reply via email to