Package com.netscape.certsrv.publish
Interface ILdapCrlMapper
-
public interface ILdapCrlMapper
Interface for mapping a CRL to a LDAP entry.- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init(IConfigStore config)
initialize from config store.LdapCertMapResult
map(netscape.ldap.LDAPConnection conn, org.mozilla.jss.netscape.security.x509.X509CRLImpl crl, boolean checkForCrl)
maps a crl to a LDAP entry.
-
-
-
Method Detail
-
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
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.
-
-