Ejemplo n.º 1
0
		public EllipticCurve(BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint)
		{
			_A = a;
			_B = b;
			_Order = order;
			_Cofactor = cofactor;
			_BasePoint = basePoint;
		}
Ejemplo n.º 2
0
 public EllipticCurve(BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint)
 {
     _A         = a;
     _B         = b;
     _Order     = order;
     _Cofactor  = cofactor;
     _BasePoint = basePoint;
 }
Ejemplo n.º 3
0
 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));
 }
Ejemplo n.º 4
0
 public PrimeFiniteFieldCurve(BigInteger prime, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint)
     : base(a, b, order, cofactor, basePoint)
 {
     _Prime = prime;
 }
Ejemplo n.º 5
0
        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;
        }
Ejemplo n.º 6
0
		public PrimeFiniteFieldCurve(BigInteger prime, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor, EllipticCurvePoint basePoint)
			:base(a, b, order, cofactor, basePoint) 
		{
			_Prime = prime;
		}