williamr@2
|
1 |
/*
|
williamr@2
|
2 |
* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
3 |
* All rights reserved.
|
williamr@2
|
4 |
* This component and the accompanying materials are made available
|
williamr@2
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
williamr@2
|
6 |
* which accompanies this distribution, and is available
|
williamr@2
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
williamr@2
|
8 |
*
|
williamr@2
|
9 |
* Initial Contributors:
|
williamr@2
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@2
|
11 |
*
|
williamr@2
|
12 |
* Contributors:
|
williamr@2
|
13 |
*
|
williamr@2
|
14 |
* Description:
|
williamr@2
|
15 |
*
|
williamr@2
|
16 |
*/
|
williamr@2
|
17 |
|
williamr@2
|
18 |
|
williamr@2
|
19 |
#include "registryinfo.rh"
|
williamr@2
|
20 |
#include "ct/interfaceuid.hrh"
|
williamr@2
|
21 |
|
williamr@2
|
22 |
// Some defines of useful values for attributes to simplify
|
williamr@2
|
23 |
// writing resource files
|
williamr@2
|
24 |
|
williamr@2
|
25 |
// True
|
williamr@2
|
26 |
#define CT_TRUE 1,0,0,0
|
williamr@2
|
27 |
// False
|
williamr@2
|
28 |
#define CT_FALSE 0,0,0,0
|
williamr@2
|
29 |
// A number between 0 and 255
|
williamr@2
|
30 |
#define CT_NUM8(x) x,0,0,0
|
williamr@2
|
31 |
#define CT_SW_THIRDPARTY CT_NUM8(1)
|
williamr@2
|
32 |
#define CT_HW_SIM CT_NUM8(2)
|
williamr@2
|
33 |
#define CT_HW_WIM CT_NUM8(3)
|
williamr@2
|
34 |
#define CT_HW_UICC CT_NUM8(4)
|
williamr@2
|
35 |
#define CT_SW_MANUFACTURE CT_NUM8(5)
|
williamr@2
|
36 |
|
williamr@2
|
37 |
// Attribute UIDs.
|
williamr@2
|
38 |
#define CT_SOFTWARE 0x7b, 0x52, 0x1f, 0x10
|
williamr@2
|
39 |
#define CT_REMOVABLE 0x7c, 0x52, 0x1f, 0x10
|
williamr@2
|
40 |
#define CT_ACCESS_CONTROLLED 0x7d, 0x52, 0x1f, 0x10
|
williamr@2
|
41 |
#define CT_MAX_TOKEN_COUNT 0x7e, 0x52, 0x1f, 0x10
|
williamr@2
|
42 |
#define CT_MIN_TOKEN_COUNT 0x7f, 0x52, 0x1f, 0x10
|
williamr@2
|
43 |
|
williamr@2
|
44 |
// Interface UIDs
|
williamr@2
|
45 |
#define CT_CERT_STORE 0x1B, 0x50, 0x1F, 0x10
|
williamr@2
|
46 |
#define CT_WRITEABLE_CERT_STORE 0x1C, 0x50, 0x1f, 0x10
|
williamr@2
|
47 |
#define CT_KEY_STORE 0x1d, 0x50, 0x1f, 0x10
|
williamr@2
|
48 |
#define CT_AUTHENTICATION_OBJECT 0xAE, 0x51, 0x1F, 0x10
|