Code example for CRLException

0
 
        SSLServerSocket socket = (SSLServerSocket) ssocket;
 
        if (enabledCiphers != null) {
            socket.setEnabledCipherSuites(enabledCiphers);
        } 
 
        String requestedProtocols = (String) attributes.get("protocols");
        setEnabledProtocols(socket, getEnabledProtocols(socket, 
                                                         requestedProtocols));
 
        // we don't know if client auth is needed - 
        // after parsing the request we may re-handshake 
        configureClientAuth(socket);
    } 
 
}