if ( line.indexOf("cert =")<0 ) ps.println(line);
if ( line.indexOf("cert =")<0 ){ ps.println(CLASSID.matcher(line).replaceFirst(classid)); }
    static public void sendNewCertToIEClient(byte[] b64cert, OutputStream out, ServletContext sc, String responseTemplate)        throws Exception {        if (b64cert.length == 0) {            log.error("0 length certificate can not be sent to IE client!");            return;        }        PrintStream ps = new PrintStream(out);        BufferedReader br = new BufferedReader(            new InputStreamReader(                sc.getResourceAsStream(responseTemplate)));        while ( true ){            String line=br.readLine();            if ( line==null )                break;            if ( line.indexOf("cert =")<0 )                ps.println(line);            else                RequestHelper.ieCertFormat(b64cert, ps);        }        ps.close();        log.debug("Sent reply to IE client");        log.debug(new String(b64cert));    }