Hi All,
 
This question is related with Reverse Engg of private key. I have build
my application, which encrypt a fie based on pre defined private key.
The private key is in text file & it start with 0x30,0x82,0x04 ... . My
application converts private key in text format to EVP_KEY format using
d2i_PrivateKey_bio function. After it I use openSsl library standard
function to encrypt my file.  This text file is basically ASN encoding
of the certificate (private key in DER format).
 
Is it possible to get a certificate embedded with the same private key
(or public /private pair) based on the private key in ASN encoding. I am
not sure if I am phrasing my question correctly. I want to get private
key in pem/der format from ASN encoded text file. (I want to use openSSL
tool, which runs over linux shell or cygwin)
 
I have done bit of goggling but didn't get any clue. I am new bie in
openssl. Let me know if you have some pointers for the same
 
Thanks/Regards
Abhishek
 

Reply via email to