core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java
public static SSLServerSocketFactory makeSSLSocketFactory(KeyStore loadedKeyStore, KeyManagerFactory loadedKeyFactory) throws IOException {
        try {
            return makeSSLSocketFactory(loadedKeyStore, loadedKeyFactory.getKeyManagers());
        } catch (Exception e) {
            throw new IOException(e.getMessage());
        }
    }
public static SSLServerSocketFactory makeSSLSocketFactory(KeyStore loadedKeyStore, KeyManagerFactory loadedKeyFactory) throws IOException {
        try {
            return makeSSLSocketFactory(loadedKeyStore, loadedKeyFactory.getKeyManagers());
        } catch (Exception e) {
            throw new IOException(e.getMessage());
        }
    }
public static SSLServerSocketFactory makeSSLSocketFactory ( KeyStore loadedKeyStore , KeyManagerFactory loadedKeyFactory ) throws IOException { try { return makeSSLSocketFactory ( loadedKeyStore , loadedKeyFactory . getKeyManagers ( ) ) ; } catch ( Exception e ) { throw new IOException ( e . getMessage ( ) ) ; } }
Creates an SSLSocketFactory for HTTPS. Pass a loaded KeyStore and a
loaded KeyManagerFactory. These objects must properly loaded/initialized
by the caller.
Creates an SSLSocketFactory for HTTPS . Pass a loaded KeyStore and a loaded KeyManagerFactory . These objects must properly loaded / initialized by the caller .