Home
last modified time | relevance | path

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

/PHP-8.0/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
21 openssl_x509_export_to_file($e, $outfilename); // read an array, fails
39 Warning: openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved in %s on line %d
42 openssl_x509_export_to_file(): Argument #1 ($certificate) must be of type OpenSSLCertificate|string…
H A Dopenssl_error_string_basic.phpt127 @openssl_x509_export_to_file("file://" . $invalid_file_for_read, $output_file);
128 expect_openssl_errors('openssl_x509_export_to_file open', ['02001002']);
130 @openssl_x509_export_to_file($csr_file, $output_file);
131 expect_openssl_errors('openssl_x509_export_to_file pem', [$err_pem_no_start_line]);
133 @openssl_x509_export_to_file($crt_file, $invalid_file_for_write);
134 expect_openssl_errors('openssl_x509_export_to_file write', ['2006D002']);
175 openssl_x509_export_to_file open: ok
176 openssl_x509_export_to_file pem: ok
177 openssl_x509_export_to_file write: ok
H A Dbug50293.phpt37 openssl_x509_export_to_file($sscert , "bug50293.crt", false);
H A Dbug81713.phpt68 ["openssl_x509_export_to_file", $crt_file_null, $outfile],
69 ["openssl_x509_export_to_file", $crt_file, $outfile_null],
165 Warning: openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved in %s on line %d
166 openssl_x509_export_to_file(): Argument #1 ($certificate) must not contain any null bytes
167 openssl_x509_export_to_file(): Argument #2 ($output_filename) must not contain any null bytes
H A DCertificateGenerator.inc82 openssl_x509_export_to_file($this->ca, $file);
/PHP-8.0/ext/openssl/
H A Dopenssl_arginfo.h389 ZEND_FUNCTION(openssl_x509_export_to_file);
454 ZEND_FE(openssl_x509_export_to_file, arginfo_openssl_x509_export_to_file)
H A Dopenssl.stub.php17 function openssl_x509_export_to_file(OpenSSLCertificate|string $certificate, string $output_filenam… function
H A Dopenssl.c1588 PHP_FUNCTION(openssl_x509_export_to_file) in PHP_FUNCTION() argument

Completed in 35 milliseconds