Usman Riaz wrote :
I want to use PKI to encrypt some data and send it to the customer to be decrypted. With my limitied knowledge about PKI, the data can be encrypted using "private key" and then lateron that encrypted data could be decrypted with the "public key".
No, you encrypt the data using the public key of the customer, and the customer will decrypt it using its private key.
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]