|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<WifiSecurity> com.eurotech.framework.net.wifi.WifiSecurity
public enum WifiSecurity
Flags describing the security capabilities of an access point.
Enum Constant Summary | |
---|---|
GROUP_CCMP
Supports a group CCMP cipher. |
|
GROUP_TKIP
Supports a group TKIP cipher. |
|
GROUP_WEP104
Supports a group 104-bit WEP cipher. |
|
GROUP_WEP40
Supports a group 40-bit WEP cipher. |
|
KEY_MGMT_802_1X
Supports 802.1x key management. |
|
KEY_MGMT_PSK
Supports PSK key management. |
|
NONE
None |
|
PAIR_CCMP
Supports pairwise CCMP encryption. |
|
PAIR_TKIP
Supports pairwise TKIP encryption. |
|
PAIR_WEP104
Supports pairwise 104-bit WEP encryption. |
|
PAIR_WEP40
Supports pairwise 40-bit WEP encryption. |
|
SECURITY_NONE
Supports no encryption. |
|
SECURITY_WEP
Supports WEP encryption. |
|
SECURITY_WPA
Supports WPA encryption. |
|
SECURITY_WPA_WPA2
Supports WPA and WPA2 encryption. |
|
SECURITY_WPA2
Supports WPA2 encryption. |
Method Summary | |
---|---|
static int |
getCode(WifiSecurity security)
|
static WifiSecurity |
parseCode(int code)
|
static WifiSecurity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WifiSecurity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WifiSecurity NONE
public static final WifiSecurity PAIR_WEP40
public static final WifiSecurity PAIR_WEP104
public static final WifiSecurity PAIR_TKIP
public static final WifiSecurity PAIR_CCMP
public static final WifiSecurity GROUP_WEP40
public static final WifiSecurity GROUP_WEP104
public static final WifiSecurity GROUP_TKIP
public static final WifiSecurity GROUP_CCMP
public static final WifiSecurity KEY_MGMT_PSK
public static final WifiSecurity KEY_MGMT_802_1X
public static final WifiSecurity SECURITY_NONE
public static final WifiSecurity SECURITY_WEP
public static final WifiSecurity SECURITY_WPA
public static final WifiSecurity SECURITY_WPA2
public static final WifiSecurity SECURITY_WPA_WPA2
Method Detail |
---|
public static WifiSecurity[] values()
for (WifiSecurity c : WifiSecurity.values()) System.out.println(c);
public static WifiSecurity valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static WifiSecurity parseCode(int code)
public static int getCode(WifiSecurity security)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |