ECCurve Structure

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents an elliptic curve.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public struct ECCurve

NameDescription
System_CAPS_pubpropertyIsCharacteristic2

Gets a value that indicates whether the curve type indicates an explicit characteristic 2 curve.

System_CAPS_pubpropertyIsExplicit

Gets a value that indicates whether the curve type indicates an explicit curve (either prime or characteristic 2).

System_CAPS_pubpropertyIsNamed

Gets a value that indicates whether the curve type indicates a named curve.

System_CAPS_pubpropertyIsPrime

Gets a value that indicates whether the curve type indicates an explicit prime curve.

System_CAPS_pubpropertyOid

Gets the identifier of a named curve.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateFromFriendlyName(String)

Creates a named curve using the specified friendly name of the identifier.

System_CAPS_pubmethodSystem_CAPS_staticCreateFromOid(Oid)

Creates a named curve using the specified Oid object.

System_CAPS_pubmethodSystem_CAPS_staticCreateFromValue(String)

Creates a named curve using the specified dotted-decimal representation of the identifier.

System_CAPS_pubmethodEquals(Object)

Indicates whether this instance and a specified object are equal.(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

System_CAPS_pubmethodValidate()

Validates the integrity of the current curve. Throws a CryptographicException exception if the structure is not valid.

NameDescription
System_CAPS_pubfieldA

The first coefficient for an explicit curve. A for short Weierstrass, Montgomery, and Twisted Edwards curves.

System_CAPS_pubfieldB

The second coefficient for an explicit curve. B for short Weierstrass and d for Twisted Edwards curves.

System_CAPS_pubfieldCofactor

The cofactor of the curve.

System_CAPS_pubfieldCurveType

Identifies the composition of the ECCurve object.

System_CAPS_pubfieldG

The generator, or base point, for operations on the curve.

System_CAPS_pubfieldHash

The name of the hash algorithm which was used to generate the curve coefficients (A and B) from the Seed under the ANSI X9.62 generation algorithm. Applies only to explicit curves.

System_CAPS_pubfieldOrder

The order of the curve. Applies only to explicit curves.

System_CAPS_pubfieldPolynomial

The curve polynomial. Applies only to characteristic 2 curves.

System_CAPS_pubfieldPrime

The prime specifying the base field. Applies only to prime curves.

System_CAPS_pubfieldSeed

The seed value for coefficient generation under the ANSI X9.62 generation algorithm. Applies only to explicit curves.

Use the CurveType field to determine whether the curve is a named curve or an explicit curve (either a prime or a characteristic 2 curve).

.NET Framework
Available since 4.7

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: