EapSessionConfig
class EapSessionConfig
kotlin.Any | |
↳ | 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 | |
---|---|
This class can be used to incrementally construct an |
|
EapAkaConfig represents the configs needed for an EAP AKA session. |
|
EapAkaOption represents optional configurations for EAP AKA authentication. |
|
EapAkaPrimeConfig represents the configs needed for an EAP-AKA' session. |
|
abstract |
EapMethodConfig represents a generic EAP method configuration. |
EapMsChapV2Config represents the configs needed for an EAP MSCHAPv2 session. |
|
EapSimConfig represents the configs needed for an EAP SIM session. |
|
EapTtlsConfig represents the configs needed for an EAP-TTLS session. |
Public methods | |
---|---|
EapSessionConfig.EapAkaConfig? |
Retrieves configuration for EAP AKA |
EapSessionConfig.EapAkaPrimeConfig? |
Retrieves configuration for EAP AKA' |
ByteArray |
Retrieves client's EAP Identity |
EapSessionConfig.EapMsChapV2Config? |
Retrieves configuration for EAP MSCHAPV2 |
EapSessionConfig.EapSimConfig? |
Retrieves configuration for EAP SIM |
EapSessionConfig.EapTtlsConfig? |
Retrieves configuration for EAP-TTLS |
Public methods
getEapAkaConfig
fun getEapAkaConfig(): EapSessionConfig.EapAkaConfig?
Retrieves configuration for EAP AKA
Return | |
---|---|
EapSessionConfig.EapAkaConfig? |
the configuration for EAP AKA, or null if it was not set |
getEapAkaPrimeConfig
fun getEapAkaPrimeConfig(): EapSessionConfig.EapAkaPrimeConfig?
Retrieves configuration for EAP AKA'
Return | |
---|---|
EapSessionConfig.EapAkaPrimeConfig? |
the configuration for EAP AKA', or null if it was not set |
getEapIdentity
fun getEapIdentity(): ByteArray
Retrieves client's EAP Identity
Return | |
---|---|
ByteArray |
This value cannot be null . |
getEapMsChapV2Config
fun getEapMsChapV2Config(): EapSessionConfig.EapMsChapV2Config?
Retrieves configuration for EAP MSCHAPV2
Return | |
---|---|
EapSessionConfig.EapMsChapV2Config? |
the configuration for EAP MSCHAPV2, or null if it was not set |
getEapSimConfig
fun getEapSimConfig(): EapSessionConfig.EapSimConfig?
Retrieves configuration for EAP SIM
Return | |
---|---|
EapSessionConfig.EapSimConfig? |
the configuration for EAP SIM, or null if it was not set |
getEapTtlsConfig
fun getEapTtlsConfig(): EapSessionConfig.EapTtlsConfig?
Retrieves configuration for EAP-TTLS
Return | |
---|---|
EapSessionConfig.EapTtlsConfig? |
the configuration for EAP-TTLS, or null if it was not set |