Home
last modified time | relevance | path

Searched refs:ikeMessage (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java2057 if (isTempFailure(resultOk.ikeMessage)) { in handleReceivedIkePacket()
2063 handleResponseIkeMessage(resultOk.ikeMessage); in handleReceivedIkePacket()
2136 IkeMessage ikeMessage = resultOk.ikeMessage; in handleReceivedIkePacket() local
2140 if (ikeMessage.isDpdRequest()) { in handleReceivedIkePacket()
2152 int ikeExchangeSubType = ikeMessage.getIkeExchangeSubType(); in handleReceivedIkePacket()
2175 handleRequestIkeMessage(ikeMessage, ikeExchangeSubType, message); in handleReceivedIkePacket()
2237 protected void handleGenericInfoRequest(IkeMessage ikeMessage) { in handleGenericInfoRequest() argument
2240 for (IkePayload payload : ikeMessage.ikePayloadList) { in handleGenericInfoRequest()
2265 IKE_EXCHANGE_SUBTYPE_GENERIC_INFO, ikeMessage.ikePayloadList); in handleGenericInfoRequest()
2281 ikeMessage.ikeHeader.messageId); in handleGenericInfoRequest()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java495 byte[] encode(IkeMessage ikeMessage); in encode() argument
512 IkeMessage ikeMessage, in encryptAndEncode() argument
552 public byte[] encode(IkeMessage ikeMessage) { in encode() argument
553 getIkeLog().d("IkeMessage", "Generating " + ikeMessage.ikeHeader.getBasicInfoString()); in encode()
555 byte[] encodedIkeBody = ikeMessage.encodePayloads(); in encode()
556 byte[] packet = ikeMessage.attachEncodedHeader(encodedIkeBody); in encode()
566 IkeMessage ikeMessage, in encryptAndEncode() argument
569 getIkeLog().d("IkeMessage", "Generating " + ikeMessage.ikeHeader.getBasicInfoString()); in encryptAndEncode()
572 ikeMessage.ikeHeader, in encryptAndEncode()
573 ikeMessage.ikePayloadList.isEmpty() in encryptAndEncode()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java291 assertNotNull(resultOk.ikeMessage); in verifyDecodeResultOkAndGetMessage()
294 return resultOk.ikeMessage; in verifyDecodeResultOkAndGetMessage()
393 IkeMessage ikeMessage = verifyDecodeResultOkAndGetMessage(decodeResult, mIkeAuthPacket); in testDecodeEncryptedMessage() local
395 assertEquals(IKE_AUTH_PAYLOAD_SIZE, ikeMessage.ikePayloadList.size()); in testDecodeEncryptedMessage()
496 ((DecodeResultOk) IkeMessage.decode(0, header, inputPacket)).ikeMessage; in testAttachEncodedHeader()
525 IkeMessage ikeMessage = new IkeMessage(ikeHeader, new ArrayList<>()); in testEncodeAndEncryptEmptyMsg() local
528 ikeMessage.encryptAndEncode( in testEncodeAndEncryptEmptyMsg()
726 assertEquals(2, resultOk.ikeMessage.ikePayloadList.size()); in testRcvLastArrivedFrag()