002+ bool(false)
003+ bool(false)
002- object(OpenSSLAsymmetricKey)#1 (0) {
003- }
005+ Fatal error: Uncaught TypeError: openssl_pkey_get_details(): Argument #1 ($key) must be of type OpenSSLAsymmetricKey, bool given in %s/ecc.php:18
006+ Stack trace:
007+ #0 %s/ecc.php(18): openssl_pkey_get_details(false)
008+ #1 {main}
009+ thrown in %s/ecc.php on line 18
005- Warning: openssl_pkey_new(): Unknown elliptic curve (short) name invalid_cuve_name in %s on line %d
006- bool(false)
007- int(384)
008- int(215)
009- string(9) "secp384r1"
010- bool(true)
011- object(OpenSSLAsymmetricKey)#%d (0) {
012- }
013- bool(true)
014- Testing openssl_csr_new with key generation
015- NULL
016- object(OpenSSLAsymmetricKey)#%d (0) {
017- }
018- Testing openssl_csr_new with existing ecc key
019- object(OpenSSLCertificateSigningRequest)#%d (0) {
020- }
021- bool(false)
022- array(1) {
023- ["d"]=>
024- string(%d) "%a"
025- }
026- object(OpenSSLCertificate)#%d (0) {
027- }
028- Testing openssl_x509_check_private_key
029- bool(true)
030- bool(false)
031- Testing openssl_get_curve_names
032- bool(true)
033- Found secp384r1 in curve names