|
openssl_csr_get_subjectReturns the subject of a CSR Description
arrayfalse openssl_csr_get_subject(OpenSSLCertificateSigningRequeststring
$csr, bool $short_names = true)
openssl_csr_get_subject returns subject
distinguished name information encoded in the Parameters
Return Values
Returns an associative array with subject description, or Changelog
Examples
Example #1 openssl_csr_get_subject() example The above example will output something similar to:
Array
(
[C] => CA
[ST] => Alberta
[L] => Calgary
[O] => XYZ Widgets Inc
[OU] => PHP Documentation Team
[CN] => Wez Furlong
[emailAddress] => wez@example.com
)
See Also
|