Added in API level 31

EapTtlsConfig


class EapTtlsConfig : EapSessionConfig.EapMethodConfig

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

Summary

Inherited constants
Int EAP_TYPE_AKA

EAP-Type value for the EAP-AKA method.

To include EAP-AKA as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapAkaConfig(int,int).

Int EAP_TYPE_AKA_PRIME

EAP-Type value for the EAP-AKA' method.

To include EAP-AKA' as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapAkaPrimeConfig(int,int,java.lang.String,boolean).

Int EAP_TYPE_MSCHAP_V2

EAP-Type value for the EAP-MS-CHAPv2 method.

To include EAP-MS-CHAPv2 as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapMsChapV2Config(java.lang.String,java.lang.String).

Int EAP_TYPE_SIM

EAP-Type value for the EAP-SIM method.

To include EAP-SIM as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapSimConfig(int,int).

Int EAP_TYPE_TTLS

EAP-Type value for the EAP-TTLS method.

To include EAP-TTLS as an authentication method, see android.net.eap.EapSessionConfig.Builder#setEapTtlsConfig(java.security.cert.X509Certificate,android.net.eap.EapSessionConfig).

Public methods
open EapSessionConfig

Retrieves the inner EAP session config

open X509Certificate?

Retrieves the provided CA certificate for validating the remote certificate(s)

Inherited functions
Int getMethodType()

Retrieves the EAP method type

Public methods

getInnerEapSessionConfig

Added in API level 31
open fun getInnerEapSessionConfig(): EapSessionConfig

Retrieves the inner EAP session config

Return
EapSessionConfig an EapSessionConfig representing the config for tunneled EAP authentication This value cannot be null.

getServerCaCert

Added in API level 31
open fun getServerCaCert(): X509Certificate?

Retrieves the provided CA certificate for validating the remote certificate(s)

Return
X509Certificate? the CA certificate for validating the received server certificate or null if the system default is preferred