Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#constants) \| [Fields](https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#lfields) \| [Inherited Methods](https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#inhmethods)

# WifiConfiguration.KeyMgmt

*** ** * ** ***

` public static class WifiConfiguration.KeyMgmt `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.net.wifi.WifiConfiguration.KeyMgmt |

<br />

*** ** * ** ***

Recognized key management schemes.

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#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` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#FILS_SHA256` IEEE 802.11ai FILS SK with SHA256 |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#FILS_SHA384` IEEE 802.11ai FILS SK with SHA384: |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#FT_EAP` IEEE 802.11r Fast BSS Transition with EAP authentication. |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#FT_PSK` IEEE 802.11r Fast BSS Transition with PSK authentication. |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#IEEE8021X` IEEE 802.1X using EAP authentication and (optionally) dynamically generated WEP keys. |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#NONE` WPA is not used; plaintext or static WEP could be used. |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#OSEN` Hotspot 2.0 r2 OSEN: |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#OWE` Opportunististic Wireless Encryption |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#SAE` Simultaneous Authentication of Equals |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#SUITE_B_192` SUITE_B_192 192 bit level |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#WAPI_CERT` WAPI certificate to be specified. |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#WAPI_PSK` WAPI pre-shared key (requires `preSharedKey` to be specified). |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#WPA2_PSK` WPA2 pre-shared key for use with soft access point (requires `preSharedKey` to be specified). |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#WPA_EAP` WPA using EAP authentication. |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#WPA_EAP_SHA256` WPA using EAP authentication with stronger SHA256-based algorithms. |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#WPA_PSK` WPA pre-shared key (requires `preSharedKey` to be specified). |
| `int` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#WPA_PSK_SHA256` WPA pre-shared key with stronger SHA256-based algorithms. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#varName` <br /> |

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/net/wifi/WifiConfiguration.KeyMgmt#strings` <br /> |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Constants

### DPP

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

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

<br />

Constant Value: 17 (0x00000011)

### FILS_SHA256

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FILS_SHA256
```

IEEE 802.11ai FILS SK with SHA256

<br />

Constant Value: 15 (0x0000000f)

### FILS_SHA384

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FILS_SHA384
```

IEEE 802.11ai FILS SK with SHA384:

<br />

Constant Value: 16 (0x00000010)

### FT_EAP

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FT_EAP
```

IEEE 802.11r Fast BSS Transition with EAP authentication.

<br />

Constant Value: 7 (0x00000007)

### FT_PSK

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FT_PSK
```

IEEE 802.11r Fast BSS Transition with PSK authentication.

<br />

Constant Value: 6 (0x00000006)

### IEEE8021X

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int IEEE8021X
```

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

<br />

Constant Value: 3 (0x00000003)

### NONE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int NONE
```

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

<br />

Constant Value: 0 (0x00000000)

### OSEN

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int OSEN
```

Hotspot 2.0 r2 OSEN:

<br />

Constant Value: 5 (0x00000005)

### OWE

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int OWE
```

Opportunististic Wireless Encryption

<br />

Constant Value: 9 (0x00000009)

### SAE

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int SAE
```

Simultaneous Authentication of Equals

<br />

Constant Value: 8 (0x00000008)

### SUITE_B_192

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int SUITE_B_192
```

SUITE_B_192 192 bit level

<br />

Constant Value: 10 (0x0000000a)

### WAPI_CERT

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int WAPI_CERT
```

WAPI certificate to be specified.

<br />

Constant Value: 14 (0x0000000e)

### WAPI_PSK

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int WAPI_PSK
```

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

<br />

Constant Value: 13 (0x0000000d)

### WPA2_PSK

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int WPA2_PSK
```

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

<br />

Constant Value: 4 (0x00000004)

### WPA_EAP

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int WPA_EAP
```

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

<br />

Constant Value: 2 (0x00000002)

### WPA_EAP_SHA256

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int WPA_EAP_SHA256
```

WPA using EAP authentication with stronger SHA256-based algorithms.

<br />

Constant Value: 12 (0x0000000c)

### WPA_PSK

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int WPA_PSK
```

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

<br />

Constant Value: 1 (0x00000001)

### WPA_PSK_SHA256

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int WPA_PSK_SHA256
```

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

<br />

Constant Value: 11 (0x0000000b)

### varName

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String varName
```

<br />

<br />

Constant Value: "key_mgmt"

## Fields

### strings

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String[] strings
```

<br />

<br />