EapSessionConfig.EapAkaOption.Builder


public static final class EapSessionConfig.EapAkaOption.Builder
extends Object

java.lang.Object
   ↳ android.net.eap.EapSessionConfig.EapAkaOption.Builder


This class can be used to incrementally construct an EapAkaOption.

Summary

Public constructors

Builder()

Public methods

EapSessionConfig.EapAkaOption build()

Constructs and returns an EapAkaOption with the configurations applied to this Builder.

EapSessionConfig.EapAkaOption.Builder setReauthId(byte[] reauthId)

Set fast re-authentication ID

If keys are found matching the combination of reauthId and permanent ID, re-authentication will be attempted.

Inherited methods

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 constructors

Builder

Added in API level 33
public Builder ()

Public methods

build

Added in API level 33
public EapSessionConfig.EapAkaOption build ()

Constructs and returns an EapAkaOption with the configurations applied to this Builder.

Returns
EapSessionConfig.EapAkaOption the EapAkaOption constructed by this Builder. This value cannot be null.

setReauthId

Added in API level 33
public EapSessionConfig.EapAkaOption.Builder setReauthId (byte[] reauthId)

Set fast re-authentication ID

If keys are found matching the combination of reauthId and permanent ID, re-authentication will be attempted.

Permanent ID MUST be set in setEapIdentity

Upon session establishment, new re-authentication IDs will be listed in the EapAkaInfo returned as part of IkeSessionCallback#onOpened().

Reauthentication is generally considered less secure, as it does not prove the existence of the full credentials, and should be used only when a strong correlation can be provided to the full authentication (eg shared keys from previous authentication runs)

Parameters
reauthId byte: re-authentication ID encoded with UTF-8 This value cannot be null.

Returns
EapSessionConfig.EapAkaOption.Builder Builder this, to facilitate chaining. This value cannot be null.