CWPASecuritySettingsImpl Class Reference
class CWPASecuritySettingsImpl : public CBase
|
Constructor & Destructor Documentation
CWPASecuritySettingsImpl(TSecurityMode)
CWPASecuritySettingsImpl
|
(
|
TSecurityMode
|
aSecurityMode
|
)
|
[protected]
|
Parameters
TSecurityMode
aSecurityMode
|
The chosen security mode. It can be ESecurityMode8021x or ESecurityModeWpa
|
~CWPASecuritySettingsImpl()
~CWPASecuritySettingsImpl
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
Second-phase constructor.
DeleteL(TUint32)
Delete from database. It actually just removes EAP Configuration.
Parameters
TUint32
aIapId
|
Id of the IAP to be saved
|
IsValid()
Tells if the settings are valid and can be saved
IsValidPsk(const TDesC8 &)
Checks whether the given string is a valid PSK
-
Since
-
S60 5.0
Parameters
const
TDesC8
& aPsk
|
The string to be checked
|
LoadL(TUint32, CCommsDatabase &)
LoadL(TUint32, CMDBSession &)
Parameters
TUint32
aIapId
|
Wlan Service Table Id of the IAP to be loaded
|
CMDBSession
& aSession
|
CommsDat session.
|
NewL(TSecurityMode)
Two-phased constructor. Leaves on failure.
Parameters
TSecurityMode
aSecurityMode
|
The chosen security mode. It can be ESecurityMode8021x or ESecurityModeWpa
|
Plugin()
Returns the pointer to the EAP Configuration plugin
SaveL(TUint32, CCommsDatabase &, TTypeOfSaving, TUint32)
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)
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
|
SecurityMode()
TSecurityMode
|
SecurityMode
|
(
|
)
|
const [inline]
|
Gets the type of Security set.
SetIapId(const TUint32)
void
|
SetIapId
|
(
|
const
TUint32
|
aIapId
|
)
|
[inline]
|
Parameters
const
TUint32
aIapId
|
The Id to be set
|
SetWPADisabledEAPPlugin(const TDesC8 &)
TInt
|
SetWPADisabledEAPPlugin
|
(
|
const
TDesC8
&
|
aDisabledPluginList
|
)
|
|
Sets the content of the WlanDisabledEapList column of WLANServiceTable (for expanded EAP types)
Parameters
const
TDesC8
& aDisabledPluginList
|
Enumeration of disabled plugins
|
SetWPAEAPPlugin(const TDes &)
void
|
SetWPAEAPPlugin
|
(
|
const
TDes
&
|
aPluginList
|
)
|
[inline]
|
Sets the content of the WlanEapList column of WLANServiceTable
Parameters
const
TDes
& aPluginList
|
The content string to be set
|
SetWPAEnabledEAPPlugin(const TDesC8 &)
TInt
|
SetWPAEnabledEAPPlugin
|
(
|
const
TDesC8
&
|
aEnabledPluginList
|
)
|
|
Sets the content of the WlanEnabledEapList column of WLANServiceTable (for expanded EAP types)
Parameters
const
TDesC8
& aEnabledPluginList
|
Enumeration of enabled plugins
|
SetWPAMode(const TBool)
void
|
SetWPAMode
|
(
|
const
TBool
|
aWPAMode
|
)
|
[inline]
|
Sets the use of Pre-shared key.
Parameters
const
TBool
aWPAMode
|
ETrue if pre-shared key is in use
|
SetWPAPreSharedKey(const TDesC &)
TInt
|
SetWPAPreSharedKey
|
(
|
const
TDesC
&
|
aPreSharedKey
|
)
|
|
Parameters
const
TDesC
& aPreSharedKey
|
The key to be set
|
SetWPAPreSharedKey(const TDesC8 &)
void
|
SetWPAPreSharedKey
|
(
|
const
TDesC8
&
|
aPreSharedKey
|
)
|
[inline]
|
Parameters
const
TDesC8
& aPreSharedKey
|
The key to be set
|
SetWpa2Only(const TBool)
void
|
SetWpa2Only
|
(
|
const
TBool
|
aAllowed
|
)
|
[inline]
|
Sets the WPA2 Only mode enabling variable
Parameters
const
TBool
aAllowed
|
ETrue if WPA2 Only mode is enabled
|
WPADisabledEAPPlugin()
HBufC8
*
|
WPADisabledEAPPlugin
|
(
|
)
|
[inline]
|
Returns the content of the WlanDisabledEapList column of WLANServiceTable
WPAEAPPlugin()
TDes
*
|
WPAEAPPlugin
|
(
|
)
|
[inline]
|
Returns the content of the WlanEapList column of WLANServiceTable
WPAEnabledEAPPlugin()
HBufC8
*
|
WPAEnabledEAPPlugin
|
(
|
)
|
[inline]
|
Returns the content of the WlanEnabledEapList column of WLANServiceTable
WPAMode()
TBool
|
WPAMode
|
(
|
)
|
const [inline]
|
Tells if Pre-shared key is in use or not
WPAPreSharedKey()
TDes8
*
|
WPAPreSharedKey
|
(
|
)
|
[inline]
|
Returns the Pre-shared key
Wpa2Only()
TBool
|
Wpa2Only
|
(
|
)
|
const [inline]
|
Tells if it is WPA2 Only mode
Member Data Documentation
CEAPPluginConfigurationIf * iPlugin
TSecurityMode
iSecurityMode
TSecurityMode
|
iSecurityMode
|
[private]
|
HBufC8 * iWPADisabledEAPPlugin
HBufC8
*
|
iWPADisabledEAPPlugin
|
[private]
|
TBuf< KWLANEAPLISTLENGTH > iWPAEAPPlugin
TBuf
< KWLANEAPLISTLENGTH >
|
iWPAEAPPlugin
|
[private]
|
HBufC8 * iWPAEnabledEAPPlugin
HBufC8
*
|
iWPAEnabledEAPPlugin
|
[private]
|
TBuf8< KWlanWpaPskLength > iWPAPreSharedKey
TBuf8
< KWlanWpaPskLength >
|
iWPAPreSharedKey
|
[private]
|
TBool
iWpa2Only
TBool
|
iWpa2Only
|
[private]
|
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.