Package org.apache.hc.core5.reactor.ssl
Interface SSLSessionVerifier
-
public interface SSLSessionVerifier
Callback interface that can be used to customize TLS/SSL session verification.- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TlsDetails
verify(NamedEndpoint endpoint, javax.net.ssl.SSLEngine sslEngine)
Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed.
-
-
-
Method Detail
-
verify
TlsDetails verify(NamedEndpoint endpoint, javax.net.ssl.SSLEngine sslEngine) throws javax.net.ssl.SSLException
Triggered when the SSL connection has been established and initial SSL handshake has been successfully completed. Custom handlers can use this callback to verify properties of theSSLEngine
. For instance this would be the right place to enforce SSL cipher strength, validate certificate chain and do hostname checks.- Parameters:
endpoint
- the endpoint name for a client side session ornull
for a server side session.sslEngine
- SSL engine.- Throws:
javax.net.ssl.SSLException
- if case of SSL protocol error.
-
-