return ((X500Principal) o).name.equals(name);
if (!(o instanceof X500Principal)) return false; if (size() != ((X500Principal) o).size()) return false; for (int i = 0; i < size(); i++) { Map m = (Map) components.get (i); for (Iterator it2 = m.entrySet().iterator(); it2.hasNext(); ) { Map.Entry e = (Map.Entry) it2.next(); OID oid = (OID) e.getKey(); String v1 = (String) e.getValue(); String v2 = ((X500Principal) o).getComponent (oid, i); if (v2 == null) return false; if (!compressWS (v1).equalsIgnoreCase (compressWS (v2))) return false; } } return true;
  public boolean equals(Object o)  {    return ((X500Principal) o).name.equals(name);  }