Android's included libssl.so does not include DTLS support. See
"-DOPENSSL_NO_DTLS1" in external/openssl/android-config.mk

libcrypto and libssl do not have stable APIs over releases so they are not
part of the NDK, so you should not be depending on these anyway. You can
and should build your own copy with your app. I believe this is what the
Chrome beta in market does.

-bri

On Fri, Mar 16, 2012 at 7:44 AM, Echelon <dtraba...@gmail.com> wrote:

> First of all thanks for the quick reply.
>
> I am trying to proceed by steps:
> Since by default the OpenSSL provider is included among the android
> security providers, and SSL/TLS is enabled as well, I would use this
> protocol before doing what suggested.
>
> The problem is that I couldn't find a way to do it, using from the android
> app (Java) the OpenSSL implementation of SSL/TLS, that I know happens via a
> JNI call.
>
> On Friday, 16 March 2012 15:18:51 UTC+1, Jeffrey Walton wrote:
>>
>> > Hi,
>> > I am trying to figure out how can I create a client/server application
>> using
>> > DTLS from either OpenSSL or CyaSSL, or even BouncyCastle (SpongyCastle)
>> > modifying the sources but I am encountering difficulties in loading the
>> > context and specifying the DTLS method in a datagram socket.
>> > Anyone has experience or link to guidelines?
>> DTLS is in OpenSSL. Fetch the sources from HEAD, and build similar to
>> https://github.com/fries/**android-external-openssl/blob/**
>> master/README.android<https://github.com/fries/android-external-openssl/blob/master/README.android>
>> .
>>
>> Jeff
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Android Security Discussions" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/android-security-discuss/-/TXgeTuw8aYoJ.
>
> To post to this group, send email to
> android-security-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> android-security-discuss+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/android-security-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to android-security-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
android-security-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to