Home
last modified time | relevance | path

Searched refs:openssl_x509_export_to_file (Results 1 – 4 of 4) sorted by relevance

/PHP-5.6/ext/openssl/tests/
H A Dopenssl_x509_export_to_file_basic.phpt2 openssl_x509_export_to_file() tests
16 var_dump(openssl_x509_export_to_file($a, $outfilename)); // read cert as a binary string
17 var_dump(openssl_x509_export_to_file($b, $outfilename)); // read cert from a filename string
18 var_dump(openssl_x509_export_to_file($c, $outfilename)); // read an invalid cert, fails
19 var_dump(openssl_x509_export_to_file($d, $outfilename)); // read cert from a resource
20 var_dump(openssl_x509_export_to_file($e, $outfilename)); // read an array, fails
35 Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in %s on line %d
39 Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in %s on line %d
H A Dopenssl_error_string_basic.phpt113 @openssl_x509_export_to_file("file://" . $invalid_file_for_read, $output_file);
114 expect_openssl_errors('openssl_x509_export_to_file open', ['02001002']);
116 @openssl_x509_export_to_file($csr_file, $output_file);
117 expect_openssl_errors('openssl_x509_export_to_file pem', ['0906D06C']);
119 @openssl_x509_export_to_file($crt_file, $invalid_file_for_write);
120 expect_openssl_errors('openssl_x509_export_to_file write', ['2006D002']);
161 openssl_x509_export_to_file open: ok
162 openssl_x509_export_to_file pem: ok
163 openssl_x509_export_to_file write: ok
/PHP-5.6/ext/openssl/
H A Dphp_openssl.h84 PHP_FUNCTION(openssl_x509_export_to_file);
H A Dopenssl.c464 PHP_FE(openssl_x509_export_to_file, arginfo_openssl_x509_export_to_file)
1433 PHP_FUNCTION(openssl_x509_export_to_file) in PHP_FUNCTION() argument

Completed in 25 milliseconds