ns_crypto::JWT method alg_to_hmac_digest (protected)
<instance of ns_crypto::JWT> alg_to_hmac_digest alg
- 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
![[i]](/resources/acs-subsite/ZoomIn16.gif)