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

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