[DOC-CVS] [doc-en] master: Document new OpenSSL constants (PHP 8.5) (#5605)
[email protected] (Louis-Arnaud via GitHub) Wed, 17 Jun 2026 20:50:30 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-06-17T22:50:28+02:00
Commit: https://github.com/php/doc-en/commit/6eadfc4332ac3ba482aef3ebf3eab10e02e007ca
Raw diff: https://github.com/php/doc-en/commit/6eadfc4332ac3ba482aef3ebf3eab10e02e007ca.diff
Document new OpenSSL constants (PHP 8.5) (#5605)
Changed paths:
M reference/openssl/constants.xml
Diff:
diff --git a/reference/openssl/constants.xml b/reference/openssl/constants.xml
index ab467bda9d61..7771d9c1b348 100644
--- a/reference/openssl/constants.xml
+++ b/reference/openssl/constants.xml
@@ -157,6 +157,18 @@
</simpara>
</listitem>
</varlistentry>
+ <varlistentry xml:id="constant.openssl-pkcs1-pss-padding">
+ <term>
+ <constant>OPENSSL_PKCS1_PSS_PADDING</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ RSA-PSS padding.
+ Available as of PHP 8.5.0.
+ </simpara>
+ </listitem>
+ </varlistentry>
</variablelist>
</section>
@@ -379,6 +391,46 @@
<literal>application/x-pkcs7-mime</literal> to encrypt a message.
</entry>
</row>
+ <row xml:id="constant.pkcs7-nosmimecap">
+ <entry>
+ <constant>PKCS7_NOSMIMECAP</constant>
+ (<type>int</type>)
+ </entry>
+ <entry>
+ Available as of PHP 8.5.0.
+ Do not include the S/MIME capabilities (SMIMECapabilities) in the signature.
+ </entry>
+ </row>
+ <row xml:id="constant.pkcs7-crlfeol">
+ <entry>
+ <constant>PKCS7_CRLFEOL</constant>
+ (<type>int</type>)
+ </entry>
+ <entry>
+ Available as of PHP 8.5.0.
+ Use <literal>CRLF</literal> as the end of line in the output.
+ </entry>
+ </row>
+ <row xml:id="constant.pkcs7-nocrl">
+ <entry>
+ <constant>PKCS7_NOCRL</constant>
+ (<type>int</type>)
+ </entry>
+ <entry>
+ Available as of PHP 8.5.0.
+ Do not include the CRLs in the PKCS7 structure.
+ </entry>
+ </row>
+ <row xml:id="constant.pkcs7-no-dual-content">
+ <entry>
+ <constant>PKCS7_NO_DUAL_CONTENT</constant>
+ (<type>int</type>)
+ </entry>
+ <entry>
+ Available as of PHP 8.5.0.
+ Do not include the duplicate content, avoiding the duplication of the signed content.
+ </entry>
+ </row>
</tbody>
</tgroup>
</table>