Lines Matching refs:jws_prot_hdr
1878 struct wpabuf *jws_prot_hdr; in dpp_build_jws_prot_hdr() local
1881 jws_prot_hdr = wpabuf_alloc(100); in dpp_build_jws_prot_hdr()
1882 if (!jws_prot_hdr) in dpp_build_jws_prot_hdr()
1884 json_start_object(jws_prot_hdr, NULL); in dpp_build_jws_prot_hdr()
1885 json_add_string(jws_prot_hdr, "typ", "dppCon"); in dpp_build_jws_prot_hdr()
1886 json_value_sep(jws_prot_hdr); in dpp_build_jws_prot_hdr()
1887 json_add_string(jws_prot_hdr, "kid", conf->kid); in dpp_build_jws_prot_hdr()
1888 json_value_sep(jws_prot_hdr); in dpp_build_jws_prot_hdr()
1889 json_add_string(jws_prot_hdr, "alg", conf->curve->jws_alg); in dpp_build_jws_prot_hdr()
1890 json_end_object(jws_prot_hdr); in dpp_build_jws_prot_hdr()
1891 signed1 = base64_url_encode(wpabuf_head(jws_prot_hdr), in dpp_build_jws_prot_hdr()
1892 wpabuf_len(jws_prot_hdr), in dpp_build_jws_prot_hdr()
1894 wpabuf_free(jws_prot_hdr); in dpp_build_jws_prot_hdr()