Searched refs:dhGroup (Results 1 – 10 of 10) sorted by relevance
462 protected void addDh(@DhGroup int dhGroup) { in addDh() argument465 mProposedDhGroups.add(new DhGroupTransform(dhGroup)); in addDh()526 public static boolean isSupportedDhGroup(@DhGroup int dhGroup) { in isSupportedDhGroup() argument527 return SUPPORTED_DH_GROUP_TO_STR.get(dhGroup) != null; in isSupportedDhGroup()571 public static String getDhGroupString(int dhGroup) { in getDhGroupString() argument572 if (isSupportedDhGroup(dhGroup)) { in getDhGroupString()573 return SUPPORTED_DH_GROUP_TO_STR.get(dhGroup); in getDhGroupString()575 return "DH_Unknown_" + dhGroup; in getDhGroupString()
121 public ChildSaProposal getCopyWithAdditionalDhTransform(int dhGroup) { in getCopyWithAdditionalDhTransform() argument125 new DhGroupTransform[] {new DhGroupTransform(dhGroup)}, in getCopyWithAdditionalDhTransform()169 public Builder addDhGroup(@DhGroup int dhGroup) { in addDhGroup() argument170 addDh(dhGroup); in addDhGroup()
157 public Builder addDhGroup(@DhGroup int dhGroup) { in addDhGroup() argument158 addDh(dhGroup); in addDhGroup()
73 public final int dhGroup; field in IkeKePayload109 dhGroup = Short.toUnsignedInt(inputBuffer.getShort()); in IkeKePayload()116 switch (dhGroup) { in IkeKePayload()157 dhGroup = dh; in IkeKePayload()162 switch (dhGroup) { in IkeKePayload()229 .putShort((short) dhGroup) in encodeToByteBuffer()
40 public InvalidKeException(int dhGroup) { in InvalidKeException() argument41 super(ERROR_TYPE_INVALID_KE_PAYLOAD, integerToByteArray(dhGroup, EXPECTED_ERROR_DATA_LEN)); in InvalidKeException()
161 byte[] dhGroup = new byte[] {(byte) 0x00, (byte) 0x0e}; in testValidateAndBuildIkeExceptionWithData()164 IkeNotifyPayload payload = new IkeNotifyPayload(ERROR_TYPE_INVALID_KE_PAYLOAD, dhGroup); in testValidateAndBuildIkeExceptionWithData()169 assertArrayEquals(dhGroup, exception.getErrorData()); in testValidateAndBuildIkeExceptionWithData()
122 assertEquals(EXPECTED_DH_GROUP, payload.dhGroup); in testDecodeIkeKePayload()176 assertEquals(EXPECTED_DH_GROUP, payload.dhGroup); in testGetIkeKePayload()
1591 saProposal = mSaProposal.getCopyWithAdditionalDhTransform(reqKePayload.dhGroup); in handleCreateChildRequest()1713 mSaProposal.getCopyWithAdditionalDhTransform(reqKePayload.dhGroup); in isKePayloadAcceptable()2448 if (expectKePayload && (kePayload == null || dhTransforms[0].id != kePayload.dhGroup)) { in validateKePayloads()
2958 if (reqKePayload.dhGroup != respKePayload.dhGroup in validateIkeInitResp()2959 && respKePayload.dhGroup != mPeerSelectedDhGroup) { in validateIkeInitResp()3864 if (reqKePayload.dhGroup != respKePayload.dhGroup) { in validateIkeRekeyResp()
1885 private ChildSaProposal buildSaProposalWithDhGroup(int dhGroup) { in buildSaProposalWithDhGroup() argument1890 .addDhGroup(dhGroup) in buildSaProposalWithDhGroup()