Returns the public key of a CERT

openssl_csr_export
openssl_csr_get_subject
OpenSSL Functions
PHP Manual

# openssl_csr_get_public_key

(PHP 5 >= 5.2.0)

openssl_csr_get_public_key — Returns the public key of a CERT

### Description

resource openssl_csr_get_public_key ( mixed `$csr` [, bool `$use_shortnames` = true ] )
Warning

This function is currently not documented; only its argument list is available.

openssl_csr_export
openssl_csr_get_subject
OpenSSL Functions
PHP Manual