public ElGamalParameters( BigInteger p, BigInteger g, int l) { if (p == null) throw new ArgumentNullException("p"); if (g == null) throw new ArgumentNullException("g"); this.p = p; this.g = g; this.l = l; }