CWEPSecuritySettings Class Reference

class CWEPSecuritySettings : public CBase

Inherits from

Constructor & Destructor Documentation

~CWEPSecuritySettings()

IMPORT_C ~CWEPSecuritySettings ( )

Destructor.

Member Functions Documentation

EditL(CWEPSecuritySettingsUi &, const TDesC &)

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

Edit the settings.

Parameters

CWEPSecuritySettingsUi & 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 Wlan Service Table Id of the IAP to be loaded
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 Session to CommsDat.

NewL()

IMPORT_C CWEPSecuritySettings * NewL ( ) [static]

Two-phased constructor. Leaves on failure.

SaveL(TUint32, CCommsDatabase &)

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

Save to database.

Parameters

TUint32 aIapId Wlan Service Table Id of the IAP to be saved
CCommsDatabase & aCommsDb Comms database.

SaveL(TUint32, CMDBSession &)

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

Save to database.

Parameters

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

SetAuthentication(TWEPAuthentication)

IMPORT_C void SetAuthentication ( TWEPAuthentication aAuthentication )

Sets the authentication type.

Parameters

TWEPAuthentication aAuthentication The authentication type.

SetKeyDataL(const TInt, const TDesC &, const TBool)

IMPORT_C TInt SetKeyDataL ( const TInt aElement,
const TDesC & aKeyData,
const TBool aHex
)

Sets the new data of the key

Parameters

const TInt aElement Index of the element whose data has to be set.
const TDesC & aKeyData The new value for data of the key.
const TBool aHex ETrue if data is in Ascii format

SetKeyInUse(TWEPKeyInUse)

IMPORT_C void SetKeyInUse ( TWEPKeyInUse aKey )

Sets the index of the key to use.

Parameters

TWEPKeyInUse aKey The key to be used for authentication.

Member Enumerations Documentation

Enum TEvent

Enumerators

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

Enum TWEPAuthentication

Enumerators

EAuthOpen
EAuthShared

Enum TWEPKeyFormat

Enumerators

EAscii
EHexadecimal

Enum TWEPKeyInUse

Enumerators

EKeyNumber1
EKeyNumber2
EKeyNumber3
EKeyNumber4

Enum TWEPKeyLength

Enumerators

E40Bits
E104Bits
E232Bits

Enum TWepMember

Enumerators

EWepKeyInUse
EWepAuthentication
EWepKeyConfiguration
EWepKeyLength
EWepKeyFormat
EWepKeyData

Member Data Documentation

CWEPSecuritySettingsImpl * iImpl

CWEPSecuritySettingsImpl * iImpl [private]