• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright (c) 2016, The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.net.wifi;
18 
19 /**
20  * Utility class containing EAP (Extensible Authentication Protocol) Related constants.
21  *
22  * @hide
23  */
24 public final class EAPConstants {
25     // Constant definition for EAP types. Refer to
26     // http://www.iana.org/assignments/eap-numbers/eap-numbers.xhtml for more info.
27     public static final int EAP_MD5 = 4;
28     public static final int EAP_OTP = 5;
29     public static final int EAP_RSA = 9;
30     public static final int EAP_KEA = 11;
31     public static final int EAP_KEA_VALIDATE = 12;
32     public static final int EAP_TLS = 13;
33     public static final int EAP_LEAP = 17;
34     public static final int EAP_SIM = 18;
35     public static final int EAP_TTLS = 21;
36     public static final int EAP_AKA = 23;
37     public static final int EAP_3Com = 24;
38     public static final int EAP_MSCHAPv2 = 26;
39     public static final int EAP_PEAP = 29;
40     public static final int EAP_POTP = 32;
41     public static final int EAP_ActiontecWireless = 35;
42     public static final int EAP_HTTPDigest = 38;
43     public static final int EAP_SPEKE = 41;
44     public static final int EAP_MOBAC = 42;
45     public static final int EAP_FAST = 43;
46     public static final int EAP_ZLXEAP = 44;
47     public static final int EAP_Link = 45;
48     public static final int EAP_PAX = 46;
49     public static final int EAP_PSK = 47;
50     public static final int EAP_SAKE = 48;
51     public static final int EAP_IKEv2 = 49;
52     public static final int EAP_AKA_PRIME = 50;
53     public static final int EAP_GPSK = 51;
54     public static final int EAP_PWD = 52;
55     public static final int EAP_EKE = 53;
56     public static final int EAP_TEAP = 55;
57 }
58