Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Predefined ConstantsPadding flags for asymmetric encryption>
^Predefined ConstantsLast updated: Mon, 26 Oct 2026

Purpose checking flags

X509_PURPOSE_SSL_CLIENT (int)

X509_PURPOSE_SSL_SERVER (int)

X509_PURPOSE_NS_SSL_SERVER (int)

X509_PURPOSE_SMIME_SIGN (int)

X509_PURPOSE_SMIME_ENCRYPT (int)

X509_PURPOSE_CRL_SIGN (int)

X509_PURPOSE_ANY (int)

X509_PURPOSE_OCSP_HELPER (int)

Verify the certificate for use as an OCSP responder helper. Available as of PHP 8.4.0.

X509_PURPOSE_TIMESTAMP_SIGN (int)

Verify the certificate for use as a trusted time stamp signer. Available as of PHP 8.4.0.


<Predefined ConstantsPadding flags for asymmetric encryption>
^Predefined ConstantsLast updated: Mon, 26 Oct 2026