|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSLSetupHandler
Callback interface that can be used to customize various aspects of the TLS/SSL protocol.
Method Summary | |
---|---|
void |
initalize(SSLEngine sslEngine)
Triggered when the SSL connection is being initialized. |
void |
verify(IOSession ioSession,
SSLSession sslSession)
Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed. |
Method Detail |
---|
void initalize(SSLEngine sslEngine) throws SSLException
SSLEngine
used to establish the SSL session.
sslEngine
- the SSL engine.
SSLException
- if case of SSL protocol error.void verify(IOSession ioSession, SSLSession sslSession) throws SSLException
SSLSession
.
For instance this would be the right place to enforce SSL cipher
strength, validate certificate chain and do hostname checks.
ioSession
- the underlying IOSession for the SSL connection.sslSession
- newly created SSL session.
SSLException
- if case of SSL protocol error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |