cryptoservices/filebasedcertificateandkeystores/source/generic/common/fstokencliserv.cpp
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 2004-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 the License "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 
       
    18 
       
    19 #include <fstokencliserv.h>
       
    20 #include <tokentypesenum.h>
       
    21 #include <mctkeystore.h>
       
    22 #include <mctcertstore.h>
       
    23 #include <mctcertapps.h>
       
    24 
       
    25 RSupportedTokensArray::RSupportedTokensArray()
       
    26 	{
       
    27 	_LIT(KFileKeyStoreName, "Software key store");
       
    28 	_LIT(KFileCertStoreName, "Software certificate store");
       
    29 	_LIT(KFileCertAppsName, "Software certificate applications store");
       
    30 	
       
    31 	const TDesC* array[] = {&KFileKeyStoreName, &KFileCertStoreName, &KFileCertAppsName};	
       
    32 	Copy(array, ETotalTokensSupported);
       
    33 	}
       
    34 
       
    35 const TInt KTokenTypeUidValues[] = {KTokenTypeFileKeystore, KTokenTypeFileCertstore, KTokenTypeCertApps};
       
    36 
       
    37 RTokenTypeUIDLookup::RTokenTypeUIDLookup() :
       
    38 	TFixedArray<TInt, ETotalTokensSupported>(KTokenTypeUidValues, ETotalTokensSupported)
       
    39 	{
       
    40 	}