from

fun from(curve: JwaCurve?): AlgorithmId

Converts JwaCurve and Jwa combination into a valid AlgorithmId.

Return

AlgorithmId that matches the provided curve and algorithm combination

Parameters

curve

JwaCurve

Throws

if the combination of curve and algorithm is not supported