changed parameters of setElgamalpk in security and added elgamal addition to client set pks