Code example for SSLSocket

Methods: startHandshake

0
     * javax.net.ssl.SSLSocket#startHandshake() 
     */ 
    public void test_startHandshake() throws IOException { 
        SSLSocket ssl = getSSLSocket();
        try { 
            ssl.startHandshake();
            fail();
        } catch (IOException expected) {
        } 
        ssl.close();
    } 
 
    boolean useBKS = !StandardNames.IS_RI;
 
    private String PASSWORD = "android";
 
    private int port = Support_PortManager.getNextPort();
 
    private boolean serverReady = false;
 
    /**