Added in API level 1
Deprecated in API level 29

WifiConfiguration.KeyMgmt

public static class WifiConfiguration.KeyMgmt
extends Object

java.lang.Object
   ↳ android.net.wifi.WifiConfiguration.KeyMgmt


Recognized key management schemes.

Summary

Constants

int DPP

Easy Connect - AKA Device Provisioning Protocol (DPP) For more details, visit https://www.wi-fi.org/ and search for "Easy Connect" or "Device Provisioning Protocol specification".

int FILS_SHA256

IEEE 802.11ai FILS SK with SHA256

int FILS_SHA384

IEEE 802.11ai FILS SK with SHA384:

int FT_EAP

IEEE 802.11r Fast BSS Transition with EAP authentication.

int FT_PSK

IEEE 802.11r Fast BSS Transition with PSK authentication.

int IEEE8021X

IEEE 802.1X using EAP authentication and (optionally) dynamically generated WEP keys.

int NONE

WPA is not used; plaintext or static WEP could be used.

int OSEN

Hotspot 2.0 r2 OSEN:

int OWE

Opportunististic Wireless Encryption

int SAE

Simultaneous Authentication of Equals

int SUITE_B_192

SUITE_B_192 192 bit level

int WAPI_CERT

WAPI certificate to be specified.

int WAPI_PSK

WAPI pre-shared key (requires preSharedKey to be specified).

int WPA2_PSK

WPA2 pre-shared key for use with soft access point (requires preSharedKey to be specified).

int WPA_EAP

WPA using EAP authentication.

int WPA_EAP_SHA256

WPA using EAP authentication with stronger SHA256-based algorithms.

int WPA_PSK

WPA pre-shared key (requires preSharedKey to be specified).

int WPA_PSK_SHA256

WPA pre-shared key with stronger SHA256-based algorithms.

String varName

Fields

public static final String[] strings

Inherited methods

Constants

DPP

Added in API level 34
Deprecated in API level 29
public static final int DPP

Easy Connect - AKA Device Provisioning Protocol (DPP) For more details, visit https://www.wi-fi.org/ and search for "Easy Connect" or "Device Provisioning Protocol specification".

Constant Value: 17 (0x00000011)

FILS_SHA256

Added in API level 34
Deprecated in API level 29
public static final int FILS_SHA256

IEEE 802.11ai FILS SK with SHA256

Constant Value: 15 (0x0000000f)

FILS_SHA384

Added in API level 34
Deprecated in API level 29
public static final int FILS_SHA384

IEEE 802.11ai FILS SK with SHA384:

Constant Value: 16 (0x00000010)

FT_EAP

Added in API level 34
Deprecated in API level 29
public static final int FT_EAP

IEEE 802.11r Fast BSS Transition with EAP authentication.

Constant Value: 7 (0x00000007)

FT_PSK

Added in API level 34
Deprecated in API level 29
public static final int FT_PSK

IEEE 802.11r Fast BSS Transition with PSK authentication.

Constant Value: 6 (0x00000006)

IEEE8021X

Added in API level 1
public static final int IEEE8021X

IEEE 802.1X using EAP authentication and (optionally) dynamically generated WEP keys.

Constant Value: 3 (0x00000003)

NONE

Added in API level 1
public static final int NONE

WPA is not used; plaintext or static WEP could be used.

Constant Value: 0 (0x00000000)

OSEN

Added in API level 34
Deprecated in API level 29
public static final int OSEN

Hotspot 2.0 r2 OSEN:

Constant Value: 5 (0x00000005)

OWE

Added in API level 29
Deprecated in API level 29
public static final int OWE

Opportunististic Wireless Encryption

Constant Value: 9 (0x00000009)

SAE

Added in API level 29
Deprecated in API level 29
public static final int SAE

Simultaneous Authentication of Equals

Constant Value: 8 (0x00000008)

SUITE_B_192

Added in API level 29
Deprecated in API level 29
public static final int SUITE_B_192

SUITE_B_192 192 bit level

Constant Value: 10 (0x0000000a)

WAPI_CERT

Added in API level 34
Deprecated in API level 29
public static final int WAPI_CERT

WAPI certificate to be specified.

Constant Value: 14 (0x0000000e)

WAPI_PSK

Added in API level 34
Deprecated in API level 29
public static final int WAPI_PSK

WAPI pre-shared key (requires preSharedKey to be specified).

Constant Value: 13 (0x0000000d)

WPA2_PSK

Added in API level 34
Deprecated in API level 29
public static final int WPA2_PSK

WPA2 pre-shared key for use with soft access point (requires preSharedKey to be specified).

Constant Value: 4 (0x00000004)

WPA_EAP

Added in API level 1
public static final int WPA_EAP

WPA using EAP authentication. Generally used with an external authentication server.

Constant Value: 2 (0x00000002)

WPA_EAP_SHA256

Added in API level 34
Deprecated in API level 29
public static final int WPA_EAP_SHA256

WPA using EAP authentication with stronger SHA256-based algorithms.

Constant Value: 12 (0x0000000c)

WPA_PSK

Added in API level 1
public static final int WPA_PSK

WPA pre-shared key (requires preSharedKey to be specified).

Constant Value: 1 (0x00000001)

WPA_PSK_SHA256

Added in API level 34
Deprecated in API level 29
public static final int WPA_PSK_SHA256

WPA pre-shared key with stronger SHA256-based algorithms.

Constant Value: 11 (0x0000000b)

varName

Added in API level 1
public static final String varName

Constant Value: "key_mgmt"

Fields

strings

Added in API level 1
public static final String[] strings