org.glassfish.grizzly.ssl
Interface SSLHandshaker
- All Known Implementing Classes:
- BlockingSSLHandshaker
public interface SSLHandshaker
General interface for SSL handshaking logic.
There could be blocking and non-blocking implementations.
- Author:
- Alexey Stashok
handshake
Future<SSLEngine> handshake(SSLStreamReader reader,
SSLStreamWriter writer,
SSLEngineConfigurator configurator)
throws IOException
- Execute SSL handshake using given
Connection's
SSLStreamReader and SSLStreamWriter.
- Parameters:
reader - SSLStreamReaderwriter - SSLStreamWriterconfigurator - SSLEngineConfigurator SSLEngine configuration
- Returns:
Future to monitor handshake state.
- Throws:
IOException- See Also:
BlockingSSLHandshaker,
SSLStreamReader,
SSLStreamWriter
Copyright © 2009 SUN Microsystems. All Rights Reserved.