Searched refs:key_pem (Results 1 - 5 of 5) sorted by relevance

/external/libmicrohttpd/doc/chapters/
H A 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/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
H A Dcrypt.py101 def from_string(key_pem, is_x509_cert):
105 key_pem: string, public key in PEM format.
106 is_x509_cert: bool, True if key_pem is an X509 cert, otherwise it is
113 OpenSSL.crypto.Error if the key_pem can't be parsed.
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):
238 key_pem: string, public key in PEM format.
239 is_x509_cert: bool, True if key_pem is an X509 cert, otherwise it is
246 if isinstance(key_pem, si
[all...]
/external/libmicrohttpd/src/examples/
H A Dhttps_fileserver_example.c69 const char key_pem[] = variable
182 MHD_OPTION_HTTPS_MEM_KEY, key_pem,
/external/libmicrohttpd/doc/examples/
H A Dtlsauthentication.c237 char *key_pem; local
240 key_pem = load_file (SERVERKEYFILE);
243 if ((key_pem == NULL) || (cert_pem == NULL))
252 MHD_OPTION_HTTPS_MEM_KEY, key_pem,
258 free (key_pem);
267 free (key_pem);
/external/wpa_supplicant_8/hs20/client/
H A Dest.c371 static int generate_csr(struct hs20_osu_client *ctx, char *key_pem, argument
409 if (key_pem) {
410 FILE *f = fopen(key_pem, "wb");

Completed in 309 milliseconds