Fixed the input and output of the openssl_pkey_get_private function as starting from PHP 8.0 it accepts:
\OpenSSLAsymmetricKey|\OpenSSLCertificate|array|string for $private_key
null|string for $passphrase
and returns OpenSSLAsymmetricKey|false.
Fixed the input and output of the openssl_pkey_get_public function as starting from PHP 8.0 it accepts:
\OpenSSLAsymmetricKey|\OpenSSLCertificate|array|string for $public_key
and returns OpenSSLAsymmetricKey|false.
Added openssl_pkey_get_details function as it's actually falsy, but was not picked up by automatic code generation because of wording in PHP docs, but now is after this change.
Fixed the input and output of the
openssl_pkey_get_private
function as starting from PHP 8.0 it accepts:\OpenSSLAsymmetricKey|\OpenSSLCertificate|array|string
for$private_key
null|string
for$passphrase
and returnsOpenSSLAsymmetricKey|false
.Fixed the input and output of the
openssl_pkey_get_public
function as starting from PHP 8.0 it accepts:\OpenSSLAsymmetricKey|\OpenSSLCertificate|array|string
for$public_key
and returnsOpenSSLAsymmetricKey|false
.Added
openssl_pkey_get_details
function as it's actually falsy, but was not picked up by automatic code generation because of wording in PHP docs, but now is after this change.