Searched refs:cert_pem (Results 1 - 7 of 7) sorted by relevance

/external/libmicrohttpd/doc/chapters/
H A Dtlsauthentication.inc55 char *cert_pem;
58 cert_pem = load_file (SERVERCERTFILE);
60 if ((key_pem == NULL) || (cert_pem == NULL))
75 MHD_OPTION_HTTPS_MEM_CERT, cert_pem,
80 printf ("%s\n", cert_pem);
83 free (cert_pem);
98 free (cert_pem);
145 MHD_OPTION_HTTPS_MEM_CERT, cert_pem,
/external/wpa_supplicant_8/hs20/server/www/
H A Dest.php136 $cert_pem = "$cadir/tmp/req-signed.pem"; variable
137 if (file_exists($cert_pem))
138 unlink($cert_pem);
139 exec("openssl x509 -req -in $req_pem -CAkey $cadir/cakey.pem -out $cert_pem -CA $cadir/cacert.pem -CAserial $cadir/serial -days 365 -text");
140 if (!file_exists($cert_pem)) {
145 $cert = file_get_contents($cert_pem);
146 $handle = popen("openssl x509 -in $cert_pem -serial -noout", "r");
163 exec("openssl x509 -in $cert_pem -inform PEM -out $cert_der -outform DER");
174 exec("openssl crl2pkcs7 -nocrl -certfile $cert_pem -out $pkcs7 -outform DER");
180 if (!$db->exec("UPDATE sessions SET user='$user', cert='$fingerprint', cert_pem
[all...]
/external/libmicrohttpd/doc/examples/
H A Dtlsauthentication.c238 char *cert_pem; local
241 cert_pem = load_file (SERVERCERTFILE);
243 if ((key_pem == NULL) || (cert_pem == NULL))
253 MHD_OPTION_HTTPS_MEM_CERT, cert_pem, MHD_OPTION_END);
256 printf ("%s\n", cert_pem);
259 free (cert_pem);
268 free (cert_pem);
/external/webrtc/talk/app/webrtc/test/
H A Dfakedtlsidentitystore.h40 const char* cert_pem; member in struct:__anon21187
130 rtc::SSLIdentity::PemToDer("CERTIFICATE", kKeysAndCerts[0].cert_pem, &cert);
157 const char* get_cert() { return kKeysAndCerts[key_index_].cert_pem; }
/external/libmicrohttpd/src/examples/
H A Dhttps_fileserver_example.c51 const char cert_pem[] = variable
183 MHD_OPTION_HTTPS_MEM_CERT, cert_pem,
/external/webrtc/webrtc/base/
H A Dsslstreamadapter_unittest.cc672 SSLStreamAdapterTestDTLS(const std::string& cert_pem, argument
674 SSLStreamAdapterTestBase(cert_pem, private_key_pem, true),
/external/wpa_supplicant_8/hs20/server/
H A Dspp_server.c1902 char *cert_pem, *fingerprint; local
1910 cert_pem = db_get_session_val(ctx, NULL, NULL, session_id, "cert_pem");
1954 "methods,cert,cert_pem,machine_managed) VALUES "
1958 cert_pem ? cert_pem : "",
2012 free(cert_pem);

Completed in 758 milliseconds