dbcreator/commsdatcreator/Inc/cdcprocessorwlan.h
changeset 27 489cf6208544
parent 0 5a93021fdf25
child 32 5c4486441ae6
equal deleted inserted replaced
23:7ec726f93df1 27:489cf6208544
   262          * Sets the values of the expanded Eap lists to the database 
   262          * Sets the values of the expanded Eap lists to the database 
   263          * @param aGeneric for accessing the database records 
   263          * @param aGeneric for accessing the database records 
   264          */
   264          */
   265         void SetExpandedEapListL( CMDBGenericRecord* aGeneric );
   265         void SetExpandedEapListL( CMDBGenericRecord* aGeneric );
   266         
   266         
   267         /*
       
   268          * Creates expanded Eap list from the common Eap list
       
   269          * @param aEapList the common Eap list from which the expanded list
       
   270          *              will be created 
       
   271          * @param aEnabledNeed indicates the type of the result expanded  
       
   272          *           Eap list. If it is ETrue then the enabled expanded
       
   273          *           Eap list will be created. Else the disbled one.
       
   274          * @return The created expanded Eap list. It can be empty. 
       
   275          */
       
   276         HBufC8* ExpandedEapListLC( HBufC16* aEapList, TBool aEnabledNeed );
       
   277   
       
   278         /*
       
   279          * Adds one item to the expanded Eap list
       
   280          * @param aExpandedEapList to which the new item will be added.
       
   281          * @param aSlice the common Eap list slice containing one 
       
   282          *              3 digit long number with sign.
       
   283          */
       
   284         void AddToList( HBufC8* aExpandedEapList, TPtrC16 aSlice );
       
   285 
       
   286     private:
   267     private:
   287     
   268     
   288         void AddSecurityDataL( TInt aField, HBufC* aPtrTag, TBool aIsWep );
   269         void AddSecurityDataL( TInt aField, HBufC* aPtrTag, TBool aIsWep );
   289 
   270 
   290 		void AddEAPSettingL( const TInt aField, const HBufC16* const aValue );
   271 		void AddEAPSettingL( const TInt aField, const HBufC16* const aValue );
   296 		EAPSettings::TEapType GetEapTypeIdFromSettingId( const TInt aField );
   277 		EAPSettings::TEapType GetEapTypeIdFromSettingId( const TInt aField );
   297 		
   278 		
   298 		TUint FindCertificateEntryL( const CertificateEntry::TCertType aCertType, const TInt aEapIndex );
   279 		TUint FindCertificateEntryL( const CertificateEntry::TCertType aCertType, const TInt aEapIndex );
   299 		
   280 		
   300 		void ConvertSubjectKeyIdToBinaryL( const HBufC16* const aSubjectKeyIdString, TDes& aBinaryKey);
   281 		void ConvertSubjectKeyIdToBinaryL( const HBufC16* const aSubjectKeyIdString, TDes& aBinaryKey);
   301         /*
       
   302         // @var Stores indexes of WEP fields
       
   303         TInt iWEPIndex[KWEPKeyNumOfFields];
       
   304         
       
   305         // @var Stores indexes of WPA fields
       
   306         TInt iWPAIndex[KWPAKeyNumOfFields];
       
   307         */
       
   308         
   282         
   309         // @var Indicates the WLAN security mode
   283         // @var Indicates the WLAN security mode
   310         TDbCreatorSecurityMode iSecurityMode;
   284         TDbCreatorSecurityMode iSecurityMode;
   311         // @var Indicates the WLAN security mode name
   285         // @var Indicates the WLAN security mode name
   312         HBufC* iSecurityModeString;
   286         HBufC* iSecurityModeString;
   320 		// @var access point is Easy WLAN if true
   294 		// @var access point is Easy WLAN if true
   321         TBool iIsEasyWlan;
   295         TBool iIsEasyWlan;
   322        
   296        
   323         // @var HBufC for empty WEP and WPA tags
   297         // @var HBufC for empty WEP and WPA tags
   324         HBufC* iEmptyTag;
   298         HBufC* iEmptyTag;
   325 
       
   326         // @var Stores indexes of WEP fields
       
   327         ////RPointerArray< HBufC > iWepData;
       
   328         
   299         
   329         HBufC* iWepData[KWEPKeyNumOfFields];
   300         HBufC* iWepData[KWEPKeyNumOfFields];
   330         
   301         
   331         // @var Stores indexes of WPA fields
       
   332         ////RPointerArray< HBufC > iWpaData;
       
   333         
       
   334         HBufC* iWpaData[KWPAKeyNumOfFields];
   302         HBufC* iWpaData[KWPAKeyNumOfFields];
   335 
   303 
   336         TInt iDataStart;
   304         TInt iDataStart;
   337 
   305 
   338         RArray< RPointerArray< HBufC > >* iTest;
   306         RArray< RPointerArray< HBufC > >* iTest;