[strongSwan-dev] query in android apk source code System.loadLibary("Charon")
Ravi Kanth Vanapalli
vvnrk.vanapalli at gmail.com
Wed Dec 31 16:50:38 CET 2014
Dear all,
I was going through strongswan android apk source code and have the
following queries.
I could observe the following source code in CharonVpnService.java
static
{
System.loadLibrary("strongswan");
if (MainActivity.USE_BYOD)
{
System.loadLibrary("tncif");
System.loadLibrary("tnccs");
System.loadLibrary("imcv");
}
System.loadLibrary("hydra");
System.loadLibrary("charon");
System.loadLibrary("ipsec");
System.loadLibrary("androidbridge");
}
Query:
1) Does this mean, charon,hydra ,ipsec and android bridge are being already
present on the android source code and System.loadLibary searches for them
and loads.
or
2) Strongswan android apk source code, has the source code for these
libraries.. While making the apk, these librarires are compiled first and
then while CharonVpnService.java is compiled, these librarires are loaded
using System.load libarary ?
Also if the former is correct,
3) Does it mean AOSP code of android have 'hydra', 'charon', 'ipsec',
'androidbridge' built in to them?
4) What is the need for 'System.loadLibrary 'ipsec'' when android APK uses
libipsec for ESP encryption and decryption.
Kindly answer my querires seperately.
Thanks,
Ravikanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20141231/e7961504/attachment.html>
More information about the Dev
mailing list