SSLSetupHandler@Deprecated public interface SSLIOSessionHandler
| Modifier and Type | Method and Description |
|---|---|
void |
initalize(SSLEngine sslengine,
HttpParams params)
Deprecated.
Triggered when the SSL connection is being initialized.
|
void |
verify(SocketAddress remoteAddress,
SSLSession session)
Deprecated.
Triggered when the SSL connection has been established and initial SSL
handshake has been successfully completed.
|
void initalize(SSLEngine sslengine, HttpParams params) throws SSLException
SSLEngine
used to establish the SSL session.sslengine - the SSL engine.params - HTTP parameters.SSLException - if case of SSL protocol error.void verify(SocketAddress remoteAddress, SSLSession session) throws 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.SSLException - if case of SSL protocol error.Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.