reference/openssl/functions/openssl-spki-export-challenge.xml
7f99d5e488d161ce3b12d1dae405a283728933c3
...
...
@@ -1,17 +1,16 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="function.openssl-spki-export-challenge" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>openssl_spki_export_challenge</refname>
7
-
<refpurpose>Exports the challenge assoicated with a signed public key and challenge</refpurpose>
6
+
<refpurpose>Exports the challenge associated with a 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_challenge</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_challenge</methodname>
13
+
<methodparam><type>string</type><parameter>spki</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Exports challenge from encoded signed public key and challenge
...
...
@@ -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 challenge string or NULL on failure.
37
+
Returns the associated challenge string 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

...
...
@@ -87,7 +86,7 @@ $challenge = openssl_spki_export_challenge(preg_replace('/SPKAC=/', '', $_POST['
87
86
<member><function>openssl_spki_new</function></member>
88
87
<member><function>openssl_spki_verify</function></member>
89
88
<member><function>openssl_spki_export</function></member>
90
-
<member><function>openssl_md_method</function></member>
89
+
<member><function>openssl_get_md_methods</function></member>
91
90
<member><function>openssl_csr_new</function></member>
92
91
<member><function>openssl_csr_sign</function></member>
93
92
</simplelist>
...
...
@@ -95,7 +94,6 @@ $challenge = openssl_spki_export_challenge(preg_replace('/SPKAC=/', '', $_POST['
95
94
</refsect1>
96
95

97
96
</refentry>
98
-

99
97
<!-- Keep this comment at the end of the file
100
98
Local variables:
101
99
mode: sgml
102
100