/external/libwebsockets/minimal-examples/crypto/minimal-crypto-jwk/ |
D | main.c | 71 enum lws_gencrypto_kty kty = LWS_GENCRYPTO_KTY_RSA; in main() local 91 kty = LWS_GENCRYPTO_KTY_RSA; in main() 94 kty = LWS_GENCRYPTO_KTY_OCT; in main() 97 kty = LWS_GENCRYPTO_KTY_EC; in main() 119 if (lws_jwk_generate(context, &jwk, kty, bits, curve)) { in main() 138 kty != LWS_GENCRYPTO_KTY_OCT) { in main()
|
D | README.md | 43 {"crv":"P-256","d":"eMKM_S4BTL2aiebZLqvxglufV2YX4b3_32DesgEUOaM","key_ops":["sign","verify"],"kty":… 49 {"crv":"P-256","key_ops":["verify"],"kty":"EC","x":"OWauiGGtJ60ZegtqlwETQlmO1exTZdWbT2VbUs4a1hg","y…
|
/external/libwebsockets/lib/jose/jwk/ |
D | jwk.c | 177 switch (jwk->kty) { in lws_jwk_dump() 376 if (jwk->kty == LWS_GENCRYPTO_KTY_RSA && in cb_jwk() 393 if (jwk->kty == LWS_GENCRYPTO_KTY_RSA && in cb_jwk() 410 if (jwk->kty == LWS_GENCRYPTO_KTY_RSA && in cb_jwk() 418 if ((jwk->kty == LWS_GENCRYPTO_KTY_RSA || in cb_jwk() 419 jwk->kty == LWS_GENCRYPTO_KTY_EC) && in cb_jwk() 446 jwk->kty = LWS_GENCRYPTO_KTY_OCT; in cb_jwk() 453 jwk->kty = LWS_GENCRYPTO_KTY_RSA; in cb_jwk() 460 jwk->kty = LWS_GENCRYPTO_KTY_EC; in cb_jwk() 560 jwk->kty = LWS_GENCRYPTO_KTY_OCT; in lws_jwk_dup_oct() [all …]
|
/external/libwebsockets/lib/jose/jwe/enc/ |
D | aeskw.c | 47 if (jwe->jws.jwk->kty != LWS_GENCRYPTO_KTY_OCT) { in lws_jwe_encrypt_aeskw_cbc_hs() 48 lwsl_err("%s: unexpected kty %d\n", __func__, jwe->jws.jwk->kty); in lws_jwe_encrypt_aeskw_cbc_hs() 125 if (jwe->jws.jwk->kty != LWS_GENCRYPTO_KTY_OCT) { in lws_jwe_auth_and_decrypt_aeskw_cbc_hs() 126 lwsl_err("%s: unexpected kty %d\n", __func__, jwe->jws.jwk->kty); in lws_jwe_auth_and_decrypt_aeskw_cbc_hs()
|
/external/libwebsockets/lib/jose/jwe/ |
D | jwe-rsa-aescbc.c | 53 if (jwe->jws.jwk->kty != LWS_GENCRYPTO_KTY_RSA) { in lws_jwe_encrypt_rsa_aes_cbc_hs() 54 lwsl_err("%s: unexpected kty %d\n", __func__, jwe->jws.jwk->kty); in lws_jwe_encrypt_rsa_aes_cbc_hs() 138 if (jwe->jws.jwk->kty != LWS_GENCRYPTO_KTY_RSA) { in lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs() 139 lwsl_err("%s: unexpected kty %d\n", __func__, jwe->jws.jwk->kty); in lws_jwe_auth_and_decrypt_rsa_aes_cbc_hs()
|
D | jwe-rsa-aesgcm.c | 38 if (jwe->jws.jwk->kty != LWS_GENCRYPTO_KTY_RSA) { in lws_jwe_encrypt_rsa_aes_gcm() 39 lwsl_err("%s: wrong kty %d\n", __func__, jwe->jws.jwk->kty); in lws_jwe_encrypt_rsa_aes_gcm() 130 if (jwe->jws.jwk->kty != LWS_GENCRYPTO_KTY_RSA) { in lws_jwe_auth_and_decrypt_rsa_aes_gcm() 131 lwsl_err("%s: unexpected kty %d\n", __func__, jwe->jws.jwk->kty); in lws_jwe_auth_and_decrypt_rsa_aes_gcm()
|
D | jwe-ecdh-es-aeskw.c | 211 if (jwe->jws.jwk->kty != LWS_GENCRYPTO_KTY_EC) { in lws_jwe_encrypt_ecdh() 212 lwsl_err("%s: unexpected kty %d\n", __func__, jwe->jws.jwk->kty); in lws_jwe_encrypt_ecdh() 217 ephem->kty = LWS_GENCRYPTO_KTY_EC; in lws_jwe_encrypt_ecdh() 462 if (jwe->jws.jwk->kty != LWS_GENCRYPTO_KTY_EC) { in lws_jwe_auth_and_decrypt_ecdh() 463 lwsl_err("%s: unexpected kty %d\n", __func__, jwe->jws.jwk->kty); in lws_jwe_auth_and_decrypt_ecdh() 468 if (jwe->jose.recipient[jwe->recip].jwk_ephemeral.kty != in lws_jwe_auth_and_decrypt_ecdh()
|
/external/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | jws.c | 152 if (jwk.kty != LWS_GENCRYPTO_KTY_OCT) { in test_jws_HS256() 153 lwsl_err("%s: unexpected kty %d\n", __func__, jwk.kty); in test_jws_HS256() 303 if (jwk.kty != LWS_GENCRYPTO_KTY_RSA) { in test_jws_RS256() 304 lwsl_err("%s: 2.2: kty: %d instead of RSA\n", __func__, jwk.kty); in test_jws_RS256() 471 if (jwk.kty != LWS_GENCRYPTO_KTY_EC) { in test_jws_ES256() 473 __func__, jwk.kty); in test_jws_ES256() 632 if (jwk.kty != LWS_GENCRYPTO_KTY_EC) { in test_jws_ES512() 634 __func__, jwk.kty); in test_jws_ES512()
|
D | jwk.c | 272 lwsl_notice("%s: key type %d\n", __func__, s->kty); in key_import_callback()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-jwk.h | 55 int kty; /**< one of LWS_JWK_ */ member 216 enum lws_gencrypto_kty kty, int bits, const char *curve);
|
/external/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-x509.c | 292 jwk->kty = LWS_GENCRYPTO_KTY_RSA; in lws_x509_public_to_jwk() 310 jwk->kty = LWS_GENCRYPTO_KTY_EC; in lws_x509_public_to_jwk() 376 if (jwk->kty != LWS_GENCRYPTO_KTY_RSA) { in lws_x509_jwk_privkey_pem() 388 if (jwk->kty != LWS_GENCRYPTO_KTY_EC) { in lws_x509_jwk_privkey_pem()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_verifier.cc | 504 static EVP_PKEY* pkey_from_jwk(const Json& json, const char* kty) { in pkey_from_jwk() argument 512 GPR_ASSERT(kty != nullptr); in pkey_from_jwk() 513 if (strcmp(kty, "RSA") != 0) { in pkey_from_jwk() 514 gpr_log(GPR_ERROR, "Unsupported key type %s.", kty); in pkey_from_jwk() 584 const char* kty = nullptr; in find_verification_key() local 587 kty = validate_string_field(it->second, "kty"); in find_verification_key() 589 if (alg != nullptr && kid != nullptr && kty != nullptr && in find_verification_key() 591 return pkey_from_jwk(jkey, kty); in find_verification_key()
|
/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_verifier.cc | 500 static EVP_PKEY* pkey_from_jwk(const grpc_json* json, const char* kty) { in pkey_from_jwk() argument 507 GPR_ASSERT(kty != nullptr && json != nullptr); in pkey_from_jwk() 508 if (strcmp(kty, "RSA") != 0) { in pkey_from_jwk() 509 gpr_log(GPR_ERROR, "Unsupported key type %s.", kty); in pkey_from_jwk() 574 const char* kty = nullptr; in find_verification_key() local 587 kty = key_prop->value; in find_verification_key() 590 if (alg != nullptr && kid != nullptr && kty != nullptr && in find_verification_key() 592 return pkey_from_jwk(jkey, kty); in find_verification_key()
|
/external/libwebsockets/lib/tls/openssl/ |
D | openssl-x509.c | 342 jwk->kty = LWS_GENCRYPTO_KTY_EC; in lws_x509_public_to_jwk() 400 jwk->kty = LWS_GENCRYPTO_KTY_RSA; in lws_x509_public_to_jwk() 513 switch (jwk->kty) { in lws_x509_jwk_privkey_pem() 636 lwsl_err("%s: JWK has unknown kty %d\n", __func__, jwk->kty); in lws_x509_jwk_privkey_pem() 643 if (jwk->kty == LWS_GENCRYPTO_KTY_EC) in lws_x509_jwk_privkey_pem()
|
/external/libwebsockets/minimal-examples/crypto/minimal-crypto-jwe/ |
D | key-rsa-4096.pub | 1 {"e":"AQAB","kid":"my kid","kty":"RSA","n":"2_YjG_D1sOWJxs6cohikupHf5WJfWSFfSCrnNZ7WR7AyTLnKZAF4VKy…
|
D | key-rsa-4096.private | 1 …LP3CRlqzDTvHrMe2A9cNAQ4dNsCbNAjW_MxxGKKWuWXAMQ","e":"AQAB","kid":"my kid","kty":"RSA","n":"2_YjG_D…
|
/external/libwebsockets/minimal-examples/crypto/minimal-crypto-x509/ |
D | README.md | 38 {"crv":"P-521","kty":"EC","x":"_uRNBbIbm0zhk8v6ujvQX9924264ZkqJhit0qamAoCegzuJbLf434kN7_aFEt6u-QWUu… 55 …ncrYLhipUYzLYty2XhemTQ_nSuUB1vB76jHmOYUTRXFBLkVCW8cQYyMa5dMa3Bvv-cdvH0IB","kty":"EC","x":"_uRNBbIb…
|
/external/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/ |
D | lws-genec.c | 57 if (jwk.kty != LWS_GENCRYPTO_KTY_EC) { in test_genec1()
|
/external/libwebsockets/lib/jose/jws/ |
D | jws.c | 494 if (jwk->kty != LWS_GENCRYPTO_KTY_RSA) in lws_jws_sig_confirm() 589 if (jwk->kty != LWS_GENCRYPTO_KTY_EC) in lws_jws_sig_confirm() 775 if (jws->jwk->kty != LWS_GENCRYPTO_KTY_RSA) in lws_jws_sign_from_b64() 818 if (jws->jwk->kty != LWS_GENCRYPTO_KTY_EC) in lws_jws_sign_from_b64()
|
D | jose.c | 543 if (!jwk || !jwk->kty) in lws_jose_render()
|
/external/libwebsockets/lib/jose/ |
D | README.md | 49 |JWK kty|JWA|lws|
|
/external/libwebsockets/plugins/acme-client/ |
D | protocol_lws_acme_client.c | 669 vhd->jwk.kty = LWS_GENCRYPTO_KTY_RSA; in lws_acme_load_create_auth_keys()
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | iso-639-3_Name_Index.tab | 3471 kty Kango (Bas-Uélé District) Kango (Bas-Uélé District)
|
D | iso-639-3.tab | 3308 kty I L Kango (Bas-Uélé District)
|
D | language-subtag-registry | 18525 Subtag: kty
|