os/security/cryptoservices/filebasedcertificateandkeystores/source/generic/common/fstokencliserv.cpp
Update contrib.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #include "fstokencliserv.h"
20 #include "tokentypesenum.h"
21 #include <mctkeystore.h>
22 #include <mctcertstore.h>
23 #include <mctcertapps.h>
25 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
26 /** The UID of certificate application token type */
27 const TInt KTokenTypeCertApps = 0x101f7a37;
30 RSupportedTokensArray::RSupportedTokensArray()
32 _LIT(KFileKeyStoreName, "Software key store");
33 _LIT(KFileCertStoreName, "Software certificate store");
34 _LIT(KFileCertAppsName, "Software certificate applications store");
36 const TDesC* array[] = {&KFileKeyStoreName, &KFileCertStoreName, &KFileCertAppsName};
37 Copy(array, ETotalTokensSupported);
40 const TInt KTokenTypeUidValues[] = {KTokenTypeFileKeystore, KTokenTypeFileCertstore, KTokenTypeCertApps};
42 RTokenTypeUIDLookup::RTokenTypeUIDLookup() :
43 TFixedArray<TInt, ETotalTokensSupported>(KTokenTypeUidValues, ETotalTokensSupported)