/third_party/libwebsockets/include/libwebsockets/ |
D | lws-jwk.h | 50 struct lws_jwk { struct 59 typedef int (*lws_jwk_key_import_callback)(struct lws_jwk *s, void *user); argument 62 struct lws_jwk *jwk; 96 lws_jwk_import(struct lws_jwk *jwk, lws_jwk_key_import_callback cb, void *user, 106 lws_jwk_destroy(struct lws_jwk *jwk); 118 lws_jwk_dup_oct(struct lws_jwk *jwk, const void *key, int len); 143 lws_jwk_export(struct lws_jwk *jwk, int flags, char *p, int *len); 166 lws_jwk_load(struct lws_jwk *jwk, const char *filename, 177 lws_jwk_save(struct lws_jwk *jwk, const char *filename); 187 lws_jwk_rfc7638_fingerprint(struct lws_jwk *jwk, char *digest32); [all …]
|
D | lws-jws.h | 69 struct lws_jwk *jwk; /* the struct lws_jwk containing the signing key */ 86 lws_jws_init(struct lws_jws *jws, struct lws_jwk *jwk, 117 lws_jws_sig_confirm_compact(struct lws_jws_map *map, struct lws_jwk *jwk, 123 struct lws_jwk *jwk, 147 struct lws_jwk *jwk, 171 struct lws_jwk *jwk, struct lws_context *context); 226 struct lws_jws *jws, struct lws_jwk *jwk, 431 lws_jwt_signed_validate(struct lws_context *ctx, struct lws_jwk *jwk, 456 lws_jwt_sign_compact(struct lws_context *ctx, struct lws_jwk *jwk, 497 lws_jwt_sign_via_info(struct lws_context *ctx, struct lws_jwk *jwk, [all …]
|
D | lws-x509.h | 83 struct lws_jwk; 144 lws_x509_public_to_jwk(struct lws_jwk *jwk, struct lws_x509_cert *x509, 167 lws_x509_jwk_privkey_pem(struct lws_context *cx, struct lws_jwk *jwk,
|
D | lws-jose.h | 112 struct lws_jwk jwk_ephemeral; /* recipient ephemeral key if any */ 113 struct lws_jwk jwk; /* recipient "jwk" key if any */
|
D | lws-jwe.h | 48 struct lws_jwk jwk;
|
/third_party/libwebsockets/lib/jose/jwk/ |
D | jwk.c | 52 lws_jwk_dump(struct lws_jwk *jwk) in lws_jwk_dump() 137 lws_jwk_destroy(struct lws_jwk *jwk) in lws_jwk_destroy() 145 struct lws_jwk *jwk, lws_jwk_key_import_callback cb, in lws_jwk_init_jps() 161 lws_jwk_dup_oct(struct lws_jwk *jwk, const void *key, int len) in lws_jwk_dup_oct() 178 lws_jwk_generate(struct lws_context *context, struct lws_jwk *jwk, in lws_jwk_generate() 251 lws_jwk_rfc7638_fingerprint(struct lws_jwk *jwk, char *digest32) in lws_jwk_rfc7638_fingerprint() 286 lws_jwk_strdup_meta(struct lws_jwk *jwk, enum enum_jwk_meta_tok idx, in lws_jwk_strdup_meta()
|
D | jose_key.c | 183 struct lws_jwk *jwk = jps->jwk; in cb_jwk() 419 lws_jwk_import(struct lws_jwk *jwk, lws_jwk_key_import_callback cb, void *user, in lws_jwk_import() 454 lws_jwk_export(struct lws_jwk *jwk, int flags, char *p, int *len) in lws_jwk_export() 599 lws_jwk_load(struct lws_jwk *jwk, const char *filename, in lws_jwk_load() 624 lws_jwk_save(struct lws_jwk *jwk, const char *filename) in lws_jwk_save()
|
/third_party/libwebsockets/lib/jose/ |
D | private-lib-jose.h | 39 lws_jose_render(struct lws_jose *jose, struct lws_jwk *aux_jwk, 47 struct lws_jwk *jwk, lws_jwk_key_import_callback cb,
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | jwk.c | 270 key_import_callback(struct lws_jwk *s, void *user) in key_import_callback() 281 struct lws_jwk jwk; in test_jwk()
|
D | jws.c | 123 struct lws_jwk jwk; in test_jws_HS256() 280 struct lws_jwk jwk; in test_jws_RS256() 415 struct lws_jwk jwk; in test_jws_ES256() 577 struct lws_jwk jwk; in test_jws_ES512() 831 struct lws_jwk jwk; in test_jwt_RS256()
|
/third_party/libwebsockets/lib/jose/jws/ |
D | jws.c | 164 lws_jws_init(struct lws_jws *jws, struct lws_jwk *jwk, in lws_jws_init() 446 struct lws_jwk *jwk, struct lws_context *context) in lws_jws_sig_confirm() 671 struct lws_jwk *jwk, in lws_jws_sig_confirm_compact_b64_map() 692 struct lws_jws_map *map, struct lws_jwk *jwk, in lws_jws_sig_confirm_compact_b64() 712 lws_jws_sig_confirm_compact(struct lws_jws_map *map, struct lws_jwk *jwk, in lws_jws_sig_confirm_compact() 726 struct lws_jws *jws, struct lws_jwk *jwk, in lws_jws_sig_confirm_json() 954 lws_jwt_signed_validate(struct lws_context *ctx, struct lws_jwk *jwk, in lws_jwt_signed_validate() 1042 static int lws_jwt_vsign_via_info(struct lws_context *ctx, struct lws_jwk *jwk, in lws_jwt_vsign_via_info() 1182 lws_jwt_sign_via_info(struct lws_context *ctx, struct lws_jwk *jwk, in lws_jwt_sign_via_info() 1197 lws_jwt_sign_compact(struct lws_context *ctx, struct lws_jwk *jwk, in lws_jwt_sign_compact()
|
D | jose.c | 466 lws_jose_render(struct lws_jose *jose, struct lws_jwk *aux_jwk, in lws_jose_render() 469 struct lws_jwk *jwk; in lws_jose_render()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/ |
D | lws-genec.c | 27 struct lws_jwk jwk; in test_genec1()
|
/third_party/libwebsockets/lib/tls/ |
D | lws-genec-common.c | 50 struct lws_jwk *jwk) in lws_genec_confirm_curve_allowed_by_tls_id()
|
D | private-lib-tls.h | 199 struct lws_jwk *jwk);
|
/third_party/libwebsockets/READMEs/ |
D | README.jwt.md | 121 lws_jwt_signed_validate(struct lws_context *ctx, struct lws_jwk *jwk, 130 lws_jwt_sign_compact(struct lws_context *ctx, struct lws_jwk *jwk, 142 struct lws_jwk *jwk;
|
D | README.crypto-apis.md | 165 Keys in the JOSE layer use a `struct lws_jwk`, this contains two arrays of
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jwk/ |
D | main.c | 75 struct lws_jwk jwk; in main()
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-x509/ |
D | main.c | 62 struct lws_jwk jwk; in main()
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jws/ |
D | main.c | 27 struct lws_jwk jwk; in main()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-x509.c | 379 lws_x509_public_to_jwk(struct lws_jwk *jwk, struct lws_x509_cert *x509, in lws_x509_public_to_jwk() 453 lws_x509_jwk_privkey_pem(struct lws_context *cx, struct lws_jwk *jwk, in lws_x509_jwk_privkey_pem()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-x509.c | 473 lws_x509_public_to_jwk(struct lws_jwk *jwk, struct lws_x509_cert *x509, in lws_x509_public_to_jwk() 666 lws_x509_jwk_privkey_pem(struct lws_context *cx, struct lws_jwk *jwk, in lws_x509_jwk_privkey_pem()
|
/third_party/libwebsockets/lib/jose/jwe/ |
D | jwe-ecdh-es-aeskw.c | 209 struct lws_jwk *ephem = &jwe->jose.recipient[jwe->recip].jwk_ephemeral; in lws_jwe_encrypt_ecdh()
|
/third_party/libwebsockets/plugins/acme-client/ |
D | protocol_lws_acme_client.c | 124 struct lws_jwk jwk;
|