com.netscape.certsrv.publish
Class LdapCertMapResult

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

public class LdapCertMapResult
extends java.lang.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: 1211 $ $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Constructor Summary
LdapCertMapResult(java.lang.String dn, boolean hasCert)
          Constructs ldap cert map result with a dn and hasCert boolean.
 
Method Summary
 java.lang.String getDn()
          Gets DN from the result.
 boolean hasCert()
          Gets whether the ldap entry had a certificate from result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapCertMapResult

public LdapCertMapResult(java.lang.String dn,
                         boolean hasCert)
Constructs ldap cert map result with a dn and hasCert boolean.

Method Detail

getDn

public java.lang.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.