Function openssl_pkey_get_details can read this resource. Try:
<?php
print_r(openssl_pkey_get_details(openssl_csr_get_public_key($csr)));
?>
openssl_csr_get_public_key
(PHP 5 >= 5.2.0)
openssl_csr_get_public_key — Returns the public key of a CERT
Descrierea
Avertizare
Această funcţie nu este documentată în prezent; este disponibilă numai lista sa de argumente.
openssl_csr_get_public_key
php at siemenroorda dot nl
29-Sep-2009 02:44
29-Sep-2009 02:44
