Class LdapCertMapResult

java.lang.Object
com.netscape.certsrv.publish.LdapCertMapResult

public class LdapCertMapResult extends Object
Class that represents the result of a Ldap Mapping operation. certificate map result: Represented by a mapped entry as a DN and whether entry has the certificate.
Version:
$Revision$ $Date$
  • Constructor Details

    • LdapCertMapResult

      public LdapCertMapResult(String dn, boolean hasCert)
      Constructs ldap cert map result with a dn and hasCert boolean.
  • Method Details

    • getDn

      public String getDn()
      Gets DN from the result.
      Returns:
      Distinguished Name.
    • hasCert

      public boolean hasCert()
      Gets whether the ldap entry had a certificate from result.
      Returns:
      true if cert is present, false otherwise.