public enum WifiSecurity extends Enum<WifiSecurity>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic static WifiSecurity parseCode(int code)
public static int getCode(WifiSecurity security)
Copyright © 2013. All Rights Reserved.