commit | 7feb36177618026a9ed5b2f21c995093b087bd7e | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Fri Oct 01 15:36:54 2021 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Oct 14 16:38:08 2021 +0200 |
tree | 23636bb9ecd948e50c96b3380ddbfe44040b14d5 | |
parent | f5dd337b12b39a9f81dca4d8367732e16b43b3dd [diff] |
MINOR: jwt: Parse JWT alg field The full list of possible algorithms used to create a JWS signature is defined in section 3.1 of RFC7518. This patch adds a helper function that converts the "alg" strings into an enum member.