@Deprecated class SSLIOSessionHandlerAdaptor extends java.lang.Object implements SSLSetupHandler
| Modifier and Type | Field and Description |
|---|---|
private SSLIOSessionHandler |
handler
Deprecated.
|
private HttpParams |
params
Deprecated.
|
| Constructor and Description |
|---|
SSLIOSessionHandlerAdaptor(SSLIOSessionHandler handler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initalize(javax.net.ssl.SSLEngine sslengine)
Deprecated.
Triggered when the SSL connection is being initialized.
|
void |
setParams(HttpParams params)
Deprecated.
|
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.
|
private final SSLIOSessionHandler handler
private HttpParams params
public SSLIOSessionHandlerAdaptor(SSLIOSessionHandler handler)
public void initalize(javax.net.ssl.SSLEngine sslengine)
throws javax.net.ssl.SSLException
SSLSetupHandlerSSLEngine
used to establish the SSL session.initalize in interface SSLSetupHandlersslengine - the SSL engine.javax.net.ssl.SSLException - if case of SSL protocol error.public void verify(IOSession iosession, javax.net.ssl.SSLSession sslsession) throws javax.net.ssl.SSLException
SSLSetupHandlerSSLSession.
For instance this would be the right place to enforce SSL cipher
strength, validate certificate chain and do hostname checks.verify in interface SSLSetupHandleriosession - the underlying IOSession for the SSL connection.sslsession - newly created SSL session.javax.net.ssl.SSLException - if case of SSL protocol error.public void setParams(HttpParams params)