Class DummySSLServerSocketFactory


  • public class DummySSLServerSocketFactory
    extends javax.net.ssl.SSLServerSocketFactory
    DummySSLServerSocketFactory - NOT SECURE Contains a hardcoded memory store for convenience in testing by avoiding having to manually setup, install, and generate keystore / keys
    Since:
    Feb 2006
    Author:
    Wael Chatila
    • Constructor Detail

      • DummySSLServerSocketFactory

        public DummySSLServerSocketFactory()
    • Method Detail

      • getDefault

        public static javax.net.ServerSocketFactory getDefault()
      • createServerSocket

        public java.net.ServerSocket createServerSocket()
                                                 throws java.io.IOException
        Overrides:
        createServerSocket in class javax.net.ServerSocketFactory
        Throws:
        java.io.IOException
      • createServerSocket

        public java.net.ServerSocket createServerSocket​(int i)
                                                 throws java.io.IOException
        Specified by:
        createServerSocket in class javax.net.ServerSocketFactory
        Throws:
        java.io.IOException
      • createServerSocket

        public java.net.ServerSocket createServerSocket​(int i,
                                                        int i1)
                                                 throws java.io.IOException
        Specified by:
        createServerSocket in class javax.net.ServerSocketFactory
        Throws:
        java.io.IOException
      • createServerSocket

        public java.net.ServerSocket createServerSocket​(int i,
                                                        int i1,
                                                        java.net.InetAddress inetAddress)
                                                 throws java.io.IOException
        Specified by:
        createServerSocket in class javax.net.ServerSocketFactory
        Throws:
        java.io.IOException
      • getDefaultCipherSuites

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

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