Home
last modified time | relevance | path

Searched refs:IkeMessage (Results 1 – 9 of 9) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java32 import static com.android.internal.net.ipsec.ike.message.IkeMessage.DECODE_STATUS_OK;
33 import static com.android.internal.net.ipsec.ike.message.IkeMessage.DECODE_STATUS_PARTIAL;
34 import static com.android.internal.net.ipsec.ike.message.IkeMessage.DECODE_STATUS_PROTECTED_ERROR;
35 import static com.android.internal.net.ipsec.ike.message.IkeMessage.DECODE_STATUS_UNPROTECTED_ERROR;
138 import com.android.internal.net.ipsec.ike.message.IkeMessage;
139 import com.android.internal.net.ipsec.ike.message.IkeMessage.DecodeResult;
140 import com.android.internal.net.ipsec.ike.message.IkeMessage.DecodeResultError;
141 import com.android.internal.net.ipsec.ike.message.IkeMessage.DecodeResultOk;
142 import com.android.internal.net.ipsec.ike.message.IkeMessage.DecodeResultPartial;
143 import com.android.internal.net.ipsec.ike.message.IkeMessage.DecodeResultProtectedError;
[all …]
DSaRecord.java38 import com.android.internal.net.ipsec.ike.message.IkeMessage;
39 import com.android.internal.net.ipsec.ike.message.IkeMessage.DecodeResultPartial;
200 IkeMessage initRequest, in makeFirstIkeSaRecord()
201 IkeMessage initResponse, in makeFirstIkeSaRecord()
226 IkeMessage rekeyRequest, in makeRekeyedIkeSaRecord()
227 IkeMessage rekeyResponse, in makeRekeyedIkeSaRecord()
241 IkeMessage localMsg = ikeSaRecordConfig.isLocalInit ? rekeyRequest : rekeyResponse; in makeRekeyedIkeSaRecord()
242 IkeMessage remoteMsg = ikeSaRecordConfig.isLocalInit ? rekeyResponse : rekeyRequest; in makeRekeyedIkeSaRecord()
252 private byte[] getSharedKey(IkeMessage keLocalMessage, IkeMessage keRemoteMessage) in getSharedKey()
718 IkeMessage initRequest, in makeFirstIkeSaRecord()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java19 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.DECODE_STATUS_OK;
20 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.DECODE_STATUS_PROTECTED_ER…
21 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.DECODE_STATUS_UNPROTECTED_…
57 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResult;
58 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultError;
59 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultOk;
60 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultPartial;
284 private IkeMessage verifyDecodeResultOkAndGetMessage( in verifyDecodeResultOkAndGetMessage()
310 DecodeResult decodeResult = IkeMessage.decode(0, header, inputPacket); in testDecodeIkeMessage()
312 IkeMessage message = verifyDecodeResultOkAndGetMessage(decodeResult, inputPacket); in testDecodeIkeMessage()
[all …]
DIkeTestUtils.java19 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.DECODE_STATUS_UNPROTECTED_…
31 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResult;
32 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultError;
55 DecodeResult decodeResult = IkeMessage.decode(0, header, inputPacket); in decodeAndVerifyUnprotectedErrorMsg()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DRetransmitter.java22 import com.android.internal.net.ipsec.ike.message.IkeMessage;
33 private final IkeMessage mRetransmitMsg;
37 public Retransmitter(Handler handler, IkeMessage msg, int[] retransmissionTimeouts) { in Retransmitter()
69 public IkeMessage getMessage() { in getMessage()
80 protected abstract void send(IkeMessage msg); in send()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/utils/
DRetransmitterTest.java36 import com.android.internal.net.ipsec.test.ike.message.IkeMessage;
43 private IkeMessage mMockIkeMessage;
52 TestRetransmitter(Handler handler, IkeMessage message, int[] retransmissionTimeouts) { in TestRetransmitter()
57 public void send(IkeMessage msg) { in send()
74 mMockIkeMessage = mock(IkeMessage.class); in setUp()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java63 public final class IkeMessage { class
91 public IkeMessage(IkeHeader header, List<IkePayload> payloadList) { in IkeMessage() method in IkeMessage
367 byte[] encode(IkeMessage ikeMessage); in encode()
384 IkeMessage ikeMessage, in encryptAndEncode()
424 public byte[] encode(IkeMessage ikeMessage) { in encode()
438 IkeMessage ikeMessage, in encryptAndEncode()
576 new IkeMessage(header, supportedPayloadList), inputPacket); in decode()
705 new IkeMessage(header, supportedPayloadList), firstPacket); in decode()
847 public final IkeMessage ikeMessage;
850 public DecodeResultOk(IkeMessage ikeMessage, byte[] firstPacket) { in DecodeResultOk()
DIkeCertPayload.java153 CERT_PATH_ALGO_PKIX, IkeMessage.getTrustManagerProvider()); in validateCertificates()
165 + IkeMessage.getTrustManagerProvider().getName()); in validateCertificates()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java176 import com.android.internal.net.ipsec.test.ike.message.IkeMessage;
177 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResult;
178 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultOk;
179 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultPartial;
180 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultProtectedError;
181 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultUnprotectedError;
182 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.IIkeMessageHelper;
183 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.IkeMessageHelper;
432 private ArgumentCaptor<IkeMessage> mIkeMessageCaptor =
433 ArgumentCaptor.forClass(IkeMessage.class);
[all …]