Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/exceptions/
DInvalidKeException.java32 public final class InvalidKeException extends IkeProtocolException { class
40 public InvalidKeException(int dhGroup) { in InvalidKeException() method in InvalidKeException
49 public InvalidKeException(byte[] notifyData) { in InvalidKeException() method in InvalidKeException
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayloadTest.java34 import com.android.internal.net.ipsec.ike.exceptions.InvalidKeException;
167 assertTrue(exception instanceof InvalidKeException); in testValidateAndBuildIkeExceptionWithData()
170 assertEquals(expectedDhGroup, ((InvalidKeException) exception).getDhGroup()); in testValidateAndBuildIkeExceptionWithData()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayload.java43 import com.android.internal.net.ipsec.ike.exceptions.InvalidKeException;
450 return new InvalidKeException(notifyData); in validateAndBuildIkeException()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java102 import com.android.internal.net.ipsec.ike.exceptions.InvalidKeException;
1763 } catch (InvalidKeException expected) { in testThrowWhenKeMissing()
1787 } catch (InvalidKeException expected) { in testThrowWhenKeHasMismatchedDhGroup()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java106 import com.android.internal.net.ipsec.ike.exceptions.InvalidKeException;
2754 if (e instanceof InvalidKeException) { in handleResponseIkeMessage()
2755 InvalidKeException keException = (InvalidKeException) e; in handleResponseIkeMessage()
DChildSessionStateMachine.java79 import com.android.internal.net.ipsec.ike.exceptions.InvalidKeException;
2454 throw new InvalidKeException(dhTransforms[0].id); in validateKePayloads()