Change property names for IoTivity only security features
authorJongmin Choi <jminl.choi@samsung.com>
Thu, 26 Jan 2017 04:10:22 +0000 (13:10 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Wed, 1 Mar 2017 08:10:17 +0000 (08:10 +0000)
IoTivity only security property names changed to use "x.org.iotivity"

Patch #1: initial upload

Change-Id: Iee08b3e0a4d862d90fec5c6be738e8e70bf9d037
Signed-off-by: Jongmin Choi <jminl.choi@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16791
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17315

resource/csdk/security/src/srmresourcestrings.c

index bf09671..da88d58 100644 (file)
@@ -95,13 +95,13 @@ const char * OIC_JSON_OWNERS_NAME = "ownrs";
 const char * OIC_JSON_OWNER_NAME = "ownr";
 const char * OIC_JSON_DEVOWNERID_NAME = "devowneruuid";
 #ifdef MULTIPLE_OWNER
-const char * OIC_JSON_SUBOWNERID_NAME = "subowneruuid";
+const char * OIC_JSON_SUBOWNERID_NAME = "x.org.iotivity.subowneruuid";
 #endif //MULTIPLE_OWNER
 const char * OIC_JSON_OWNED_NAME = "owned";
 const char * OIC_JSON_OXM_NAME = "oxm";
 const char * OIC_JSON_OXMS_NAME = "oxms";
 #ifdef MULTIPLE_OWNER
-const char * OIC_JSON_MOM_NAME = "mom";
+const char * OIC_JSON_MOM_NAME = "x.org.iotivity.mom";
 #endif //MULTIPLE_OWNER
 const char * OIC_JSON_OXM_TYPE_NAME = "oxmtype";
 const char * OIC_JSON_OXM_SEL_NAME = "oxmsel";
@@ -148,7 +148,7 @@ const char * OIC_JSON_RT_NAME = OC_RSRVD_RESOURCE_TYPE;
 const char * OIC_JSON_IF_NAME = OC_RSRVD_INTERFACE;
 const char * OIC_JSON_ROWNERID_NAME = "rowneruuid";
 #ifdef MULTIPLE_OWNER
-const char * OIC_JSON_EOWNERID_NAME = "eowneruuid";
+const char * OIC_JSON_EOWNERID_NAME = "x.org.iotivity.eowneruuid";
 #endif //MULTIPLE_OWNER
 const char * OIC_JSON_ENCODING_NAME = "encoding";
 const char * OIC_JSON_DATA_NAME = "data";
@@ -175,9 +175,9 @@ const char * OXM_JUST_WORKS = "oic.sec.doxm.jw";
 const char * OXM_RANDOM_DEVICE_PIN = "oic.sec.doxm.rdp";
 const char * OXM_MANUFACTURER_CERTIFICATE = "oic.sec.doxm.mfgcert";
 #ifdef MULTIPLE_OWNER
-const char * OXM_PRECONF_PIN = "oic.sec.doxm.pcp";
+const char * OXM_PRECONF_PIN = "x.org.iotivity.sec.doxm.pcp";
 #endif //MULTIPLE_OWNER
-const char * OXM_MV_JUST_WORKS = "oic.sec.doxm.mvjw";
+const char * OXM_MV_JUST_WORKS = "x.org.iotivity.sec.doxm.mvjw";
 const char * OXM_CON_MFG_CERT = "x.org.iotivity.conmfgcert";
 
 //Mutual Verified Just-Works Message Prefix