epoc32/include/cryptotokenregistryinfo.rh
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/cryptotokenregistryinfo.rh	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/cryptotokenregistryinfo.rh	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,48 @@
     1.4 -cryptotokenregistryinfo.rh
     1.5 +/*
     1.6 +* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Eclipse Public License v1.0"
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description: 
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +#include "registryinfo.rh"
    1.24 +#include "ct/interfaceuid.hrh"
    1.25 +
    1.26 +// Some defines of useful values for attributes to simplify
    1.27 +// writing resource files
    1.28 +
    1.29 +// True
    1.30 +#define CT_TRUE 1,0,0,0
    1.31 +// False
    1.32 +#define CT_FALSE 0,0,0,0
    1.33 +// A number between 0 and 255
    1.34 +#define CT_NUM8(x) x,0,0,0
    1.35 +#define CT_SW_THIRDPARTY CT_NUM8(1)
    1.36 +#define CT_HW_SIM  CT_NUM8(2)
    1.37 +#define CT_HW_WIM  CT_NUM8(3)
    1.38 +#define CT_HW_UICC CT_NUM8(4)
    1.39 +#define CT_SW_MANUFACTURE CT_NUM8(5)
    1.40 +
    1.41 +// Attribute UIDs.
    1.42 +#define CT_SOFTWARE 0x7b, 0x52, 0x1f, 0x10
    1.43 +#define CT_REMOVABLE 0x7c, 0x52, 0x1f, 0x10
    1.44 +#define CT_ACCESS_CONTROLLED 0x7d, 0x52, 0x1f, 0x10
    1.45 +#define CT_MAX_TOKEN_COUNT 0x7e, 0x52, 0x1f, 0x10
    1.46 +#define CT_MIN_TOKEN_COUNT 0x7f, 0x52, 0x1f, 0x10
    1.47 +
    1.48 +// Interface UIDs
    1.49 +#define CT_CERT_STORE 0x1B, 0x50, 0x1F, 0x10
    1.50 +#define CT_WRITEABLE_CERT_STORE 0x1C, 0x50, 0x1f, 0x10
    1.51 +#define CT_KEY_STORE 0x1d, 0x50, 0x1f, 0x10
    1.52 +#define CT_AUTHENTICATION_OBJECT 0xAE, 0x51, 0x1F, 0x10