realtimenetprots/sipfw/SIP/SIPSec/DigestPlugin/inc/CSIPSecSIMCredentialsObserver.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2006-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 "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 * Name          : CSIPSecSIMCredentialsObserver.h
       
    16 * Part of       : SIPSec/DigestPlugin
       
    17 * Version       : SIP/5.0
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef __SIPSEC_SIMCREDENTIALSOBSERVER_H__
       
    29 #define __SIPSEC_SIMCREDENTIALSOBSERVER_H__
       
    30 
       
    31 // INCLUDES
       
    32 #include "CSIPSecDigestObserver.h"
       
    33 
       
    34 /**
       
    35  * @brief Class represents SIP security observer listening cache update
       
    36  *        completion from SIM
       
    37  *
       
    38  * @class CSIPSecSIMCredentialsObserver CSIPSecSIMCredentialsObserver.h
       
    39  *		  "CSIPSecSIMCredentialsObserver.h"
       
    40  */
       
    41 class CSIPSecSIMCredentialsObserver : public CSIPSecDigestObserver
       
    42 	{
       
    43 public: // Constructors and destructor
       
    44 
       
    45     /**
       
    46     * Constructor
       
    47     * @param aObserver SIPSec Observer
       
    48     */
       
    49     CSIPSecSIMCredentialsObserver(
       
    50     	MSIPSecSecurityMechanismObserver& aObserver );
       
    51 
       
    52     /**
       
    53     * Destructor
       
    54     */
       
    55     ~CSIPSecSIMCredentialsObserver();
       
    56 
       
    57 public: // From CSIPSecUserCredentialsRequest
       
    58 
       
    59 	void OperationCompleted( TStatus aReason, TBool aAuthenticateSuccessful );
       
    60 
       
    61 protected: // From CSIPSecUserCredentialsRequest
       
    62 
       
    63     void DoCompleted();
       
    64 
       
    65 private: // Data
       
    66 
       
    67 	// Indicates whether authentication has succeeded	
       
    68 	TBool iAuthenticated;
       
    69 	};
       
    70 	
       
    71 #endif // __SIPSEC_SIMCREDENTIALSREQUEST_H__
       
    72 
       
    73 // End of File