sl@0: /* sl@0: * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: /** sl@0: @file sl@0: @publishedAll sl@0: @released sl@0: */ sl@0: sl@0: #include sl@0: #include "ct/interfaceuid.hrh" sl@0: sl@0: // Some defines of useful values for attributes to simplify sl@0: // writing resource files sl@0: sl@0: // True sl@0: #define CT_TRUE 1,0,0,0 sl@0: // False sl@0: #define CT_FALSE 0,0,0,0 sl@0: // A number between 0 and 255 sl@0: #define CT_NUM8(x) x,0,0,0 sl@0: #define CT_SW_THIRDPARTY CT_NUM8(1) sl@0: #define CT_HW_SIM CT_NUM8(2) sl@0: #define CT_HW_WIM CT_NUM8(3) sl@0: #define CT_HW_UICC CT_NUM8(4) sl@0: #define CT_SW_MANUFACTURE CT_NUM8(5) sl@0: sl@0: // Attribute UIDs. sl@0: #define CT_SOFTWARE 0x7b, 0x52, 0x1f, 0x10 sl@0: #define CT_REMOVABLE 0x7c, 0x52, 0x1f, 0x10 sl@0: #define CT_ACCESS_CONTROLLED 0x7d, 0x52, 0x1f, 0x10 sl@0: #define CT_MAX_TOKEN_COUNT 0x7e, 0x52, 0x1f, 0x10 sl@0: #define CT_MIN_TOKEN_COUNT 0x7f, 0x52, 0x1f, 0x10 sl@0: sl@0: // Interface UIDs sl@0: #define CT_CERT_STORE 0x1B, 0x50, 0x1F, 0x10 sl@0: #define CT_WRITEABLE_CERT_STORE 0x1C, 0x50, 0x1f, 0x10 sl@0: #define CT_KEY_STORE 0x1d, 0x50, 0x1f, 0x10 sl@0: #define CT_AUTHENTICATION_OBJECT 0xAE, 0x51, 0x1F, 0x10