Tizen 2.0 Release
[framework/system/oma-dm-agent.git] / include / dm-engine / cp / dm_cp_security.h
1 /*
2  * oma-dm-agent
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 #ifndef DM_CP_SECURITY_H_
19 #define DM_CP_SECURITY_H_
20
21 #define CP_MAC_LEN                                                              40
22
23 #define CP_IS_EXIST_MAC                                         0x92
24
25 #define CP_SEC                                                                          0x91
26
27 #define CP_SEC_TYPE_NETWPIN                             0x80
28 #define CP_SEC_TYPE_USERPIN                             0x81
29 #define CP_SEC_TYPE_USERNETWPIN         0x82
30
31 #define CP_DATA_REPOSITORY_PATH         "/opt/data/oma-dm-cfg/cp"
32 #define CP_SEC_FILE_NAME                                        "cp_pin_info"
33 #define CP_WBXML_FILE_NAME                              "wbxml_cp"
34 #define CP_TYPE_FILE_NAME                                       "cp_type"
35
36 #define CP_SEC_REPOSITORY_PATH          "/opt/data/oma-dm-cfg/cp_pin_info"
37 #define CP_WBXML_REPOSITORY_PATH        "/opt/data/oma-dm-cfg/wbxml_cp"
38 #define CP_TYPE_REPOSITORY_PATH         "/opt/data/oma-dm-cfg/cp_type"
39
40 #endif                          /* DM_CP_SECURITY_H_ */