public class NullSSLSessionListener extends 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)
SSLSessionListener
sessionCreated
is called whenever a successful SSL
connection has been made.sessionCreated
in interface SSLSessionListener
e
- a SSLSessionEvent
valuepublic void handshakeException(SSLSessionEvent e)
SSLSessionListener
handshakeException
is called whenever the client
and server could not negotiate the desired level of security.handshakeException
in interface SSLSessionListener
e
- a SSLSessionEvent
valuepublic void keyException(SSLSessionEvent e)
SSLSessionListener
keyException
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 SSLSessionListener
e
- a SSLSessionEvent
valuepublic void peerUnverifiedException(SSLSessionEvent e)
SSLSessionListener
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)peerUnverifiedException
in interface SSLSessionListener
e
- a SSLSessionEvent
valuepublic void protocolException(SSLSessionEvent e)
SSLSessionListener
protocolException
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 SSLSessionListener
e
- a SSLSessionEvent
valuepublic void sslException(SSLSessionEvent e)
SSLSessionListener
sslException
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 SSLSessionListener
e
- a SSLSessionEvent
valueCopyright © 2017 JacORB. All rights reserved.