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 | |
---|---|
Public constructors
Public methods
build
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
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 . |