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
_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users