public override bool Equals( Object o) { if ((o == null) || !(typeof(DSAValidationParameters).IsInstanceOfType(o))) { return(false); } DSAValidationParameters other = (DSAValidationParameters)o; if (other.counter != this.counter) { return(false); } if (other.seed.Length != this.seed.Length) { return(false); } for (int i = 0; i != other.seed.Length; i++) { if (other.seed[i] != this.seed[i]) { return(false); } } return(true); }
public DSAParameters( BigInteger p, BigInteger q, BigInteger g, DSAValidationParameters parameters) { this.g = g; this.p = p; this.q = q; this.validation = parameters; }