Added in API level 31

EapTtlsConfig

class EapTtlsConfig : EapSessionConfig.EapMethodConfig
kotlin.Any
   ↳ android.net.eap.EapSessionConfig.EapMethodConfig
   ↳ android.net.eap.EapSessionConfig.EapTtlsConfig

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

Summary

Inherited constants
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

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