CWPASecuritySettings Class Reference

class CWPASecuritySettings : public CBase

Inherits from

Constructor & Destructor Documentation

~CWPASecuritySettings()

IMPORT_C ~CWPASecuritySettings ( )

Destructor.

Member Functions Documentation

DeleteL(TUint32)

IMPORT_C void DeleteL ( TUint32 aIapId ) const

Delete from database. It actually just removes EAP Configuration.

Parameters

TUint32 aIapId Id of the IAP to be saved

EditL(CWPASecuritySettingsUi &, const TDesC &)

IMPORT_C TInt EditL ( CWPASecuritySettingsUi & aUi,
const TDesC & aTitle
)

Edit the settings.

Parameters

CWPASecuritySettingsUi & aUi UI to be used.
const TDesC & aTitle Title Pane text to display during edit.

IsValid()

IMPORT_C TBool IsValid ( ) const

Tells if the settings are valid and can be saved

LoadL(TUint32, CCommsDatabase &)

IMPORT_C void LoadL ( TUint32 aIapId,
CCommsDatabase & aCommsDb
)

Load from database.

Parameters

TUint32 aIapId
CCommsDatabase & aCommsDb Comms database.

LoadL(TUint32, CMDBSession &)

IMPORT_C void LoadL ( TUint32 aIapId,
CMDBSession & aSession
)

Load from database.

Parameters

TUint32 aIapId Wlan Service Table Id of the IAP to be loaded
CMDBSession & aSession CommsDat session.

NewL(TSecurityMode)

IMPORT_C CWPASecuritySettings * NewL ( TSecurityMode aSecurityMode ) [static]

Two-phased constructor. Leaves on failure.

Parameters

TSecurityMode aSecurityMode The chosen security mode. It can be ESecurityMode8021x or ESecurityModeWpa

SaveL(TUint32, CCommsDatabase &, TTypeOfSaving, TUint32)

IMPORT_C void SaveL ( TUint32 aIapId,
CCommsDatabase & aCommsDb,
TTypeOfSaving aTypeOfSaving,
TUint32 aOldIapId
) const

Save to database.

Parameters

TUint32 aIapId Wlan Service Table Id of the IAP to be saved
CCommsDatabase & aCommsDb Comms database.
TTypeOfSaving aTypeOfSaving Tells what kind of AP we are going to save: it can be ESavingEditedAP, ESavingBrandNewAP, or ESavingNewAPAsACopy
TUint32 aOldIapId The old Id of the IAP; it is used to save the EAP configuration, only when aIsNewAP is ETrue

SaveL(TUint32, CMDBSession &, TTypeOfSaving, TUint32)

IMPORT_C void SaveL ( TUint32 aIapId,
CMDBSession & aSession,
TTypeOfSaving aTypeOfSaving,
TUint32 aOldIapId
) const

Save to database.

Parameters

TUint32 aIapId Wlan Service Table Id of the IAP to be saved
CMDBSession & aSession CommsDat session.
TTypeOfSaving aTypeOfSaving Tells what kind of AP we are going to save: it can be ESavingEditedAP, ESavingBrandNewAP, or ESavingNewAPAsACopy
TUint32 aOldIapId The old Id of the IAP; it is used to save the EAP configuration, only when aIsNewAP is ETrue

SetWPADisabledEAPPlugin(const TDesC8 &)

IMPORT_C TInt SetWPADisabledEAPPlugin ( const TDesC8 & aDisabledPluginList )

Sets the list of disabled EAP types

Parameters

const TDesC8 & aDisabledPluginList Enumeration of disabled plugins in expanded EAP type format

SetWPAEnabledEAPPlugin(const TDesC8 &)

IMPORT_C TInt SetWPAEnabledEAPPlugin ( const TDesC8 & aEnabledPluginList )

Sets the list of enabled EAP types.

Parameters

const TDesC8 & aEnabledPluginList Enumeration of enabled plugins in expanded EAP type format

SetWPAPreSharedKey(const TDesC &)

IMPORT_C TInt SetWPAPreSharedKey ( const TDesC & aPreSharedKey )

Sets the Pre-shared key

Parameters

const TDesC & aPreSharedKey The key to be set

Member Enumerations Documentation

Enum TEvent

Enumerators

ENone = 0x0000
EModified = 0x0001
EValid = 0x0010
EExitReq = 0x0020
EShutDownReq = 0x0040

Member Data Documentation

CWPASecuritySettingsImpl * iImpl

CWPASecuritySettingsImpl * iImpl [private]