|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SSLSetupHandler
@Deprecated public interface SSLIOSessionHandler
Callback interface that can be used to customize various aspects of the TLS/SSl protocol.
Method Summary | |
---|---|
void |
initalize(javax.net.ssl.SSLEngine sslengine,
HttpParams params)
Deprecated. Triggered when the SSL connection is being initialized. |
void |
verify(java.net.SocketAddress remoteAddress,
javax.net.ssl.SSLSession session)
Deprecated. Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed. |
Method Detail |
---|
void initalize(javax.net.ssl.SSLEngine sslengine, HttpParams params) throws javax.net.ssl.SSLException
SSLEngine
used to establish the SSL session.
sslengine
- the SSL engine.params
- HTTP parameters.
javax.net.ssl.SSLException
- if case of SSL protocol error.void verify(java.net.SocketAddress remoteAddress, javax.net.ssl.SSLSession session) throws javax.net.ssl.SSLException
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.
javax.net.ssl.SSLException
- if case of SSL protocol error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |