Hi All, I am trying to replace Bouncy Castle with OpenSSL for some of the operation in my android app.
Right now, I can successfully encrypt a mail using OpenSSL and send it. But the problem comes when you are trying to decrypt the same email. I cant decrypt it on both the server as well as using bouncy castle. I am using the same certificate for both encryption and decryption. And when I try to decrypt OpenSSL encrypted content using OpenSSL Command Line, I dont face any problem. Any ideas what could be the issue? -- Yash Dosi.