Språk

WifiConfigurationSecurityType Enum

Definition

Identifies security configurations for a saved Wi-Fi network.

public enum WifiConfigurationSecurityType
type WifiConfigurationSecurityType = 
Inheritance
WifiConfigurationSecurityType

Fields

Name Value Description
Open 0

Security type for an open network.

Android reference for android.net.wifi.WifiConfiguration.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.WifiConfiguration.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.WifiConfiguration.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.WifiConfiguration.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.WifiConfiguration.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.

EapSuiteB 5

This constant was deprecated in API level 30. Use the SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BIT constant (which is the same value).

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

Android reference for android.net.wifi.WifiConfiguration.SECURITY_TYPE_EAP_SUITE_B.

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. This is the same as SECURITY_TYPE_EAP_SUITE_B and uses the same value.

Android reference for android.net.wifi.WifiConfiguration.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.WifiConfiguration.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.WifiConfiguration.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.WifiConfiguration.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.WifiConfiguration.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.

Dpp 13

Security type for Easy Connect (DPP) network

Android reference for android.net.wifi.WifiConfiguration.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

The security-type argument of SetSecurityParams(Int32) uses these codes to configure the network's key management, authentication, and cipher settings.

Applies to