Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dcrypt.py101 def from_string(key_pem, is_x509_cert): argument
117 pubkey = crypto.load_certificate(crypto.FILETYPE_PEM, key_pem)
119 pubkey = crypto.load_privatekey(crypto.FILETYPE_PEM, key_pem)
234 def from_string(key_pem, is_x509_cert): argument
246 if isinstance(key_pem, six.text_type):
247 key_pem = key_pem.encode('ascii')
248 pemLines = key_pem.replace(b' ', b'').split()
256 pubkey = RSA.importKey(key_pem)
/external/libmicrohttpd/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()
/external/libmicrohttpd/src/examples/
Dhttps_fileserver_example.c69 const char key_pem[] = variable
182 MHD_OPTION_HTTPS_MEM_KEY, key_pem, in main()
/external/libmicrohttpd/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,
/external/wpa_supplicant_8/hs20/client/
Dest.c371 static int generate_csr(struct hs20_osu_client *ctx, char *key_pem, in generate_csr() argument
409 if (key_pem) { in generate_csr()
410 FILE *f = fopen(key_pem, "wb"); in generate_csr()
/external/libmicrohttpd/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 …]