Home
last modified time | relevance | path

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

/PHP-8.1/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.phpt131 @openssl_x509_export_to_file("file://" . $invalid_file_for_read, $output_file);
132 expect_openssl_errors('openssl_x509_export_to_file open', ['02001002']);
134 @openssl_x509_export_to_file($csr_file, $output_file);
135 expect_openssl_errors('openssl_x509_export_to_file pem', [$err_pem_no_start_line]);
137 @openssl_x509_export_to_file($crt_file, $invalid_file_for_write);
138 expect_openssl_errors('openssl_x509_export_to_file write', ['2006D002']);
179 openssl_x509_export_to_file open: ok
180 openssl_x509_export_to_file pem: ok
181 openssl_x509_export_to_file write: ok
H A Dopenssl_error_string_basic_openssl3.phpt134 @openssl_x509_export_to_file("file://" . $invalid_file_for_read, $output_file);
135 expect_openssl_errors('openssl_x509_export_to_file open', ['10000080']);
137 @openssl_x509_export_to_file($csr_file, $output_file);
138 expect_openssl_errors('openssl_x509_export_to_file pem', [$err_pem_no_start_line]);
140 @openssl_x509_export_to_file($crt_file, $invalid_file_for_write);
141 expect_openssl_errors('openssl_x509_export_to_file write', ['10080002']);
178 openssl_x509_export_to_file open: ok
179 openssl_x509_export_to_file pem: ok
180 openssl_x509_export_to_file write: ok
H A DCertificateGenerator.inc85 openssl_x509_export_to_file($this->ca, $file);
163 openssl_x509_export_to_file($this->lastCert, $certFile);
H A Dbug50293.phpt37 openssl_x509_export_to_file($sscert , "bug50293.crt", false);
H A Dbug81713.phpt70 ["openssl_x509_export_to_file", $crt_file_null, $outfile],
71 ["openssl_x509_export_to_file", $crt_file, $outfile_null],
167 Warning: openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved in %s on line %d
168 openssl_x509_export_to_file(): Argument #1 ($certificate) must not contain any null bytes
169 openssl_x509_export_to_file(): Argument #2 ($output_filename) must not contain any null bytes
/PHP-8.1/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.php29 function openssl_x509_export_to_file(OpenSSLCertificate|string $certificate, string $output_filenam… function
H A Dopenssl.c1585 PHP_FUNCTION(openssl_x509_export_to_file) in PHP_FUNCTION() argument

Completed in 37 milliseconds