[IOT-1958] CR 22 State Specific Property Access for /doxm Resource
authorNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Mon, 24 Apr 2017 04:02:04 +0000 (21:02 -0700)
committerKevin Kane <kkane@microsoft.com>
Wed, 26 Apr 2017 23:06:56 +0000 (23:06 +0000)
commit4aa1474b84b7f16353da64808d03634affa99a77
treee4ddaa709cd2acf854f99b0ac964409aaaaf0baa
parent6150c09877559778f1ef2c2ea20c30ec69bceee8
[IOT-1958] CR 22 State Specific Property Access for /doxm Resource

Implementation of CR 22 feature to deny UPDATE to /doxm if any
Property in the POST representation is read-only in the current
/pstat.dos.s state.

Includes necessary update to the CBOR marshalling code to support
partial Resource representations for /doxm.

Includes updates to provisioning tools to correctly include only the
/doxm Properties being updated in the POST payload.

Change-Id: I610012be5b19e0ac0218f9f8610cab5171187108
Signed-off-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19215
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
resource/csdk/security/include/internal/doxmresource.h
resource/csdk/security/include/internal/srmresourcestrings.h
resource/csdk/security/include/securevirtualresourcetypes.h
resource/csdk/security/provisioning/src/ownershiptransfermanager.c
resource/csdk/security/provisioning/src/oxmjustworks.c
resource/csdk/security/provisioning/src/oxmmanufacturercert.c
resource/csdk/security/provisioning/src/oxmrandompin.c
resource/csdk/security/src/doxmresource.c
resource/csdk/security/src/srmresourcestrings.c
resource/csdk/security/tool/json2cbor.c
resource/csdk/security/unittest/doxmresource.cpp