Interface SSLInterface

    • Method Summary

      Modifier and Type Method Description
      java.net.Socket createSSLSocket​(java.lang.String destination, int port)
      Create a new socket
      void init​(java.lang.String sslType)
      Initialize the components required to create a new client socket when createSSLSocket is called.
    • Method Detail

      • init

        void init​(java.lang.String sslType)
        Initialize the components required to create a new client socket when createSSLSocket is called.
        Parameters:
        sslType - The ssl socket type (SSLv2, SSLv3, TLS)
      • createSSLSocket

        java.net.Socket createSSLSocket​(java.lang.String destination,
                                        int port)
        Create a new socket
        Parameters:
        destination - a destination
        port - a port to connect to
        Returns:
        new socket, or null if none could be created.