From 3daeedc13971e5f06f4c4be1d91e5bd2abfe7ea8 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 19 Sep 2007 12:11:52 +0000 Subject: [PATCH] Document openssl_pkey_get_details() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242699 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../openssl/functions/openssl-pkey-free.xml | 3 +- .../functions/openssl-pkey-get-details.xml | 38 +++++++++++++++++-- 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/reference/openssl/functions/openssl-pkey-free.xml b/reference/openssl/functions/openssl-pkey-free.xml index f3199e1432..74f8a4db6f 100644 --- a/reference/openssl/functions/openssl-pkey-free.xml +++ b/reference/openssl/functions/openssl-pkey-free.xml @@ -1,5 +1,5 @@ - + openssl_pkey_free @@ -26,6 +26,7 @@ key + Resource holding the key. diff --git a/reference/openssl/functions/openssl-pkey-get-details.xml b/reference/openssl/functions/openssl-pkey-get-details.xml index cc9da5549a..7967b76e66 100644 --- a/reference/openssl/functions/openssl-pkey-get-details.xml +++ b/reference/openssl/functions/openssl-pkey-get-details.xml @@ -1,9 +1,9 @@ - + openssl_pkey_get_details - Returns an array with the key details (bits, pkey, type) + Returns an array with the key details @@ -12,7 +12,39 @@ arrayopenssl_pkey_get_details resourcekey - &warn.undocumented.func; + + This function returns the key details (bits, key, type). + + + + + &reftitle.parameters; + + + + key + + + Resource holding the key. + + + + + + + + + &reftitle.returnvalues; + + Returns an array with the key details in success or &false; in failure. + Returned array has indexes bits (number of bits), + key (string representation of the public key) and + type (type of the key which is one of + OPENSSL_KEYTYPE_RSA, + OPENSSL_KEYTYPE_DSA, + OPENSSL_KEYTYPE_DH, + OPENSSL_KEYTYPE_EC or -1 meaning unknown). +