PRBool Equals(const nsHashKey* aKey) const { PRBool eq; mKey->Equals(((nsIPrincipalKey*) aKey)->mKey, &eq); return eq; }
nsSystemPrincipal::Equals(nsIPrincipal *other, PRBool *result) { *result = (other == this); return NS_OK; }
    PRBool Equals(const nsHashKey* aKey) const {        PRBool eq;        mKey->Equals(((nsIPrincipalKey*) aKey)->mKey, &eq);        return eq;    }