reference/openssl/functions/openssl-pkey-get-details.xml
0e80601cabf499c7db372149916b5cb3e2740f1b
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.openssl-pkey-get-details">
3
+
<refentry xml:id="function.openssl-pkey-get-details" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>openssl_pkey_get_details</refname>
6
6
<refpurpose>Returns an array with the key details</refpurpose>
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>array</type><methodname>openssl_pkey_get_details</methodname>
13
-
<methodparam><type>resource</type><parameter>key</parameter></methodparam>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>openssl_pkey_get_details</methodname>
13
+
<methodparam><type>OpenSSLAsymmetricKey</type><parameter>key</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
This function returns the key details (bits, key, type).
...
...
@@ -36,7 +36,7 @@
36
36
<refsect1 role="returnvalues">
37
37
&reftitle.returnvalues;
38
38
<para>
39
-
Returns an array with the key details in success or &false; in failure.
39
+
Returns an array with the key details on success or &false; on failure.
40
40
Returned array has indexes <literal>bits</literal> (number of bits),
41
41
<literal>key</literal> (string representation of the public key) and
42
42
<literal>type</literal> (type of the key which is one of
...
...
@@ -213,8 +213,29 @@
213
213
</itemizedlist>
214
214
</refsect1>
215
215

216
+
<refsect1 role="changelog">
217
+
&reftitle.changelog;
218
+
<informaltable>
219
+
<tgroup cols="2">
220
+
<thead>
221
+
<row>
222
+
<entry>&Version;</entry>
223
+
<entry>&Description;</entry>
224
+
</row>
225
+
</thead>
226
+
<tbody>
227
+
<row>
228
+
<entry>8.0.0</entry>
229
+
<entry>
230
+
<parameter>key</parameter> accepts an <classname>OpenSSLAsymmetricKey</classname> now;
231
+
previously, a &resource; of type <literal>OpenSSL key</literal> was accepted.
232
+
</entry>
233
+
</row>
234
+
</tbody>
235
+
</tgroup>
236
+
</informaltable>
237
+
</refsect1>
216
238
</refentry>
217
-

218
239
<!-- Keep this comment at the end of the file
219
240
Local variables:
220
241
mode: sgml
221
242