Package org.xipki.ca.server
Class IdentifiedCertPublisher
- java.lang.Object
-
- org.xipki.ca.server.IdentifiedCertPublisher
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class IdentifiedCertPublisher extends Object implements Closeable
CertPublisher with identifier.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description IdentifiedCertPublisher(org.xipki.ca.api.mgmt.entry.PublisherEntry entry, org.xipki.ca.api.publisher.CertPublisher certPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancaAdded(org.xipki.security.X509Cert caCert)booleancaRevoked(org.xipki.security.X509Cert caCert, org.xipki.security.CertRevocationInfo revocationInfo)booleancaUnrevoked(org.xipki.security.X509Cert caCert)booleancertificateAdded(org.xipki.ca.api.CertificateInfo certInfo)booleancertificateRemoved(org.xipki.security.X509Cert caCert, org.xipki.ca.api.CertWithDbId cert)booleancertificateRevoked(org.xipki.security.X509Cert caCert, org.xipki.ca.api.CertWithDbId cert, String certprofile, org.xipki.security.CertRevocationInfo revInfo)booleancertificateUnrevoked(org.xipki.security.X509Cert caCert, org.xipki.ca.api.CertWithDbId cert)voidclose()booleancrlAdded(org.xipki.security.X509Cert caCert, org.bouncycastle.cert.X509CRLHolder crl)org.xipki.ca.api.mgmt.entry.PublisherEntrygetDbEntry()org.xipki.ca.api.NameIdgetIdent()voidinitialize(org.xipki.password.PasswordResolver passwordResolver, Map<String,org.xipki.datasource.DataSourceWrapper> datasourceConfs)booleanisHealthy()booleanpublishsGoodCert()
-
-
-
Method Detail
-
initialize
public void initialize(org.xipki.password.PasswordResolver passwordResolver, Map<String,org.xipki.datasource.DataSourceWrapper> datasourceConfs) throws org.xipki.ca.api.publisher.CertPublisherException- Throws:
org.xipki.ca.api.publisher.CertPublisherException
-
caAdded
public boolean caAdded(org.xipki.security.X509Cert caCert)
-
certificateAdded
public boolean certificateAdded(org.xipki.ca.api.CertificateInfo certInfo)
-
certificateRevoked
public boolean certificateRevoked(org.xipki.security.X509Cert caCert, org.xipki.ca.api.CertWithDbId cert, String certprofile, org.xipki.security.CertRevocationInfo revInfo)
-
crlAdded
public boolean crlAdded(org.xipki.security.X509Cert caCert, org.bouncycastle.cert.X509CRLHolder crl)
-
getDbEntry
public org.xipki.ca.api.mgmt.entry.PublisherEntry getDbEntry()
-
getIdent
public org.xipki.ca.api.NameId getIdent()
-
isHealthy
public boolean isHealthy()
-
caRevoked
public boolean caRevoked(org.xipki.security.X509Cert caCert, org.xipki.security.CertRevocationInfo revocationInfo)
-
caUnrevoked
public boolean caUnrevoked(org.xipki.security.X509Cert caCert)
-
certificateUnrevoked
public boolean certificateUnrevoked(org.xipki.security.X509Cert caCert, org.xipki.ca.api.CertWithDbId cert)
-
certificateRemoved
public boolean certificateRemoved(org.xipki.security.X509Cert caCert, org.xipki.ca.api.CertWithDbId cert)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
publishsGoodCert
public boolean publishsGoodCert()
-
-