cvs: phpdoc /en/reference/openssl/functions openssl-pkey-free.xml openssl-pkey-get-details.xml

From: Date: Wed, 19 Sep 2007 12:11:52 +0000
Subject: cvs: phpdoc /en/reference/openssl/functions openssl-pkey-free.xml openssl-pkey-get-details.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-38@lists.php.net to get a copy of this message
vrana Wed Sep 19 12:11:52 2007 UTC Modified files: /phpdoc/en/reference/openssl/functions openssl-pkey-free.xml openssl-pkey-get-details.xml Log: Document openssl_pkey_get_details() http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openssl/functions/openssl-pkey-free.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/openssl/functions/openssl-pkey-free.xml diff -u phpdoc/en/reference/openssl/functions/openssl-pkey-free.xml:1.4 phpdoc/en/reference/openssl/functions/openssl-pkey-free.xml:1.5 --- phpdoc/en/reference/openssl/functions/openssl-pkey-free.xml:1.4 Wed Jun 20 22:25:08 2007 +++ phpdoc/en/reference/openssl/functions/openssl-pkey-free.xml Wed Sep 19 12:11:52 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.openssl-pkey-free"> <refnamediv> <refname>openssl_pkey_free</refname> @@ -26,6 +26,7 @@ <term><parameter>key</parameter></term> <listitem> <para> + Resource holding the key. </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openssl/functions/openssl-pkey-get-details.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/openssl/functions/openssl-pkey-get-details.xml diff -u phpdoc/en/reference/openssl/functions/openssl-pkey-get-details.xml:1.3 phpdoc/en/reference/openssl/functions/openssl-pkey-get-details.xml:1.4 --- phpdoc/en/reference/openssl/functions/openssl-pkey-get-details.xml:1.3 Wed Jun 20 22:25:08 2007 +++ phpdoc/en/reference/openssl/functions/openssl-pkey-get-details.xml Wed Sep 19 12:11:52 2007 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.openssl-pkey-get-details"> <refnamediv> <refname>openssl_pkey_get_details</refname> - <refpurpose>Returns an array with the key details (bits, pkey, type)</refpurpose> + <refpurpose>Returns an array with the key details</refpurpose> </refnamediv> <refsect1 role="description"> @@ -12,7 +12,39 @@ <type>array</type><methodname>openssl_pkey_get_details</methodname> <methodparam><type>resource</type><parameter>key</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + <para> + This function returns the key details (bits, key, type). + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>key</parameter></term> + <listitem> + <para> + Resource holding the key. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Returns an array with the key details in success or &false; in failure. + Returned array has indexes <literal>bits</literal> (number of bits), + <literal>key</literal> (string representation of the public key) and + <literal>type</literal> (type of the key which is one of + <constant>OPENSSL_KEYTYPE_RSA</constant>, + <constant>OPENSSL_KEYTYPE_DSA</constant>, + <constant>OPENSSL_KEYTYPE_DH</constant>, + <constant>OPENSSL_KEYTYPE_EC</constant> or -1 meaning unknown). + </para> </refsect1> </refentry>

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