public override bool Equals(object obj) { return Equals(obj as ECCurve); }
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)); }