public CertWithRevocationInfoWrapper(CertWithRevocationInfo info) { this.cert = new CertWithDbIdWrapper(info.getCert()); this.revInfo = info.getRevInfo(); this.certprofile = info.getCertprofile(); }
@Override protected Object execute0() throws Exception { CertWithRevocationInfo certInfo = caManager.getCert(caName, getSerialNumber()); if (certInfo == null) { System.out.println("certificate unknown"); return null; } String msg = StringUtil.concat("certificate profile: ", certInfo.getCertprofile(), "\nstatus: ", (certInfo.getRevInfo() == null ? "good" : "revoked with " + certInfo.getRevInfo())); println(msg); if (outputFile != null) { saveVerbose("saved certificate to file", outputFile, encodeCert(certInfo.getCert().getEncodedCert(), outform)); } return null; }
CertRevocationInfo currentRevInfo = certWithRevInfo.getRevInfo(); if (currentRevInfo == null) { throw new OperationException(CERT_UNREVOKED, "certificate is not revoked");
CertRevocationInfo currentRevInfo = certWithRevInfo.getRevInfo(); if (currentRevInfo == null) { throw new OperationException(CERT_UNREVOKED, "certificate is not revoked");
CertRevocationInfo currentRevInfo = certWithRevInfo.getRevInfo(); if (currentRevInfo != null) { CrlReason currentReason = currentRevInfo.getReason();
try { successful = publisher.certificateRevoked(caCert, revokedCert.getCert(), revokedCert.getCertprofile(), revokedCert.getRevInfo()); } catch (RuntimeException ex) { successful = false;
try { successful = publisher.certificateRevoked(caCert, revokedCert.getCert(), revokedCert.getCertprofile(), revokedCert.getRevInfo()); } catch (RuntimeException ex) { successful = false;