Home
last modified time | relevance | path

Searched refs:authPayload (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthDigitalSignPayloadTest.java194 IkeAuthDigitalSignPayload authPayload = in verifySignAndEncode() local
204 ByteBuffer buffer = ByteBuffer.allocate(authPayload.getPayloadLength()); in verifySignAndEncode()
205 authPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, buffer); in verifySignAndEncode()
284 IkeAuthDigitalSignPayload authPayload = in testGenerateSignature() local
294 assertEquals(SIGNATURE_ALGO_RSA_SHA2_256, authPayload.signatureAndHashAlgos); in testGenerateSignature()
295 assertArrayEquals(authPayload.signature, TestUtils.hexStringToByteArray(SIGNATURE)); in testGenerateSignature()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java3919 byte[] psk, IkeAuthPayload authPayload, IkeIdPayload respIdPayload) in authenticatePsk() argument
3921 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY) { in authenticatePsk()
3925 + authPayload.authMethod); in authenticatePsk()
3928 IkeAuthPskPayload pskPayload = (IkeAuthPskPayload) authPayload; in authenticatePsk()
4007 IkeNotifyPayload notifyPayload, IkeAuthPayload authPayload) { in handleNotifyInLastAuthResp() argument
4009 if (notifyPayload.isNewChildSaNotify() && authPayload != null) { in handleNotifyInLastAuthResp()
4310 IkeAuthPayload authPayload = null; in validateIkeAuthResp() local
4342 authPayload = (IkeAuthPayload) payload; in validateIkeAuthResp()
4372 if (authPayload == null && mIkeSessionParams.hasIkeOption(IKE_OPTION_EAP_ONLY_AUTH)) { in validateIkeAuthResp()
4382 if (authPayload != null && mRespIdPayload != null) { in validateIkeAuthResp()
[all …]