@Test() public void testReceiveClientHelloNegotiatesSupportedEcCurveId() throws Exception { List<byte[]> extensions = new LinkedList<>(); SupportedGroup supportedGroup = getArbitrarySupportedGroup(); extensions.add(DtlsTestTools.newSupportedEllipticCurvesExtension(0x0000, supportedGroup.getId())); processClientHello(0, extensions); assertThat(session.getCipherSuite(), is(SERVER_CIPHER_SUITE)); assertThat(handshaker.getNegotiatedSupportedGroup(), is(supportedGroup)); }
final SupportedGroup getNegotiatedSupportedGroup() { return selectedCipherSuiteParameters == null ? null : selectedCipherSuiteParameters.getSelectedSupportedGroup(); }
ServerHandshaker extends Handshaker { final SupportedGroup getNegotiatedSupportedGroup() { return selectedCipherSuiteParameters == null ? null : selectedCipherSuiteParameters.getSelectedSupportedGroup(); } }
ServerHandshaker extends Handshaker { final SupportedGroup getNegotiatedSupportedGroup() { return selectedCipherSuiteParameters == null ? null : selectedCipherSuiteParameters.getSelectedSupportedGroup(); } ServerHandshaker(int initialMessageSequenceNo, DTLSSession session, RecordLayer recordLayer,
			ScheduledExecutorService timer, Connection connection, DtlsConnectorConfig config); }
ServerHandshaker extends Handshaker { final SupportedGroup getNegotiatedSupportedGroup() { return selectedCipherSuiteParameters == null ? null : selectedCipherSuiteParameters.getSelectedSupportedGroup(); } ServerHandshaker(int initialMessageSequenceNo, DTLSSession session, RecordLayer recordLayer,
			ScheduledExecutorService timer, Connection connection, DtlsConnectorConfig config); PskPublicInformation getPreSharedKeyIdentity(); @Override void startHandshake(); @Override void destroy(); }
ServerHandshaker extends Handshaker { final SupportedGroup getNegotiatedSupportedGroup() { return selectedCipherSuiteParameters == null ? null : selectedCipherSuiteParameters.getSelectedSupportedGroup(); } ServerHandshaker(int initialMessageSequenceNo, DTLSSession session, RecordLayer recordLayer,
			ScheduledExecutorService timer, Connection connection, DtlsConnectorConfig config); PskPublicInformation getPreSharedKeyIdentity(); @Override void startHandshake(); @Override void destroy();  }