Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthPayloadTest.java98 IkeAuthPayload payload = IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testDecodeIkeAuthPayload()
100 assertEquals(IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY, payload.authMethod); in testDecodeIkeAuthPayload()
113 IkeAuthPayload payload = IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testDecodeIkeAuthPayloadWithUnsupportedMethod()
127 IkeAuthPayload.getSignedOctets( in testGetSignedOctets()
DIkeAuthDigitalSignPayloadTest.java130 IkeAuthPayload payload = IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testDecodeGenericDigitalSignPayload()
234 (IkeAuthDigitalSignPayload) IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in checkVerifyInboundSignature()
262 (IkeAuthDigitalSignPayload) IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testVerifyInboundSignatureFail()
DIkeAuthPskPayloadTest.java93 assertEquals(IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY, payload.authMethod); in testBuildOutboundIkeAuthPskPayload()
110 (IkeAuthPskPayload) IkeAuthPayload.getIkeAuthPayload(false, payloadBody); in buildPskPayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthPskPayload.java32 public final class IkeAuthPskPayload extends IkeAuthPayload {
49 super(critical, IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY); in IkeAuthPskPayload()
75 super(false, IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY); in IkeAuthPskPayload()
DIkeAuthPayload.java39 public abstract class IkeAuthPayload extends IkePayload { class
63 protected IkeAuthPayload(boolean critical, int authMethod) { in IkeAuthPayload() method in IkeAuthPayload
68 protected static IkeAuthPayload getIkeAuthPayload(boolean critical, byte[] payloadBody) in getIkeAuthPayload()
DIkeAuthDigitalSignPayload.java30 import com.android.internal.net.ipsec.ike.message.IkeAuthPayload.AuthMethod;
63 public class IkeAuthDigitalSignPayload extends IkeAuthPayload {
DIkePayloadFactory.java76 return IkeAuthPayload.getIkeAuthPayload(isCritical, payloadBody); in decodeIkePayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java150 import com.android.internal.net.ipsec.ike.message.IkeAuthPayload;
3919 byte[] psk, IkeAuthPayload authPayload, IkeIdPayload respIdPayload) in authenticatePsk()
3921 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY) { in authenticatePsk()
4007 IkeNotifyPayload notifyPayload, IkeAuthPayload authPayload) { in handleNotifyInLastAuthResp()
4310 IkeAuthPayload authPayload = null; in validateIkeAuthResp()
4342 authPayload = (IkeAuthPayload) payload; in validateIkeAuthResp()
4352 PAYLOAD_TYPE_AUTH, IkeAuthPayload.class)); in validateIkeAuthResp()
4395 IkeAuthPayload authPayload, in authenticate()
4425 IkeAuthPayload authPayload, in authenticateDigitalSignature()
4428 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_RSA_DIGITAL_SIGN in authenticateDigitalSignature()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java181 import com.android.internal.net.ipsec.test.ike.message.IkeAuthPayload;
3578 IkePayload.PAYLOAD_TYPE_AUTH, IkeAuthPayload.class)); in testCreateIkeLocalIkeAuthPreEap()