wim/WimPlugin/inc/WimImplementationUID.hrh
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2002 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:  This file contains UID constants for Wim implementations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef WIMIMPLEMENTATIONUID_HRH
       
    20 #define WIMIMPLEMENTATIONUID_HRH
       
    21 
       
    22 #define WIM_IMPLEMENTATION_UID  0x101F79D9		// Wim card
       
    23 #define WIM_PIN_G_UID			0x101F79DA		// PIN-G
       
    24 #define WIM_PIN_NR_UID			0x101F79DB		// PIN-NR
       
    25 
       
    26 // Some defines of useful values for attributes to simplify
       
    27 // writing resource files
       
    28 
       
    29 // True
       
    30 #define CT_TRUE 1,0,0,0
       
    31 // False
       
    32 #define CT_FALSE 0,0,0,0
       
    33 // A number between 0 and 255
       
    34 #define CT_NUM8(x) x,0,0,0
       
    35 
       
    36 // Attribute UIDs.
       
    37 #define CT_SOFTWARE 0x7b, 0x52, 0x1f, 0x10
       
    38 #define CT_REMOVABLE 0x7c, 0x52, 0x1f, 0x10
       
    39 #define CT_ACCESS_CONTROLLED 0x7d, 0x52, 0x1f, 0x10
       
    40 #define CT_MAX_TOKEN_COUNT 0x7e, 0x52, 0x1f, 0x10
       
    41 #define CT_MIN_TOKEN_COUNT 0x7f, 0x52, 0x1f, 0x10
       
    42 
       
    43 // Interface UIDs
       
    44 #define CT_CERT_STORE 0x1B, 0x50, 0x1F, 0x10
       
    45 #define CT_WRITEABLE_CERT_STORE 0xFB, 0x20, 0x20, 0x10
       
    46 //#define CT_KEY_STORE 0x1d, 0x50, 0x1f, 0x10 depricated
       
    47 #define CT_KEY_STORE 0x34, 0x73, 0x1f, 0x10
       
    48 #define CT_AUTHENTICATION_OBJECT 0xAE, 0x51, 0x1F, 0x10
       
    49 
       
    50 #endif // WIMIMPLEMENTATIONUID_HRH
       
    51 
       
    52 // End of File