I was wondering if there was a way of getting the functionality of s_client
on Android, either by utilizing the OpenSSL present on the device or
linking to a custom compiled version of OpenSSL.  The application that I
would like to write needs to verify what cipher suite is in use during a
connection, and from what I have seen the built in SSL libraries in Java
don't get as granular as s_client.  I ran accross
http://wiki.openssl.org/index.php/Android on the OpenSSL Wiki and while I
have successfully cross-compiled for android(readelf returns arm as it
should) it seems that the section that talks about how to call it from an
android app is a bit too brief for me to understand and a good example of
what wrapper.c looks like is not given.  This example also doesn't seem to
use the Android NDK which seems odd to me.  Has anyone seen any good guides
about how to utilize the manufacturer's implementation of OpenSSL within an
app or how to integrate it into an app using the NDK?  Anyone have any
pointers or suggestions?

Thanks!
Jim

Reply via email to