63 char b64[(((8192 / 8) * 4) / 3) + 1];
97 const char *in,
size_t len);
120 #define LWSJWKF_EXPORT_PRIVATE (1 << 0)
121 #define LWSJWKF_EXPORT_NOCRLF (1 << 1)
200 const char *in,
int len);
char b64[(((8192/8) *4)/3)+1]
lws_jwk_key_import_callback per_key_cb
struct lws_gencrypto_keyelem e[LWS_GENCRYPTO_MAX_KEYEL_COUNT]
struct lws_gencrypto_keyelem meta[LWS_COUNT_JWK_ELEMENTS]
LWS_VISIBLE LWS_EXTERN int lws_jwk_import(struct lws_jwk *jwk, lws_jwk_key_import_callback cb, void *user, const char *in, size_t len)
LWS_VISIBLE LWS_EXTERN int lws_jwk_load(struct lws_jwk *jwk, const char *filename, lws_jwk_key_import_callback cb, void *user)
LWS_VISIBLE LWS_EXTERN int lws_jwk_strdup_meta(struct lws_jwk *jwk, enum enum_jwk_meta_tok idx, const char *in, int len)
LWS_VISIBLE LWS_EXTERN int lws_jwk_export(struct lws_jwk *jwk, int flags, char *p, int *len)
LWS_VISIBLE LWS_EXTERN void lws_jwk_destroy(struct lws_jwk *jwk)
LWS_VISIBLE int lws_jwk_generate(struct lws_context *context, struct lws_jwk *jwk, enum lws_gencrypto_kty kty, int bits, const char *curve)
LWS_VISIBLE LWS_EXTERN int lws_jwk_rfc7638_fingerprint(struct lws_jwk *jwk, char *digest32)
LWS_VISIBLE LWS_EXTERN int lws_jwk_save(struct lws_jwk *jwk, const char *filename)
LWS_VISIBLE LWS_EXTERN int lws_jwk_dup_oct(struct lws_jwk *jwk, const void *key, int len)
int(* lws_jwk_key_import_callback)(struct lws_jwk *s, void *user)
LWS_VISIBLE LWS_EXTERN int lws_jwk_dump(struct lws_jwk *jwk)
#define LWS_GENCRYPTO_MAX_KEYEL_COUNT