EapSessionConfig.EapTtlsConfig


public static class EapSessionConfig.EapTtlsConfig
extends EapSessionConfig.EapMethodConfig

java.lang.Object
   ↳ android.net.eap.EapSessionConfig.EapMethodConfig
     ↳ android.net.eap.EapSessionConfig.EapTtlsConfig


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.

int EAP_TYPE_AKA_PRIME

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

int EAP_TYPE_MSCHAP_V2

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

int EAP_TYPE_SIM

EAP-Type value for the EAP-SIM method.

int EAP_TYPE_TTLS

EAP-Type value for the EAP-TTLS method.

Public methods

EapSessionConfig getInnerEapSessionConfig()

Retrieves the inner EAP session config

X509Certificate getServerCaCert()

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

Inherited methods

int getMethodType()

Retrieves the EAP method type

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Public methods

getInnerEapSessionConfig

Added in API level 31
public EapSessionConfig getInnerEapSessionConfig ()

Retrieves the inner EAP session config

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

getServerCaCert

Added in API level 31
public X509Certificate getServerCaCert ()

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

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