Home
last modified time | relevance | path

Searched refs:EapSimAkaAttribute (Results 1 – 25 of 55) sorted by relevance

123

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttributeFactory.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_CLIENT_ERROR_CO…
21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER;
22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER_TOO_SMA…
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ;
24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IDENTITY;
25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NONCE_S;
27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NOTIFICATION;
28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PADDING;
[all …]
DEapAkaAttributeFactory.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN;
20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTS;
21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_BIDDING;
22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND;
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RES;
24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.LENGTH_SCALING;
28 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAutn;
29 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAuts;
30 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtBidding;
31 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRandAka;
[all …]
DEapSimAttributeFactory.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NONCE_MT;
20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND;
21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_SELECTED_VERSIO…
22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LIST;
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.LENGTH_SCALING;
27 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNonceMt;
28 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRandSim;
29 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtSelectedVersion;
30 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtVersionList;
65 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) throws in getAttribute()
DEapSimAkaTypeData.java20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_ATTRIBUTE_STRING;
28 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode;
29 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EapSimAkaUnsupportedAttribute;
48 public final LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap;
52 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in EapSimAkaTypeData()
64 for (EapSimAkaAttribute attribute : attributeMap.values()) { in encode()
74 for (EapSimAkaAttribute attribute : attributeMap.values()) { in encode()
124 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap = new LinkedHashMap<>(); in decode()
126 EapSimAkaAttribute attribute = mAttributeFactory.getAttribute(byteBuffer); in decode()
160 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap); in getInstance()
[all …]
DEapSimAkaAttribute.java43 public abstract class EapSimAkaAttribute { class
118 protected EapSimAkaAttribute(int attributeType, int lengthInBytes) in EapSimAkaAttribute() method in EapSimAkaAttribute
153 public static class EapSimAkaUnsupportedAttribute extends EapSimAkaAttribute {
188 public static class AtVersionList extends EapSimAkaAttribute {
239 public static class AtSelectedVersion extends EapSimAkaAttribute {
289 public static class AtNonceMt extends EapSimAkaAttribute {
327 private abstract static class AtIdReq extends EapSimAkaAttribute {
405 public static class AtIdentity extends EapSimAkaAttribute {
457 public static class AtRandSim extends EapSimAkaAttribute {
525 public static class AtRandAka extends EapSimAkaAttribute {
[all …]
DEapAkaPrimeAttributeFactory.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF;
20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF_INPUT;
21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.LENGTH_SCALING;
25 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdf;
26 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdfInput;
61 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute()
DEapAkaPrimeTypeData.java23 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode;
38 int eapSubType, LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in EapAkaPrimeTypeData()
48 public EapAkaPrimeTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in EapAkaPrimeTypeData()
91 int eapSubtype, LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in getInstance()
DEapSimTypeData.java66 public EapSimTypeData(int eapSubType, LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in EapSimTypeData()
70 public EapSimTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in EapSimTypeData()
77 for (EapSimAkaAttribute attribute : attributes) { in EapSimTypeData()
121 LinkedHashMap<Integer, EapSimAkaAttribute> attributeMap) { in getInstance()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaTypeDataTest.java26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN;
28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_CHECKCODE;
29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
30 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND;
31 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RES;
42 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAnyIdReq;
43 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAutn;
44 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtMac;
45 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRandAka;
[all …]
DEapAkaPrimeTypeDataTest.java21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN;
22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF;
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF_INPUT;
24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND;
37 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAutn;
38 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode;
39 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdf;
40 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdfInput;
41 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtMac;
[all …]
DEapSimTypeDataTest.java25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE…
26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LIST;
35 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtPermanentIdReq;
36 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtVersionList;
64 List<EapSimAkaAttribute> attributes = Arrays.asList( in testConstructor()
71 Iterator<Entry<Integer, EapSimAkaAttribute>> itr = in testConstructor()
73 Entry<Integer, EapSimAkaAttribute> pair = itr.next(); in testConstructor()
141 LinkedHashMap<Integer, EapSimAkaAttribute> attributes = new LinkedHashMap<>(); in testEncode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimStartStateTest.java28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA;
30 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IV;
31 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
32 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE…
33 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LIST;
57 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
58 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAnyIdReq;
59 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtIdentity;
60 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtMac;
[all …]
DEapSimAkaMethodStateMachineTest.java49 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNotification.GENERAL…
50 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNotification.GENERAL…
51 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
94 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
95 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode;
96 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtIdentity;
97 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtMac;
98 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNotification;
99 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRandSim;
100 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtSelectedVersion;
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtIdReqTest.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ;
21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE…
36 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
37 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAnyIdReq;
38 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtFullauthIdReq;
39 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtPermanentIdReq;
60 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtPermanentIdReq()
91 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtAnyIdReq()
122 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtFullauthIdReq()
DAtCounterTest.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER;
20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER_TOO_SMA…
34 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
35 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtCounter;
36 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtCounterTooSmall;
57 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtCounter()
96 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtCounterTooSmall()
DAtKdfInputTest.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF_INPUT;
29 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
30 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdfInput;
48 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode()
60 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeEmptyNetworkName()
DAtIdentityTest.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IDENTITY;
28 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
29 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtIdentity;
49 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode()
78 EapSimAkaAttribute eapSimAkaAttribute = in testGetAtIdentity()
DAtBiddingTest.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_BIDDING;
32 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
33 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtBidding;
51 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeServerSupportsAkaPrime()
63 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeDoesNotSupportAkaPrime()
DAtNotificationTest.java20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNotification.GENERAL…
21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NOTIFICATION;
36 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
37 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNotification;
59 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode()
DAtRandAkaTest.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND;
31 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
32 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRandAka;
50 EapSimAkaAttribute result = mEapAkaAttributeFactory.getAttribute(input); in testDecode()
DAtSelectedVersionTest.java19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_SELECTED_VERSIO…
30 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
31 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtSelectedVersion;
54 EapSimAkaAttribute result = mEapSimAttributeFactory.getAttribute(input); in testDecode()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimMethodStateMachine.java22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA;
24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ;
25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IV;
26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE…
28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND;
29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LIST;
53 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
54 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode;
[all …]
DEapAkaMethodStateMachine.java28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ;
29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN;
30 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_BIDDING;
31 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA;
32 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ;
33 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IV;
34 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
35 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE…
36 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND;
59 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
[all …]
DEapAkaPrimeMethodStateMachine.java22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN;
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF;
24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_KDF_INPUT;
39 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
40 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtAutn;
41 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode;
42 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdf;
43 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtKdfInput;
189 Map<Integer, EapSimAkaAttribute> attrs = eapAkaPrimeTypeData.attributeMap; in isValidChallengeAttributes()
341 EapAkaPrimeTypeData getEapSimAkaTypeData(int eapSubtype, List<EapSimAkaAttribute> attributes) { in getEapSimAkaTypeData()
DEapSimAkaMethodStateMachine.java22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC;
23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NOTIFICATION;
40 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute;
41 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtClientErrorCode;
42 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtMac;
43 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtNotification;
157 List<EapSimAkaAttribute> attributes) { in buildResponseMessage()
276 int identifier, int eapSubtype, byte[] extraData, List<EapSimAkaAttribute> attributes) { in buildResponseMessageWithMac()
362 int eapSubtype, List<EapSimAkaAttribute> attributes); in getEapSimAkaTypeData()

123