JEP 244: TLS Application-Layer Protocol Negotiation Extension

Thomas Lußnig lussnig at
Sun Apr 12 14:50:44 UTC 2015

On 10.04.2015 00:36, mark.reinhold at wrote:
> New JEP Candidate:
> - Mark

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 := OCSP-Stapling

public interface HelloHandler {
    /** Allow to add extesions to Server/Client Hello based on the
Client/Server hello */
    public void handleHelloMessage(ClientHello clientHello, 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

More information about the security-dev mailing list