« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 13 for EventSslContext (0.003 sec.)
The EventSslContext class | PHP 8.3 12897
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 ... 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 ... hod. 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 m ...
https://man.mtool.work/php/8.3/class.eventsslcontext.html
EventSslContext::__construct — Constructs an OpenSSL context for use with Event... 12387
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 S ... SL 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 ... T_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/eventsslcontext.construct.html
例 | PHP 8.3 9536
例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove ... 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
EventBufferEvent::sslFilter — Create a new SSL buffer event to send its data ov... 9325
EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEvent::sslFilter — Create a new SSL buffer event to send its data over another buffer event 説明 public static function EventBufferEvent::sslFilter ( EventBase $base , EventB ... ufferEvent $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
EventHttpConnection::__construct — Constructs EventHttpConnection object | PHP ... 8269
EventHttpConnection::__construct (PECL event >= 1.2.6-beta) EventHttpConnection::__construct — Constructs EventHttpConnection object 説明 public 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 ...
https://man.mtool.work/php/8.3/eventhttpconnection.construct.html
EventBufferEvent::sslSocket — Creates a new SSL buffer event to send its data o... 8181
EventBufferEvent::sslSocket (PECL event >= 1.2.6-beta) EventBufferEvent::sslSocket — Creates a new SSL buffer event to send its data over an SSL on a socket 説明 public static function EventBufferEvent::sslSocket ( EventBase $base , mixed $ ... socket , EventSslContext $ctx , int $state , int $options = ? ): EventBufferEvent Creates a new SSL buffer event to send its data over an SSL on a ... tor for the socket will be assigned later, for instance, by means of EventBufferEvent::connectHost() method. ctx Object of EventSslContext class. state The current state of SSL connection: EventBufferEvent::SSL_OPEN , EventBufferEvent::SSL_ACCEPTING or EventBuf ...
https://man.mtool.work/php/8.3/eventbufferevent.sslsocket.html
Event | PHP 8.3 7830
Event はじめに This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. 注意 : Note, Wind ... EventListener::setCallback — The setCallback purpose EventListener::setErrorCallback — Set event listener's error callback EventSslContext — The EventSslContext class EventSslContext::__construct — Constructs an OpenSSL context for use with Event classes EventU ...
https://man.mtool.work/php/8.3/book.event.html
その他のサービス | PHP 8.3 7830
その他のサービス cURL — Client URL Library インストール/設定 定義済み定数 例 cURL 関数 CurlHandle — CurlHandle クラス CurlMultiHandle — CurlMultiHandle クラス CurlShareHandle — CurlShareHandle クラス CurlSharePersistentHandle — CurlSharePer ... tion — The EventHttpConnection class EventHttpRequest — The EventHttpRequest class EventListener — The EventListener class EventSslContext — The EventSslContext class EventUtil — The EventUtil class EventException — The EventException class FTP インストール/設定 ...
https://man.mtool.work/php/8.3/refs.remote.other.html
EventHttp::__construct — Constructs EventHttp object (the HTTP server) | PHP 8.... 7759
EventHttp::__construct (PECL event >= 1.2.6-beta) EventHttp::__construct — Constructs EventHttp object (the HTTP server) 説明 public function EventHttp::__construct ( EventBase $base , EventSslContext $ctx = null ) Constructs the HTTP serve ... r object. パラメータ base Associated event base. ctx EventSslContext class object. Turns plain HTTP server into HTTPS server. It means that if ctx is configured correctly, then the underlying ...
https://man.mtool.work/php/8.3/eventhttp.construct.html
The EventBufferEvent class | PHP 8.3 7671
The EventBufferEvent class (PECL event >= 1.2.6-beta) はじめに Represents Libevent's buffer event. Usually an application wants to perform some amount of data buffering in addition to just responding to events. When we want to write data, f ... id public function sslError (): string public static function sslFilter ( EventBase $base , EventBufferEvent $underlying , EventSslContext $ctx , int $state , int $options = 0 ): EventBufferEvent public function sslGetCipherInfo (): string public function sslGe ... ol (): string public function sslRenegotiate (): void public static function sslSocket ( EventBase $base , mixed $socket , EventSslContext $ctx , int $state , int $options = ? ): EventBufferEvent public function write ( string $data ): bool public function writ ...
https://man.mtool.work/php/8.3/class.eventbufferevent.html
PREV 1 2 NEXT