svn: /phpdoc/en/trunk/ appendices/migration56/new-functions.xml reference/openssl/functions/openssl-get-cert-locations.xml
reference/openssl/versions.xml

From: Date: Thu, 28 Aug 2014 06:57:15 +0000
Subject: svn: /phpdoc/en/trunk/ appendices/migration56/new-functions.xml reference/openssl/functions/openssl-get-cert-locations.xml
reference/openssl/versions.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12748@lists.php.net to get a copy of this message
aharvey Thu, 28 Aug 2014 06:57:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=334643 Log: Add openssl_get_cert_locations(). Changed paths: U phpdoc/en/trunk/appendices/migration56/new-functions.xml A phpdoc/en/trunk/reference/openssl/functions/openssl-get-cert-locations.xml U phpdoc/en/trunk/reference/openssl/versions.xml Modified: phpdoc/en/trunk/appendices/migration56/new-functions.xml =================================================================== --- phpdoc/en/trunk/appendices/migration56/new-functions.xml 2014-08-28 06:51:17 UTC (rev 334642) +++ phpdoc/en/trunk/appendices/migration56/new-functions.xml 2014-08-28 06:57:15 UTC (rev 334643) @@ -80,6 +80,11 @@ <itemizedlist> <listitem> <simpara> + <function>openssl_get_cert_locations</function> + </simpara> + </listitem> + <listitem> + <simpara> <function>openssl_x509_fingerprint</function> </simpara> </listitem> Added: phpdoc/en/trunk/reference/openssl/functions/openssl-get-cert-locations.xml =================================================================== --- phpdoc/en/trunk/reference/openssl/functions/openssl-get-cert-locations.xml (rev 0) +++ phpdoc/en/trunk/reference/openssl/functions/openssl-get-cert-locations.xml 2014-08-28 06:57:15 UTC (rev 334643) @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<refentry xml:id="function.openssl-get-cert-locations" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>openssl_get_cert_locations</refname> + <refpurpose>Retrieve the available certificate locations</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>openssl_get_cert_locations</methodname> + <void /> + </methodsynopsis> + <para> + <function>openssl_get_cert_locations</function> returns an array with + information about the available certificate locations that will be searched + for SSL certificates. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an array with the available certificate locations. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>openssl_get_cert_locations</function> example</title> + <programlisting role="php"> +<![CDATA[ +<?php +var_dump(openssl_get_cert_locations()); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +array(8) { + ["default_cert_file"]=> + string(21) "/usr/lib/ssl/cert.pem" + ["default_cert_file_env"]=> + string(13) "SSL_CERT_FILE" + ["default_cert_dir"]=> + string(18) "/usr/lib/ssl/certs" + ["default_cert_dir_env"]=> + string(12) "SSL_CERT_DIR" + ["default_private_dir"]=> + string(20) "/usr/lib/ssl/private" + ["default_default_cert_area"]=> + string(12) "/usr/lib/ssl" + ["ini_cafile"]=> + string(0) "" + ["ini_capath"]=> + string(0) "" +} +]]> + </screen> + </example> + </para> + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Property changes on: phpdoc/en/trunk/reference/openssl/functions/openssl-get-cert-locations.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native Modified: phpdoc/en/trunk/reference/openssl/versions.xml =================================================================== --- phpdoc/en/trunk/reference/openssl/versions.xml 2014-08-28 06:51:17 UTC (rev 334642) +++ phpdoc/en/trunk/reference/openssl/versions.xml 2014-08-28 06:57:15 UTC (rev 334643) @@ -18,6 +18,7 @@ <function name='openssl_error_string' from='PHP 4 &gt;= 4.0.6, PHP 5'/> <function name='openssl_free_key' from='PHP 4 &gt;= 4.0.4, PHP 5'/> <function name='openssl_free_x509' from='PHP 4 &gt;= 4.0.4'/> + <function name='openssl_get_cert_locations' from='PHP 5 &gt;= 5.6.0'/> <function name='openssl_get_cipher_methods' from='PHP 5 &gt;= 5.3.0'/> <function name='openssl_get_md_methods' from='PHP 5 &gt;= 5.3.0'/> <function name='openssl_get_privatekey' from='PHP 4 &gt;= 4.0.4, PHP 5'/>

« previous php.doc.cvs (#12748) next »