Class SSLContextConnection

java.lang.Object
com.sshtools.synergy.nio.SocketConnection
com.sshtools.synergy.nio.ssl.SSLContextConnection
All Implemented Interfaces:
SelectionKeyAware, SelectorRegistrationListener, SocketHandler

public class SSLContextConnection extends SocketConnection
This class implements an SSL socket connection for the custom server. Using the Java 1.5 SSLEngine class this implementation wraps all protocol traffic into SSL records.
  • Constructor Details

    • SSLContextConnection

      public SSLContextConnection()
      Default constructor. We need one of these so we can dynamically create a SocketConnection on demand.
    • SSLContextConnection

      public SSLContextConnection(boolean allowClientCertificate, boolean requireClientCertificate)
  • Method Details