Hi I have an RSA private key in a EVP_PKEY structure. I need to get the RSA "blob" out of the EVP_PKEY, encrypt it (EVP_des_ede3_cbc) and Base64 encode it. Basically I need something like what the PEM_write_PrivateKey() function does, except my destination is memory, not a file and I don't want the PEM header/footer. I'm sure this can easily be done using the right OpenSSL function, but which one?
And also.....at some point I need to put the encrypted, encoded RSA key back into an EVP_PKEY structure? Med venlig hilsen / Best regards Kim Hellan KMD / KMD-CA http://www.kmd-ca.dk Mailto:[EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]