Home
last modified time | relevance | path

Searched refs:jose_hdr (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/
Djws.c895 char jose_hdr[LWS_ARRAY_SIZE(hdr_fmt) + LWS_ARRAY_SIZE(sha1_fingerprint)]; in test_jwt_RS256() local
899 .jose_hdr = jose_hdr, in test_jwt_RS256()
900 ….jose_hdr_len = (size_t)lws_snprintf(jose_hdr, LWS_ARRAY_SIZE(jose_hdr), hdr_fmt, sha1_fingerprint… in test_jwt_RS256()
907 lwsl_notice("%s: jose_hdr of len %zu: '%s'\n", __func__, info.jose_hdr_len, info.jose_hdr); in test_jwt_RS256()
Djwe.c1785 test_ecdhes_t1(struct lws_context *context, const char *jose_hdr, in test_ecdhes_t1() argument
1798 jose_hdr, strlen(jose_hdr), 0)) in test_ecdhes_t1()
1801 if (lws_jwe_parse_jose(&jwe.jose, jose_hdr, (int)strlen(jose_hdr), in test_ecdhes_t1()
1897 __func__, jose_hdr); in test_ecdhes_t1()
1899 lwsl_notice("%s: %s selftest OK\n", __func__, jose_hdr); in test_ecdhes_t1()
/third_party/libwebsockets/lib/jose/jws/
Djws.c1063 actual_hdr_len = info->jose_hdr ? info->jose_hdr_len : in lws_jwt_vsign_via_info()
1076 if (!info->jose_hdr) { in lws_jwt_vsign_via_info()
1093 if (lws_jws_parse_jose(&jose, info->jose_hdr, in lws_jwt_vsign_via_info()
1099 memcpy((char *)jws.map.buf[LJWS_JOSE], info->jose_hdr, in lws_jwt_vsign_via_info()
1203 .jose_hdr = NULL, in lws_jwt_sign_compact()
/third_party/libwebsockets/include/libwebsockets/
Dlws-jws.h463 const char *jose_hdr; member