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

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(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 wait(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 wait()

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

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