Android S / MIME Development

I searched from here to the ends of the earth and still do not understand how this is possible.

I started by using a custom javamail / gmail api because I wanted to send an email in the background without any user interaction.

Then I tried to build ontop of this: crypto ( http://javamail-crypto.sourceforge.net/ ) combined with bouncycastle ( https://www.bouncycastle.org/ ) to sign the email

Since these api are so old, they come across a lot, and every time I seem to fix one incomprehensible error, I open another.

I saw 1 or 2 applications on the market that provide S / MIME encryption and emailed the creators, but did not receive a response.

+4
source share
3 answers

I officially refused, this is not the case when the old API is a combination of the following two problems:

There is no java.awt package in Android, but the custom andrioid.awt is one. I tried to edit the jar files belonging to the bouncycastle to adapt to this, but to no avail.

Api does not seem to match at all. Each time I approached email signing and sent it, I would encounter a nosuchfieldexception or nosuchmethodexception runtime error when one api was looking for something in another api.

In the end, I just gave up trying to do it for free and found a site called Chilkat, which has a perfectly working API with a 30-day trial from the first code run.

Their android api are here: Chilkat for Android

The reason I do this is for everyone who has experienced so much blood and sweat over it, because I need to know that there is hope, even if you have to pay for it ...

+1
source

Djigzo S / MIME Email Encryption by Djigzo

For Blackberry devices, download the application from: http://www.djigzo.com/bb.html

+1
source

And, of course, should he also be free? The APIs have not changed since S / MIME has not changed. I think you will also find that the API sockets have not changed at one time because TCP has not changed. However, if you are willing to pay money, you can consider the IAIK, for example, this IAIK toolkit .

0
source

All Articles