cryptoservices/filebasedcertificateandkeystores/source/keystore/Server/keystorecenrepconfig.h
changeset 8 35751d3474b7
child 62 b23410e29e22
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     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 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 * Contains the default values to be used by file tokens for 
       
    16 * authenticating a user.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 /**
       
    22  @file 
       
    23  @prototype
       
    24  @internalComponent 
       
    25 */
       
    26 
       
    27 
       
    28 #ifndef KEYSTORECENREPCONFIG_H
       
    29 #define KEYSTORECENREPCONFIG_H
       
    30 
       
    31 #include <e32def.h>
       
    32 #include <e32cmn.h>
       
    33 
       
    34 class CRepository;
       
    35 
       
    36 /** The UID of the file tokens repository. */
       
    37 const TUid KUidFileTokensRepository = {0x200218e6};  
       
    38 	
       
    39 NONSHARABLE_CLASS (CKeyStoreCenrep) : public CBase
       
    40 	{
       
    41 public:
       
    42 	static CKeyStoreCenrep* NewL();
       
    43 	virtual ~CKeyStoreCenrep();
       
    44 	
       
    45 private:
       
    46 	CKeyStoreCenrep();
       
    47 	void ConstructL();
       
    48 	
       
    49 public:
       
    50 	void AuthExpressionL(TDes& aExpression);
       
    51 	TInt FreshnessL();
       
    52 	
       
    53 private:
       
    54 	CRepository* iFileServerAuthRepository;
       
    55 	
       
    56 private:
       
    57 	/**
       
    58 		Filetokens server repository configuration parameter Enums.
       
    59 	*/
       
    60 	enum TAuthKeys
       
    61 		{
       
    62 		EAuthExpression			= 0x00000000,	
       
    63 		EAuthFreshness			= 0x00000001,   
       
    64 		};
       
    65 	
       
    66 	
       
    67 
       
    68 	};
       
    69 
       
    70 #endif // KEYSTORECENREPCONFIG_H