Not an issue
In openSSL source code downloads, don't forget to look inside the demo folder. You have examples that illustrate how to encrypt, decrypt and deal with certificates. You can also familiarize yourself with the necessary steps using command line tools, and then look into the command line source code to mimic the bits of code you need. BH From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Amir Reda Sent: Thursday, November 13, 2014 7:19 PM To: openssl-users@openssl.org Subject: sign and encryption issue dear all i'm trying to use method RSA_private_encrypt () to sign some data (time stamp and random no) and send both data and sign and client certificate to server side. my problem is in server side to verify the time stamp and check its validity i use method RSA_public_decrypt () this function has RSA * as an argument to decrypt the data but i have only the public key which i"ll extract from the certificate that i receive from the client side. any help please and thanks allot -- Warmest regards and best wishes for a good health,urs sincerely mero