pkiutilities/DeviceToken/Inc/DevandTruSrvCertStoreSession.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2006 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:   The header file of DevandTruSrvCertStoreSession
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DEVANDTRUSRVCERSTORESESSION_H__
       
    21 #define __DEVANDTRUSRVCERSTORESESSION_H__
       
    22 
       
    23 #include "DevTokenServer.h"
       
    24 
       
    25 class RMessage2;
       
    26 class CDevandTruSrvCertStoreConduit;
       
    27 
       
    28 /**
       
    29  * A cert store session
       
    30  *
       
    31  * Handles client requests by passing them to the cert store conduit.
       
    32  *
       
    33  *  @lib 
       
    34  *  @since S60 v3.2
       
    35  */
       
    36 class CDevandTruSrvCertStoreSession : public CDevTokenServerSession
       
    37     {
       
    38     public:
       
    39         
       
    40         /**
       
    41          * Create a new session object.
       
    42          *
       
    43          * @param aConduit The cert store conduit used to service user requests
       
    44          * @return 
       
    45          */
       
    46         static CDevandTruSrvCertStoreSession* NewL(CDevandTruSrvCertStoreConduit& aConduit);
       
    47 
       
    48     private:
       
    49         
       
    50         CDevandTruSrvCertStoreSession(CDevandTruSrvCertStoreConduit& aConduit);
       
    51         
       
    52         virtual void DoServiceL(const RMessage2& aMessage);
       
    53         
       
    54     private:
       
    55         
       
    56         CDevandTruSrvCertStoreConduit& iConduit;
       
    57     };
       
    58 
       
    59 #endif //__DEVANDTRUSRVCERSTORESESSION_H__
       
    60 
       
    61 //EOF
       
    62