Added in API level 1
Deprecated in API level 29

KeyMgmt


open class KeyMgmt
kotlin.Any
   ↳ android.net.wifi.WifiConfiguration.KeyMgmt

Recognized key management schemes.

Summary

Constants
static Int

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".

static Int

IEEE 802.

static Int

IEEE 802.

static Int

IEEE 802.

static Int

IEEE 802.

static Int

IEEE 802.

static Int

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

static Int

Hotspot 2.

static Int

Opportunististic Wireless Encryption

static Int

Simultaneous Authentication of Equals

static Int

SUITE_B_192 192 bit level

static Int

WAPI certificate to be specified.

static Int

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

static Int

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

static Int

WPA using EAP authentication.

static Int

WPA using EAP authentication with stronger SHA256-based algorithms.

static Int

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

static Int

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

static String

Properties
static Array<String!>!

Constants

DPP

Added in API level 34
Deprecated in API level 29
static val DPP: Int

Deprecated: Deprecated in Java.

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".

Value: 17

FILS_SHA256

Added in API level 34
Deprecated in API level 29
static val FILS_SHA256: Int

Deprecated: Deprecated in Java.

IEEE 802.11ai FILS SK with SHA256

Value: 15

FILS_SHA384

Added in API level 34
Deprecated in API level 29
static val FILS_SHA384: Int

Deprecated: Deprecated in Java.

IEEE 802.11ai FILS SK with SHA384:

Value: 16

FT_EAP

Added in API level 34
Deprecated in API level 29
static val FT_EAP: Int

Deprecated: Deprecated in Java.

IEEE 802.11r Fast BSS Transition with EAP authentication.

Value: 7

FT_PSK

Added in API level 34
Deprecated in API level 29
static val FT_PSK: Int

Deprecated: Deprecated in Java.

IEEE 802.11r Fast BSS Transition with PSK authentication.

Value: 6

IEEE8021X

Added in API level 1
static val IEEE8021X: Int

Deprecated: Deprecated in Java.

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

Value: 3

NONE

Added in API level 1
static val NONE: Int

Deprecated: Deprecated in Java.

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

Value: 0

OSEN

Added in API level 34
Deprecated in API level 29
static val OSEN: Int

Deprecated: Deprecated in Java.

Hotspot 2.0 r2 OSEN:

Value: 5

OWE

Added in API level 29
Deprecated in API level 29
static val OWE: Int

Deprecated: Deprecated in Java.

Opportunististic Wireless Encryption

Value: 9

SAE

Added in API level 29
Deprecated in API level 29
static val SAE: Int

Deprecated: Deprecated in Java.

Simultaneous Authentication of Equals

Value: 8

SUITE_B_192

Added in API level 29
Deprecated in API level 29
static val SUITE_B_192: Int

Deprecated: Deprecated in Java.

SUITE_B_192 192 bit level

Value: 10

WAPI_CERT

Added in API level 34
Deprecated in API level 29
static val WAPI_CERT: Int

Deprecated: Deprecated in Java.

WAPI certificate to be specified.

Value: 14

WAPI_PSK

Added in API level 34
Deprecated in API level 29
static val WAPI_PSK: Int

Deprecated: Deprecated in Java.

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

Value: 13

WPA2_PSK

Added in API level 34
Deprecated in API level 29
static val WPA2_PSK: Int

Deprecated: Deprecated in Java.

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

Value: 4

WPA_EAP

Added in API level 1
static val WPA_EAP: Int

Deprecated: Deprecated in Java.

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

Value: 2

WPA_EAP_SHA256

Added in API level 34
Deprecated in API level 29
static val WPA_EAP_SHA256: Int

Deprecated: Deprecated in Java.

WPA using EAP authentication with stronger SHA256-based algorithms.

Value: 12

WPA_PSK

Added in API level 1
static val WPA_PSK: Int

Deprecated: Deprecated in Java.

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

Value: 1

WPA_PSK_SHA256

Added in API level 34
Deprecated in API level 29
static val WPA_PSK_SHA256: Int

Deprecated: Deprecated in Java.

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

Value: 11

varName

Added in API level 1
static val varName: String

Deprecated: Deprecated in Java.

Value: "key_mgmt"

Properties

strings

Added in API level 1
static val strings: Array<String!>!

Deprecated: Deprecated in Java.