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.java99 IkeAuthPayload payload = IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testDecodeGenericDigitalSignPayload()
135 (IkeAuthDigitalSignPayload) IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testVerifyInboundSignature()
153 (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.java31 public final class IkeAuthPskPayload extends IkeAuthPayload {
48 super(critical, IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY); in IkeAuthPskPayload()
74 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.java25 import com.android.internal.net.ipsec.ike.message.IkeAuthPayload.AuthMethod;
52 public class IkeAuthDigitalSignPayload extends IkeAuthPayload {
177 super(false, IkeAuthPayload.AUTH_METHOD_GENERIC_DIGITAL_SIGN); in IkeAuthDigitalSignPayload()
DIkePayloadFactory.java76 return IkeAuthPayload.getIkeAuthPayload(isCritical, payloadBody); in decodeIkePayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java111 import com.android.internal.net.ipsec.ike.message.IkeAuthPayload;
3114 byte[] psk, IkeAuthPayload authPayload, IkeIdPayload respIdPayload) in authenticatePsk()
3116 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY) { in authenticatePsk()
3367 IkeAuthPayload authPayload = null; in validateIkeAuthResp()
3384 authPayload = (IkeAuthPayload) payload; in validateIkeAuthResp()
3394 PAYLOAD_TYPE_AUTH, IkeAuthPayload.class) in validateIkeAuthResp()
3447 IkeAuthPayload authPayload, in authenticate()
3477 IkeAuthPayload authPayload, in authenticateDigitalSignature()
3480 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_RSA_DIGITAL_SIGN in authenticateDigitalSignature()
3481 && authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_GENERIC_DIGITAL_SIGN) { in authenticateDigitalSignature()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java131 import com.android.internal.net.ipsec.ike.message.IkeAuthPayload;
2698 IkePayload.PAYLOAD_TYPE_AUTH, IkeAuthPayload.class)); in testCreateIkeLocalIkeAuthPreEap()