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