com.netscape.certsrv.publish
Interface ILdapCrlMapper


public interface ILdapCrlMapper

Interface for mapping a CRL to a LDAP entry.

Version:
$Revision: 1211 $ $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 void init(IConfigStore config)
          initialize from config store.
 LdapCertMapResult map(netscape.ldap.LDAPConnection conn, netscape.security.x509.X509CRLImpl crl, boolean checkForCrl)
          maps a crl to a LDAP entry.
 

Method Detail

map

LdapCertMapResult map(netscape.ldap.LDAPConnection conn,
                      netscape.security.x509.X509CRLImpl crl,
                      boolean checkForCrl)
                      throws ELdapException
maps a crl to a LDAP entry. returns dn of the mapped LDAP entry.

Parameters:
conn - the LDAP connection
crl - the CRL to map
checkForCrl - whether to check for the presence of the CRL
Returns:
LdapCertMapResult indicates whether a mapping was successful and whether a certificate was found if checkForCert was true. If checkForCert was not set the hasCert method in LdapCertMapResult should be ignored.
Throws:
ELdapException - Failed to map CRL to entry.

init

void init(IConfigStore config)
          throws ELdapException,
                 EBaseException
initialize from config store.

Parameters:
config - the configuration store to initialize from.
Throws:
ELdapException - Initialization failed due to Ldap error.
EBaseException - Initialization failed.