cat.error("Can't extract DER encoded certificate information.", cee);
log.error("Can't extract DER encoded certificate information.", cee);
    public void setCertificate(Certificate incert) {        try {            String b64Cert = new String(Base64.encode(incert.getEncoded()));            setBase64Cert(b64Cert);            X509Certificate tmpcert = (X509Certificate)incert;            String fp = CertTools.getFingerprintAsString(tmpcert);            setFingerprint(fp);            setSubjectDN(CertTools.stringToBCDNString(tmpcert.getSubjectDN().toString()));            setIssuerDN(CertTools.stringToBCDNString(tmpcert.getIssuerDN().toString()));            setSerialNumber(tmpcert.getSerialNumber().toString());        } catch (CertificateEncodingException cee) {            cat.error("Can't extract DER encoded certificate information.", cee);        }    }