|
1 /* |
|
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef SWINSTALLERINTERNALCRKEYS_H |
|
19 #define SWINSTALLERINTERNALCRKEYS_H |
|
20 |
|
21 #include <e32std.h> |
|
22 |
|
23 /** |
|
24 * Sowftware Installer settings |
|
25 * |
|
26 */ |
|
27 const TUid KCRUidSWInstallerSettings = {0x101FD64D}; |
|
28 |
|
29 /** |
|
30 * KSWInstallerOcspProcedure |
|
31 * Define the policy for the online certificate validation procedure |
|
32 * - Off = 0 |
|
33 * - On = 1 |
|
34 * - Must be passed = 2 |
|
35 * |
|
36 */ |
|
37 const TUint32 KSWInstallerOcspProcedure = 0x00000001; |
|
38 enum TSWInstallerOcspProcedure |
|
39 { |
|
40 ESWInstallerOcspProcedureOff = 0, |
|
41 ESWInstallerOcspProcedureOn, |
|
42 ESWInstallerOcspProcedureMust |
|
43 }; |
|
44 |
|
45 /** |
|
46 * KSWInstallerOcspDefaultURL |
|
47 * Defines the default URL to OCSP server |
|
48 */ |
|
49 const TUint32 KSWInstallerOcspDefaultURL = 0x00000002; |
|
50 |
|
51 /** |
|
52 * Defines UI level policy that defines SW Installer behaviour |
|
53 * when user tries to install untrusted SW. |
|
54 * - Allow = 1 (Untrusted SW can be installed) |
|
55 * - Not Allow = 0 (Untrusted SW cannot be installed) |
|
56 * Note: The key does not override swipolicy.ini AllowUnsigned key. |
|
57 */ |
|
58 const TUint32 KSWInstallerAllowUntrusted = 0x00000003; |
|
59 |
|
60 /** |
|
61 * Software Installer Local Variation Keys |
|
62 * |
|
63 */ |
|
64 const TUid KCRUidSWInstallerLV = {0x101FD64E}; |
|
65 |
|
66 /** |
|
67 * KSWInstallerPackageFolder |
|
68 * Defines the folder used by the Application Manager UI to search |
|
69 * the installation packages, which can be installed on the device. |
|
70 * The key is a string value must specify the path. The Application Manager UI |
|
71 * searches through all avalible device drives if the key does not specify |
|
72 * the drive: |
|
73 * C:\\S60\\Installs - looks for the packages on C: drive only; |
|
74 * \\S60\\Installs - looks for the packages on all avalible drives) |
|
75 */ |
|
76 const TUint32 KSWInstallerPackageFolder = 0x00000001; |
|
77 |
|
78 /** |
|
79 * This key is used to hide the 'allow installation of untrusted SW' setting |
|
80 * from the UI. If this key has value 1 then the UI setting is not visible. |
|
81 * Even if the setting is hidden from the UI, it affects on the behavior of |
|
82 * Installer UI as defined in KSWInstallerAllowUntrusted. |
|
83 * 0 : UI setting is visible. |
|
84 * 1 : UI setting is NOT visible. |
|
85 * |
|
86 */ |
|
87 const TUint32 KSWInstallerHideUntrustedIns = 0x00000004; |
|
88 |
|
89 #endif |