psdi.iface.app.swcatalog.http

Class SecureSocketFactory

  • java.lang.Object
    • javax.net.SocketFactory
      • javax.net.ssl.SSLSocketFactory
        • psdi.iface.app.swcatalog.http.SecureSocketFactory


  • public class SecureSocketFactory
    extends javax.net.ssl.SSLSocketFactory
    Class to support secure socket connections
    Since:
    7.2
    • Constructor Summary

      Constructors 
      Constructor and Description
      SecureSocketFactory()
      Public constructor for SecureSocketFactory
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.net.Socket createSocket(java.net.InetAddress host, int port) 
      java.net.Socket createSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort) 
      java.net.Socket createSocket(java.net.Socket s, java.lang.String host, int port, boolean autoClose) 
      java.net.Socket createSocket(java.lang.String host, int port) 
      java.net.Socket createSocket(java.lang.String host, int port, java.net.InetAddress localHost, int localPort) 
      java.lang.String[] getDefaultCipherSuites() 
      static javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
      Return an instance of SSLSocketFactory
      java.lang.String[] getSupportedCipherSuites() 
      • Methods inherited from class javax.net.ssl.SSLSocketFactory

        createSocket, getDefault
      • Methods inherited from class javax.net.SocketFactory

        createSocket
      • Methods inherited from class java.lang.Object

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

      • SecureSocketFactory

        public SecureSocketFactory()
        Public constructor for SecureSocketFactory
    • Method Detail

      • getDefaultCipherSuites

        public java.lang.String[] getDefaultCipherSuites()
        Specified by:
        getDefaultCipherSuites in class javax.net.ssl.SSLSocketFactory
      • getSupportedCipherSuites

        public java.lang.String[] getSupportedCipherSuites()
        Specified by:
        getSupportedCipherSuites in class javax.net.ssl.SSLSocketFactory
      • createSocket

        public java.net.Socket createSocket(java.net.Socket s,
                                            java.lang.String host,
                                            int port,
                                            boolean autoClose)
                                     throws java.io.IOException
        Specified by:
        createSocket in class javax.net.ssl.SSLSocketFactory
        Throws:
        java.io.IOException
      • createSocket

        public java.net.Socket createSocket(java.lang.String host,
                                            int port)
                                     throws java.io.IOException,
                                            java.net.UnknownHostException
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
        java.net.UnknownHostException
      • createSocket

        public java.net.Socket createSocket(java.lang.String host,
                                            int port,
                                            java.net.InetAddress localHost,
                                            int localPort)
                                     throws java.io.IOException,
                                            java.net.UnknownHostException
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
        java.net.UnknownHostException
      • createSocket

        public java.net.Socket createSocket(java.net.InetAddress host,
                                            int port)
                                     throws java.io.IOException
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • createSocket

        public java.net.Socket createSocket(java.net.InetAddress address,
                                            int port,
                                            java.net.InetAddress localAddress,
                                            int localPort)
                                     throws java.io.IOException
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • getSSLSocketFactory

        public static javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
                                                                  throws java.io.IOException
        Return an instance of SSLSocketFactory
        Returns:
        SSLSocketFactory object returned
        Throws:
        java.io.IOException