1 //******************************************************************
3 // Copyright 2015 Intel Mobile Communications GmbH All Rights Reserved.
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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
11 // http://www.apache.org/licenses/LICENSE-2.0
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.
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
21 #ifndef IOTVT_SRM_RSRC_STRINGS_H
22 #define IOTVT_SRM_RSRC_STRINGS_H
24 #include "securevirtualresourcetypes.h"
30 extern const char * SVR_DB_FILE_NAME;
31 extern const char * SVR_DB_DAT_FILE_NAME;
34 extern const char * OIC_RSRC_TYPE_SEC_AMACL;
35 extern const char * OIC_RSRC_AMACL_URI;
36 extern const char * OIC_JSON_AMACL_NAME;
39 extern const char * OIC_RSRC_TYPE_SEC_ACL;
40 extern const char * OIC_RSRC_ACL_URI;
41 extern const char * OIC_JSON_ACL_NAME;
42 extern const char * OIC_JSON_ACLIST_NAME;
43 extern const char * OIC_JSON_ACES_NAME;
46 extern const char * OIC_RSRC_TYPE_SEC_PSTAT;
47 extern const char * OIC_RSRC_PSTAT_URI;
48 extern const char * OIC_JSON_PSTAT_NAME;
52 extern const char * OIC_RSRC_TYPE_SEC_DOXM;
53 extern const char * OIC_RSRC_DOXM_URI;
54 extern const char * OIC_JSON_DOXM_NAME;
57 extern const char * OIC_RSRC_TYPE_SEC_CRED;
58 extern const char * OIC_RSRC_CRED_URI;
59 extern const char * OIC_JSON_CRED_NAME;
60 extern const char * OIC_JSON_CREDS_NAME;
63 extern const char * OIC_RSRC_TYPE_SEC_CRL;
64 extern const char * OIC_RSRC_CRL_URI;
65 extern const char * OIC_JSON_CRL_NAME;
68 extern const char * OIC_RSRC_TYPE_SEC_SACL;
69 extern const char * OIC_RSRC_SACL_URI;
70 extern const char * OIC_JSON_SACL_NAME;
73 extern const char * OIC_RSRC_TYPE_SEC_SVC;
74 extern const char * OIC_RSRC_SVC_URI;
75 extern const char * OIC_JSON_SVC_NAME;
78 extern const char * OIC_RSRC_TYPE_SEC_PCONF;
79 extern const char * OIC_RSRC_PCONF_URI;
80 extern const char * OIC_JSON_PCONF_NAME;
83 extern const char * OIC_RSRC_TYPE_SEC_DPAIRING;
84 extern const char * OIC_RSRC_DPAIRING_URI;
85 extern const char * OIC_JSON_DPAIRING_NAME;
88 extern const char * OIC_RSRC_TYPE_SEC_VER;
89 extern const char * OIC_RSRC_VER_URI;
90 extern const char * OIC_JSON_VER_NAME;
92 extern const char * OIC_JSON_SUBJECT_NAME;
93 extern const char * OIC_JSON_SUBJECTID_NAME;
94 extern const char * OIC_JSON_RESOURCES_NAME;
95 extern const char * OIC_JSON_AMSS_NAME;
96 extern const char * OIC_JSON_AMS_NAME;
97 extern const char * OIC_JSON_PERMISSION_NAME;
98 extern const char * OIC_JSON_OWNERS_NAME;
99 extern const char * OIC_JSON_OWNER_NAME;
100 extern const char * OIC_JSON_DEVOWNERID_NAME;
101 extern const char * OIC_JSON_OWNED_NAME;
102 extern const char * OIC_JSON_OXM_NAME;
103 extern const char * OIC_JSON_OXMS_NAME;
104 extern const char * OIC_JSON_OXM_TYPE_NAME;
105 extern const char * OIC_JSON_OXM_SEL_NAME;
106 extern const char * OIC_JSON_DEVICE_ID_FORMAT_NAME;
107 extern const char * OIC_JSON_CREDID_NAME;
108 extern const char * OIC_JSON_ROLEIDS_NAME;
109 extern const char * OIC_JSON_CREDTYPE_NAME;
110 extern const char * OIC_JSON_PUBLICDATA_NAME;
111 extern const char * OIC_JSON_PRIVATEDATA_NAME;
112 extern const char * OIC_JSON_PUBDATA_NAME;
113 extern const char * OIC_JSON_PRIVDATA_NAME;
114 extern const char * OIC_JSON_OPTDATA_NAME;
115 extern const char * OIC_JSON_CRMS_NAME;
116 extern const char * OIC_JSON_PERIOD_NAME;
117 extern const char * OIC_JSON_PERIODS_NAME;
118 extern const char * OIC_JSON_RECURRENCES_NAME;
119 extern const char * OIC_JSON_ISOP_NAME;
120 extern const char * OIC_JSON_COMMIT_HASH_NAME;
121 extern const char * OIC_JSON_DEVICE_ID_NAME;
122 extern const char * OIC_JSON_CM_NAME;
123 extern const char * OIC_JSON_TM_NAME;
124 extern const char * OIC_JSON_OM_NAME;
125 extern const char * OIC_JSON_SM_NAME;
126 extern const char * OIC_JSON_SERVICE_DEVICE_ID;
127 extern const char * OIC_JSON_SERVICE_TYPE;
128 extern const char * OIC_JSON_SUPPORTED_CRED_TYPE_NAME;
129 extern const char * OIC_JSON_DPC_NAME;
130 extern const char * OIC_JSON_EDP_NAME;
131 extern const char * OIC_JSON_PIN_NAME;
132 extern const char * OIC_JSON_PDACL_NAME;
133 extern const char * OIC_JSON_PDDEV_LIST_NAME;
134 extern const char * OIC_JSON_ROWNER_NAME;
135 extern const char * OIC_JSON_PRM_NAME;
136 extern const char * OIC_JSON_SPM_NAME;
137 extern const char * OIC_JSON_PDEVICE_ID_NAME;
138 extern const char * OIC_JSON_RLIST_NAME;
139 extern const char * OIC_JSON_HREF_NAME;
140 extern const char * OIC_JSON_REL_NAME;
141 extern const char * OIC_JSON_RT_NAME;
142 extern const char * OIC_JSON_IF_NAME;
143 extern const char * OIC_JSON_ROWNERID_NAME;
144 extern const char * OIC_JSON_ENCODING_NAME;
145 extern const char * OIC_JSON_DATA_NAME;
146 extern const char * OIC_JSON_SEC_V_NAME;
148 extern const char * OIC_JSON_EMPTY_STRING;
150 extern OicUuid_t WILDCARD_SUBJECT_ID;
151 extern OicUuid_t WILDCARD_SUBJECT_B64_ID;
152 extern size_t WILDCARD_SUBJECT_ID_LEN;
153 extern const char * WILDCARD_RESOURCE_URI;
155 //Ownership Transfer Methods
156 extern const char * OXM_JUST_WORKS;
157 extern const char * OXM_RANDOM_DEVICE_PIN;
158 extern const char * OXM_MANUFACTURER_CERTIFICATE;
160 extern const char * OIC_SEC_ENCODING_BASE64;
161 extern const char * OIC_SEC_ENCODING_RAW;
163 extern const char * OIC_SEC_TRUE;
164 extern const char * OIC_SEC_FALSE;
166 extern const char * OIC_SEC_REST_QUERY_SEPARATOR;
167 extern char OIC_SEC_REST_QUERY_DELIMETER;
170 extern const char * DEFAULT_SEC_VERSION;
176 #endif //IOTVT_SRM_RSRC_STRINGS_H