Added jni/android implementation for trust cert chain
authorSunil Kumar K R <sunil.k14@samsung.com>
Sat, 27 Aug 2016 13:16:32 +0000 (18:46 +0530)
committerRandeep Singh <randeep.s@samsung.com>
Tue, 13 Sep 2016 13:45:36 +0000 (13:45 +0000)
commit40c004d56af1a0c6f4b25fd0417a89c6708c9dc2
tree2c66748248ebf445a992bd54166ab4a2f6aa8115
parentcd1381c1a448dc5dbc7e0e30e3f7e50e31d2aa2a
Added jni/android implementation for trust cert chain
Provisioning client modified for save and provision cert chain

Change-Id: Iad4b7286ed9076026399d7f7088c4fc39d58c624
Signed-off-by: Sunil Kumar K R <sunil.k14@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11001
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit 98ca376871d06d2ddaf80e0375e4072a3e2f5878)
Reviewed-on: https://gerrit.iotivity.org/gerrit/11721
Tested-by: Randeep Singh <randeep.s@samsung.com>
15 files changed:
android/android_api/SConscript
android/android_api/base/build.gradle
android/android_api/base/jni/Android.mk
android/android_api/base/jni/JniOcProvisioning.cpp
android/android_api/base/jni/JniOcProvisioning.h
android/android_api/base/jni/JniOcSecureResource.cpp
android/android_api/base/jni/JniOcSecureResource.h
android/android_api/base/jni/JniProvisionResultListner.cpp
android/android_api/base/jni/JniProvisionResultListner.h
android/android_api/base/src/main/java/org/iotivity/base/EncodingType.java [new file with mode: 0644]
android/android_api/base/src/main/java/org/iotivity/base/OcProvisioning.java
android/android_api/base/src/main/java/org/iotivity/base/OcSecureResource.java
android/examples/provisioningclient/src/main/assets/rootca.crt [new file with mode: 0644]
android/examples/provisioningclient/src/main/java/org/iotivity/base/examples/provisioningclient/ProvisioningClient.java
android/examples/provisioningclient/src/main/java/org/iotivity/base/examples/provisioningclient/StringConstants.java