Class 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 Detail

      • IdentifiedCertPublisher

        public IdentifiedCertPublisher​(org.xipki.ca.api.mgmt.entry.PublisherEntry entry,
                                       org.xipki.ca.api.publisher.CertPublisher certPublisher)
    • 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)
      • publishsGoodCert

        public boolean publishsGoodCert()