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 Boolean
equals(other: Any?)

open EapSessionConfig

Retrieves the inner EAP session config

open X509Certificate?

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

open Int

Inherited functions

Public methods

equals

Added in API level 31
open fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

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

hashCode

Added in API level 31
open fun hashCode(): Int
Return
Int a hash code value for this object.