Example #1
0
 /// <summary>
 /// Creates a new default <see cref="ECPoint" />
 /// on the curve defined by a valid <see cref="ECGroupHandle" />.
 ///
 /// The coordinates of the point are unspecified.
 /// </summary>
 /// <param name="ecGroupHandle">Native handle for the group the point lies on.</param>
 internal ECPoint(ECGroupHandle ecGroupHandle)
 {
     Debug.Assert(!ecGroupHandle.IsInvalid);
     _ecGroup = ecGroupHandle;
     Handle   = ECPointHandle.Create(_ecGroup);
 }