getJwkCurve

Extracts the cryptographic curve information from a Jwk object.

This function parses and returns the curve type used in a Jwk. May return null if the curve information is not present or unsupported.

Return

The JwaCurve used in the Jwk, or null if the curve is not defined or recognized.

Parameters

jwk

The Jwk object from which to extract curve information.