#include <apr_lib.h>
#include <apr_strings.h>
#include <apr_tables.h>
#include <apr_buckets.h>
#include "md_crypt.h"
#include "md_json.h"
#include "md_jws.h"
#include "md_log.h"
#include "md_util.h"
Go to the source code of this file.
|
| apr_status_t | md_jws_get_jwk (md_json_t **pjwk, apr_pool_t *p, struct md_pkey_t *pkey) |
| |
| apr_status_t | md_jws_sign (md_json_t **pmsg, apr_pool_t *p, md_data_t *payload, md_json_t *prot_fields, struct md_pkey_t *pkey, const char *key_id) |
| |
| apr_status_t | md_jws_pkey_thumb (const char **pthumb, apr_pool_t *p, struct md_pkey_t *pkey) |
| |
| apr_status_t | md_jws_hmac (md_json_t **pmsg, apr_pool_t *p, md_data_t *payload, md_json_t *prot_fields, const md_data_t *hmac_key) |
| |
◆ md_jws_get_jwk()
Get the JSON value of the 'jwk' field for the given key.
Definition at line 28 of file md_jws.c.
◆ md_jws_hmac()
◆ md_jws_pkey_thumb()
Get the 'Thumbprint' as defined in RFC8555 for the given key in base64 encoding.
Definition at line 93 of file md_jws.c.
◆ md_jws_sign()
Get the JWS key signed JSON message with given payload and protected fields, signed using the given key and optional key_id.
Definition at line 42 of file md_jws.c.