svn: /phpdoc/en/trunk/reference/openssl/functions/ openssl-pkey-get-details.xml

From: Date: Wed, 20 Oct 2010 01:05:25 +0000
Subject: svn: /phpdoc/en/trunk/reference/openssl/functions/ openssl-pkey-get-details.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7247@lists.php.net to get a copy of this message
kalle Wed, 20 Oct 2010 01:05:25 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304522 Log: Fixed bug #51018 (List of return values is incomplete) # Currently I could not find any exact descriptions for any of the additional keys, but # all possible return values is now covered. Bug: http://bugs.php.net/51018 (Open) List of return values is incomplete Changed paths: U phpdoc/en/trunk/reference/openssl/functions/openssl-pkey-get-details.xml Modified: phpdoc/en/trunk/reference/openssl/functions/openssl-pkey-get-details.xml =================================================================== --- phpdoc/en/trunk/reference/openssl/functions/openssl-pkey-get-details.xml 2010-10-20 00:39:01 UTC (rev 304521) +++ phpdoc/en/trunk/reference/openssl/functions/openssl-pkey-get-details.xml 2010-10-20 01:05:25 UTC (rev 304522) @@ -45,6 +45,140 @@ <constant>OPENSSL_KEYTYPE_DH</constant>, <constant>OPENSSL_KEYTYPE_EC</constant> or -1 meaning unknown). </para> + <para> + Depending on the key type used, additional details may be returned. Note that + some elements may not always be available. + </para> + <itemizedlist> + <listitem> + <simpara> + <constant>OPENSSL_KEYTYPE_RSA<constant>, an additional array key named <literal>"rsa"</literal>, + containing the key data is returned. + </simpara> + <simpara> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>Key</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>"n"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"e"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"d"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"p"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"q"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"dmp1"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"dmq1"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"iqmp"</literal></entry> + <entry></entry> + </row> + </tbody> + </tgroup> + </informaltable> + </simpara> + </listitem> + <listitem> + <simpara> + <constant>OPENSSL_KEYTYPE_DSA<constant>, an additional array key named <literal>"dsa"</literal>, + containing the key data is returned. + </simpara> + <simpara> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>Key</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>"p"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"q"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"g"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"priv_key"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"pub_key"</literal></entry> + <entry></entry> + </row> + </tbody> + </tgroup> + </informaltable> + </simpara> + </listitem> + <listitem> + <simpara> + <constant>OPENSSL_KEYTYPE_DH<constant>, an additional array key named <literal>"dh"</literal>, + containing the key data is returned. + </simpara> + <simpara> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>Key</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>"p"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"g"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"priv_key"</literal></entry> + <entry></entry> + </row> + <row> + <entry><literal>"pub_key"</literal></entry> + <entry></entry> + </row> + </tbody> + </tgroup> + </informaltable> + </simpara> + </listitem> + </itemizedlist> </refsect1> </refentry>

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