Example #1
0
 /// <summary>
 /// Creates a new <see cref="ECPoint" /> instance for a given
 /// valid <see cref="ECPointHandle" />
 /// on the curve defined by a valid <see cref="ECGroupHandle" />.
 ///
 /// The structure pointed to by <paramref name="pointHandle"/> is copied into
 /// this <see cref="ECPoint" /> instance.
 /// </summary>
 /// <param name="ecGroupHandle">Native handle for the group the point lies on.</param>
 /// <param name="pointHandle">Native handle for the point on the curve.</param>
 internal ECPoint(ECGroupHandle ecGroupHandle, ECPointHandle pointHandle) : this(ecGroupHandle)
 {
     Debug.Assert(!pointHandle.IsInvalid);
     ECPointHandle.Copy(Handle, pointHandle);
 }