ns_crypto::JWT method jwk_ec_curve_to_ns_curve (protected)

 <instance of ns_crypto::JWT[i]> jwk_ec_curve_to_ns_curve crv

Defined in

Parameters:
crv (required)

Testcases:
No testcase defined.
Source code:
switch -- $crv {
    P-256      {return prime256v1}
    secp256k1  {return secp256k1}
    P-384      {return secp384r1}
    P-521      {return secp521r1}
    default {
        error "unsupported EC JWK curve \"$crv\""
    }
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: