reference/openssl/certparams.xml
497c40ac164d5873fd87f622dfdeb5206392b446
...
...
@@ -13,19 +13,21 @@
13
13
<orderedlist>
14
14
<listitem>
15
15
<simpara>
16
-
An X.509 resource returned from
17
-
<function>openssl_x509_read</function>
16
+
An <classname>OpenSSLCertificate</classname> instance
17
+
(or prior to PHP 8.0.0, a &resource; of type <literal>OpenSSL X.509</literal>)
18
+
returned from <function>openssl_x509_read</function>
18
19
</simpara>
19
20
</listitem>
20
21
<listitem>
21
22
<simpara>A string having the format
22
23
<filename>file://path/to/cert.pem</filename>; the named file must
23
-
contain a PEM encoded certificate
24
+
contain a <acronym>PEM</acronym> encoded certificate
24
25
</simpara>
25
26
</listitem>
26
27
<listitem>
27
28
<simpara>
28
-
A string containing the content of a certificate, PEM encoded, may start with -----BEGIN CERTIFICATE-----
29
+
A string containing the content of a certificate, <acronym>PEM</acronym>
30
+
encoded, may start with <literal>-----BEGIN CERTIFICATE-----</literal>
29
31
</simpara>
30
32
</listitem>
31
33
</orderedlist>
...
...
@@ -38,19 +40,21 @@
38
40
<orderedlist>
39
41
<listitem>
40
42
<simpara>
41
-
A CSR resource returned from
42
-
<function>openssl_csr_new</function>
43
+
An <classname>OpenSSLCertificateSigningRequest</classname> instance
44
+
(or prior to PHP 8.0.0, a &resource; of type <literal>OpenSSL X.509 CSR</literal>)
45
+
returned from <function>openssl_csr_new</function>
43
46
</simpara>
44
47
</listitem>
45
48
<listitem>
46
49
<simpara>A string having the format
47
50
<filename>file://path/to/csr.pem</filename>; the named file must
48
-
contain a PEM encoded CSR
51
+
contain a <acronym>PEM</acronym> encoded <acronym>CSR</acronym>
49
52
</simpara>
50
53
</listitem>
51
54
<listitem>
52
55
<simpara>
53
-
A string containing the content of a CSR, PEM encoded, may start with -----BEGIN CERTIFICATE REQUEST-----
56
+
A string containing the content of a <acronym>CSR</acronym>, <acronym>PEM</acronym> encoded,
57
+
may start with <literal>-----BEGIN CERTIFICATE REQUEST-----</literal>
54
58
</simpara>
55
59
</listitem>
56
60
</orderedlist>
...
...
@@ -63,23 +67,30 @@
63
67
Public/Private Keys
64
68
<orderedlist>
65
69
<listitem>
66
-
<simpara>A key resource returned from
67
-
<function>openssl_get_publickey</function> or
70
+
<simpara>
71
+
An <classname>OpenSSLAsymmetricKey</classname> instance
72
+
(or prior to PHP 8.0.0, a &resource; of type <literal>OpenSSL key</literal>)
73
+
returned from <function>openssl_get_publickey</function> or
68
74
<function>openssl_get_privatekey</function>
69
75
</simpara>
70
76
</listitem>
71
77
<listitem>
72
-
<simpara>For public keys only: an X.509 resource</simpara>
78
+
<simpara>
79
+
For public keys only: an <classname>OpenSSLCertificate</classname> instance
80
+
(or prior to PHP 8.0.0, a &resource; of type <literal>OpenSSL X.509</literal>)
81
+
</simpara>
73
82
</listitem>
74
83
<listitem>
75
84
<simpara>A string having the format
76
85
<filename>file://path/to/file.pem</filename> - the named file must
77
-
contain a PEM encoded certificate/private key (it may contain both)
86
+
contain a <acronym>PEM</acronym> encoded certificate/private key (it may contain both)
78
87
</simpara>
79
88
</listitem>
80
89
<listitem>
81
90
<simpara>
82
-
A string containing the content of a certificate/key, PEM encoded, may start with -----BEGIN PUBLIC KEY-----
91
+
A string containing the content of a certificate/key,
92
+
<acronym>PEM</acronym> encoded, may start with
93
+
<literal>-----BEGIN PUBLIC KEY-----</literal>
83
94
</simpara>
84
95
</listitem>
85
96
<listitem>
86
97