/// <summary> /// Convert to domain parameters /// </summary> /// <param name="type"></param> /// <returns></returns> internal static ECDomainParameters ToECDomainParameters(this CurveType type) { var curveParams = type.ToX9ECParameters(); return(new ECDomainParameters(curveParams.Curve, curveParams.G, curveParams.N, curveParams.H, curveParams.GetSeed())); }