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

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
		public override bool Equals(object obj)
		{
			return Equals(obj as ECCurve);
		}

Same methods

ECCurve::Equals ( ECCurve other ) : bool

Usage Example

コード例 #1
0
        public static ECPoint ImportPoint(ECCurve c, ECPoint p)
        {
            ECCurve cp = p.Curve;

            if (!c.Equals(cp))
            {
                throw new ArgumentException("Point must be on the same curve");
            }

            return(c.ImportPoint(p));
        }
All Usage Examples Of NBitcoin.BouncyCastle.Math.EC.ECCurve::Equals