Doxm payload conversion from JSON to CBOR 97/5797/3
authorHabib Virji <habib.virji@samsung.com>
Sun, 21 Feb 2016 20:26:04 +0000 (20:26 +0000)
committerHabib Virji <habib.virji@samsung.com>
Sun, 13 Mar 2016 20:33:50 +0000 (20:33 +0000)
commitc5ba0ff1afee1c801e4287f683e13b2b4d23c3d7
treedc98989e68124a997b24be0764af2a1861b7479b
parent4d7d7d3bf745e9c42d1620de158820bd4ec9ae76
Doxm payload conversion from JSON to CBOR

- Updates return type to OCStackResult and parameters as part of the conversion function.
- Changes in ownership transfer to return uint8_t instead of chari for payload conversion.
- security_internals includes function which are used in the testing.
- Unit test is updated to match the changes in conversion.

Change-Id: I088d75d67d8520e853db9b14fc802e3b31481e8b
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5096
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5797
17 files changed:
android/android_api/base/jni/JniOcProvisioning.cpp
resource/csdk/security/include/internal/doxmresource.h
resource/csdk/security/include/internal/security_internals.h
resource/csdk/security/provisioning/include/internal/ownershiptransfermanager.h
resource/csdk/security/provisioning/include/oxm/oxmjustworks.h
resource/csdk/security/provisioning/include/oxm/oxmrandompin.h
resource/csdk/security/provisioning/sample/provisioningclient.c
resource/csdk/security/provisioning/src/ownershiptransfermanager.c
resource/csdk/security/provisioning/src/oxmjustworks.c
resource/csdk/security/provisioning/src/oxmrandompin.c
resource/csdk/security/provisioning/src/pmutility.c
resource/csdk/security/provisioning/unittest/otmunittest.cpp
resource/csdk/security/src/amsmgr.c
resource/csdk/security/src/doxmresource.c
resource/csdk/security/unittest/doxmresource.cpp
resource/provisioning/examples/provisioningclient.cpp
resource/provisioning/unittests/OCProvisioningTest.cpp