public class NullSSLSessionListener extends java.lang.Object implements SSLSessionListener
| Constructor and Description |
|---|
NullSSLSessionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
handshakeException(SSLSessionEvent e)
handshakeException is called whenever the client
and server could not negotiate the desired level of security. |
void |
keyException(SSLSessionEvent e)
keyException is called whenever a bad SSL key is
reported. |
void |
peerUnverifiedException(SSLSessionEvent e)
peerUnverifiedException is called whenever the peer was not
able to identify itself (for example; no certificate, the particular
cipher suite being used does not support authentication, or no peer
authentication was established during SSL handshaking) |
void |
protocolException(SSLSessionEvent e)
protocolException is called whenever there is an error in
the operation of the SSL protocol. |
void |
sessionCreated(SSLSessionEvent e)
sessionCreated is called whenever a successful SSL
connection has been made. |
void |
sslException(SSLSessionEvent e)
sslException is called whenever there is an error in the SSL
subsystem. |
public void sessionCreated(SSLSessionEvent e)
SSLSessionListenersessionCreated is called whenever a successful SSL
connection has been made.sessionCreated in interface SSLSessionListenere - a SSLSessionEvent valuepublic void handshakeException(SSLSessionEvent e)
SSLSessionListenerhandshakeException is called whenever the client
and server could not negotiate the desired level of security.handshakeException in interface SSLSessionListenere - a SSLSessionEvent valuepublic void keyException(SSLSessionEvent e)
SSLSessionListenerkeyException is called whenever a bad SSL key is
reported. Normally, this indicates misconfiguration of the server or
client SSL certificate and private key.keyException in interface SSLSessionListenere - a SSLSessionEvent valuepublic void peerUnverifiedException(SSLSessionEvent e)
SSLSessionListenerpeerUnverifiedException is called whenever the peer was not
able to identify itself (for example; no certificate, the particular
cipher suite being used does not support authentication, or no peer
authentication was established during SSL handshaking)peerUnverifiedException in interface SSLSessionListenere - a SSLSessionEvent valuepublic void protocolException(SSLSessionEvent e)
SSLSessionListenerprotocolException is called whenever there is an error in
the operation of the SSL protocol. Normally this indicates a flaw in one
of the protocol implementations.protocolException in interface SSLSessionListenere - a SSLSessionEvent valuepublic void sslException(SSLSessionEvent e)
SSLSessionListenersslException is called whenever there is an error in the SSL
subsystem. This may be called if the error does not fit into one of the above
categories.sslException in interface SSLSessionListenere - a SSLSessionEvent value