/** * This method returns the revocation date for a given certificate * * @param certificateId * the certificate id * @return the revocation date or null */ public Date getCertificateRevocationDate(String certificateId) { XmlChainItem cert = getCertificate(certificateId); if (cert != null) { XmlRevocation revocation = cert.getRevocation(); if (revocation != null) { return revocation.getRevocationDate(); } } return null; }