Language

WifiSecurityType Enum

Definition

Identifies the security type reported for a Wi-Fi connection.

public enum WifiSecurityType
type WifiSecurityType = 
Inheritance
WifiSecurityType

Fields

Name Value Description
Unknown -1

Unknown security type.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Open 0

Security type for an open network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_OPEN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Wep 1

Security type for a WEP network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_WEP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Psk 2

Security type for a PSK network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_PSK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Eap 3

Security type for an EAP network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_EAP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Sae 4

Security type for an SAE network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_SAE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

EapWpa3Enterprise192Bit 5

Security type for a WPA3-Enterprise in 192-bit security network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BIT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Owe 6

Security type for an OWE network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_OWE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

WapiPsk 7

Security type for a WAPI PSK network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_WAPI_PSK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

WapiCert 8

Security type for a WAPI Certificate network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_WAPI_CERT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

EapWpa3Enterprise 9

Security type for a WPA3-Enterprise network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_EAP_WPA3_ENTERPRISE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Osen 10

Security type for an OSEN network.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_OSEN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

PasspointR1R2 11

Security type for a Passpoint R1/R2 network, where TKIP and WEP are not allowed.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_PASSPOINT_R1_R2.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

PasspointR3 12

Security type for a Passpoint R3 network, where TKIP and WEP are not allowed, and PMF must be set to Required.

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_PASSPOINT_R3.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Dpp 13

Security type for Easy Connect (DPP) network

Android reference for android.net.wifi.WifiInfo.SECURITY_TYPE_DPP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

These codes describe CurrentSecurityType. They distinguish open and encrypted security types, Passpoint variants, and an unknown security type.

Applies to