STARTTLS at last

I have given up trying to use the RIM provided TLS library to get STARTTLS to work, and finally accepted that I need to use Bouncy Castle*. I have integrated bouncy castle with the code, and built it with the RIM compiler, all of which happened without an issue.

The implementation of STARTTLS is very straight forward and switching an existing socket connection to a TLS connection is literally three lines of code.

I need to cut down the size of the bouncy castle library as it is currently three times the size of the tiggit application.

I am expecting that STARTTLS will be included in release 1.1.12, along with the ability for tiggit to automatically use STARTTLS if it is available from the server. Version 1.1.12 is a little way off though. 

* Bouncy Castle is an open source java encryption library created by The Legion of The Bouncy Castle. More information can be found on their website http://www.bouncycastle.org

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 30 other followers