Home
last modified time | relevance | path

Searched refs:key_pem (Results 1 – 12 of 12) sorted by relevance

/third_party/glib/gio/
Dgtlscertificate.c418 const gchar *key_pem) in create_certificate_chain_from_list() argument
431 key = key_pem; in create_certificate_chain_from_list()
468 const gchar *key_pem, in parse_and_create_certificate() argument
482 cert = create_certificate_chain_from_list (pem_list, key_pem); in parse_and_create_certificate()
492 cert = g_tls_certificate_new_internal (last->data, key_pem, NULL, error); in parse_and_create_certificate()
531 gchar *key_pem; in g_tls_certificate_new_from_pem() local
540 key_pem = parse_private_key (data, length, FALSE, &child_error); in g_tls_certificate_new_from_pem()
547 cert = parse_and_create_certificate (data, length, key_pem, error); in g_tls_certificate_new_from_pem()
548 g_free (key_pem); in g_tls_certificate_new_from_pem()
627 gchar *key_pem; in g_tls_certificate_new_from_files() local
[all …]
/third_party/skia/third_party/externals/microhttpd/doc/examples/
Dtlsauthentication.c237 char *key_pem; in main() local
240 key_pem = load_file (SERVERKEYFILE); in main()
243 if ((key_pem == NULL) || (cert_pem == NULL)) in main()
252 MHD_OPTION_HTTPS_MEM_KEY, key_pem, in main()
258 free (key_pem); in main()
267 free (key_pem); in main()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-tls-mem/
Dminimal-http-server-tls-mem.c83 *key_pem = variable
433 info.server_ssl_private_key_mem = key_pem; in main()
434 info.server_ssl_private_key_mem_len = (unsigned int)strlen(key_pem); in main()
/third_party/glib/gio/tests/
Dtls-certificate.c31 gchar *key_pem; member
63 g_assert_cmpstr (parsed_key_pem, ==, ref->key_pem); in pem_parser()
97 g_assert_cmpstr (parsed_key_pem, ==, ref->key_pem); in pem_parser()
165 g_assert_cmpstr (parsed_key_pem, ==, ref->key_pem); in pem_parser_handles_chain()
223 g_assert_cmpstr (parsed_key_pem, ==, ref->key_pem); in from_file()
250 g_assert_cmpstr (parsed_key_pem, ==, ref->key_pem); in from_files()
468 g_file_get_contents (path, &ref.key_pem, NULL, &error); in main()
470 g_assert_nonnull (ref.key_pem); in main()
510 g_free (ref.key_pem); in main()
Dgtesttlsbackend.c93 gchar *key_pem; member
145 g_value_set_string (value, cert->key_pem); in g_test_tls_certificate_get_property()
179 cert->key_pem = g_value_dup_string (value); in g_test_tls_certificate_set_property()
206 g_free (cert->key_pem); in g_test_tls_certificate_finalize()
377 return ((GTestTlsCertificate *)cert)->key_pem; in g_test_tls_connection_get_private_key_pem()
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dhttps_fileserver_example.c69 const char key_pem[] = variable
182 MHD_OPTION_HTTPS_MEM_KEY, key_pem, in main()
/third_party/skia/third_party/externals/microhttpd/doc/chapters/
Dtlsauthentication.inc54 char *key_pem;
57 key_pem = load_file (SERVERKEYFILE);
60 if ((key_pem == NULL) || (cert_pem == NULL))
74 MHD_OPTION_HTTPS_MEM_KEY, key_pem,
82 free (key_pem);
97 free (key_pem);
144 MHD_OPTION_HTTPS_MEM_KEY, key_pem,
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
Dest.c384 static int generate_csr(struct hs20_osu_client *ctx, char *key_pem, in generate_csr() argument
422 if (key_pem) { in generate_csr()
423 FILE *f = fopen(key_pem, "wb"); in generate_csr()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
Dest.c384 static int generate_csr(struct hs20_osu_client *ctx, char *key_pem, in generate_csr() argument
422 if (key_pem) { in generate_csr()
423 FILE *f = fopen(key_pem, "wb"); in generate_csr()
/third_party/skia/third_party/externals/microhttpd/doc/
Dlibmicrohttpd-tutorial.info1446 char *key_pem;
1449 key_pem = load_file (SERVERKEYFILE);
1452 if ((key_pem == NULL) || (cert_pem == NULL))
1462 MHD_OPTION_HTTPS_MEM_KEY, key_pem,
1470 free (key_pem);
1481 free (key_pem);
1524 MHD_OPTION_HTTPS_MEM_KEY, key_pem,
4170 char *key_pem;
4173 key_pem = load_file (SERVERKEYFILE);
4176 if ((key_pem == NULL) || (cert_pem == NULL))
[all …]
/third_party/node/src/
Dnode_crypto.cc2634 const char* key_pem, in ParsePublicKeyPEM() argument
2636 BIOPointer bp(BIO_new_mem_buf(const_cast<char*>(key_pem), key_pem_len)); in ParsePublicKeyPEM()
/third_party/mbedtls/
DChangeLog3477 * Made buffer size in pk_write_(pub)key_pem() more dynamic, eg smaller if