FileDocCategorySizeDatePackage
SSLSocketFactoryImpl.javaAPI DocAndroid 1.5 API2220Wed May 06 22:41:06 BST 2009org.apache.harmony.xnet.tests.support

SSLSocketFactoryImpl

public class SSLSocketFactoryImpl extends SSLSocketFactory

Fields Summary
Constructors Summary
public SSLSocketFactoryImpl()

        super();
    
Methods Summary
public java.net.SocketcreateSocket(java.net.Socket socket, java.lang.String s, int i, boolean flag)

        if (socket == null) {
            throw new IOException("incorrect socket");
        }
        if (i < 0 || i > 65535) {
            throw new IOException("incorrect port");
        }
        if (s == null || s.equals("")) {
            throw new UnknownHostException("incorrect host");
        }
        
        if (!flag) {
            socket = new Socket(s, i);
        } else {
            socket = new Socket(s, i);
            socket.close();
        }
        return socket;
    
public java.net.SocketcreateSocket(java.lang.String arg0, int arg1)

see
javax.net.SocketFactory#createSocket(java.lang.String, int)

        // it is a fake
        return null;
    
public java.net.SocketcreateSocket(java.net.InetAddress arg0, int arg1)

see
javax.net.SocketFactory#createSocket(java.net.InetAddress, int)

        // it is a fake
        return null;
    
public java.net.SocketcreateSocket(java.lang.String arg0, int arg1, java.net.InetAddress arg2, int arg3)

see
javax.net.SocketFactory#createSocket(java.lang.String, int, java.net.InetAddress, int)

        // it is a fake
        return null;
    
public java.net.SocketcreateSocket(java.net.InetAddress arg0, int arg1, java.net.InetAddress arg2, int arg3)

see
javax.net.SocketFactory#createSocket(java.net.InetAddress, int, java.net.InetAddress, int)

        // it is a fake
        return null;
    
public java.lang.String[]getDefaultCipherSuites()

        return null;
    
public java.lang.String[]getSupportedCipherSuites()

        return null;