/** * This method returns the notBefore date for a given certificate * * @param certificateId * the certificate id * @return the notBefore date */ public Date getCertificateNotBefore(String certificateId) { XmlChainItem cert = getCertificate(certificateId); if (cert != null) { return cert.getNotBefore(); } return null; }