to top
Android APIs
public static class

WifiConfiguration.KeyMgmt

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

Class Overview

Recognized key management schemes.

Summary

Constants
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 WPA_EAP WPA using EAP authentication.
int WPA_PSK WPA pre-shared key (requires preSharedKey to be specified).
String varName
Fields
public static final String[] strings
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int IEEE8021X

Added in API level 1

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

Constant Value: 3 (0x00000003)

public static final int NONE

Added in API level 1

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

Constant Value: 0 (0x00000000)

public static final int WPA_EAP

Added in API level 1

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

Constant Value: 2 (0x00000002)

public static final int WPA_PSK

Added in API level 1

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

Constant Value: 1 (0x00000001)

public static final String varName

Added in API level 1

Constant Value: "key_mgmt"

Fields

public static final String[] strings

Added in API level 1

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.