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

EventBufferEvent::sslGetCipherName

(PECL event >= 1.10.0)

EventBufferEvent::sslGetCipherNameReturns the current cipher name of the SSL connection

说明

public EventBufferEvent::sslGetCipherName(): string

Retrieves name of cipher used by current SSL connection.

注意:

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

参数

此函数没有参数。

返回值

Returns the current cipher name of the SSL connection, or false on error.