Code example for SSLSocketFactory

Methods: createSocket

0
                throws IOException { 
    return factory.createSocket(s, i, inaddr, j);
    } 
 
    public Socket createSocket(String s, int i) throws IOException {
    return factory.createSocket(s, i);
    } 
 
    public String[] getDefaultCipherSuites() {
    return factory.getDefaultCipherSuites();
    } 
 
    public String[] getSupportedCipherSuites() {
    return factory.getSupportedCipherSuites();
    } 
}