Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DInvalidKeException.java36 public final class InvalidKeException extends IkeProtocolException { class
47 public InvalidKeException(int dhGroup) { in InvalidKeException() method in InvalidKeException
57 public InvalidKeException(byte[] notifyData) { in InvalidKeException() method in InvalidKeException
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeExceptionTest.java32 import android.net.ipsec.ike.exceptions.InvalidKeException;
94 final InvalidKeException exception = new InvalidKeException(DH_GROUP_1024_BIT_MODP); in testInvalidKeException()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayloadTest.java50 import android.net.ipsec.test.ike.exceptions.InvalidKeException;
248 assertTrue(exception instanceof InvalidKeException); in testValidateAndBuildIkeExceptionWithData()
251 assertEquals(expectedDhGroup, ((InvalidKeException) exception).getDhGroup()); in testValidateAndBuildIkeExceptionWithData()
DIkeSaPayloadTest.java52 import android.net.ipsec.test.ike.exceptions.InvalidKeException;
1050 @Test(expected = InvalidKeException.class)
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayload.java44 import android.net.ipsec.ike.exceptions.InvalidKeException;
529 return new InvalidKeException(notifyData); in validateAndBuildIkeException()
DIkeSaPayload.java34 import android.net.ipsec.ike.exceptions.InvalidKeException;
372 throws NoValidProposalChosenException, InvalidKeException { in getNegotiatedChildProposalWithDh()
413 throw new InvalidKeException(proposalCandidates.get(0).getDhGroups().get(0)); in getNegotiatedChildProposalWithDh()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java65 import android.net.ipsec.ike.exceptions.InvalidKeException;
1873 } catch (NoValidProposalChosenException | InvalidKeException e) { in handleCreateChildRequest()
2745 throw new InvalidKeException(dhTransforms[0].id); in validateKePayloads()
DIkeSessionStateMachine.java119 import android.net.ipsec.ike.exceptions.InvalidKeException;
2569 throw new InvalidKeException(mSaProposal.getDhGroups().get(0)); in handleRequestIkeMessage()
3402 if (e instanceof InvalidKeException) { in handleResponseIkeMessage()
3403 InvalidKeException keException = (InvalidKeException) e; in handleResponseIkeMessage()
/packages/modules/IPsec/api/
Dcurrent.txt444 …public final class InvalidKeException extends android.net.ipsec.ike.exceptions.IkeProtocolExceptio…
445 ctor public InvalidKeException(int);
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java92 import android.net.ipsec.test.ike.exceptions.InvalidKeException;
2110 } catch (InvalidKeException expected) { in testThrowWhenKeMissing()
2135 } catch (InvalidKeException expected) { in testThrowWhenKeHasMismatchedDhGroup()