The EventSslContext class
Represents SSL_CTX structure. Provides methods and properties to configure the SSL context.
Intro
Represents SSL_CTX structure. Provides methods and properties to configure the SSL context.
Class synopsis
Properties
local_certPath to local certificate file on filesystem. It must be a PEM-encoded file which contains certificate. It can optionally contain the certificate chain of issuers.
local_pkPath to local private key file
Predefined Constants
EventSslContext::SSLv2_CLIENT_METHODSSLv2 client method. See
SSL_CTX_new(3)man page.EventSslContext::SSLv3_CLIENT_METHODSSLv3 client method. See
SSL_CTX_new(3)man page.EventSslContext::SSLv23_CLIENT_METHODSSLv23 client method. See
SSL_CTX_new(3)man page.EventSslContext::TLS_CLIENT_METHODTLS client method. See
SSL_CTX_new(3)man page.EventSslContext::SSLv2_SERVER_METHODSSLv2 server method. See
SSL_CTX_new(3)man page.EventSslContext::SSLv3_SERVER_METHODSSLv3 server method. See
SSL_CTX_new(3)man page.EventSslContext::SSLv23_SERVER_METHODSSLv23 server method. See
SSL_CTX_new(3)man page.EventSslContext::TLS_SERVER_METHODTLS server method. See
SSL_CTX_new(3)man page.EventSslContext::OPT_LOCAL_CERTKey for an item of the options' array used in
EventSslContext::__construct. The option points to path of local certificate.EventSslContext::OPT_LOCAL_PKKey for an item of the options' array used in
EventSslContext::__construct. The option points to path of the private key.EventSslContext::OPT_PASSPHRASEKey for an item of the options' array used in
EventSslContext::__construct. Represents passphrase of the certificate.EventSslContext::OPT_CA_FILEKey for an item of the options' array used in
EventSslContext::__construct. Represents path of the certificate authority file.EventSslContext::OPT_CA_PATHKey for an item of the options' array used in
EventSslContext::__construct. Represents path where the certificate authority file should be searched for.EventSslContext::OPT_ALLOW_SELF_SIGNEDKey for an item of the options' array used in
EventSslContext::__construct. Represents option that allows self-signed certificates.EventSslContext::OPT_VERIFY_PEERKey for an item of the options' array used in
EventSslContext::__construct. Represents option that tells Event to verify peer.EventSslContext::OPT_VERIFY_DEPTHKey for an item of the options' array used in
EventSslContext::__construct. Represents maximum depth for the certificate chain verification that shall be allowed for the SSL context.EventSslContext::OPT_CIPHERSKey for an item of the options' array used in
EventSslContext::__construct. Represents the cipher list for the SSL context.
Eventsslcontext