Class SSL


  • public class SSL
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SSL()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.Socket getClientSocket​(java.lang.String host, int port)  
      static java.net.Socket getClientSocketAuth​(java.lang.String keystore, java.lang.String keypass, java.lang.String host, int port)  
      static java.net.ServerSocket getServerSocket​(int port)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SSL

        public SSL()
    • Method Detail

      • getClientSocket

        public static java.net.Socket getClientSocket​(java.lang.String host,
                                                      int port)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getClientSocketAuth

        public static java.net.Socket getClientSocketAuth​(java.lang.String keystore,
                                                          java.lang.String keypass,
                                                          java.lang.String host,
                                                          int port)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getServerSocket

        public static java.net.ServerSocket getServerSocket​(int port)
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception