setCAId(new Integer(subjectdn.hashCode()));
setCaId(new Integer(subjectdn.hashCode()));
    public Integer ejbCreate(String subjectdn, String name, int status, CA ca) throws CreateException {                        setCAId(new Integer(subjectdn.hashCode()));        setName(name);                setSubjectDN(subjectdn);        setStatus(status);                                if(ca instanceof X509CA && ca.getCertificateChain().size() != 0){          setExpireTime(((X509Certificate) ca.getCACertificate()).getNotAfter().getTime());            ca.setExpireTime(((X509Certificate) ca.getCACertificate()).getNotAfter());         }                    setCA(ca);                log.debug("Created CA "+ name);        return new Integer(subjectdn.hashCode());    }