Home > PHP > Function > OpenSSL > openssl_csr_get_public_key()

openssl_csr_get_public_key()

openssl_csr_get_public_key - Returns the public key of a CERT

Syntax

resource openssl_csr_get_public_key (mixed $csr, bool $use_shortnames)

Arguments

  • csr - The optional parameter notext affects the verbosity of the output; if it is FALSE, then additional human-readable information is included in the output. The default value of notext is TRUE.
  • use_shortnames - The optional parameter notext affects the verbosity of the output; if it is FALSE, then additional human-readable information is included in the output. The default value of notext is TRUE.

Description

Version

PHP 5.2.0

Return value