array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'eventbufferevent.sslgetcipherinfo.php', 1 => 'EventBufferEvent::sslGetCipherInfo', 2 => 'Returns a textual description of the cipher', ), 'up' => array ( 0 => 'class.eventbufferevent.php', 1 => 'EventBufferEvent', ), 'prev' => array ( 0 => 'eventbufferevent.sslfilter.php', 1 => 'EventBufferEvent::sslFilter', ), 'next' => array ( 0 => 'eventbufferevent.sslgetciphername.php', 1 => 'EventBufferEvent::sslGetCipherName', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventbufferevent/sslgetcipherinfo.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventBufferEvent::sslGetCipherInfo

(PECL event >= 1.10.0)

EventBufferEvent::sslGetCipherInfoReturns a textual description of the cipher

说明

public EventBufferEvent::sslGetCipherInfo(): string

Retrieves description of the current cipher by means of the SSL_CIPHER_description SSL API function (see SSL_CIPHER_get_name(3) man page).

注意:

This function is available only if Event is compiled with OpenSSL support.

参数

此函数没有参数。

返回值

Returns a textual description of the cipher on success, or false on error.