]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: jws: implement a JWK public key converter
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 28 Feb 2025 15:11:08 +0000 (16:11 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 3 Mar 2025 11:43:32 +0000 (12:43 +0100)
commit4dc0ba233ef7fcdd77dba6edb12a32b8347c7acb
tree4e800e39c0ed4ef989072f7ed7e01b623b7b2e87
parent730641f7cad32bfff97875716efe4bd784bb006b
MINOR: jws: implement a JWK public key converter

Implement a converter which takes an EVP_PKEY and converts it to a
public JWK key. This is the first step of the JWS implementation.

It supports both EC and RSA keys.

Know to work with:

- LibreSSL
- AWS-LC
- OpenSSL > 1.1.1
Makefile
include/haproxy/jws.h [new file with mode: 0644]
include/haproxy/openssl-compat.h
src/jws.c [new file with mode: 0644]