Added in API level 1
Deprecated in API level 29

WifiConfiguration.PairwiseCipher


public static class WifiConfiguration.PairwiseCipher
extends Object

java.lang.Object
   ↳ android.net.wifi.WifiConfiguration.PairwiseCipher


Recognized pairwise ciphers for WPA.

Summary

Constants

int CCMP

AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]

int GCMP_128

AES in Galois/Counter Mode with a 128-bit integrity key

int GCMP_256

AES in Galois/Counter Mode

int NONE

Use only Group keys (deprecated)

int SMS4

SMS4 cipher for WAPI

int TKIP

This constant was deprecated in API level 28. Due to security and performance limitations, use of WPA-1 networks is discouraged. WPA-2 (RSN) should be used instead.

String varName

Fields

public static final String[] strings

Inherited methods

Constants

CCMP

Added in API level 1
public static final int CCMP

AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]

Constant Value: 2 (0x00000002)

GCMP_128

Added in API level 31
Deprecated in API level 29
public static final int GCMP_128

AES in Galois/Counter Mode with a 128-bit integrity key

Constant Value: 5 (0x00000005)

GCMP_256

Added in API level 29
Deprecated in API level 29
public static final int GCMP_256

AES in Galois/Counter Mode

Constant Value: 3 (0x00000003)

NONE

Added in API level 1
public static final int NONE

Use only Group keys (deprecated)

Constant Value: 0 (0x00000000)

SMS4

Added in API level 30
Deprecated in API level 29
public static final int SMS4

SMS4 cipher for WAPI

Constant Value: 4 (0x00000004)

TKIP

Added in API level 1
Deprecated in API level 28
public static final int TKIP

This constant was deprecated in API level 28.
Due to security and performance limitations, use of WPA-1 networks is discouraged. WPA-2 (RSN) should be used instead.

Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]

Constant Value: 1 (0x00000001)

varName

Added in API level 1
public static final String varName

Constant Value: "pairwise"

Fields

strings

Added in API level 1
public static final String[] strings