org.apache.http.impl.nio.reactor.SSLIOSessionHandler |
This interface is deprecated.
Use SSLSetupHandler
Callback interface that can be used to customize various aspects of the TLS/SSl protocol.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Triggered when the SSL connection is being initialized.
| |||||||||||
Triggered when the SSL connection has been established and initial SSL
handshake has been successfully completed.
|
Triggered when the SSL connection is being initialized. Custom handlers
can use this callback to customize properties of the SSLEngine
used to establish the SSL session.
sslengine | the SSL engine. |
---|---|
params | HTTP parameters. |
SSLException | if case of SSL protocol error. |
---|
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 the SSLSession
.
For instance this would be the right place to enforce SSL cipher
strength, validate certificate chain and do hostname checks.
remoteAddress | the remote address of the connection. |
---|---|
session | newly created SSL session. |
SSLException | if case of SSL protocol error. |
---|