CWEPSecuritySettingsImpl Class Reference
class CWEPSecuritySettingsImpl : public CBase |
Public Member Functions |
---|
| ~CWEPSecuritySettingsImpl() |
CWEPSecuritySettings::TWEPAuthentication
| Authentication() |
void | ConvertAsciiToHex(const TDesC8 &, HBufC8 *&) |
TInt
| ExpectedLengthOfKeyData(CWEPSecuritySettings::TWEPKeyLength) |
TBool
| IsValid() |
TDes8 * | KeyData(const TInt) |
CWEPSecuritySettings::TWEPKeyFormat
| KeyFormat(const TInt) |
CWEPSecuritySettings::TWEPKeyInUse
| KeyInUse() |
CWEPSecuritySettings::TWEPKeyLength
| KeyLength(const TInt) |
void | LoadL(TUint32, CCommsDatabase &) |
void | LoadL(TUint32, CMDBSession &) |
CWEPSecuritySettingsImpl * | NewL() |
void | SaveL(TUint32, CCommsDatabase &) |
void | SaveL(TUint32, CMDBSession &) |
void | SetAuthentication(const CWEPSecuritySettings::TWEPAuthentication) |
void | SetKeyData(const TInt, const TDesC8 &) |
TInt
| SetKeyDataL(const TInt, const TDesC &, const TBool) |
void | SetKeyFormat(const TInt, const CWEPSecuritySettings::TWEPKeyFormat) |
void | SetKeyInUse(const CWEPSecuritySettings::TWEPKeyInUse) |
void | SetKeyLength(const TInt, const CWEPSecuritySettings::TWEPKeyLength) |
TInt
| VerifyKeyData(const TDesC8 &, TInt, CWEPSecuritySettings::TWEPKeyFormat) |
TBool
| WEP256Enabled() |
Constructor & Destructor Documentation
CWEPSecuritySettingsImpl()
CWEPSecuritySettingsImpl | ( | ) | [protected] |
~CWEPSecuritySettingsImpl()
~CWEPSecuritySettingsImpl | ( | ) | [virtual] |
Member Functions Documentation
Authentication()
Gets type of Authentication
ConstructL()
void | ConstructL | ( | ) | [protected] |
Second-phase constructor.
ConvertAsciiToHex(const TDesC8 &, HBufC8 *&)
void | ConvertAsciiToHex | ( | const TDesC8 & | aSource, |
| HBufC8 *& | aDest |
| ) | |
Converts keyData enetered in Ascii format to hex format
Parameters
const TDesC8 & aSource | Source string |
HBufC8 *& aDest | destination string |
ExpectedLengthOfKeyData(CWEPSecuritySettings::TWEPKeyLength)
Calculates expected length of hex string of keyData on the base of the selected key length.
IsValid()
Tells if the settings are valid and can be saved
KeyData(const TInt)
Parameters
const TInt aElement | Index of the element whose keyData has to be retrieved. |
KeyFormat(const TInt)
Gets the format of the key
Parameters
const TInt aElement | Index of the element whose format has to be retrieved. |
KeyInUse()
Gets Key currently in use
KeyLength(const TInt)
Gets the length of the key
Parameters
const TInt aElement | Index of the element whose length has to be retrieved. |
LoadL(TUint32, CCommsDatabase &)
LoadL(TUint32, CMDBSession &)
Parameters
TUint32 aIapId | Wlan Service Table Id of the IAP to be loaded |
CMDBSession & aSession | CommsDat session. |
NewL()
Two-phased constructor. Leaves on failure.
SaveL(TUint32, CCommsDatabase &)
SaveL(TUint32, CMDBSession &)
Parameters
TUint32 aIapId | Wlan Service Table Id of the IAP to be saved |
CMDBSession & aSession | CommsDat session. |
SetAuthentication(const CWEPSecuritySettings::TWEPAuthentication)
Sets type of Authentication
SetKeyData(const TInt, const TDesC8 &)
void | SetKeyData | ( | const TInt | aElement, |
| const TDesC8 & | aKeyData |
| ) | [inline] |
Sets the new data of the key
Parameters
const TInt aElement | Index of the element whose data has to be set. |
const TDesC8 & aKeyData | |
SetKeyDataL(const TInt, const TDesC &, const TBool)
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 |
SetKeyFormat(const TInt, const CWEPSecuritySettings::TWEPKeyFormat)
Sets the format of the key
SetKeyInUse(const CWEPSecuritySettings::TWEPKeyInUse)
Sets Key currently in use
SetKeyLength(const TInt, const CWEPSecuritySettings::TWEPKeyLength)
Sets the length of the key
SetLenKeyDataFromText(const TInt)
void | SetLenKeyDataFromText | ( | const TInt | aIndex | ) | [private] |
Sets keyLength parsing data contained in iKeyData
Parameters
const TInt aIndex | Index of the element whose length has to be calculated. |
VerifyKeyData(const TDesC8 &, TInt, CWEPSecuritySettings::TWEPKeyFormat)
Verify if the entered keyData is valid
WEP256Enabled()
TBool
| WEP256Enabled | ( | ) | const [inline] |
Tells if the Wep256 feature is enabled or not
Member Data Documentation
CWEPSecuritySettings::TWEPAuthentication
iAuthentication
TBool
iIsWEP256Enabled
TBool
| iIsWEP256Enabled | [private] |
TBuf8< KMaxLengthOfKeyData > iKeyData
CWEPSecuritySettings::TWEPKeyFormat
iKeyFormat
CWEPSecuritySettings::TWEPKeyInUse
iKeyInUse
CWEPSecuritySettings::TWEPKeyLength
iKeyLength
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.