public interface SSLSetupHandler
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.