array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.openssl-x509-read.php', 1 => 'openssl_x509_read', ), 'up' => array ( 0 => 'ref.openssl.php', 1 => 'OpenSSL Functions', ), 'prev' => array ( 0 => 'function.openssl-x509-parse.php', 1 => 'openssl_x509_parse', ), 'next' => array ( 0 => 'function.openssl-x509-verify.php', 1 => 'openssl_x509_verify', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/openssl/functions/openssl-x509-read.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8)
openssl_x509_read — Parse an X.509 certificate and return an object for it
openssl_x509_read() parses the certificate supplied by
certificate
and returns an OpenSSLCertificate object for
it.
Returns an OpenSSLCertificate on success or false
on failure.
Version | Description |
---|---|
8.0.0 |
On success, this function returns an OpenSSLCertificate instance now;
previously, a resource of type OpenSSL X.509 was returned.
|
8.0.0 |
certificate accepts an OpenSSLCertificate instance now;
previously, a resource of type OpenSSL X.509 was accepted.
|