No cache version.
Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.
The EventSslContext class
(PECL event >= 1.2.6-beta)
Introduction
Represents SSL_CTX structure. Provides methods and properties to configure the SSL context.
Class synopsis
Properties
- local_cert
-
Path 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_pk
-
Path to local private key file
Predefined Constants
-
EventSslContext::SSLv2_CLIENT_METHOD
-
SSLv2 client method. See SSL_CTX_new(3) man page.
-
EventSslContext::SSLv3_CLIENT_METHOD
-
SSLv3 client method. See SSL_CTX_new(3) man page.
-
EventSslContext::SSLv23_CLIENT_METHOD
-
SSLv23 client method. See SSL_CTX_new(3) man page.
-
EventSslContext::TLS_CLIENT_METHOD
-
TLS client method. See SSL_CTX_new(3) man page.
-
EventSslContext::SSLv2_SERVER_METHOD
-
SSLv2 server method. See SSL_CTX_new(3) man page.
-
EventSslContext::SSLv3_SERVER_METHOD
-
SSLv3 server method. See SSL_CTX_new(3) man page.
-
EventSslContext::SSLv23_SERVER_METHOD
-
SSLv23 server method. See SSL_CTX_new(3) man page.
-
EventSslContext::TLS_SERVER_METHOD
-
TLS server method. See SSL_CTX_new(3) man page.
-
EventSslContext::OPT_LOCAL_CERT
-
Key for an item of the options' array used in EventSslContext::__construct() . The option points to path of local certificate.
-
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.
-
EventSslContext::OPT_PASSPHRASE
-
Key for an item of the options' array used in EventSslContext::__construct() . Represents passphrase of the certificate.
-
EventSslContext::OPT_CA_FILE
-
Key for an item of the options' array used in EventSslContext::__construct() . Represents path of the certificate authority file.
-
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.
-
EventSslContext::OPT_ALLOW_SELF_SIGNED
-
Key for an item of the options' array used in EventSslContext::__construct() . Represents option that allows self-signed certificates.
-
EventSslContext::OPT_VERIFY_PEER
-
Key for an item of the options' array used in EventSslContext::__construct() . Represents option that tells Event to verify peer.
-
EventSslContext::OPT_VERIFY_DEPTH
-
Key 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_CIPHERS
-
Key for an item of the options' array used in EventSslContext::__construct() . Represents the cipher list for the SSL context.
Table of Contents
- EventSslContext::__construct — Constructs an OpenSSL context for use with Event classes
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-class.eventsslcontext.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.