reference/openssl/functions/openssl-spki-export.xml
497c40ac164d5873fd87f622dfdeb5206392b446
...
...
@@ -1,20 +1,19 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="function.openssl-spki-export" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>openssl_spki_export</refname>
7
-
<refpurpose>Exports a valid PEM formatted public key signed public key and challenge</refpurpose>
6
+
<refpurpose>Exports a valid <acronym>PEM</acronym> formatted public key signed public key and challenge</refpurpose>
8
7
</refnamediv>
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis role="procedural">
13
-
<type>string</type><methodname>openssl_spki_export</methodname>
14
-
<methodparam><type>string</type><parameter role="reference">spkac</parameter></methodparam>
11
+
<methodsynopsis>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>openssl_spki_export</methodname>
13
+
<methodparam><type>string</type><parameter>spki</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
-
Exports PEM formatted public key from encoded signed public key and challenge
16
+
Exports <acronym>PEM</acronym> formatted public key from encoded signed public key and challenge
18
17
</para>
19
18
</refsect1>
20
19

...
...
@@ -22,7 +21,7 @@
22
21
&reftitle.parameters;
23
22
<variablelist>
24
23
<varlistentry>
25
-
<term><parameter>spkac</parameter></term>
24
+
<term><parameter>spki</parameter></term>
26
25
<listitem>
27
26
<para>
28
27
Expects a valid signed public key and challenge
...
...
@@ -35,7 +34,7 @@
35
34
<refsect1 role="returnvalues">
36
35
&reftitle.returnvalues;
37
36
<para>
38
-
Returns the associated PEM formatted public key or NULL on failure.
37
+
Returns the associated <acronym>PEM</acronym> formatted public key or &false; on failure.
39
38
</para>
40
39
</refsect1>
41
40

...
...
@@ -43,7 +42,7 @@
43
42
&reftitle.errors;
44
43
<para>
45
44
Emits an <constant>E_WARNING</constant> level error if an invalid argument
46
-
is passed via the <parameter>spkac</parameter> parameter.
45
+
is passed via the <parameter>spki</parameter> parameter.
47
46
</para>
48
47
</refsect1>
49
48

...
...
@@ -52,7 +51,7 @@
52
51
<example xml:id="openssl_spki_export.example.basic">
53
52
<title><function>openssl_spki_export</function> example</title>
54
53
<para>
55
-
Extracts the associated PEM formatted public key or NULL on failure.
54
+
Extracts the associated <acronym>PEM</acronym> formatted public key or &null; on failure.
56
55
</para>
57
56
<programlisting role="php">
58
57
<![CDATA[
...
...
@@ -71,7 +70,7 @@ if ($pubKey) {
71
70
<example xml:id="openssl_spki_export.example.keygen">
72
71
<title><function>openssl_spki_export</function> example from &lt;keygen&gt;</title>
73
72
<para>
74
-
Extracts the associated PEM formatted public key issued from the &lt;keygen&gt; element
73
+
Extracts the associated <acronym>PEM</acronym> formatted public key issued from the &lt;keygen&gt; element
75
74
</para>
76
75
<programlisting role="php">
77
76
<![CDATA[
...
...
@@ -96,7 +95,7 @@ if ($spkac != NULL) {
96
95
<member><function>openssl_spki_new</function></member>
97
96
<member><function>openssl_spki_verify</function></member>
98
97
<member><function>openssl_spki_export_challenge</function></member>
99
-
<member><function>openssl_md_method</function></member>
98
+
<member><function>openssl_get_md_methods</function></member>
100
99
<member><function>openssl_csr_new</function></member>
101
100
<member><function>openssl_csr_sign</function></member>
102
101
</simplelist>
...
...
@@ -104,7 +103,6 @@ if ($spkac != NULL) {
104
103
</refsect1>
105
104

106
105
</refentry>
107
-

108
106
<!-- Keep this comment at the end of the file
109
107
Local variables:
110
108
mode: sgml
111
109