Home
last modified time | relevance | path

Searched refs:lws_jwk (Results 1 – 22 of 22) sorted by relevance

/external/libwebsockets/include/libwebsockets/
Dlws-jwk.h50 struct lws_jwk { struct
59 typedef int (*lws_jwk_key_import_callback)(struct lws_jwk *s, void *user); argument
62 struct lws_jwk *jwk;
94 lws_jwk_import(struct lws_jwk *jwk, lws_jwk_key_import_callback cb, void *user,
104 lws_jwk_destroy(struct lws_jwk *jwk);
116 lws_jwk_dup_oct(struct lws_jwk *jwk, const void *key, int len);
141 lws_jwk_export(struct lws_jwk *jwk, int flags, char *p, int *len);
164 lws_jwk_load(struct lws_jwk *jwk, const char *filename,
175 lws_jwk_save(struct lws_jwk *jwk, const char *filename);
185 lws_jwk_rfc7638_fingerprint(struct lws_jwk *jwk, char *digest32);
[all …]
Dlws-jws.h69 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);
224 struct lws_jws *jws, struct lws_jwk *jwk,
Dlws-x509.h70 struct lws_jwk;
131 lws_x509_public_to_jwk(struct lws_jwk *jwk, struct lws_x509_cert *x509,
153 lws_x509_jwk_privkey_pem(struct lws_jwk *jwk, void *pem, size_t len,
Dlws-jose.h112 struct lws_jwk jwk_ephemeral; /* recipient ephemeral key if any */
113 struct lws_jwk jwk; /* recipient "jwk" key if any */
Dlws-jwe.h48 struct lws_jwk jwk;
/external/libwebsockets/lib/jose/jwk/
Djwk.c168 lws_jwk_dump(struct lws_jwk *jwk) in lws_jwk_dump()
291 lws_jwk_destroy(struct lws_jwk *jwk) in lws_jwk_destroy()
301 struct lws_jwk *jwk = jps->jwk; in cb_jwk()
537 struct lws_jwk *jwk, lws_jwk_key_import_callback cb, in lws_jwk_init_jps()
554 lws_jwk_dup_oct(struct lws_jwk *jwk, const void *key, int len) in lws_jwk_dup_oct()
569 lws_jwk_generate(struct lws_context *context, struct lws_jwk *jwk, in lws_jwk_generate()
640 lws_jwk_import(struct lws_jwk *jwk, lws_jwk_key_import_callback cb, void *user, in lws_jwk_import()
672 lws_jwk_export(struct lws_jwk *jwk, int flags, char *p, int *len) in lws_jwk_export()
817 lws_jwk_rfc7638_fingerprint(struct lws_jwk *jwk, char *digest32) in lws_jwk_rfc7638_fingerprint()
851 lws_jwk_strdup_meta(struct lws_jwk *jwk, enum enum_jwk_meta_tok idx, in lws_jwk_strdup_meta()
[all …]
/external/libwebsockets/lib/jose/
Dprivate-lib-jose.h30 struct lws_jwk *jwk, lws_jwk_key_import_callback cb,
34 lws_jose_render(struct lws_jose *jose, struct lws_jwk *aux_jwk,
/external/libwebsockets/minimal-examples/api-tests/api-test-jose/
Djwk.c270 key_import_callback(struct lws_jwk *s, void *user) in key_import_callback()
281 struct lws_jwk jwk; in test_jwk()
Djws.c123 struct lws_jwk jwk; in test_jws_HS256()
280 struct lws_jwk jwk; in test_jws_RS256()
414 struct lws_jwk jwk; in test_jws_ES256()
575 struct lws_jwk jwk; in test_jws_ES512()
/external/libwebsockets/lib/jose/jws/
Djws.c164 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()
Djose.c464 lws_jose_render(struct lws_jose *jose, struct lws_jwk *aux_jwk, in lws_jose_render()
467 struct lws_jwk *jwk; in lws_jose_render()
/external/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/
Dlws-genec.c27 struct lws_jwk jwk; in test_genec1()
/external/libwebsockets/lib/tls/
Dlws-genec-common.c50 struct lws_jwk *jwk) in lws_genec_confirm_curve_allowed_by_tls_id()
Dprivate-lib-tls.h192 struct lws_jwk *jwk);
/external/libwebsockets/minimal-examples/crypto/minimal-crypto-jwk/
Dmain.c75 struct lws_jwk jwk; in main()
/external/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c279 lws_x509_public_to_jwk(struct lws_jwk *jwk, struct lws_x509_cert *x509, in lws_x509_public_to_jwk()
352 lws_x509_jwk_privkey_pem(struct lws_jwk *jwk, void *pem, size_t len, in lws_x509_jwk_privkey_pem()
/external/libwebsockets/minimal-examples/crypto/minimal-crypto-x509/
Dmain.c62 struct lws_jwk jwk; in main()
/external/libwebsockets/minimal-examples/crypto/minimal-crypto-jws/
Dmain.c27 struct lws_jwk jwk; in main()
/external/libwebsockets/lib/tls/openssl/
Dopenssl-x509.c295 lws_x509_public_to_jwk(struct lws_jwk *jwk, struct lws_x509_cert *x509, in lws_x509_public_to_jwk()
488 lws_x509_jwk_privkey_pem(struct lws_jwk *jwk, void *pem, size_t len, in lws_x509_jwk_privkey_pem()
/external/libwebsockets/lib/jose/jwe/
Djwe-ecdh-es-aeskw.c209 struct lws_jwk *ephem = &jwe->jose.recipient[jwe->recip].jwk_ephemeral; in lws_jwe_encrypt_ecdh()
/external/libwebsockets/READMEs/
DREADME.crypto-apis.md165 Keys in the JOSE layer use a `struct lws_jwk`, this contains two arrays of
/external/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c117 struct lws_jwk jwk;