reference/openssl/functions/openssl-csr-get-subject.xml
497c40ac164d5873fd87f622dfdeb5206392b446
...
...
@@ -1,17 +1,17 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.openssl-csr-get-subject">
3
+
<refentry xml:id="function.openssl-csr-get-subject" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>openssl_csr_get_subject</refname>
6
-
<refpurpose>Returns the subject of a CSR</refpurpose>
6
+
<refpurpose>Returns the subject of a <acronym>CSR</acronym></refpurpose>
7
7
</refnamediv>
8
8

9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>array</type><methodname>openssl_csr_get_subject</methodname>
13
-
<methodparam><type>mixed</type><parameter>csr</parameter></methodparam>
14
-
<methodparam choice="opt"><type>bool</type><parameter>use_shortnames</parameter><initializer>true</initializer></methodparam>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>openssl_csr_get_subject</methodname>
13
+
<methodparam><type class="union"><type>OpenSSLCertificateSigningRequest</type><type>string</type></type><parameter>csr</parameter></methodparam>
14
+
<methodparam choice="opt"><type>bool</type><parameter>short_names</parameter><initializer>&true;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
<function>openssl_csr_get_subject</function> returns subject
...
...
@@ -26,7 +26,7 @@
26
26
<variablelist>
27
27
&openssl.param.csr;
28
28
<varlistentry>
29
-
<term><parameter>use_shortnames</parameter></term>
29
+
<term><parameter>short_names</parameter></term>
30
30
<listitem>
31
31
<para>
32
32
<parameter>shortnames</parameter> controls how the data is indexed in the
...
...
@@ -43,10 +43,33 @@
43
43
<refsect1 role="returnvalues">
44
44
&reftitle.returnvalues;
45
45
<para>
46
-
&return.success;
46
+
Returns an associative array with subject description, &return.falseforfailure;.
47
47
</para>
48
48
</refsect1>
49
49
50
+
<refsect1 role="changelog">
51
+
&reftitle.changelog;
52
+
<informaltable>
53
+
<tgroup cols="2">
54
+
<thead>
55
+
<row>
56
+
<entry>&Version;</entry>
57
+
<entry>&Description;</entry>
58
+
</row>
59
+
</thead>
60
+
<tbody>
61
+
<row>
62
+
<entry>8.0.0</entry>
63
+
<entry>
64
+
<parameter>csr</parameter> accepts an <classname>OpenSSLCertificateSigningRequest</classname> instance now;
65
+
previously, a &resource; of type <literal>OpenSSL X.509 CSR</literal> was accepted.
66
+
</entry>
67
+
</row>
68
+
</tbody>
69
+
</tgroup>
70
+
</informaltable>
71
+
</refsect1>
72
+

50
73
<refsect1 role="examples">
51
74
&reftitle.examples;
52
75
<para>
...
...
@@ -108,7 +131,6 @@ Array
108
131
</refsect1>
109
132

110
133
</refentry>
111
-

112
134
<!-- Keep this comment at the end of the file
113
135
Local variables:
114
136
mode: sgml
115
137