public virtual bool Equals(ECCurve other)
{
if(this == other)
return true;
if(null == other)
return false;
return Field.Equals(other.Field)
&& A.ToBigInteger().Equals(other.A.ToBigInteger())
&& B.ToBigInteger().Equals(other.B.ToBigInteger());
}
ECCurve::Equals ( object obj ) : bool |
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)); }