cat.debug("Sent reply to NS client"); cat.debug(new String(Base64.encode(certs)));
log.debug("Sent reply to NS client"); log.debug(new String(Base64.encode(certs)));
    static public void sendNewCertToNSClient(byte[] certs, HttpServletResponse out)        throws Exception {        // Set content-type to what NS wants        out.setContentType("application/x-x509-user-cert");        out.setContentLength(certs.length);        // Print the certificate        out.getOutputStream().write(certs);        cat.debug("Sent reply to NS client");        cat.debug(new String(Base64.encode(certs)));    }