Searched refs:InvalidKeException (Results 1 – 10 of 10) sorted by relevance
36 public final class InvalidKeException extends IkeProtocolException { class47 public InvalidKeException(int dhGroup) { in InvalidKeException() method in InvalidKeException57 public InvalidKeException(byte[] notifyData) { in InvalidKeException() method in InvalidKeException
32 import android.net.ipsec.ike.exceptions.InvalidKeException;94 final InvalidKeException exception = new InvalidKeException(DH_GROUP_1024_BIT_MODP); in testInvalidKeException()
50 import android.net.ipsec.test.ike.exceptions.InvalidKeException;248 assertTrue(exception instanceof InvalidKeException); in testValidateAndBuildIkeExceptionWithData()251 assertEquals(expectedDhGroup, ((InvalidKeException) exception).getDhGroup()); in testValidateAndBuildIkeExceptionWithData()
52 import android.net.ipsec.test.ike.exceptions.InvalidKeException;1050 @Test(expected = InvalidKeException.class)
44 import android.net.ipsec.ike.exceptions.InvalidKeException;529 return new InvalidKeException(notifyData); in validateAndBuildIkeException()
34 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()
65 import android.net.ipsec.ike.exceptions.InvalidKeException;1873 } catch (NoValidProposalChosenException | InvalidKeException e) { in handleCreateChildRequest()2745 throw new InvalidKeException(dhTransforms[0].id); in validateKePayloads()
119 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()
444 …public final class InvalidKeException extends android.net.ipsec.ike.exceptions.IkeProtocolExceptio…445 ctor public InvalidKeException(int);
92 import android.net.ipsec.test.ike.exceptions.InvalidKeException;2110 } catch (InvalidKeException expected) { in testThrowWhenKeMissing()2135 } catch (InvalidKeException expected) { in testThrowWhenKeHasMismatchedDhGroup()