Results of 1 - 10 of about 31 for EventSslContext (0.002 sec.)
- The EventSslContext class 12133
- « EventListener::setErrorCallback EventSslContext::__construct » PHP Manual Event The EventSslContext class 検索 The EventSslContext class (PECL event >= 1.2.6-beta) はじめに Represents SSL_CTX structure. Provides methods and properties to
... configure the SSL context. クラス概要 final class EventSslContext { /* 定数 */ const int SSLv2_CLIENT_METHOD = 1 ; const int SSLv3_CLIENT_METHOD = 2 ; const int SSLv23_CLIENT_METHOD = 3 ; ... tificate. It can optionally contain the certificate chain of issuers. local_pk Path to local private key file 定義済み定数 EventSslContext::SSLv2_CLIENT_METHOD SSLv2 client method. See SSL_CTX_new(3) man page. EventSslContext::SSLv3_CLIENT_METHOD SSLv3 client m ... ethod. 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 met ...
-
https://man.mtool.work/php/8.3/class.eventsslcontext.html
- The EventSslContext class 12133
- « EventListener::setErrorCallback EventSslContext::__construct » PHP Manual Event The EventSslContext class 検索 The EventSslContext class (PECL event >= 1.2.6-beta) はじめに Represents SSL_CTX structure. Provides methods and properties to
... configure the SSL context. クラス概要 final class EventSslContext { /* 定数 */ const int SSLv2_CLIENT_METHOD = 1 ; const int SSLv3_CLIENT_METHOD = 2 ; const int SSLv23_CLIENT_METHOD = 3 ; ... tificate. It can optionally contain the certificate chain of issuers. local_pk Path to local private key file 定義済み定数 EventSslContext::SSLv2_CLIENT_METHOD SSLv2 client method. See SSL_CTX_new(3) man page. EventSslContext::SSLv3_CLIENT_METHOD SSLv3 client m ... ethod. 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 met ...
-
https://man.mtool.work/php/8.3/class.eventsslcontext.html
- Constructs an OpenSSL context for use with Event classes 11761
- « EventSslContext EventUtil » PHP Manual EventSslContext Constructs an OpenSSL context for use with Event classes 検索 EventSslContext::__construct (PECL event >= 1.2.6-beta) EventSslContext::__construct — Constructs an OpenSSL context for
... use with Event classes 説明 public function EventSslContext::__construct ( string $method , string $options ) Creates SSL context holding pointer to SSL_CTX (see the system manual). ... パラメータ method One of EventSslContext::*_METHOD constants . options Associative array of SSL context options One of EventSslContext::OPT_* constants . 例 例1 Ev ... entSslContext::__construct() example <?php $ctx = new EventSslContext ( EventSslContext :: SSLv3_SERVER_METHOD , array( EventSslContext :: OPT_LOCAL_CERT => $local_cert , EventSslContext :: OP ...
-
https://man.mtool.work/php/8.3/eventsslcontext.construct.html
- Constructs an OpenSSL context for use with Event classes 11761
- « EventSslContext EventUtil » PHP Manual EventSslContext Constructs an OpenSSL context for use with Event classes 検索 EventSslContext::__construct (PECL event >= 1.2.6-beta) EventSslContext::__construct — Constructs an OpenSSL context for
... use with Event classes 説明 public function EventSslContext::__construct ( string $method , string $options ) Creates SSL context holding pointer to SSL_CTX (see the system manual). ... パラメータ method One of EventSslContext::*_METHOD constants . options Associative array of SSL context options One of EventSslContext::OPT_* constants . 例 例1 Ev ... entSslContext::__construct() example <?php $ctx = new EventSslContext ( EventSslContext :: SSLv3_SERVER_METHOD , array( EventSslContext :: OPT_LOCAL_CERT => $local_cert , EventSslContext :: OP ...
-
https://man.mtool.work/php/8.3/eventsslcontext.construct.html
- 例 8832
- « インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -
... etErrno (), EventUtil :: getLastSocketError ()); $this -> base -> exit ( NULL ); } // Initialize SSL structures, create an EventSslContext // Optionally create self-signed certificates function init_ssl () { // We *must* have entropy. Otherwise there's no point ... .req\n" , " openssl x509 -req -days 365 -in cert.req -signkey $local_pk -out $local_cert \n" ; return FALSE ; } $ctx = new EventSslContext ( EventSslContext :: SSLv3_SERVER_METHOD , array ( EventSslContext :: OPT_LOCAL_CERT => $local_cert , EventSslContext :: O ... PT_LOCAL_PK => $local_pk , //EventSslContext::OPT_PASSPHRASE => "echo server", EventSslContext :: OPT_VERIFY_PEER => true , EventSslContext :: OPT_ALLOW_SELF_SIGNED => ...
-
https://man.mtool.work/php/8.3/event.examples.html
- Create a new SSL buffer event to send its data over another buffer event 8832
- « EventBufferEvent::sslError EventBufferEvent::sslGetCipherInfo » PHP Manual EventBufferEvent Create a new SSL buffer event to send its data over another buffer event 検索 EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEv
... er buffer event 説明 public static function EventBufferEvent::sslFilter ( EventBase $base , EventBufferEvent $underlying , EventSslContext $ctx , int $state , int $options = 0 ): EventBufferEvent Create a new SSL buffer event to send its data over another buffe ... penSSL support. パラメータ base Associated event base. underlying A socket buffer event to use for this SSL. ctx Object of EventSslContext class. state The current state of SSL connection: EventBufferEvent::SSL_OPEN , EventBufferEvent::SSL_ACCEPTING or EventBuf ... ic $connections = []; public $buffers = []; public $maxRead = 256000 ; public function __construct () { $this -> ctx = new EventSslContext ( EventSslContext :: SSLv3_SERVER_METHOD , [ EventSslContext :: OPT_LOCAL_CERT => 'cert.pem' , EventSslContext :: OPT_LOCA ...
-
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
- 例 8832
- « インストール手順 Event flags » PHP Manual Event 例 検索 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -
... etErrno (), EventUtil :: getLastSocketError ()); $this -> base -> exit ( NULL ); } // Initialize SSL structures, create an EventSslContext // Optionally create self-signed certificates function init_ssl () { // We *must* have entropy. Otherwise there's no point ... .req\n" , " openssl x509 -req -days 365 -in cert.req -signkey $local_pk -out $local_cert \n" ; return FALSE ; } $ctx = new EventSslContext ( EventSslContext :: SSLv3_SERVER_METHOD , array ( EventSslContext :: OPT_LOCAL_CERT => $local_cert , EventSslContext :: O ... PT_LOCAL_PK => $local_pk , //EventSslContext::OPT_PASSPHRASE => "echo server", EventSslContext :: OPT_VERIFY_PEER => true , EventSslContext :: OPT_ALLOW_SELF_SIGNED => ...
-
https://man.mtool.work/php/8.3/event.examples.html
- Create a new SSL buffer event to send its data over another buffer event 8832
- « EventBufferEvent::sslError EventBufferEvent::sslGetCipherInfo » PHP Manual EventBufferEvent Create a new SSL buffer event to send its data over another buffer event 検索 EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEv
... er buffer event 説明 public static function EventBufferEvent::sslFilter ( EventBase $base , EventBufferEvent $underlying , EventSslContext $ctx , int $state , int $options = 0 ): EventBufferEvent Create a new SSL buffer event to send its data over another buffe ... penSSL support. パラメータ base Associated event base. underlying A socket buffer event to use for this SSL. ctx Object of EventSslContext class. state The current state of SSL connection: EventBufferEvent::SSL_OPEN , EventBufferEvent::SSL_ACCEPTING or EventBuf ... ic $connections = []; public $buffers = []; public $maxRead = 256000 ; public function __construct () { $this -> ctx = new EventSslContext ( EventSslContext :: SSLv3_SERVER_METHOD , [ EventSslContext :: OPT_LOCAL_CERT => 'cert.pem' , EventSslContext :: OPT_LOCA ...
-
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
- Constructs EventHttpConnection object 8121
- « EventHttpConnection EventHttpConnection::getBase » PHP Manual EventHttpConnection Constructs EventHttpConnection object 検索 EventHttpConnection::__construct (PECL event >= 1.2.6-beta) EventHttpConnection::__construct — Constructs EventHt
... ublic function EventHttpConnection::__construct ( EventBase $base , EventDnsBase $dns_base , string $address , int $port , EventSslContext $ctx = null ) Constructs EventHttpConnection object. パラメータ base Associated event base. dns_base If dns_base is null , ... hostname resolution will block. address The address to connect to. port The port to connect to. ctx EventSslContext class object. Enables OpenSSL. 注意 : This parameter is available only if Event is compiled with OpenSSL support and only ... ort ( ctx ) added. 関連キーワード: EventHttpConnection base object Constructs construct event dns address port ctx OpenSSL EventSslContext null connect support Search getBase beta function EventBase ...
-
https://man.mtool.work/php/8.3/eventhttpconnection.construct.html
- Constructs EventHttpConnection object 8121
- « EventHttpConnection EventHttpConnection::getBase » PHP Manual EventHttpConnection Constructs EventHttpConnection object 検索 EventHttpConnection::__construct (PECL event >= 1.2.6-beta) EventHttpConnection::__construct — Constructs EventHt
... ublic function EventHttpConnection::__construct ( EventBase $base , EventDnsBase $dns_base , string $address , int $port , EventSslContext $ctx = null ) Constructs EventHttpConnection object. パラメータ base Associated event base. dns_base If dns_base is null , ... hostname resolution will block. address The address to connect to. port The port to connect to. ctx EventSslContext class object. Enables OpenSSL. 注意 : This parameter is available only if Event is compiled with OpenSSL support and only ... .0 OpenSSL support ( ctx ) added. 関連キーワード: EventHttpConnection base Constructs construct event address port OpenSSL EventSslContext connect support getBase beta EventBase EventDnsBase Associated hostname resolution block Enables parameter available Event ...
-
https://man.mtool.work/php/8.3/eventhttpconnection.construct.html