26 |
26 |
27 #include <e32base.h> |
27 #include <e32base.h> |
28 #include <cmmanagerext.h> |
28 #include <cmmanagerext.h> |
29 #include <cmconnectionmethodext.h> |
29 #include <cmconnectionmethodext.h> |
30 #include <metadatabase.h> |
30 #include <metadatabase.h> |
31 #include <EapSettings.h> |
31 #include <EapGeneralSettings.h> |
|
32 #include <EapExpandedType.h> |
32 |
33 |
33 #include "cdcprocessorbase.h" |
34 #include "cdcprocessorbase.h" |
34 |
35 |
35 using namespace CommsDat; |
36 using namespace CommsDat; |
36 |
37 |
218 * @param aIapId Access point id WEP security settings belongs to. |
219 * @param aIapId Access point id WEP security settings belongs to. |
219 */ |
220 */ |
220 void SaveWPAL( TUint32 aIapId ); |
221 void SaveWPAL( TUint32 aIapId ); |
221 |
222 |
222 /** |
223 /** |
|
224 * Gets the expanded EAP type |
|
225 * @param aFieldId is the id of the field |
|
226 * @return expanded EAP type |
|
227 */ |
|
228 TEapExpandedType GetExpandedEapTypeIdL( TDesC& aField ); |
|
229 |
|
230 /** |
223 * Gets the TagContainer index that belongst to the given WPA field |
231 * Gets the TagContainer index that belongst to the given WPA field |
224 * @param aFieldId is the id of the field |
232 * @param aFieldId is the id of the field |
225 * @return index in TagContainer |
233 * @return index in TagContainer |
226 */ |
234 */ |
227 TInt WPAIndex( TDbCreatorWPAFields aFieldId ); |
235 TInt WPAIndex( TDbCreatorWPAFields aFieldId ); |
258 */ |
266 */ |
259 virtual void Reset(); |
267 virtual void Reset(); |
260 |
268 |
261 /* |
269 /* |
262 * Sets the values of the expanded Eap lists to the database |
270 * Sets the values of the expanded Eap lists to the database |
263 * @param aGeneric for accessing the database records |
271 * @param aServiceId for accessing the EAP data |
264 */ |
272 */ |
265 void SetExpandedEapListL( CMDBGenericRecord* aGeneric ); |
273 void SetExpandedEapListL( const TUint aServiceId ); |
266 |
274 |
267 private: |
275 private: |
268 |
276 |
269 void AddSecurityDataL( TInt aField, HBufC* aPtrTag, TBool aIsWep ); |
277 void AddSecurityDataL( TInt aField, HBufC* aPtrTag, TBool aIsWep ); |
270 |
278 |
271 void AddEAPSettingL( const TInt aField, const HBufC16* const aValue ); |
279 void AddEAPSettingL( const TInt aField, HBufC16* aValue ); |
272 |
280 |
273 TBool EAPSetting( const TInt aField ); |
281 TBool EAPSetting( const TInt aField ); |
274 |
282 |
275 void FillCipherSuitesL( const HBufC16* const aPtrTag, const TInt aEapIndex ); |
283 void FillCipherSuitesL( const HBufC16* const aPtrTag, const TInt aEapIndex ); |
276 |
284 |
277 EAPSettings::TEapType GetEapTypeIdFromSettingId( const TInt aField ); |
285 TEapExpandedType GetEapTypeIdFromSettingId( const TInt aField ); |
278 |
286 |
279 TUint FindCertificateEntryL( const CertificateEntry::TCertType aCertType, const TInt aEapIndex ); |
287 TUint FindCertificateEntryL( const EapCertificateEntry::TCertType aCertType, const TInt aEapIndex ); |
280 |
288 |
281 void ConvertSubjectKeyIdToBinaryL( const HBufC16* const aSubjectKeyIdString, TDes& aBinaryKey); |
289 void ConvertSubjectKeyIdToBinaryL( const HBufC16* const aSubjectKeyIdString, TKeyIdentifier& aBinaryKey); |
282 |
290 |
283 // @var Indicates the WLAN security mode |
291 // @var Indicates the WLAN security mode |
284 TDbCreatorSecurityMode iSecurityMode; |
292 TDbCreatorSecurityMode iSecurityMode; |
285 // @var Indicates the WLAN security mode name |
293 // @var Indicates the WLAN security mode name |
286 HBufC* iSecurityModeString; |
294 HBufC* iSecurityModeString; |