Stay organized with collections
Save and categorize content based on your preferences.
WifiEnterpriseConfig.Phase2
public
static
final
class
WifiEnterpriseConfig.Phase2
extends Object
The inner authentication method used
Summary
Constants |
int |
AKA
EAP-Authentication and Key Agreement [RFC-4187]
|
int |
AKA_PRIME
EAP-Authentication and Key Agreement Prime [RFC-5448]
|
int |
GTC
Generic Token Card
|
int |
MSCHAP
Microsoft Challenge Handshake Authentication Protocol
|
int |
MSCHAPV2
Microsoft Challenge Handshake Authentication Protocol v2
|
int |
NONE
|
int |
PAP
Password Authentication Protocol
|
int |
SIM
EAP-Subscriber Identity Module [RFC-4186]
|
Inherited methods |
From class
java.lang.Object
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.
|
|
Constants
AKA
public static final int AKA
EAP-Authentication and Key Agreement [RFC-4187]
Constant Value:
6
(0x00000006)
AKA_PRIME
public static final int AKA_PRIME
EAP-Authentication and Key Agreement Prime [RFC-5448]
Constant Value:
7
(0x00000007)
GTC
public static final int GTC
Generic Token Card
Constant Value:
4
(0x00000004)
MSCHAP
public static final int MSCHAP
Microsoft Challenge Handshake Authentication Protocol
Constant Value:
2
(0x00000002)
MSCHAPV2
public static final int MSCHAPV2
Microsoft Challenge Handshake Authentication Protocol v2
Constant Value:
3
(0x00000003)
NONE
public static final int NONE
Constant Value:
0
(0x00000000)
PAP
public static final int PAP
Password Authentication Protocol
Constant Value:
1
(0x00000001)
SIM
public static final int SIM
EAP-Subscriber Identity Module [RFC-4186]
Constant Value:
5
(0x00000005)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# WifiEnterpriseConfig.Phase2\n\nAdded in [API level 18](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nWifiEnterpriseConfig.Phase2\n===========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/net/wifi/WifiEnterpriseConfig.Phase2 \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\nfinal\n\nclass\nWifiEnterpriseConfig.Phase2\n`\n\n\n`\n\nextends `[Object](/reference/java/lang/Object)`\n\n\n`\n\n`\n\n\n`\n\n|---|----------------------------------------------|\n| [java.lang.Object](/reference/java/lang/Object) ||\n| ↳ | android.net.wifi.WifiEnterpriseConfig.Phase2 |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nThe inner authentication method used\n\nSummary\n-------\n\n| ### Constants ||\n|-------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [AKA](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2#AKA) EAP-Authentication and Key Agreement \\[RFC-4187\\] |\n| `int` | [AKA_PRIME](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2#AKA_PRIME) EAP-Authentication and Key Agreement Prime \\[RFC-5448\\] |\n| `int` | [GTC](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2#GTC) Generic Token Card |\n| `int` | [MSCHAP](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2#MSCHAP) Microsoft Challenge Handshake Authentication Protocol |\n| `int` | [MSCHAPV2](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2#MSCHAPV2) Microsoft Challenge Handshake Authentication Protocol v2 |\n| `int` | [NONE](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2#NONE) |\n| `int` | [PAP](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2#PAP) Password Authentication Protocol |\n| `int` | [SIM](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2#SIM) EAP-Subscriber Identity Module \\[RFC-4186\\] |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[java.lang.Object](/reference/java/lang/Object)` ` |---------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](/reference/java/lang/Object) | ` `[clone](/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object. | | ` boolean` | ` `[equals](/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](/reference/java/lang/Object)` obj) ` Indicates whether some other object is \"equal to\" this one. | | ` void` | ` `[finalize](/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. | | ` final `[Class](/reference/java/lang/Class)`\u003c?\u003e` | ` `[getClass](/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this `Object`. | | ` int` | ` `[hashCode](/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object. | | ` final void` | ` `[notify](/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor. | | ` final void` | ` `[notifyAll](/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor. | | ` `[String](/reference/java/lang/String) | ` `[toString](/reference/java/lang/Object#toString())`() ` Returns a string representation of the object. | | ` final void` | ` `[wait](/reference/java/lang/Object#wait(long,%20int))`(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](/reference/java/lang/Object#wait(long))`(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](/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*. | ||\n\nConstants\n---------\n\n### AKA\n\nAdded in [API level 26](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int AKA\n```\n\nEAP-Authentication and Key Agreement \\[RFC-4187\\]\n\n\u003cbr /\u003e\n\nConstant Value:\n\n6\n(0x00000006)\n\n\n### AKA_PRIME\n\nAdded in [API level 26](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int AKA_PRIME\n```\n\nEAP-Authentication and Key Agreement Prime \\[RFC-5448\\]\n\n\u003cbr /\u003e\n\nConstant Value:\n\n7\n(0x00000007)\n\n\n### GTC\n\nAdded in [API level 18](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int GTC\n```\n\nGeneric Token Card\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4\n(0x00000004)\n\n\n### MSCHAP\n\nAdded in [API level 18](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int MSCHAP\n```\n\nMicrosoft Challenge Handshake Authentication Protocol\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### MSCHAPV2\n\nAdded in [API level 18](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int MSCHAPV2\n```\n\nMicrosoft Challenge Handshake Authentication Protocol v2\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### NONE\n\nAdded in [API level 18](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int NONE\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)\n\n\n### PAP\n\nAdded in [API level 18](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int PAP\n```\n\nPassword Authentication Protocol\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### SIM\n\nAdded in [API level 26](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int SIM\n```\n\nEAP-Subscriber Identity Module \\[RFC-4186\\]\n\n\u003cbr /\u003e\n\nConstant Value:\n\n5\n(0x00000005)"]]