CWEPSecuritySettings Class Reference

class CWEPSecuritySettings : public CBase

Inherits from

  • CWEPSecuritySettings

Constructor & Destructor Documentation

~CWEPSecuritySettings()

IMPORT_C~CWEPSecuritySettings()

Destructor.

Member Functions Documentation

EditL(CWEPSecuritySettingsUi &, const TDesC &)

IMPORT_C TIntEditL(CWEPSecuritySettingsUi &aUi,
const TDesC &aTitle
)

Edit the settings.

Parameters

CWEPSecuritySettingsUi & aUiUI to be used.
const TDesC & aTitleTitle Pane text to display during edit.

IsValid()

IMPORT_C TBoolIsValid()const

Tells if the settings are valid and can be saved

LoadL(TUint32, CCommsDatabase &)

IMPORT_C voidLoadL(TUint32aIapId,
CCommsDatabase &aCommsDb
)

Load from database.

Parameters

TUint32 aIapIdWlan Service Table Id of the IAP to be loaded
CCommsDatabase & aCommsDbComms database.

LoadL(TUint32, CMDBSession &)

IMPORT_C voidLoadL(TUint32aIapId,
CMDBSession &aSession
)

Load from database.

Parameters

TUint32 aIapIdWlan Service Table Id of the IAP to be loaded
CMDBSession & aSessionSession to CommsDat.

NewL()

IMPORT_C CWEPSecuritySettings *NewL()[static]

Two-phased constructor. Leaves on failure.

SaveL(TUint32, CCommsDatabase &)

IMPORT_C voidSaveL(TUint32aIapId,
CCommsDatabase &aCommsDb
)const

Save to database.

Parameters

TUint32 aIapIdWlan Service Table Id of the IAP to be saved
CCommsDatabase & aCommsDbComms database.

SaveL(TUint32, CMDBSession &)

IMPORT_C voidSaveL(TUint32aIapId,
CMDBSession &aSession
)const

Save to database.

Parameters

TUint32 aIapIdWlan Service Table Id of the IAP to be saved
CMDBSession & aSessionSession to CommsDat.

SetAuthentication(TWEPAuthentication)

IMPORT_C voidSetAuthentication(TWEPAuthenticationaAuthentication)

Sets the authentication type.

Parameters

TWEPAuthentication aAuthenticationThe authentication type.

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

IMPORT_C TIntSetKeyDataL(const TIntaElement,
const TDesC &aKeyData,
const TBoolaHex
)

Sets the new data of the key

Parameters

const TInt aElementIndex of the element whose data has to be set.
const TDesC & aKeyDataThe new value for data of the key.
const TBool aHexETrue if data is in Ascii format

SetKeyInUse(TWEPKeyInUse)

IMPORT_C voidSetKeyInUse(TWEPKeyInUseaKey)

Sets the index of the key to use.

Parameters

TWEPKeyInUse aKeyThe 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]