reference/openssl/functions/openssl-pkey-export.xml
497c40ac164d5873fd87f622dfdeb5206392b446
...
...
@@ -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-export">
3
+
<refentry xml:id="function.openssl-pkey-export" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>openssl_pkey_export</refname>
6
6
<refpurpose>Gets an exportable representation of a key into a string</refpurpose>
...
...
@@ -10,15 +10,15 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>openssl_pkey_export</methodname>
13
-
<methodparam><type>mixed</type><parameter>key</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter role="reference">out</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>passphrase</parameter></methodparam>
16
-
<methodparam choice="opt"><type>array</type><parameter>configargs</parameter></methodparam>
13
+
<methodparam><type class="union"><type>OpenSSLAsymmetricKey</type><type>OpenSSLCertificate</type><type>array</type><type>string</type></type><parameter>key</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter role="reference">output</parameter></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>passphrase</parameter><initializer>&null;</initializer></methodparam>
16
+
<methodparam choice="opt"><type class="union"><type>array</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
19
<function>openssl_pkey_export</function> exports
20
-
<parameter>key</parameter> as a PEM encoded string and stores it into
21
-
<parameter>out</parameter> (which is passed by reference).
20
+
<parameter>key</parameter> as a <acronym>PEM</acronym> encoded string and stores it into
21
+
<parameter>output</parameter> (which is passed by reference).
22
22
</para>
23
23
&note.openssl.cnf;
24
24
</refsect1>
...
...
@@ -35,7 +35,7 @@
35
35
</listitem>
36
36
</varlistentry>
37
37
<varlistentry>
38
-
<term><parameter>out</parameter></term>
38
+
<term><parameter>output</parameter></term>
39
39
<listitem>
40
40
<para>
41
41
</para>
...
...
@@ -50,13 +50,13 @@
50
50
</listitem>
51
51
</varlistentry>
52
52
<varlistentry>
53
-
<term><parameter>configargs</parameter></term>
53
+
<term><parameter>options</parameter></term>
54
54
<listitem>
55
55
<para>
56
-
<parameter>configargs</parameter> can be used to fine-tune the export
56
+
<parameter>options</parameter> can be used to fine-tune the export
57
57
process by specifying and/or overriding options for the openssl
58
58
configuration file. See <function>openssl_csr_new</function> for more
59
-
information about <parameter>configargs</parameter>.
59
+
information about <parameter>options</parameter>.
60
60
</para>
61
61
</listitem>
62
62
</varlistentry>
...
...
@@ -71,8 +71,31 @@
71
71
</para>
72
72
</refsect1>
73
73

74
+
<refsect1 role="changelog">
75
+
&reftitle.changelog;
76
+
<informaltable>
77
+
<tgroup cols="2">
78
+
<thead>
79
+
<row>
80
+
<entry>&Version;</entry>
81
+
<entry>&Description;</entry>
82
+
</row>
83
+
</thead>
84
+
<tbody>
85
+
<row>
86
+
<entry>8.0.0</entry>
87
+
<entry>
88
+
<parameter>key</parameter> accepts an <classname>OpenSSLAsymmetricKey</classname>
89
+
or <classname>OpenSSLCertificate</classname> instance now;
90
+
previously, a &resource; of type <literal>OpenSSL key</literal> or <literal>OpenSSL X.509</literal>
91
+
was accepted.
92
+
</entry>
93
+
</row>
94
+
</tbody>
95
+
</tgroup>
96
+
</informaltable>
97
+
</refsect1>
74
98
</refentry>
75
-

76
99
<!-- Keep this comment at the end of the file
77
100
Local variables:
78
101
mode: sgml
79
102