Home
last modified time | relevance | path

Searched refs:IkeIdPayload (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java108 IkeIdPayload payload = new IkeIdPayload(false, inputPacket, false); in testDecodeIpv4AddrIdPayload()
121 IkeIdPayload payload = new IkeIdPayload(false, inputPacket, false); in testDecodeIpv6AddrIdPayload()
133 IkeIdPayload payload = in testDecodeFqdnIdPayload()
134 new IkeIdPayload(false /*critical*/, inputPacket, false /*isInitiator*/); in testDecodeFqdnIdPayload()
146 IkeIdPayload payload = in testDecodeRfc822AddrIdPayload()
147 new IkeIdPayload(false /*critical*/, inputPacket, true /*isInitiator*/); in testDecodeRfc822AddrIdPayload()
158 IkeIdPayload payload = in testDecodeKeyIdPayload()
159 new IkeIdPayload(false /*critical*/, inputPacket, true /*isInitiator*/); in testDecodeKeyIdPayload()
170 IkeIdPayload payload = in testDecodeDerAsn1DnIdPayload()
171 new IkeIdPayload(false /*critical*/, inputPacket, true /*isInitiator*/); in testDecodeDerAsn1DnIdPayload()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayload.java44 public final class IkeIdPayload extends IkePayload { class
61 IkeIdPayload(boolean critical, byte[] payloadBody, boolean isInitiator) in IkeIdPayload() method in IkeIdPayload
109 public IkeIdPayload(boolean isInitiator, IkeIdentification ikeId) { in IkeIdPayload() method in IkeIdPayload
DIkePayloadFactory.java68 return new IkeIdPayload(isCritical, payloadBody, true); in decodeIkePayload()
70 return new IkeIdPayload(isCritical, payloadBody, false); in decodeIkePayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java138 import com.android.internal.net.ipsec.ike.message.IkeIdPayload;
2097 IkePayload.PAYLOAD_TYPE_ID_INITIATOR, IkeIdPayload.class)); in verifyAuthReqWithChildPayloadsAndGetMsg()
2100 IkePayload.PAYLOAD_TYPE_ID_RESPONDER, IkeIdPayload.class)); in verifyAuthReqWithChildPayloadsAndGetMsg()
2155 IkeIdPayload respIdPayload, in verifyDigitalSignatureAuthentication()
2183 IkeIdPayload respIdPayload, in verifySharedKeyAuthentication()
2211 IkeIdPayload respIdPayload, in verifyAuthenticationCommonAndGetIkeMessage()
2370 private IkeIdPayload makeRespIdPayload() { in makeRespIdPayload()
2374 private IkeIdPayload makeRespIdPayload(IkeIdentification ikeId) { in makeRespIdPayload()
2375 return new IkeIdPayload(false /* isInitiator */, ikeId); in makeRespIdPayload()
2418 IkeIdPayload respIdPayload = makeRespIdPayload(); in testCreateIkeLocalIkeAuthDefersOtherMessages()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java121 import com.android.internal.net.ipsec.ike.message.IkeIdPayload;
430 @VisibleForTesting IkeIdPayload mInitIdPayload;
431 @VisibleForTesting IkeIdPayload mRespIdPayload;
3114 byte[] psk, IkeAuthPayload authPayload, IkeIdPayload respIdPayload) in authenticatePsk()
3285 new IkeIdPayload( in buildIkeAuthReq()
3287 IkeIdPayload respIdPayload = in buildIkeAuthReq()
3288 new IkeIdPayload( in buildIkeAuthReq()
3373 mRespIdPayload = (IkeIdPayload) payload; in validateIkeAuthResp()
3448 IkeIdPayload respIdPayload, in authenticate()
3478 IkeIdPayload respIdPayload) in authenticateDigitalSignature()