Home
last modified time | relevance | path

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

/PHP-7.0/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
21 var_dump(openssl_x509_read($e)); // read an array
22 var_dump(openssl_x509_read($f)); // read an array with the filename
28 Warning: openssl_x509_read(): supplied parameter cannot be coerced into an X509 certificate! in %s …
32 Warning: openssl_x509_read(): supplied parameter cannot be coerced into an X509 certificate! in %s …
[all …]
H A Dopenssl_x509_free_basic.phpt7 var_dump($res = openssl_x509_read("file://" . dirname(__FILE__) . "/cert.crt"));
H A Dopenssl_pkcs7_encrypt_basic.phpt25 var_dump(openssl_pkcs7_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers));
37 var_dump(openssl_pkcs7_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs) , $h…
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_export_to_file_basic.phpt13 $d = openssl_x509_read($a);
H A Dopenssl_x509_export_basic.phpt12 $d = openssl_x509_read($a);
H A Dopenssl_x509_fingerprint_basic.phpt25 $r = openssl_x509_read($cert);
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.phpt25 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_csr_sign_basic.phpt35 var_dump(openssl_csr_sign($csr, openssl_x509_read($cert), $priv, 365, $config_arg));
H A Dopenssl_x509_parse_basic.phpt12 var_dump($parsedCert === openssl_x509_parse(openssl_x509_read($cert)));
H A Dopenssl_x509_checkpurpose_basic.phpt16 $rcrt = openssl_x509_read($cert);
/PHP-7.0/ext/openssl/
H A Dphp_openssl.h81 PHP_FUNCTION(openssl_x509_read);
H A DREADME20 1. As an X.509 resource returned from openssl_x509_read
H A Dopenssl.c467 PHP_FE(openssl_x509_read, arginfo_openssl_x509_read)
2515 PHP_FUNCTION(openssl_x509_read) in PHP_FUNCTION() argument

Completed in 41 milliseconds