NBitcoin.BouncyCastle.Math.EC.ECCurve.CheckPoints C# (CSharp) Method

CheckPoints() protected method

protected CheckPoints ( NBitcoin.BouncyCastle.Math.EC.ECPoint points, int off, int len ) : void
points NBitcoin.BouncyCastle.Math.EC.ECPoint
off int
len int
return void
		protected virtual void CheckPoints(ECPoint[] points, int off, int len)
		{
			if(points == null)
				throw new ArgumentNullException("points");
			if(off < 0 || len < 0 || (off > (points.Length - len)))
				throw new ArgumentException("invalid range specified", "points");

			for(int i = 0; i < len; ++i)
			{
				ECPoint point = points[off + i];
				if(null != point && this != point.Curve)
					throw new ArgumentException("entries must be null or on this curve", "points");
			}
		}

Same methods

ECCurve::CheckPoints ( NBitcoin.BouncyCastle.Math.EC.ECPoint points ) : void