« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 23 for peer (0.002 sec.)
SSL コンテキストオプション — SSL コンテキストオプションの一覧 | PHP 8.3 13371
SSL コンテキストオプション SSL コンテキストオプション — SSL コンテキストオプションの一覧 説明 ssl:// および tls:// トランスポート用のコンテキストオプションです。 オプション peer_name string 使用するピア名。省略した場合は、ストリームをオープ ... ンしたときに使ったホスト名をもとに、名前を推測します。 verify_peer bool SSL サーバー証明書の検証を要求するかどうか。 デフォルトは true です。 verify_peer_name bool ピア名の検証を要求するかど ... うか。 デフォルトは true です。 allow_self_signed bool 自己証明の証明書を許可するかどうか。 verify_peer が必要です。 デフォルトは false です。 cafile string ローカルファイルシステム上の証明書ファイルの場所。 verify_peer オプシ ... 号化方式の一覧を設定します。設定できるフォーマットは » ciphers(1) の説明を参照ください。 デフォルトは DEFAULT です。 capture_peer_cert bool true に設定すると、 peer_certificate コンテキストオプションがピア証明書を含んで作成されます。 capture_peer_cert_ ...
https://man.mtool.work/php/8.3/context.ssl.html
openssl_x509_verify — x509証明書のデジタル署名を公開鍵で検証する | PHP 8.3 12567
openssl_x509_verify (PHP 7 >= 7.4.0, PHP 8) openssl_x509_verify — x509証明書のデジタル署名を公開鍵で検証する 説明 function openssl_x509_verify ( OpenSSLCertificate | string $certificate , OpenSSLAsymmetricKey | OpenSSLCertificate | array | ... スを受け入れていました。 例 例1 openssl_x509_verify() の例 <?php $hostname = "news.php.net" ; $ssloptions = array( "capture_peer_cert" => true , "capture_peer_cert_chain" => true , "allow_self_signed" => false , "CN_match" => $hostname , "verify_peer" ... => true , "SNI_enabled" => true , "peer_name" => $hostname , ); $ctx = stream_context_create ( array( "ssl" => $ssloptions ) ); $result = stream_socket_client ( " ... 30 , STREAM_CLIENT_CONNECT , $ctx ); $cont = stream_context_get_params ( $result ); $x509 = $cont [ "options" ][ "ssl" ][ "peer_certificate" ]; $certparsed = openssl_x509_parse ( $x509 ); foreach( $cont [ "options" ][ "ssl" ][ "peer_certificate_chain ...
https://man.mtool.work/php/8.3/function.openssl-x509-verify.html
EventHttpConnection::getPeer — Gets the remote address and port associated with... 10540
EventHttpConnection::getPeer (PECL event >= 1.2.6-beta) EventHttpConnection::getPeer — Gets the remote address and port associated with the connection 説明 public function EventHttpConnection::getPeer ( string &$address , int &$port ): void ... Gets the remote address and port associated with the connection パラメータ address Address of the peer. port Port of the peer. 戻り値 値を返しません。 他のマニュアルの関連ページ Python smtplib Linux JM gets(3) Django 4.2.19 D ...
https://man.mtool.work/php/8.3/eventhttpconnection.getpeer.html
The EventSslContext class | PHP 8.3 9450
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 ... E = 3 ; const int OPT_CA_FILE = 4 ; const int OPT_CA_PATH = 5 ; const int OPT_ALLOW_SELF_SIGNED = 6 ; const int OPT_VERIFY_PEER = 7 ; const int OPT_VERIFY_DEPTH = 8 ; const int OPT_CIPHERS = 9 ; /* プロパティ */ public string $ local_cert ; public st ... ed 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 verif ... y peer. EventSslContext::OPT_VERIFY_DEPTH Key for an item of the options' array used in EventSslContext::__construct() . Represen ...
https://man.mtool.work/php/8.3/class.eventsslcontext.html
SolrClient::__construct — Constructor for the SolrClient object | PHP 8.3 8780
SolrClient::__construct (PECL solr >= 0.9.2) SolrClient::__construct — Constructor for the SolrClient object 説明 public function SolrClient::__construct ( array $clientOptions ) Constructor for the SolrClient object パラメータ clientOption ... nly) - ssl_keypassword (Password for private key) - ssl_cainfo (Name of file holding one or more CA certificates to verify peer with) - ssl_capath (Name of directory holding multiple CA certificates to verify peer with ) Please note the if the ssl_ce ...
https://man.mtool.work/php/8.3/solrclient.construct.html
stream_socket_server — インターネットドメインまたは Unix ドメインのサーバーソケ... 8646
stream_socket_server (PHP 5, PHP 7, PHP 8) stream_socket_server — インターネットドメインまたは Unix ドメインのサーバーソケットを作成する 説明 function stream_socket_server ( string $address , int &$error_code = null , string &$error_message ... M_SERVER_BIND ); if (! $socket ) { die( " $errstr ( $errno )" ); } do { $pkt = stream_socket_recvfrom ( $socket , 1 , 0 , $peer ); echo " $peer \n" ; stream_socket_sendto ( $socket , date ( "D M j H:i:s Y\r\n" ), 0 , $peer ); } while ( $pkt !== false ...
https://man.mtool.work/php/8.3/function.stream-socket-server.html
The ZMQ class | PHP 8.3 8512
The ZMQ class (PECL zmq >= 0.5.0) はじめに クラス概要 class ZMQ { /* 定数 */ const int SOCKET_PAIR ; const int SOCKET_PUB ; const int SOCKET_SUB ; const int SOCKET_REQ ; const int SOCKET_REP ; const int SOCKET_XREQ ; const int SOCKET_XREP ; ... REP socket that can route replies to requesters ZMQ::SOCKET_DEALER Extended REQ socket that load balances to all connected peers ZMQ::SOCKET_XPUB Similar to SOCKET_PUB, except you can receive subscriptions as messages. The subscription message is 0 ( ... subscriptions as messages. See SOCKET_XPUB for format. ZMQ::SOCKET_STREAM Used to send and receive TCP data from a non-ØMQ peer. Available if compiled against ZeroMQ 4.x or higher (Value: int ). ZMQ::SOCKOPT_HWM The high water mark for inbound and ou ... tbound messages is a hard limit on the maximum number of outstanding messages ØMQ shall queue in memory for any single peer that the specified socket is communicating with. Setting this option on a socket will only affect connections made after t ...
https://man.mtool.work/php/8.3/class.zmq.html
stream_socket_accept — stream_socket_server() | PHP 8.3 8512
stream_socket_accept (PHP 5, PHP 7, PHP 8) stream_socket_accept — stream_socket_server() で作られたソケットの接続を受け入れる 説明 function stream_socket_accept ( resource $socket , ? float $timeout = null , string &$peer_name = null ): res ... ト接続待ちタイムアウトを上書きします。 時間は秒単位で指定します。 デフォルトでは、 default_socket_timeout の値が使われます。 peer_name 接続元のクライアントの名前 (アドレス) が含まれていて、 選択したトランスポートで有効であった場合に、それを設定します。 ...
https://man.mtool.work/php/8.3/function.stream-socket-accept.html
PHP 5.6.x における OpenSSL 関連の変更 | PHP 8.3 8512
PHP 5.6.x における OpenSSL 関連の変更 ストリームラッパーが、SSL/TLS を使っている場合のピア証明書とホスト名の検証にデフォルトで対応 暗号化されたすべてのクライアントストリームで、ピア検証がデフォルトで有効になりました。 デフォルトでは、OpenSS ... file あるいは capath を使えばリクエスト単位で変更できます。 一般的にはおすすめできませんが、 コンテキストオプション verify_peer を false にしてリクエストでのピア証明書の検証を無効化することもできます。 また同じく、ピア名の検証も、コンテキストオプショ ... ン verify_peer_name を false にすれば無効化できます。 証明書のフィンガープリント 証明書のフィンガープリントの抽出と、その検証に対応しまし ... 9 証明書からフィンガープリントを抽出します。また、 SSL ストリームコンテキスト に二つのオプションが追加されました。 capture_peer_cert はピアの X.509 証明書を取り込み、 peer_fingerprint はピアの証明書が指定したフィンガープリントにマッチすることを確かめ ...
https://man.mtool.work/php/8.3/migration56.openssl.html
EventSslContext::__construct — Constructs an OpenSSL context for use with Event... 8093
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 ... lContext :: OPT_LOCAL_PK => $local_pk , EventSslContext :: OPT_PASSPHRASE => "echo server" , EventSslContext :: OPT_VERIFY_PEER => true , EventSslContext :: OPT_ALLOW_SELF_SIGNED => false , )); ?> 他のマニュアルの関連ページ Python ssl Docker docker c ...
https://man.mtool.work/php/8.3/eventsslcontext.construct.html
PREV 1 2 3 NEXT