class LdapEntry extends AbstractMessage {

  @Override
  public boolean equals(final Object o)
  {
    if (o == this) {
      return true;
    }
    if (o instanceof LdapEntry && super.equals(o)) {
      final LdapEntry v = (LdapEntry) o;
      return LdapUtils.areEqual(
        ldapDn != null ? ldapDn.toLowerCase() : null,
        v.ldapDn != null ? v.ldapDn.toLowerCase() : null) &&
        LdapUtils.areEqual(attributes, v.attributes);
    }
    return false;
  }

  public  LdapEntry();
  public  LdapEntry(final DERBuffer buffer);

}