Load an Elliptic Curve from stream according to ZC-Basic EC-p library ECpSetCurveFromFile function.

Namespace: BasicCard.Crypto.EC
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public static ECp LoadCurve(
	Stream str
)
Visual Basic
Public Shared Function LoadCurve ( 
	str As Stream
) As ECp
Visual C++
public:
static ECp^ LoadCurve(
	Stream^ str
)
F#
static member LoadCurve : 
        str : Stream -> ECp 

Parameters

str
Type: System.IO..::..Stream
Input stream to use.

Return Value

Type: ECp
ECp object using specified curve.

Remarks

Specified stream must be open for read and in proper reading position.

See Also