reference/openssl/functions/openssl-x509-export-to-file.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-x509-export-to-file">
3
+
<refentry xml:id="function.openssl-x509-export-to-file" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>openssl_x509_export_to_file</refname>
6
6
<refpurpose>Exports a certificate to file</refpurpose>
...
...
@@ -10,14 +10,14 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>openssl_x509_export_to_file</methodname>
13
-
<methodparam><type>mixed</type><parameter>x509</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>outfilename</parameter></methodparam>
15
-
<methodparam choice="opt"><type>bool</type><parameter>notext</parameter><initializer>&true;</initializer></methodparam>
13
+
<methodparam><type class="union"><type>OpenSSLCertificate</type><type>string</type></type><parameter>certificate</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>output_filename</parameter></methodparam>
15
+
<methodparam choice="opt"><type>bool</type><parameter>no_text</parameter><initializer>&true;</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
<function>openssl_x509_export_to_file</function> stores
19
-
<parameter>x509</parameter> into a file named by
20
-
<parameter>outfilename</parameter> in a PEM encoded format.
19
+
<parameter>certificate</parameter> into a file named by
20
+
<parameter>output_filename</parameter> in a <acronym>PEM</acronym> encoded format.
21
21
</para>
22
22
</refsect1>
23
23

...
...
@@ -27,7 +27,7 @@
27
27
<variablelist>
28
28
&openssl.param.x509;
29
29
<varlistentry>
30
-
<term><parameter>outfilename</parameter></term>
30
+
<term><parameter>output_filename</parameter></term>
31
31
<listitem>
32
32
<para>
33
33
Path to the output file.
...
...
@@ -35,7 +35,7 @@
35
35
</listitem>
36
36
</varlistentry>
37
37
<varlistentry>
38
-
<term><parameter>notext</parameter></term>
38
+
<term><parameter>no_text</parameter></term>
39
39
<listitem>
40
40
&note.openssl.param-notext;
41
41
</listitem>
...
...
@@ -51,8 +51,29 @@
51
51
</para>
52
52
</refsect1>
53
53

54
+
<refsect1 role="changelog">
55
+
&reftitle.changelog;
56
+
<informaltable>
57
+
<tgroup cols="2">
58
+
<thead>
59
+
<row>
60
+
<entry>&Version;</entry>
61
+
<entry>&Description;</entry>
62
+
</row>
63
+
</thead>
64
+
<tbody>
65
+
<row>
66
+
<entry>8.0.0</entry>
67
+
<entry>
68
+
<parameter>certificate</parameter> accepts an <classname>OpenSSLCertificate</classname> instance now;
69
+
previously, a &resource; of type <literal>OpenSSL X.509</literal> was accepted.
70
+
</entry>
71
+
</row>
72
+
</tbody>
73
+
</tgroup>
74
+
</informaltable>
75
+
</refsect1>
54
76
</refentry>
55
-

56
77
<!-- Keep this comment at the end of the file
57
78
Local variables:
58
79
mode: sgml
59
80