@Test public void testReceiveClientHelloAbortsOnUnsupportedEcCurveIds() throws Exception { List<byte[]> extensions = new LinkedList<>(); extensions.add(DtlsTestTools.newSupportedEllipticCurvesExtension(0x0000)); try { processClientHello(0, extensions); fail("Should have thrown " + HandshakeException.class.getSimpleName()); } catch(HandshakeException e) { assertThat(session.getCipherSuite(), is(CipherSuite.TLS_NULL_WITH_NULL_NULL)); assertThat(handshaker.getNegotiatedSupportedGroup(), nullValue()); } }
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();  }