ECCurve.ECCurveType Enum

Definition

Indicates how to interpret the data contained in an ECCurve object.

public: enum class ECCurve::ECCurveType
public enum ECCurve.ECCurveType
type ECCurve.ECCurveType = 
Public Enum ECCurve.ECCurveType
Inheritance
ECCurve.ECCurveType

Fields

Name Value Description
Implicit 0

No curve data is interpreted. The caller is assumed to know what the curve is.

PrimeShortWeierstrass 1

The curve parameters represent a prime curve with the formula y^2 = x^3 + A*x + B in the prime field P.

PrimeTwistedEdwards 2

The curve parameters represent a prime curve with the formula A*x^2 + y^2 = 1 + B*x^2*y^2 in the prime field P.

PrimeMontgomery 3

The curve parameters represent a prime curve with the formula B*y^2 = x^3 + A*x^2 + x.

Characteristic2 4

The curve parameters represent a characteristic 2 curve.

Named 5

The curve parameters represent a named curve.

Applies to