Searched refs:securityContext (Results 1 – 3 of 3) sorted by relevance
85 EapAkaSecurityContext securityContext = in parseResponseData_validResponse_pass() local88 assertThat(securityContext.getIk()).isEqualTo(convertHexStringToBytes(EXPECTED_IK)); in parseResponseData_validResponse_pass()89 assertThat(securityContext.getCk()).isEqualTo(convertHexStringToBytes(EXPECTED_CK)); in parseResponseData_validResponse_pass()90 assertThat(securityContext.getRes()).isEqualTo(convertHexStringToBytes(EXPECTED_RES)); in parseResponseData_validResponse_pass()142 EapAkaSecurityContext securityContext = EapAkaSecurityContext.from(encodedData); in parseResponseData_validWithWrongKcLength() local144 assertThat(securityContext.getIk()).isEqualTo(convertHexStringToBytes(EXPECTED_IK)); in parseResponseData_validWithWrongKcLength()145 assertThat(securityContext.getCk()).isEqualTo(convertHexStringToBytes(EXPECTED_CK)); in parseResponseData_validWithWrongKcLength()146 assertThat(securityContext.getRes()).isEqualTo(convertHexStringToBytes(EXPECTED_RES)); in parseResponseData_validWithWrongKcLength()154 EapAkaSecurityContext securityContext = EapAkaSecurityContext.from(encodedData); in parseResponseData_noKcKey() local156 assertThat(securityContext.getIk()).isEqualTo(convertHexStringToBytes(EXPECTED_IK)); in parseResponseData_noKcKey()[all …]
101 EapAkaSecurityContext securityContext = EapAkaSecurityContext.from(response); in respondToEapAkaChallenge() local104 if (securityContext.getRes() != null in respondToEapAkaChallenge()105 && securityContext.getIk() != null in respondToEapAkaChallenge()106 && securityContext.getCk() != null) { // Success authentication in respondToEapAkaChallenge()113 securityContext.getIk(), in respondToEapAkaChallenge()114 securityContext.getCk()); in respondToEapAkaChallenge()124 securityContext.getRes(), eapAkaChallenge.getIdentifier(), mk.getAut()); in respondToEapAkaChallenge()133 } else if (securityContext.getAuts() != null) { in respondToEapAkaChallenge()137 securityContext.getAuts(), eapAkaChallenge.getIdentifier()); in respondToEapAkaChallenge()
59 EapAkaSecurityContext securityContext = new EapAkaSecurityContext(); in from() local60 securityContext.parseResponseData(response); in from()61 if (!securityContext.isValid()) { in from()66 return securityContext; in from()