Class SSLHandshakeCompletedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class SSLHandshakeCompletedEvent
    extends java.util.EventObject
    This class represents the event telling you a handshake operation is complete.
    See Also:
    Serialized Form
    • Constructor Detail

      • SSLHandshakeCompletedEvent

        public SSLHandshakeCompletedEvent​(SSLSocket socket)
      • SSLHandshakeCompletedEvent

        public SSLHandshakeCompletedEvent​(JSSEngine engine)
    • Method Detail

      • getStatus

        public SSLSecurityStatus getStatus()
                                    throws java.net.SocketException
        Get security information about this socket, including cert data; null if on a SSLEngine.
        Throws:
        java.net.SocketException
      • getSocket

        public SSLSocket getSocket()
        Get socket on which the event occurred; null if on a SSLEngine.
      • getEngine

        public JSSEngine getEngine()
        Get engine on which the event occurred; null if on a SSLSocket.