data1.setCAFingerprint(cafp);
data1.setcAFingerprint(cafp);
    public boolean storeCertificate(Admin admin, Certificate incert, String username, String cafp,                                    int status, int type) {        debug(">storeCertificate(" + cafp + ", " + status + ", " + type + ")");        try {            // Strip dangerous chars            username = StringTools.strip(username);            X509Certificate cert = (X509Certificate) incert;            CertificateDataPK pk = new CertificateDataPK();            pk.fingerprint = CertTools.getFingerprintAsString(cert);            getLogSession().log(admin, cert, LogEntry.MODULE_CA, new java.util.Date(), username, (X509Certificate) incert, LogEntry.EVENT_INFO_STORECERTIFICATE, "");            CertificateDataLocal data1 = null;            data1 = certHome.create(cert);            data1.setUsername(username);            data1.setCAFingerprint(cafp);            data1.setStatus(status);            data1.setType(type);        } catch (Exception e) {            getLogSession().log(admin, (X509Certificate) incert, LogEntry.MODULE_CA, new java.util.Date(), username, (X509Certificate) incert, LogEntry.EVENT_ERROR_STORECERTIFICATE, "");            throw new EJBException(e);        }        debug("<storeCertificate()");        return true;    } // storeCertificate