From 8453293247c21c2de529e4faa64d0e99b6f9d348 Mon Sep 17 00:00:00 2001 From: Jongmin Choi Date: Thu, 26 Jan 2017 13:10:22 +0900 Subject: [PATCH] Change property names for IoTivity only security features IoTivity only security property names changed to use "x.org.iotivity" Patch #1: initial upload Change-Id: Iee08b3e0a4d862d90fec5c6be738e8e70bf9d037 Signed-off-by: Jongmin Choi Reviewed-on: https://gerrit.iotivity.org/gerrit/16791 Tested-by: jenkins-iotivity Reviewed-by: Randeep Singh Reviewed-on: https://gerrit.iotivity.org/gerrit/17315 --- resource/csdk/security/src/srmresourcestrings.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resource/csdk/security/src/srmresourcestrings.c b/resource/csdk/security/src/srmresourcestrings.c index bf09671..da88d58 100644 --- a/resource/csdk/security/src/srmresourcestrings.c +++ b/resource/csdk/security/src/srmresourcestrings.c @@ -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 -- 2.7.4