Code example for TrustManagerFactory

Methods: getTrustManagers

0
            } 
        } 
 
        return enabledProtocols;
    } 
 
    /** 
     * Configure Client authentication for this version of JSSE.  The 
     * JSSE included in Java 1.4 supports the 'want' value.  Prior 
     * versions of JSSE will treat 'want' as 'false'. 
     * @param socket the SSLServerSocket 
     */ 
    protected void configureClientAuth(SSLServerSocket socket){
        if (wantClientAuth){
            socket.setWantClientAuth(wantClientAuth);
        } else { 
            socket.setNeedClientAuth(requireClientAuth);
        } 
    } 
 
    /**