ns_crypto::JWT method alg_to_hmac_digest (protected)

 <instance of ns_crypto::JWT[i]> alg_to_hmac_digest alg

Defined in

Parameters:
alg (required)

Testcases:
No testcase defined.
Source code:
switch -- $alg {
    HS256  { return sha256 }
    HS384  { return sha384 }
    HS512  { return sha512 }
    default {
        error "unsupported JWT HMAC algorithm \"$alg\""
    }
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: