Returns the subject of a CERT

openssl_csr_get_public_key
openssl_csr_new
OpenSSL Functions
PHP Manual

# openssl_csr_get_subject

(PHP 5 >= 5.2.0)

openssl_csr_get_subject — Returns the subject of a CERT

### Description

array openssl_csr_get_subject ( mixed `$csr` [, bool `$use_shortnames` = true ] )
Warning

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

openssl_csr_get_public_key
openssl_csr_new
OpenSSL Functions
PHP Manual