af375076f79b2026cb564360e769151b1efd6e59
[platform/upstream/iotivity.git] / resource / csdk / security / include / internal / srmresourcestrings.h
1 //******************************************************************
2 //
3 // Copyright 2015 Intel Mobile Communications GmbH All Rights Reserved.
4 //
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 //
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //      http://www.apache.org/licenses/LICENSE-2.0
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
20
21 #ifndef IOTVT_SRM_RSRC_STRINGS_H
22 #define IOTVT_SRM_RSRC_STRINGS_H
23
24 #include "securevirtualresourcetypes.h"
25
26 extern const char * SVR_DB_FILE_NAME;
27 extern const char * OIC_MI_DEF;
28
29 extern const char * OIC_RSRC_CORE_URI;
30 extern const char * OIC_RSRC_CORE_D_URI;
31 extern const char * OIC_RSRC_CORE_P_URI;
32 extern const char * OIC_RSRC_PRESENCE_URI;
33 extern const char * OIC_RSRC_TYPES_D_URI;
34
35 //ACL
36 extern const char * OIC_RSRC_TYPE_SEC_ACL;
37 extern const char * OIC_RSRC_ACL_URI;
38 extern const char * OIC_JSON_ACL_NAME;
39
40 //PSTAT
41 extern const char * OIC_RSRC_TYPE_SEC_PSTAT;
42 extern const char * OIC_RSRC_PSTAT_URI;
43 extern const char * OIC_JSON_PSTAT_NAME;
44
45
46 //DOXM
47 extern const char * OIC_RSRC_TYPE_SEC_DOXM;
48 extern const char * OIC_RSRC_DOXM_URI;
49 extern const char * OIC_JSON_DOXM_NAME;
50
51 //cred
52 extern const char * OIC_RSRC_TYPE_SEC_CRED;
53 extern const char * OIC_RSRC_CRED_URI;
54 extern const char * OIC_JSON_CRED_NAME;
55
56 extern const char * OIC_JSON_SUBJECT_NAME;
57 extern const char * OIC_JSON_RESOURCES_NAME;
58 extern const char * OIC_JSON_PERMISSION_NAME;
59 extern const char * OIC_JSON_OWNERS_NAME;
60 extern const char * OIC_JSON_OWNER_NAME;
61 extern const char * OIC_JSON_OWNED_NAME;
62 extern const char * OIC_JSON_OXM_NAME;
63 extern const char * OIC_JSON_OXM_TYPE_NAME;
64 extern const char * OIC_JSON_OXM_SEL_NAME;
65 extern const char * OIC_JSON_DEVICE_ID_FORMAT_NAME;
66 extern const char * OIC_JSON_CREDID_NAME;
67 extern const char * OIC_JSON_ROLEIDS_NAME;
68 extern const char * OIC_JSON_CREDTYPE_NAME;
69 extern const char * OIC_JSON_PUBLICDATA_NAME;
70 extern const char * OIC_JSON_PRIVATEDATA_NAME;
71 extern const char * OIC_JSON_PERIOD_NAME;
72 extern const char * OIC_JSON_ISOP_NAME;
73 extern const char * OIC_JSON_COMMIT_HASH_NAME;
74 extern const char * OIC_JSON_DEVICE_ID_NAME;
75 extern const char * OIC_JSON_CM_NAME;
76 extern const char * OIC_JSON_TM_NAME;
77 extern const char * OIC_JSON_OM_NAME;
78 extern const char * OIC_JSON_SM_NAME;
79
80 extern OicUuid_t WILDCARD_SUBJECT_ID;
81 extern size_t WILDCARD_SUBJECT_ID_LEN;
82 extern const char * WILDCARD_RESOURCE_URI;
83
84 //Ownership Transfer Methods
85 extern const char * OXM_JUST_WORKS;
86 extern const char * OXM_MODE_SWITCH;
87 extern const char * RANDOM_DEVICE_PIN;
88 extern const char * PRE_PROVISIONED_DEVICE_PIN;
89 extern const char * PRE_PROVISIONED_STRONG_CREDENTIAL;
90
91 extern const char * OIC_SEC_TRUE;
92 extern const char * OIC_SEC_FALSE;
93
94 extern const char * OIC_SEC_REST_QUERY_SEPARATOR;
95 extern char OIC_SEC_REST_QUERY_DELIMETER;
96
97 #endif //IOTVT_SRM_RSRC_STRINGS_H
98