Lines Matching refs:kty
52 "kty", /* generic */
65 "keys[].kty", "keys[].k", /* generic */
108 { "kty", JWK_META_KTY, 1 },
118 { "kty", JWK_META_KTY, 1 },
129 { "kty", JWK_META_KTY, 1 },
196 * there is no requirement for kty to be given first and eg,
198 * order - where kty is not first.
226 * kty already makes certain we cannot have key element members
259 if (jwk->kty == LWS_GENCRYPTO_KTY_RSA &&
276 if (jwk->kty == LWS_GENCRYPTO_KTY_RSA &&
293 if (jwk->kty == LWS_GENCRYPTO_KTY_RSA &&
301 if ((jwk->kty == LWS_GENCRYPTO_KTY_RSA ||
302 jwk->kty == LWS_GENCRYPTO_KTY_EC) &&
318 /* note: kty is not necessarily first... we have to keep track of
320 * seen. Once kty comes, we confirm it'jwk still possible (ie, it'jwk
323 * kty told. */
329 jwk->kty = LWS_GENCRYPTO_KTY_OCT;
336 jwk->kty = LWS_GENCRYPTO_KTY_RSA;
343 jwk->kty = LWS_GENCRYPTO_KTY_EC;
440 switch (jwk->kty) {
442 lwsl_notice("%s: missing or unknown kty\n", __func__);
461 * RSA: e -> kty -> n
462 * oct: k -> kty
469 switch (jwk->kty) {
502 l->name, kty_names[jwk->kty]);
569 if (jwk->kty == LWS_GENCRYPTO_KTY_EC &&