OWA not verifying emails signed and encrypted by OpenSSL

2014-06-11 Thread Yash Dosi
I am trying to create an android app which can send sign and encrypted mails using OpenSSL. So far I am able to send Signed Emails and verify them using both web browsers and my android apps. Same is the case with Encryption and Decryption. But now when I am trying to send signed+encrypted

Dynamically User Selection of signing algorithm.

2014-06-10 Thread Yash Dosi
Hi All, I am creating an android app which can perform basic email security operations like encryption, decryption, signing and verification. So far I am able to perform all 4 operations successfully. But one thing I still haven't figured out is how to specify Signing Algorithm at runtime. I

How to decrypt smime.p7m file in DER format using OpenSSL in C code.

2014-06-05 Thread Yash Dosi
Hi All, I am trying to decrypt emails using openssl. I am getting smime.p7m file from the server. But it is in DER format. I can decrypt this file using command prompt, with the command openssl smime -decrypt -in openssl_working_smime.p7m -inform DER -inkey mycert.pem dec_mail.eml But now I

Re: OpenSSL Bouncy Castle Compatibilty Problem

2014-06-03 Thread Yash Dosi
. -Kyle H On Mon, Jun 2, 2014 at 2:30 AM, Yash Dosi yashd...@gmail.com wrote: 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

OpenSSL Bouncy Castle Compatibilty Problem

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