Beispiel #1
0
            public ECCurve Create()
            {
                if (!outer.SupportsCoordinateSystem(coord))
                {
                    throw new InvalidOperationException("unsupported coordinate system");
                }
                ECCurve eCCurve = outer.CloneCurve();

                if (eCCurve == outer)
                {
                    throw new InvalidOperationException("implementation returned current curve");
                }
                eCCurve.m_coord        = coord;
                eCCurve.m_endomorphism = endomorphism;
                eCCurve.m_multiplier   = multiplier;
                return(eCCurve);
            }
Beispiel #2
0
            public ECCurve Create()
            {
                if (!outer.SupportsCoordinateSystem(coord))
                {
                    throw new InvalidOperationException("unsupported coordinate system");
                }

                ECCurve c = outer.CloneCurve();

                if (c == outer)
                {
                    throw new InvalidOperationException("implementation returned current curve");
                }

                c.m_coord      = coord;
                c.m_multiplier = multiplier;

                return(c);
            }
Beispiel #3
0
            public ECCurve Create()
            {
                //IL_0018: Unknown result type (might be due to invalid IL or missing references)
                //IL_0038: Unknown result type (might be due to invalid IL or missing references)
                if (!outer.SupportsCoordinateSystem(coord))
                {
                    throw new InvalidOperationException("unsupported coordinate system");
                }
                ECCurve eCCurve = outer.CloneCurve();

                if (eCCurve == outer)
                {
                    throw new InvalidOperationException("implementation returned current curve");
                }
                eCCurve.m_coord        = coord;
                eCCurve.m_endomorphism = endomorphism;
                eCCurve.m_multiplier   = multiplier;
                return(eCCurve);
            }