Home
last modified time | relevance | path

Searched refs:openssl_x509_read (Results 1 – 25 of 29) sorted by relevance

12

/php-src/ext/openssl/tests/
H A Dopenssl_x509_read_basic.phpt2 openssl_x509_read() tests
13 $d = openssl_x509_read($a);
17 var_dump(openssl_x509_read($a)); // read cert as a string
18 var_dump(openssl_x509_read($b)); // read cert as a filename string
19 var_dump(openssl_x509_read($c)); // read an invalid cert, fails
20 var_dump(openssl_x509_read($d)); // read cert from a resource
23 openssl_x509_read($e); // read an array
29 openssl_x509_read($f); // read an array with the filename
41 Warning: openssl_x509_read(): X.509 Certificate cannot be retrieved in %s on line %d
45 openssl_x509_read(): Argument #1 ($certificate) must be of type OpenSSLCertificate|string, array gi…
[all …]
H A Dopenssl_cms_sign_der.phpt21 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $empty_head…
22 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
H A Dopenssl_cms_sign_verify_detached.phpt24 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
42 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
60 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
79 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
H A Dopenssl_cms_sign_verify_nodetached_pem.phpt24 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
39 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
58 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
H A Dopenssl_x509_free_basic.phpt7 var_dump($res = openssl_x509_read("file://" . __DIR__ . "/cert.crt"));
H A Dopenssl_x509_check_private_key_basic.phpt22 var_dump(openssl_x509_check_private_key(openssl_x509_read($a), $b));
H A Dopenssl_x509_verify.phpt23 var_dump(openssl_x509_verify(openssl_x509_read($a), $b));
H A Dopenssl_pkcs7_encrypt_basic.phpt29 var_dump(openssl_pkcs7_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers, 0, $ci…
39 var_dump(openssl_pkcs7_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs), $he…
H A Dopenssl_cms_encrypt_basic.phpt27 var_dump(openssl_cms_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers, cipher_a…
38 var_dump(openssl_cms_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs), $head…
H A Dbug79881.phpt39 $read = openssl_x509_read($cert);
H A Dgh12489.phpt16 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers,
H A Dopenssl_x509_export_to_file_basic.phpt13 $d = openssl_x509_read($a);
H A Dopenssl_x509_fingerprint_basic.phpt20 $r = openssl_x509_read($cert);
H A Dopenssl_cms_sign_verify_basic.phpt24 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
H A Dopenssl_x509_export_basic.phpt12 $d = openssl_x509_read($a);
H A Dopenssl_pkcs12_export_to_file_basic.phpt15 $cert_res = openssl_x509_read($cert);
H A Dopenssl_pkcs12_export_basic.phpt13 $cert_res = openssl_x509_read($cert);
H A Dopenssl_pkcs7_decrypt_basic.phpt26 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, openssl_x509_read($single_cert), $privkey));
H A Dopenssl_pkcs7_sign_basic.phpt21 var_dump(openssl_pkcs7_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)…
H A Dopenssl_cms_decrypt_basic.phpt25 var_dump(openssl_cms_decrypt($encrypted, $outfile, openssl_x509_read($single_cert), $privkey));
H A Dopenssl_cms_sign_basic.phpt21 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
H A Dopenssl_csr_sign_basic.phpt40 var_dump(openssl_csr_sign($csr, openssl_x509_read($cert), $priv, 365, $config_arg));
H A Dbug81713.phpt80 ["openssl_x509_read", $crt_file_null],
181 Warning: openssl_x509_read(): X.509 Certificate cannot be retrieved in %s on line %d
182 openssl_x509_read(): Argument #1 ($certificate) must not contain any null bytes
H A Dopenssl_x509_parse_basic.phpt14 var_dump($parsedCert === openssl_x509_parse(openssl_x509_read($cert)));
H A Dopenssl_x509_parse_basic_openssl32.phpt14 var_dump($parsedCert === openssl_x509_parse(openssl_x509_read($cert)));

Completed in 21 milliseconds

12