Class HandshakeCompletedEvent
java.lang.Object
java.util.EventObject
javax.net.ssl.HandshakeCompletedEvent
- All Implemented Interfaces:
Serializable
This event indicates that an SSL handshake completed on a given
SSL connection. All the core information about that handshake's
result is captured through an "SSLSession" object. As a convenience,
this event class provides direct access to some important session
attributes.
The source of this event is the SSLSocket on which handshaking just completed.
- Since:
- 1.4
- See Also:
-
Field Summary
Fields declared in class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionHandshakeCompletedEvent
(SSLSocket sock, SSLSession s) Constructs a new HandshakeCompletedEvent. -
Method Summary
Modifier and TypeMethodDescriptionReturns the cipher suite in use by the session which was produced by the handshake.Returns the certificate(s) that were sent to the peer during handshaking.