Home
last modified time | relevance | path

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

/php-src/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_x509_export_to_file_leak.phpt2 openssl_x509_export_to_file memory leak
9 var_dump(openssl_x509_export_to_file($path, str_repeat("a", 10000)));
13 Warning: openssl_x509_export_to_file(output_filename): must be a valid file path %s
H A Dopenssl_error_string_basic_openssl3.phpt131 @openssl_x509_export_to_file("file://" . $invalid_file_for_read, $output_file);
132 expect_openssl_errors('openssl_x509_export_to_file open', ['10000080']);
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', ['10080002']);
174 openssl_x509_export_to_file open: ok
175 openssl_x509_export_to_file pem: ok
176 openssl_x509_export_to_file write: ok
H A Dopenssl_error_string_basic.phpt130 @openssl_x509_export_to_file("file://" . $invalid_file_for_read, $output_file);
131 expect_openssl_errors('openssl_x509_export_to_file open', ['02001002']);
133 @openssl_x509_export_to_file($csr_file, $output_file);
134 expect_openssl_errors('openssl_x509_export_to_file pem', [$err_pem_no_start_line]);
136 @openssl_x509_export_to_file($crt_file, $invalid_file_for_write);
137 expect_openssl_errors('openssl_x509_export_to_file write', ['2006D002']);
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.phpt35 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-src/ext/openssl/
H A Dopenssl.stub.php421 function openssl_x509_export_to_file(OpenSSLCertificate|string $certificate, string $output_filenam… function
H A Dopenssl_arginfo.h405 ZEND_FUNCTION(openssl_x509_export_to_file);
474 ZEND_FE(openssl_x509_export_to_file, arginfo_openssl_x509_export_to_file)
H A Dopenssl.c1538 PHP_FUNCTION(openssl_x509_export_to_file) in PHP_FUNCTION() argument

Completed in 30 milliseconds