Re: OpenSSL Bouncy Castle Compatibilty Problem

2014-06-03 Thread Yash Dosi
Hi Kyle H, Thanks for your reply. I am sorry for giving so less information. Here are some of the details you asked for. What is the version of OpenSSL that you're using? - 1.0.1e What is the version of BouncyCastle that you're using? - BC = 1.45 Have you ensured that the private key to

OpenSSL Bouncy Castle Compatibilty Problem

2014-06-02 Thread Yash Dosi
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

Re: OpenSSL Bouncy Castle Compatibilty Problem

2014-06-02 Thread Kyle Hamilton
My understanding from what you're saying is that you can successfully encrypt with OpenSSL, but BouncyCastle is failing to decrypt it. What is the version of OpenSSL that you're using? What is the version of BouncyCastle that you're using? What version of javamail are you using with it? Which