Re: Getting RSA key as an encrypted and B64 encoded string

2002-01-21 Thread Vadim Fedukovich
On Mon, 21 Jan 2002, Hellan,Kim KHE wrote: > 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, excep

Getting RSA key as an encrypted and B64 encoded string

2002-01-21 Thread Hellan,Kim KHE
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 t