Resource Types
Padding flags
OpenSSL
PHP Manual

# Predefined Constants

## Table of Contents

- Padding flags
- Key types
- PKCS7 Flags/Constants
- Signature Algorithms
- Ciphers
- Version constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

## Purpose checking flags

`X509_PURPOSE_SSL_CLIENT` (integer)
`X509_PURPOSE_SSL_SERVER` (integer)
`X509_PURPOSE_NS_SSL_SERVER` (integer)
`X509_PURPOSE_SMIME_SIGN` (integer)
`X509_PURPOSE_SMIME_ENCRYPT` (integer)
`X509_PURPOSE_CRL_SIGN` (integer)
`X509_PURPOSE_ANY` (integer)

Resource Types
Padding flags
OpenSSL
PHP Manual