Package org.apache.http.impl.nio.reactor
Interface SSLSetupHandler
-
@Deprecated public interface SSLSetupHandler
Deprecated.(4.2) useSSLSetupHandler
Callback interface that can be used to customize various aspects of the TLS/SSL protocol.- Since:
- 4.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
initalize(javax.net.ssl.SSLEngine sslengine, HttpParams params)
Deprecated.Triggered when the SSL connection is being initialized.void
verify(IOSession iosession, javax.net.ssl.SSLSession sslsession)
Deprecated.Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed.
-
-
-
Method Detail
-
initalize
void initalize(javax.net.ssl.SSLEngine sslengine, HttpParams params) throws javax.net.ssl.SSLException
Deprecated.Triggered when the SSL connection is being initialized. Custom handlers can use this callback to customize properties of theSSLEngine
used to establish the SSL session.- Parameters:
sslengine
- the SSL engine.params
- HTTP parameters.- Throws:
javax.net.ssl.SSLException
- if case of SSL protocol error.
-
verify
void verify(IOSession iosession, javax.net.ssl.SSLSession sslsession) throws javax.net.ssl.SSLException
Deprecated.Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed. Custom handlers can use this callback to verify properties of theSSLSession
. For instance this would be the right place to enforce SSL cipher strength, validate certificate chain and do hostname checks.- Parameters:
iosession
- the underlying IOSession for the SSL connection.sslsession
- newly created SSL session.- Throws:
javax.net.ssl.SSLException
- if case of SSL protocol error.
-
-