public class SSLHandshakeListener
extends java.lang.Object
implements javax.net.ssl.HandshakeCompletedListener
SSLHandshakeListener implements the SSL Handshake Listener
in order to detect a successful SSL connection. It then passes this information
on to the external SSLListener.| Constructor and Description |
|---|
SSLHandshakeListener(org.slf4j.Logger logger,
SSLSessionListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent event)
handshakeCompleted is the implementation that is invoked
when a SSL handshake is completed. |
public SSLHandshakeListener(org.slf4j.Logger logger,
SSLSessionListener listener)
public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent event)
handshakeCompleted is the implementation that is invoked
when a SSL handshake is completed.
The getPeerCertificateChain method is used to ensure backward
compatibility with JDK 1.3handshakeCompleted in interface javax.net.ssl.HandshakeCompletedListenerevent - a HandshakeCompletedEvent value