Interface ILdapPublisher

All Superinterfaces:
ILdapPlugin
All Known Implementing Classes:
FileBasedPublisher, LdapCaCertPublisher, LdapCertificatePairPublisher, LdapCertSubjPublisher, LdapCrlPublisher, LdapUserCertPublisher, OCSPPublisher

public interface ILdapPublisher extends ILdapPlugin
Interface for publishing certificate or crl to database store.
Version:
$Revision$ $Date$
  • Field Details

  • Method Details

    • getImplName

      String getImplName()
      Returns the implementation name.
    • getDescription

      String getDescription()
      Returns the description of the publisher.
    • getInstanceParams

      Vector<String> getInstanceParams()
      Returns the current instance parameters.
    • getDefaultParams

      Vector<String> getDefaultParams()
      Returns the initial default parameters.
    • publish

      void publish(netscape.ldap.LDAPConnection conn, String dn, Object object) throws ELdapException
      Publish an object.
      Parameters:
      conn - a Ldap connection (null for non-LDAP publishing)
      dn - dn of the ldap entry to publish cert (null for non-LDAP publishing)
      object - object to publish (java.security.cert.X509Certificate or, java.security.cert.X509CRL)
      Throws:
      ELdapException - publish failed.
    • unpublish

      void unpublish(netscape.ldap.LDAPConnection conn, String dn, Object object) throws ELdapException
      Unpublish an object.
      Parameters:
      conn - the Ldap connection (null for non-LDAP publishing)
      dn - dn of the ldap entry to unpublish cert (null for non-LDAP publishing)
      object - object to unpublish (java.security.cert.X509Certificate)
      Throws:
      ELdapException - unpublish failed.