mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 06:05:12 +00:00
Added conscrypt readme
This commit is contained in:
18
libs/conscrypt.readme
Normal file
18
libs/conscrypt.readme
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
Conscrypt
|
||||||
|
|
||||||
|
https://conscrypt.org/
|
||||||
|
|
||||||
|
Conscrypt is a Java Security Provider that uses OpenSSL. Since Android uses it internally too, but that is not updated. These libraries are built directly form AOSP source on 28-Jun-2015.
|
||||||
|
|
||||||
|
The source for conscrypt is availble at https://android.googlesource.com/platform/external/conscrypt
|
||||||
|
|
||||||
|
The structure of two jar files used here is as follows :
|
||||||
|
conscrypt.jar is the Java library for OpenSSL Provider.
|
||||||
|
conscrypt_jni.jar is shared library for JNI for OpenSSL Provider, packed into a jar.
|
||||||
|
|
||||||
|
To update these libraries, they can be diretly built from AOSP with build type as "user"
|
||||||
|
|
||||||
|
conscrypt.jar = $OUT_DIR/target/common/obj/JAVA_LIBRARIES/conscrypt_unbundled_intermediates/javalib.jar
|
||||||
|
conscrypt_jni.jar = $OUT_DIR/target/product/generic/obj/lib/libconscrypt_jni.so
|
||||||
|
and put as lib/armeabi/libconscrypt_jni.so and compress lib directory as jar archive.
|
||||||
|
|
@@ -199,7 +199,7 @@ public class BackgroundService extends Service {
|
|||||||
@Override
|
@Override
|
||||||
public void onCreate() {
|
public void onCreate() {
|
||||||
super.onCreate();
|
super.onCreate();
|
||||||
|
|
||||||
Security.insertProviderAt(new OpenSSLProvider("KDEConnect SSL Provider"), 1);
|
Security.insertProviderAt(new OpenSSLProvider("KDEConnect SSL Provider"), 1);
|
||||||
|
|
||||||
// Register screen on listener
|
// Register screen on listener
|
||||||
|
Reference in New Issue
Block a user