this.g = g; this.p = p;
if (!(obj instanceof ElGamalParameters)) { return false; } ElGamalParameters pm = (ElGamalParameters)obj; return pm.getP().equals(p) && pm.getG().equals(g);
return the generator - g return g;
return g;
return p;