Package com.netscape.certsrv.publish
Interface ILdapCrlMapper
public interface ILdapCrlMapper
Interface for mapping a CRL to a LDAP entry.
- Version:
- $Revision$ $Date$
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ConfigStore config) initialize from config store.map
(netscape.ldap.LDAPConnection conn, org.mozilla.jss.netscape.security.x509.X509CRLImpl crl, boolean checkForCrl) maps a crl to a LDAP entry.
-
Method Details
-
map
LdapCertMapResult map(netscape.ldap.LDAPConnection conn, org.mozilla.jss.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 connectioncrl
- the CRL to mapcheckForCrl
- 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
initialize from config store.- Parameters:
config
- the configuration store to initialize from.- Throws:
ELdapException
- Initialization failed due to Ldap error.EBaseException
- Initialization failed.
-