views:

186

answers:

1

Hi,

Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS?

What are my other options for securing UDP traffic on Android ?

Thanks.

A: 

DTLS support is not available in pure Java yet. We ended up using OpenSSL through JNI. I doubt you will find anything on Android.

You should use TLS (which means you have to use TCP).

ZZ Coder
Thanks. I assume you used DTLS of OpenSSL. How was the performance of using OpenSSL using JNI? Is your code open source ?
Soumya Simanta
The project is not open source. Performance is good but we finally decided using DTLS is not worth while. UDP has lots of advantage over TCP, you save the 3 way handshake (4 ms on our network). However, when you add the overhead of TLS, the performance gain between UDP and TCP is not that noticeable.
ZZ Coder