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/ |
D | IkeAuthPayloadTest.java | 98 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()
|
D | IkeAuthDigitalSignPayloadTest.java | 99 IkeAuthPayload payload = IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testDecodeGenericDigitalSignPayload() 135 (IkeAuthDigitalSignPayload) IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testVerifyInboundSignature() 153 (IkeAuthDigitalSignPayload) IkeAuthPayload.getIkeAuthPayload(false, inputPacket); in testVerifyInboundSignatureFail()
|
D | IkeAuthPskPayloadTest.java | 93 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/ |
D | IkeAuthPskPayload.java | 31 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()
|
D | IkeAuthPayload.java | 39 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()
|
D | IkeAuthDigitalSignPayload.java | 25 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()
|
D | IkePayloadFactory.java | 76 return IkeAuthPayload.getIkeAuthPayload(isCritical, payloadBody); in decodeIkePayload()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 111 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/ |
D | IkeSessionStateMachineTest.java | 131 import com.android.internal.net.ipsec.ike.message.IkeAuthPayload; 2698 IkePayload.PAYLOAD_TYPE_AUTH, IkeAuthPayload.class)); in testCreateIkeLocalIkeAuthPreEap()
|