EVENTSSLCONTEXT(3) 1 EVENTSSLCONTEXT(3)
The EventSslContext class
INTRODUCTION
Represents SSL_CTX structure. Provides methods and properties to configure the SSL context.
CLASS SYNOPSIS
EventSslContext
final
EventSslContext
Constants
o const integer$EventSslContext::SSLv2_CLIENT_METHOD1
o const integer$EventSslContext::SSLv3_CLIENT_METHOD2
o const integer$EventSslContext::SSLv23_CLIENT_METHOD3
o const integer$EventSslContext::TLS_CLIENT_METHOD4
o const integer$EventSslContext::SSLv2_SERVER_METHOD5
o const integer$EventSslContext::SSLv3_SERVER_METHOD6
o const integer$EventSslContext::SSLv23_SERVER_METHOD7
o const integer$EventSslContext::TLS_SERVER_METHOD8
o const integer$EventSslContext::OPT_LOCAL_CERT1
o const integer$EventSslContext::OPT_LOCAL_PK2
o const integer$EventSslContext::OPT_PASSPHRASE3
o const integer$EventSslContext::OPT_CA_FILE4
o const integer$EventSslContext::OPT_CA_PATH5
o const integer$EventSslContext::OPT_ALLOW_SELF_SIGNED6
o const integer$EventSslContext::OPT_VERIFY_PEER7
o const integer$EventSslContext::OPT_VERIFY_DEPTH8
o const integer$EventSslContext::OPT_CIPHERS9
Properties
o public string$local_cert
o public string$local_pk
Methods
o public EventSslContext::__construct (string $method, string $options)
PROPERTIES
o $local_cert
- Path to local certificate file on filesystem. It must be a PEM-encoded file which contains certificate. It can optionally con-
tain the certificate chain of issuers.
o $local_pk
- Path to local private key file
PREDEFINED CONSTANTS
o EventSslContext::SSLv2_CLIENT_METHOD - SSLv2 client method. See SSL_CTX_new(3) man page.
o EventSslContext::SSLv3_CLIENT_METHOD - SSLv3 client method. See SSL_CTX_new(3) man page.
o EventSslContext::SSLv23_CLIENT_METHOD - SSLv23 client method. See SSL_CTX_new(3) man page.
o EventSslContext::TLS_CLIENT_METHOD - TLS client method. See SSL_CTX_new(3) man page.
o EventSslContext::SSLv2_SERVER_METHOD - SSLv2 server method. See SSL_CTX_new(3) man page.
o EventSslContext::SSLv3_SERVER_METHOD - SSLv3 server method. See SSL_CTX_new(3) man page.
o EventSslContext::SSLv23_SERVER_METHOD - SSLv23 server method. See SSL_CTX_new(3) man page.
o EventSslContext::TLS_SERVER_METHOD - TLS server method. See SSL_CTX_new(3) man page.
o EventSslContext::OPT_LOCAL_CERT - Key for an item of the options' array used in EventSslContext::__construct . The option points
to path of local certificate.
o EventSslContext::OPT_LOCAL_PK - Key for an item of the options' array used in EventSslContext::__construct . The option points to
path of the private key.
o EventSslContext::OPT_PASSPHRASE - Key for an item of the options' array used in EventSslContext::__construct . Represents
passphrase of the certificate.
o EventSslContext::OPT_CA_FILE - Key for an item of the options' array used in EventSslContext::__construct . Represents path of the
certificate authority file.
o EventSslContext::OPT_CA_PATH - Key for an item of the options' array used in EventSslContext::__construct . Represents path where
the certificate authority file should be searched for.
o EventSslContext::OPT_ALLOW_SELF_SIGNED - Key for an item of the options' array used in EventSslContext::__construct . Represents
option that allows self-signed certificates.
o EventSslContext::OPT_VERIFY_PEER - Key for an item of the options' array used in EventSslContext::__construct . Represents option
that tells Event to verify peer.
o EventSslContext::OPT_VERIFY_DEPTH - Key for an item of the options' array used in EventSslContext::__construct . Represents maxi-
mum depth for the certificate chain verification that shall be allowed for the SSL context.
o EventSslContext::OPT_CIPHERS - Key for an item of the options' array used in EventSslContext::__construct . Represents the cipher
list for the SSL context.
PHP Documentation Group EVENTSSLCONTEXT(3)