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.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
