EapSessionConfig


public final class EapSessionConfig
extends Object

java.lang.Object
   ↳ android.net.eap.EapSessionConfig


EapSessionConfig represents a container for EAP method configuration.

The EAP authentication server decides which EAP method is used, so clients are encouraged to provide configs for several EAP methods.

Summary

Nested classes

class EapSessionConfig.Builder

This class can be used to incrementally construct an EapSessionConfig

class EapSessionConfig.EapAkaConfig

EapAkaConfig represents the configs needed for an EAP AKA session. 

class EapSessionConfig.EapAkaOption

EapAkaOption represents optional configurations for EAP AKA authentication. 

class EapSessionConfig.EapAkaPrimeConfig

EapAkaPrimeConfig represents the configs needed for an EAP-AKA' session. 

class EapSessionConfig.EapMethodConfig

EapMethodConfig represents a generic EAP method configuration. 

class EapSessionConfig.EapMsChapV2Config

EapMsChapV2Config represents the configs needed for an EAP MSCHAPv2 session. 

class EapSessionConfig.EapSimConfig

EapSimConfig represents the configs needed for an EAP SIM session. 

class EapSessionConfig.EapTtlsConfig

EapTtlsConfig represents the configs needed for an EAP-TTLS session. 

Public methods

EapSessionConfig.EapAkaConfig getEapAkaConfig()

Retrieves configuration for EAP AKA

EapSessionConfig.EapAkaPrimeConfig getEapAkaPrimeConfig()

Retrieves configuration for EAP AKA'

byte[] getEapIdentity()

Retrieves client's EAP Identity

EapSessionConfig.EapMsChapV2Config getEapMsChapV2Config()

Retrieves configuration for EAP MSCHAPV2

EapSessionConfig.EapSimConfig getEapSimConfig()

Retrieves configuration for EAP SIM

EapSessionConfig.EapTtlsConfig getEapTtlsConfig()

Retrieves configuration for EAP-TTLS

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.

Public methods

getEapAkaConfig

Added in API level 31
public EapSessionConfig.EapAkaConfig getEapAkaConfig ()

Retrieves configuration for EAP AKA

Returns
EapSessionConfig.EapAkaConfig the configuration for EAP AKA, or null if it was not set

getEapAkaPrimeConfig

Added in API level 31
public EapSessionConfig.EapAkaPrimeConfig getEapAkaPrimeConfig ()

Retrieves configuration for EAP AKA'

Returns
EapSessionConfig.EapAkaPrimeConfig the configuration for EAP AKA', or null if it was not set

getEapIdentity

Added in API level 31
public byte[] getEapIdentity ()

Retrieves client's EAP Identity

Returns
byte[] This value cannot be null.

getEapMsChapV2Config

Added in API level 31
public EapSessionConfig.EapMsChapV2Config getEapMsChapV2Config ()

Retrieves configuration for EAP MSCHAPV2

Returns
EapSessionConfig.EapMsChapV2Config the configuration for EAP MSCHAPV2, or null if it was not set

getEapSimConfig

Added in API level 31
public EapSessionConfig.EapSimConfig getEapSimConfig ()

Retrieves configuration for EAP SIM

Returns
EapSessionConfig.EapSimConfig the configuration for EAP SIM, or null if it was not set

getEapTtlsConfig

Added in API level 31
public EapSessionConfig.EapTtlsConfig getEapTtlsConfig ()

Retrieves configuration for EAP-TTLS

Returns
EapSessionConfig.EapTtlsConfig the configuration for EAP-TTLS, or null if it was not set