Searched refs:authPayload (Results 1 – 2 of 2) sorted by relevance
111 IkeAuthDigitalSignPayload authPayload = in testSignAndEncode() local121 ByteBuffer buffer = ByteBuffer.allocate(authPayload.getPayloadLength()); in testSignAndEncode()122 authPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, buffer); in testSignAndEncode()175 IkeAuthDigitalSignPayload authPayload = in testGenerateSignature() local185 assertEquals(SIGNATURE_ALGO_RSA_SHA2_256, authPayload.signatureAndHashAlgos); in testGenerateSignature()186 assertArrayEquals(authPayload.signature, TestUtils.hexStringToByteArray(SIGNATURE)); in testGenerateSignature()
3114 byte[] psk, IkeAuthPayload authPayload, IkeIdPayload respIdPayload) in authenticatePsk() argument3116 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY) { in authenticatePsk()3120 + authPayload.authMethod); in authenticatePsk()3123 IkeAuthPskPayload pskPayload = (IkeAuthPskPayload) authPayload; in authenticatePsk()3367 IkeAuthPayload authPayload = null; in validateIkeAuthResp() local3384 authPayload = (IkeAuthPayload) payload; in validateIkeAuthResp()3429 if (authPayload == null && mIkeSessionParams.hasIkeOption(IKE_OPTION_EAP_ONLY_AUTH)) { in validateIkeAuthResp()3438 if (authPayload != null && mRespIdPayload != null) { in validateIkeAuthResp()3439 authenticate(authPayload, mRespIdPayload, certPayloads); in validateIkeAuthResp()3447 IkeAuthPayload authPayload, in authenticate() argument[all …]