public EllipticCurve(BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint) { _A = a; _B = b; _Order = order; _Cofactor = cofactor; _BasePoint = basePoint; }
public EllipticCurve(BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint) { this.A = a; this.B = b; this.Order = order; this.Cofactor = cofactor; this.BasePoint = basePoint ?? throw new ArgumentNullException(nameof(basePoint)); }
public PrimeFiniteFieldCurve(BigInteger prime, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint) : base(a, b, order, cofactor, basePoint) { _Prime = prime; }
public PrimeFiniteFieldCurve(BigInteger prime, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint) : base(a, b, order, cofactor, basePoint) { if (basePoint == null) { throw new ArgumentNullException(nameof(basePoint)); } this.Prime = prime; }
public PrimeFiniteFieldCurve(BigInteger prime, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint) :base(a, b, order, cofactor, basePoint) { _Prime = prime; }