Class SunJSSESocketFactory

    • Constructor Detail

      • SunJSSESocketFactory

        public SunJSSESocketFactory​(java.util.Hashtable attributes)
        Constructor JSSESocketFactory
        Parameters:
        attributes -
    • Method Detail

      • initFactory

        protected void initFactory()
                            throws java.io.IOException
        Read the keystore, init the SSL socket factory
        Overrides:
        initFactory in class JSSESocketFactory
        Throws:
        java.io.IOException
      • getContext

        protected com.sun.net.ssl.SSLContext getContext()
                                                 throws java.lang.Exception
        gets a SSL Context
        Returns:
        SSLContext
        Throws:
        java.lang.Exception