Hi !!
 
I have some problems because I want a RSA private key in DER form but des-cbc codified. The source key is in PEM encoded form (password protected) and I need something similar but in DER encoded form (also password protected key). I have been tried with: openssl rsa -in mykey.pem -outform DER -out mykey.key, to get a DER encoded form key, and after this: openssl enc -des-cbc -in mykey.key -out mydeskey.key -pass stdin -e; it looks like all finishes ok, but when I take a look to the output file, it looks like a little bit "strange" because it begins with "Salt_"
Really I don't know what is happening ... for me will be wonderful if I will do something like this from C routines.
 
I have been take a look to evp.h but I'm confused .....
Someone could help me ??
 
thanks in advance
 
zainos



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

Reply via email to