X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fsecurity%2Fsrc%2Fsrmresourcestrings.c;h=b847a3056ec8aeaf7bfde9723db39706f6496db9;hb=3c093548382bb2542c87a67e6e5fa32552c29cb3;hp=9dd8ffe0aa40fff012a24fa138c81e07c816f29d;hpb=edcfc3d2329da7b914771c0dcff5f42c9b74fd93;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/security/src/srmresourcestrings.c b/resource/csdk/security/src/srmresourcestrings.c index 9dd8ffe..b847a30 100644 --- a/resource/csdk/security/src/srmresourcestrings.c +++ b/resource/csdk/security/src/srmresourcestrings.c @@ -63,11 +63,6 @@ const char * OIC_RSRC_TYPE_SEC_SACL = "oic.r.sacl"; const char * OIC_RSRC_SACL_URI = "/oic/sec/sacl"; const char * OIC_JSON_SACL_NAME = "sacl"; -//svc -const char * OIC_RSRC_TYPE_SEC_SVC = "oic.r.svc"; -const char * OIC_RSRC_SVC_URI = "/oic/sec/svc"; -const char * OIC_JSON_SVC_NAME = "svc"; - //pconf const char * OIC_RSRC_TYPE_SEC_PCONF = "oic.r.pconf"; const char * OIC_RSRC_PCONF_URI = "/oic/sec/pconf"; @@ -94,15 +89,15 @@ const char * OIC_JSON_PERMISSION_NAME = "permission"; const char * OIC_JSON_OWNERS_NAME = "ownrs"; const char * OIC_JSON_OWNER_NAME = "ownr"; const char * OIC_JSON_DEVOWNERID_NAME = "devowneruuid"; -#ifdef _ENABLE_MULTIPLE_OWNER_ -const char * OIC_JSON_SUBOWNERID_NAME = "subowneruuid"; -#endif //_ENABLE_MULTIPLE_OWNER_ +#ifdef MULTIPLE_OWNER +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 _ENABLE_MULTIPLE_OWNER_ -const char * OIC_JSON_MOM_NAME = "mom"; -#endif //_ENABLE_MULTIPLE_OWNER_ +#ifdef MULTIPLE_OWNER +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"; const char * OIC_JSON_DEVICE_ID_FORMAT_NAME = "didformat"; @@ -123,8 +118,7 @@ const char * OIC_JSON_PUBDATA_NAME = "pubdata"; const char * OIC_JSON_PRIVDATA_NAME = "privdata"; const char * OIC_JSON_OPTDATA_NAME = "optionaldata"; const char * OIC_JSON_CREDUSAGE_NAME = "credusage"; -const char * OIC_JSON_SERVICE_DEVICE_ID = "svcdid"; -const char * OIC_JSON_SERVICE_TYPE = "svct"; +const char * OIC_JSON_REVOCATION_STATUS_NAME = "revstat"; const char* OIC_JSON_VALIDITY_NAME = "validity"; const char * OIC_JSON_PERIOD_NAME = "period"; const char * OIC_JSON_PERIODS_NAME = "prds"; @@ -146,9 +140,9 @@ const char * OIC_JSON_REL_NAME = OC_RSRVD_REL; 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 _ENABLE_MULTIPLE_OWNER_ -const char * OIC_JSON_EOWNERID_NAME = "eowneruuid"; -#endif //_ENABLE_MULTIPLE_OWNER_ +#ifdef MULTIPLE_OWNER +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"; const char * OIC_JSON_SEC_V_NAME = "secv"; @@ -173,9 +167,14 @@ const char * WILDCARD_RESOURCE_URI = "*"; 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 _ENABLE_MULTIPLE_OWNER_ -const char * OXM_PRECONF_PIN = "oic.sec.doxm.pcp"; -#endif //_ENABLE_MULTIPLE_OWNER_ +#ifdef MULTIPLE_OWNER +const char * OXM_PRECONF_PIN = "x.org.iotivity.sec.doxm.pcp"; +#endif //MULTIPLE_OWNER +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 +const char * MUTUAL_VERIF_NUM = "mutualVerifNum"; //Credential data encoding methods const char * OIC_SEC_ENCODING_BASE64 = "oic.sec.encoding.base64";