Home
last modified time | relevance | path

Searched refs:authMethod (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthPayload.java61 @AuthMethod public final int authMethod; field in IkeAuthPayload
63 protected IkeAuthPayload(boolean critical, int authMethod) { in IkeAuthPayload() argument
65 this.authMethod = authMethod; in IkeAuthPayload()
72 int authMethod = Byte.toUnsignedInt(inputBuffer.get()); in getIkeAuthPayload() local
79 switch (authMethod) { in getIkeAuthPayload()
117 byteBuffer.put((byte) authMethod).put(new byte[AUTH_RESERVED_FIELD_LEN]); in encodeToByteBuffer()
DIkeAuthDigitalSignPayload.java122 boolean critical, @AuthMethod int authMethod, byte[] authData) in IkeAuthDigitalSignPayload() argument
124 super(critical, authMethod); in IkeAuthDigitalSignPayload()
125 switch (authMethod) { in IkeAuthDigitalSignPayload()
275 if (authMethod == AUTH_METHOD_GENERIC_DIGITAL_SIGN) { in encodeAuthDataToByteBuffer()
284 if (authMethod == AUTH_METHOD_GENERIC_DIGITAL_SIGN) { in getAuthDataLength()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java358 IkeAuthConfig(@IkeAuthMethod int authMethod) { in IkeAuthConfig() argument
359 mAuthMethod = authMethod; in IkeAuthConfig()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthPayloadTest.java100 assertEquals(IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY, payload.authMethod); in testDecodeIkeAuthPayload()
DIkeAuthPskPayloadTest.java93 assertEquals(IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY, payload.authMethod); in testBuildOutboundIkeAuthPskPayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java3078 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY) { in authenticatePsk()
3082 + authPayload.authMethod); in authenticatePsk()
3432 "Unrecognized auth method: " + authPayload.authMethod)); in authenticate()
3442 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_RSA_DIGITAL_SIGN in authenticateDigitalSignature()
3443 && authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_GENERIC_DIGITAL_SIGN) { in authenticateDigitalSignature()
3447 + authPayload.authMethod); in authenticateDigitalSignature()