/PHP-5.5/sapi/thttpd/ |
H A D | thttpd_patch | 1214 -crt application/x-x509-ca-cert
|
/PHP-5.5/ext/openssl/tests/ |
H A D | bug61930.phpt | 9 $cert = file_get_contents(__DIR__.'/cert.crt'); 17 $key = openssl_get_publickey($cert);
|
H A D | cve2013_4073.phpt | 8 $cert = file_get_contents(__DIR__ . '/cve2013_4073.pem'); 9 $info = openssl_x509_parse($cert);
|
H A D | openssl.cnf | 6 x509_extensions = v3_ca # The extensions to add to the self signed cert
|
H A D | openssl_x509_parse_basic.phpt | 9 $cert = "file://" . dirname(__FILE__) . "/cert.crt"; 11 var_dump(openssl_x509_parse($cert)); 12 var_dump(openssl_x509_parse($cert, false));
|
H A D | openssl_x509_parse_basic_v9.phpt | 9 $cert = "file://" . dirname(__FILE__) . "/cert.crt"; 11 var_dump(openssl_x509_parse($cert)); 12 var_dump(openssl_x509_parse($cert, false));
|
H A D | bug64802.phpt | 10 $cert = file_get_contents(__DIR__.'/bug64802.pem'); 11 $r = openssl_x509_parse($cert,$use_short_names=true);
|
H A D | sni_001.phpt | 36 $cert = $ary['ssl']['peer_certificate']; 37 assert($cert); 39 $cert_ary = openssl_x509_parse($cert);
|
H A D | 003.phpt | 31 string(66) "openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert" 35 string(66) "openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert" 37 string(66) "openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert" 39 string(66) "openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert" 41 string(66) "openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert"
|
H A D | 007.phpt | 7 $fp = fopen(dirname(__FILE__) . "/cert.crt","r"); 11 $b = "file://" . dirname(__FILE__) . "/cert.crt"; 12 $c = "invalid cert"; 17 var_dump($res = openssl_x509_read($a)); // read cert as a string 20 var_dump($res = openssl_x509_read($b)); // read cert as a filename string 23 var_dump($res = openssl_x509_read($c)); // read an invalid cert, fails 26 var_dump($res = openssl_x509_read($d)); // read cert from a resource
|
H A D | 008.phpt | 7 $fp = fopen(dirname(__FILE__) . "/cert.crt","r"); 11 $b = "file://" . dirname(__FILE__) . "/cert.crt"; 12 $c = "invalid cert"; 16 var_dump(openssl_x509_export($a, $output)); // read cert as a binary string 17 var_dump(openssl_x509_export($b, $output2)); // read cert from a filename string 18 var_dump(openssl_x509_export($c, $output3)); // read an invalid cert, fails 19 var_dump(openssl_x509_export($d, $output4)); // read cert from a resource 31 var_dump(openssl_x509_export_to_file($d, $outfilename)); // read cert from a resource 51 Warning: openssl_x509_export(): cannot get cert from parameter 1 in %s on line %d 55 Warning: openssl_x509_export(): cannot get cert from parameter 1 in %s on line %d [all …]
|
H A D | 009.phpt | 7 $fp = fopen(dirname(__FILE__) . "/cert.crt","r"); 15 $cert = "file://" . dirname(__FILE__) . "/cert.crt"; 18 var_dump(openssl_x509_check_private_key($cert, $key)); 20 var_dump(openssl_x509_check_private_key($cert, ""));
|
H A D | 021.phpt | 7 $cert = "file://" . dirname(__FILE__) . "/cert.crt"; 34 var_dump(openssl_csr_sign($csr, $cert, $priv, 365, $config_arg)); 51 Warning: openssl_csr_sign(): cannot get cert from parameter 2 in %s on line %d 69 Warning: openssl_csr_sign(): cannot get cert from parameter 2 in %s on line %d
|
H A D | 023.phpt | 7 $infile = dirname(__FILE__) . "/cert.crt"; 15 $single_cert = "file://" . dirname(__FILE__) . "/cert.crt";
|
H A D | 024.phpt | 7 $infile = dirname(__FILE__) . "/cert.crt"; 18 $single_cert = "file://" . dirname(__FILE__) . "/cert.crt"; 49 Warning: openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert in %s on line %d 52 Warning: openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert in %s on line %d 58 Warning: openssl_pkcs7_decrypt(): unable to coerce parameter 3 to x509 cert in %s on line %d
|
H A D | 025.phpt | 7 $infile = dirname(__FILE__) . "/cert.crt"; 13 $single_cert = "file://" . dirname(__FILE__) . "/cert.crt"; 54 Warning: openssl_pkcs7_sign(): error getting cert in %s on line %d 57 Warning: openssl_pkcs7_sign(): error getting cert in %s on line %d
|
H A D | bug28382.phpt | 10 $cert = file_get_contents(dirname(__FILE__) . "/bug28382cert.txt"); 11 $ext = openssl_x509_parse($cert);
|
H A D | bug38261.phpt | 9 $cert = false; 21 var_dump(openssl_x509_parse($cert));
|
H A D | bug39217.phpt | 11 foreach($certs as $cert) { 12 $res = openssl_x509_parse(file_get_contents($dir . '/' . $cert));
|
/PHP-5.5/ext/openssl/ |
H A D | README | 62 resource openssl_get_publickey(mixed cert) 101 resource openssl_read_x509(mixed cert) 103 Parses the cert and returns a resource that can be used with the 257 $cert = fread($fp, 8192); 260 $pk1 = openssl_get_publickey($cert); 264 $fp = fopen("/src/openssl-0.9.6/demos/sign/cert.pem", "r"); 265 $cert = fread($fp, 8192); 267 $pk2 = openssl_get_publickey($cert); 310 $fp = fopen("/src/openssl-0.9.6/demos/sign/cert.pem", "r"); 311 $cert = fread($fp, 8192); [all …]
|
H A D | openssl.c | 1307 return cert; in php_openssl_x509_from_zval() 1316 X509 * cert; in PHP_FUNCTION() local 1361 X509 * cert; in PHP_FUNCTION() local 1861 X509 *cert; in PHP_FUNCTION() local 1906 cert = X509_dup(cert); in STACK_OF() 1926 cert = X509_dup(cert); in STACK_OF() 1972 if (cert && !X509_check_private_key(cert, priv_key)) { in PHP_FUNCTION() 2053 if (cert && !X509_check_private_key(cert, priv_key)) { in PHP_FUNCTION() 2528 if (cert && !X509_check_private_key(cert, priv_key)) { in PHP_FUNCTION() 3694 cert = X509_dup(cert); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_structs.h | 479 …set)(MYSQLND_CONN_DATA * const conn, const char * key, const char * const cert, const char * const…
|
H A D | mysqlnd_libmysql_compat.h | 82 #define mysql_ssl_set(c,key,cert,ca,capath,cipher) mysqlnd_ssl_set((c), (key), (cert), (ca), (capat… argument
|
H A D | mysqlnd.c | 1591 …qlnd_conn_data, ssl_set)(MYSQLND_CONN_DATA * const conn, const char * key, const char * const cert, 1601 PASS == net->data->m.set_client_option(net, MYSQLND_OPT_SSL_CERT, cert TSRMLS_CC) &&
|
H A D | mysqlnd.h | 166 #define mysqlnd_ssl_set(conn, key, cert, ca, capath, cipher) ((conn)->data)->m->ssl_set((conn)->dat… argument
|