getCurveDescriptor

fnCurveDescriptor getCurveDescriptor(string name) @safe

Looks up the domain parameters for a named elliptic curve.

Parameters

nameThe curve name (e.g. "P-256", "P-384", "P-521").

Returns

A CurveDescriptor populated with the standard NIST parameters.

Throws

CryptoException if the curve name is not recognized.