|
1 /* |
|
2 * Copyright (c) 2005 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: Contains information about midp2certstore |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDES |
|
20 |
|
21 #include <registryinfov2.rh> |
|
22 #include <ct/interfaceuid.hrh> |
|
23 |
|
24 // Some defines of useful values for attributes to simplify |
|
25 // writing resource files |
|
26 |
|
27 // True |
|
28 #define CT_TRUE 1,0,0,0 |
|
29 // False |
|
30 #define CT_FALSE 0,0,0,0 |
|
31 |
|
32 // A number between 0 and 255 |
|
33 #define CT_NUM8(x) x,0,0,0 |
|
34 |
|
35 // Attribute UIDs. |
|
36 #define CT_SOFTWARE 0x7b, 0x52, 0x1f, 0x10 |
|
37 #define CT_REMOVABLE 0x7c, 0x52, 0x1f, 0x10 |
|
38 #define CT_ACCESS_CONTROLLED 0x7d, 0x52, 0x1f, 0x10 |
|
39 #define CT_MAX_TOKEN_COUNT 0x7e, 0x52, 0x1f, 0x10 |
|
40 #define CT_MIN_TOKEN_COUNT 0x7f, 0x52, 0x1f, 0x10 |
|
41 |
|
42 // Interface UIDs |
|
43 #define CT_CERT_STORE 0x1B, 0x50, 0x1F, 0x10 |
|
44 #define CT_WRITEABLE_CERT_STORE 0xFB, 0x20, 0x20, 0x10 |
|
45 |
|
46 RESOURCE REGISTRY_INFO theInfo |
|
47 { |
|
48 resource_format_version = RESOURCE_FORMAT_VERSION_2; |
|
49 dll_uid = 0x200213A3; |
|
50 interfaces = |
|
51 { |
|
52 INTERFACE_INFO |
|
53 { |
|
54 interface_uid = CT_INTERFACE_UID; |
|
55 implementations = |
|
56 { |
|
57 BINARY_IMPLEMENTATION_INFO |
|
58 { |
|
59 implementation_uid = 0x200213A3; |
|
60 version_no = 1; |
|
61 display_name = "Java Certificate store"; |
|
62 default_data = { CT_CERT_STORE, CT_WRITEABLE_CERT_STORE }; |
|
63 opaque_data = { CT_SOFTWARE, CT_TRUE, |
|
64 CT_REMOVABLE, CT_FALSE, |
|
65 CT_ACCESS_CONTROLLED, CT_FALSE, |
|
66 CT_MAX_TOKEN_COUNT, CT_NUM8(1), |
|
67 CT_MIN_TOKEN_COUNT, CT_NUM8(1) }; |
|
68 rom_only = 0; // This plugin can be loaded also from C: |
|
69 } |
|
70 }; |
|
71 } |
|
72 }; |
|
73 } |