Org.BouncyCastle.Crypto.Parameters.ECDomainParameters.ECDomainParameters C# (CSharp) Method

ECDomainParameters() public method

public ECDomainParameters ( Org.BouncyCastle.Math.EC.ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte seed ) : System
curve Org.BouncyCastle.Math.EC.ECCurve
g Org.BouncyCastle.Math.EC.ECPoint
n Org.BouncyCastle.Math.BigInteger
h Org.BouncyCastle.Math.BigInteger
seed byte
return System
        public ECDomainParameters(
            ECCurve     curve,
            ECPoint     g,
            BigInteger  n,
            BigInteger  h,
            byte[]      seed)
        {
            if (curve == null)
                throw new ArgumentNullException("curve");
            if (g == null)
                throw new ArgumentNullException("g");
            if (n == null)
                throw new ArgumentNullException("n");
            if (h == null)
                throw new ArgumentNullException("h");

            this.curve = curve;
            this.g = g.Normalize();
            this.n = n;
            this.h = h;
            this.seed = Arrays.Clone(seed);
        }

Same methods

ECDomainParameters::ECDomainParameters ( Org.BouncyCastle.Math.EC.ECCurve curve, ECPoint g, BigInteger n ) : System
ECDomainParameters::ECDomainParameters ( Org.BouncyCastle.Math.EC.ECCurve curve, ECPoint g, BigInteger n, BigInteger h ) : System