Skip to content
PKIjsPKIjsPKIjsv4.0.1

ECNamedCurves

new ECNamedCurves(): ECNamedCurves

ECNamedCurves

readonly static namedCurves: Record<string, ECNamedCurve> = {}

static find(nameOrId): ECNamedCurve | null

Returns an ECC named curve object

string

Name or identifier of the named curve

ECNamedCurve | null


static register(name, id, size): void

Registers an ECC named curve

string

The name o the curve

string

The curve ASN.1 object identifier

number

The coordinate length in bytes

void