Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java43 import static com.android.internal.net.ipsec.ike.message.IkeMessage.DECODE_STATUS_OK;
44 import static com.android.internal.net.ipsec.ike.message.IkeMessage.DECODE_STATUS_PARTIAL;
45 import static com.android.internal.net.ipsec.ike.message.IkeMessage.DECODE_STATUS_PROTECTED_ERROR;
46 import static com.android.internal.net.ipsec.ike.message.IkeMessage.DECODE_STATUS_UNPROTECTED_ERROR;
47 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_CREATE_CHI…
48 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_DELETE_CHI…
49 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_DELETE_IKE;
50 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_GENERIC_IN…
51 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_IKE_AUTH;
52 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_IKE_INIT;
[all …]
DSaRecord.java35 import com.android.internal.net.ipsec.ike.message.IkeMessage;
36 import com.android.internal.net.ipsec.ike.message.IkeMessage.DecodeResultPartial;
199 IkeMessage initRequest, in makeFirstIkeSaRecord()
200 IkeMessage initResponse, in makeFirstIkeSaRecord()
225 IkeMessage rekeyRequest, in makeRekeyedIkeSaRecord()
226 IkeMessage rekeyResponse, in makeRekeyedIkeSaRecord()
240 IkeMessage localMsg = ikeSaRecordConfig.isLocalInit ? rekeyRequest : rekeyResponse; in makeRekeyedIkeSaRecord()
241 IkeMessage remoteMsg = ikeSaRecordConfig.isLocalInit ? rekeyResponse : rekeyRequest; in makeRekeyedIkeSaRecord()
251 private byte[] getSharedKey(IkeMessage keLocalMessage, IkeMessage keRemoteMessage) in getSharedKey()
700 IkeMessage initRequest, in makeFirstIkeSaRecord()
[all …]
DChildSessionStateMachine.java29 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_DELETE_CHI…
30 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_REKEY_CHIL…
88 import com.android.internal.net.ipsec.ike.message.IkeMessage.IkeExchangeSubType;
/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_…
59 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResult;
60 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultError;
61 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultOk;
62 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultPartial;
286 private IkeMessage verifyDecodeResultOkAndGetMessage( in verifyDecodeResultOkAndGetMessage()
312 DecodeResult decodeResult = IkeMessage.decode(0, header, inputPacket); in testDecodeIkeMessage()
314 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/ike3gpp/
DIke3gppExtensionExchange.java20 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_GENERIC_IN…
21 import static com.android.internal.net.ipsec.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_IKE_AUTH;
30 import com.android.internal.net.ipsec.ike.message.IkeMessage;
162 IkeMessage.getIkeExchangeSubTypeString(exchangeSubtype); in getRequestPayloads()
191 IkeMessage.getIkeExchangeSubTypeString(exchangeSubtype); in extract3gppResponsePayloads()
214 IkeMessage.getIkeExchangeSubTypeString(exchangeSubtype); in handle3gppResponsePayloads()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DRetransmitter.java22 import com.android.internal.net.ipsec.ike.message.IkeMessage;
53 private final IkeMessage mRetransmitMsg;
60 public Retransmitter(Handler handler, IkeMessage msg, int[] retransmissionTimeouts) { in Retransmitter()
152 public IkeMessage getMessage() { in getMessage()
/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()
74 mMockIkeMessage = mock(IkeMessage.class); in setUp()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java64 public final class IkeMessage { class
133 public IkeMessage(IkeHeader header, List<IkePayload> payloadList) { in IkeMessage() method in IkeMessage
495 byte[] encode(IkeMessage ikeMessage); in encode()
512 IkeMessage ikeMessage, in encryptAndEncode()
552 public byte[] encode(IkeMessage ikeMessage) { in encode()
566 IkeMessage ikeMessage, in encryptAndEncode()
704 new IkeMessage(header, supportedPayloadList), inputPacket); in decode()
833 new IkeMessage(header, supportedPayloadList), firstPacket); in decode()
975 public final IkeMessage ikeMessage;
978 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.java65 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_DELET…
66 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_REKEY…
191 import com.android.internal.net.ipsec.test.ike.message.IkeMessage;
192 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResult;
193 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultOk;
194 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultPartial;
195 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultProtectedError;
196 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.DecodeResultUnprotectedError;
197 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.IIkeMessageHelper;
198 import com.android.internal.net.ipsec.test.ike.message.IkeMessage.IkeMessageHelper;
[all …]
DChildSessionStateMachineTest.java35 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_DELET…
36 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_REKEY…
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ike3gpp/
DIke3gppExtensionExchangeTest.java23 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_GENER…
24 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_IKE_A…
25 import static com.android.internal.net.ipsec.test.ike.message.IkeMessage.IKE_EXCHANGE_SUBTYPE_IKE_I…