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). +