javamanager/javacaptain/extensionplugins/javacertstore/tsrc.s60/src/101F5B72.rss
branchRCL_3
changeset 19 04becd199f91
child 47 f40128debb5d
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 *
       
    16 */
       
    17 #include <RegistryInfoV2.rh>
       
    18 #include <ct/InterfaceUID.hrh>
       
    19 
       
    20 // True
       
    21 #define CT_TRUE 1,0,0,0
       
    22 // False
       
    23 #define CT_FALSE 0,0,0,0
       
    24 
       
    25 // A number between 0 and 255
       
    26 #define CT_NUM8(x) x,0,0,0
       
    27 
       
    28 // Attribute UIDs.
       
    29 #define CT_SOFTWARE 0x7b, 0x52, 0x1f, 0x10
       
    30 #define CT_REMOVABLE 0x7c, 0x52, 0x1f, 0x10
       
    31 #define CT_ACCESS_CONTROLLED 0x7d, 0x52, 0x1f, 0x10
       
    32 #define CT_MAX_TOKEN_COUNT 0x7e, 0x52, 0x1f, 0x10
       
    33 #define CT_MIN_TOKEN_COUNT 0x7f, 0x52, 0x1f, 0x10
       
    34 
       
    35 // Interface UIDs
       
    36 #define CT_CERT_STORE 0x1B, 0x50, 0x1F, 0x10
       
    37 #define CT_WRITEABLE_CERT_STORE 0xFB, 0x20, 0x20, 0x10
       
    38 
       
    39 RESOURCE REGISTRY_INFO theInfo
       
    40 	{
       
    41 	resource_format_version = RESOURCE_FORMAT_VERSION_2;
       
    42 	dll_uid = 0x101F5B72;
       
    43 	interfaces = 
       
    44 		{
       
    45 		INTERFACE_INFO
       
    46 			{
       
    47 			interface_uid = CT_INTERFACE_UID;
       
    48 			implementations = 
       
    49 				{
       
    50 				BINARY_IMPLEMENTATION_INFO
       
    51 					{
       
    52 					implementation_uid = 0x101F5B72;
       
    53 					version_no = 1;
       
    54 					display_name = "Test Smart Card Token for Java";
       
    55 					default_data = { CT_CERT_STORE, CT_WRITEABLE_CERT_STORE };
       
    56 					opaque_data = { CT_SOFTWARE, CT_FALSE,
       
    57 									CT_REMOVABLE, CT_TRUE,
       
    58 									CT_ACCESS_CONTROLLED, CT_FALSE,
       
    59 									CT_MAX_TOKEN_COUNT, CT_NUM8(1),
       
    60 									CT_MIN_TOKEN_COUNT, CT_NUM8(1) };
       
    61 					rom_only = 0;	// This plugin can be loaded also from C:
       
    62 					}
       
    63 				};
       
    64 			}
       
    65 		};
       
    66 	}