accesssec_plat/eaptlspeap_db_api/inc/EapTlsPeapUiCipherSuites.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2001-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 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:  EAP and WLAN authentication protocols.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _EAPTLSPEAPUICIPHERSUITES_H_
       
    20 #define _EAPTLSPEAPUICIPHERSUITES_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class CEapTlsPeapUiConnection;
       
    25 class TEapTlsPeapUiCipherSuite;
       
    26 
       
    27 
       
    28 class CEapTlsPeapUiCipherSuites : public CBase
       
    29 {
       
    30 
       
    31 public:
       
    32 
       
    33     CEapTlsPeapUiCipherSuites(CEapTlsPeapUiConnection * const aUiConn);
       
    34 
       
    35     ~CEapTlsPeapUiCipherSuites();
       
    36 
       
    37     TInt Open();
       
    38 
       
    39     TInt GetCipherSuites(CArrayFixFlat<TEapTlsPeapUiCipherSuite> ** aDataPtr);
       
    40    	
       
    41     TInt Update();
       
    42 
       
    43     TInt Close();
       
    44 
       
    45 private:
       
    46 
       
    47     TBool iIsOpened;
       
    48 
       
    49     CEapTlsPeapUiConnection * iUiConn;
       
    50 
       
    51     RDbNamedDatabase iDatabase;    
       
    52 
       
    53 	CArrayFixFlat<TEapTlsPeapUiCipherSuite>* iDataPtr;
       
    54 
       
    55 private:
       
    56 
       
    57     void FetchDataL();
       
    58     
       
    59     void UpdateL();
       
    60 };
       
    61 
       
    62 #endif //_EAPTLSPEAPUICIPHERSUITES_H_
       
    63 
       
    64 // End of file