On 10.04.2015 00:36, mark.reinh...@oracle.com wrote: > New JEP Candidate: http://openjdk.java.net/jeps/244 > > - Mark
Hi, would it not be an great idea to combine all these new extensions to an generic way how to handle the SSL Protocol Handshake ? JEPS-244 ALPN http://openjdk.java.net/jeps/8046321 := OCSP-Stapling http://tools.ietf.org/html/draft-balfanz-tls-channelid-01 public interface HelloHandler { /** Allow to add extesions to Server/Client Hello based on the Client/Server hello */ public void handleHelloMessage(ClientHello clientHello, ServerHello serverHello); /** Allow to add new Handshake Messages based on the Client/Server Hello */ public void sendHandshakeMessage(HandshakeOutStream handshakeOutStream, ClientHello clientHello, ServerHello serverHello); /** define an order of the extensions */ Class<? extends HelloHandler > runBefore(); Class<? extends HelloHandler > runAfter(); } With such an extension options it would be much more simple do implement new Extensions. Gruß Thomas Lußnig