RE: Re: RSA encryption/decryption with OpenSSL.

2013-08-21 Thread mycompuser
Hi Dave, Thanks for the reply. I do have access to the server code but cannot change it's implementation to suite my requirement as the server is serving other clients in other platforms as well. Below is the java code to encrypt an AES symmetric key with the public key it recieves from the clie

Re: RSA encryption/decryption with OpenSSL.

2013-08-21 Thread mycompuser
Hi, Thanks for the reply. "That's because it's not a raw public key; it's a base64 encoded structure containing the key parts. It's a lot more than just stripping the header and footer." I was not aware of this. But I think my requirement is to send the public key in Base64 encoded structur

RSA encryption/decryption with OpenSSL.

2013-08-20 Thread mycompuser
Hi All, I have a client server application where the client is developed in Objective-C on MAC platform and the server application in Java. The client is supposed to generates an RSA key pair and send the public key to the server. The server inturn uses the public key to encrypt some secure data a