CWAPISecuritySettings Class Reference

class CWAPISecuritySettings : public CBase

Inherits from

  • CWAPISecuritySettings

Constructor & Destructor Documentation

~CWAPISecuritySettings()

IMPORT_C~CWAPISecuritySettings()

Destructor.

Member Functions Documentation

DeleteAPSpecificDataL(const TInt)

IMPORT_C voidDeleteAPSpecificDataL(const TIntaId)

Delete AP related data from certificate database tables

Parameters

const TInt aIdService table id

EditL(CWAPISecuritySettingsUi &, const TDesC &)

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

Edit WAPI certificate settings.

Parameters

CWAPISecuritySettingsUi & 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, CMDBSession &)

IMPORT_C voidLoadL(TUint32aIapRecordId,
CMDBSession &aSession
)

Load WAPI certificate settings and configuration from database.

Parameters

TUint32 aIapRecordId
CMDBSession & aSessionCommsdat session

NewL()

IMPORT_C CWAPISecuritySettings *NewL()[static]

Two-phased constructor. Leaves on failure.

SaveL(TUint32, CMDBSession &)

IMPORT_C voidSaveL(TUint32aIapRecordId,
CMDBSession &aSession
)const

Save WAPI certificate settings of the IAP to the database.

Parameters

TUint32 aIapRecordId
CMDBSession & aSessionCommsdat session

SetPreSharedKeyL(const TWapiKeyFormat, const TDesC &)

IMPORT_C voidSetPreSharedKeyL(const TWapiKeyFormataKeyFormat,
const TDesC &aPreSharedKey
)

Sets the Pre-shared key. Also sets Authentication method to PSK.

Parameters

const TWapiKeyFormat aKeyFormatKey format
const TDesC & aPreSharedKeyThe key to be set

Member Enumerations Documentation

Enum TEvent

Enumerators

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

Enum TWapiKeyFormat

Enumerators

EWapiKeyAscii = 0
EWapiKeyHex = 1

Member Data Documentation

CWAPISecuritySettingsImpl * iImpl

CWAPISecuritySettingsImpl *iImpl[private]