RE: sign and encryption issue

2014-11-13 Thread bernard Hauzeur
o 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

sign and encryption issue

2014-11-13 Thread Amir Reda
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 ha