webservices/wsoviplugin/inc/wsovisecurityhandler.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2008 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: Header declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef WSOVI_SECURITY_HANDLER_H
       
    26 #define WSOVI_SECURITY_HANDLER_H
       
    27 
       
    28 #include <e32std.h>
       
    29 
       
    30 #include "senmessagehandler.h"
       
    31 #include "senserviceinvocationframework.h"
       
    32 
       
    33 
       
    34 /**
       
    35  * Class:       
       
    36  *
       
    37  * Description: An implementation of the CWSOviHandler definition. This is concrete
       
    38  * class, instance of which ECOM framework gives to ECOM clients.
       
    39  * This handler sign NAuth message.
       
    40  */
       
    41  
       
    42 class CWSOviSecurityHandler : public CSenMessageHandler
       
    43     {
       
    44 
       
    45 typedef RArray<TXmlEngElement> RArrayElements;
       
    46 
       
    47 public:
       
    48     static CWSOviSecurityHandler* NewL(MSenHandlerContext* aHandlerCtx);
       
    49     virtual TInt InvokeL(MSenMessageContext& aCtx);
       
    50     virtual TInt InitL(MSenHandlerContext& aCtx);    
       
    51     ~CWSOviSecurityHandler();
       
    52     
       
    53     virtual SenHandler::THandlerDirection Direction() const;
       
    54     virtual SenHandler::THandlerPhase Phase();
       
    55 private:
       
    56     /**
       
    57      * Function:   CWSOviSecurityHandler
       
    58      *
       
    59      * Discussion: Perform the first phase of two phase construction
       
    60      */
       
    61     CWSOviSecurityHandler(MSenHandlerContext& aCtx);
       
    62     TTime iDiff;
       
    63     };
       
    64 
       
    65 
       
    66 #endif // WSOVI_SECURITY_HANDLER_H
       
    67