HttpRequest::setSslOptions

(PECL pecl_http >= 0.10.0)

HttpRequest::setSslOptionsSet ssl options

Описание

public bool HttpRequest::setSslOptions ([ array $options ] )

Set SSL options.

Список параметров

options

an associative array containing any SSL specific options; if empty or omitted, the SSL options will be reset

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

[an error occurred while processing the directive]

Коментарии

Автор:
This page does not describe the possible keys for the input array.

Here are the SSL option keys from the cURL source code as of 2008-07-24:

CERT: String that holds file name of the SSL certificate to use
CERTTYPE: String that holds file type of the SSL certificate to use
KEY: String that holds file name of the SSL certificate to use
KEYTYPE: String that holds file type of the SSL certificate to use
PASSWD: String that holds the SSL or SSH private key password.
ENGINE: String that holds the SSL crypto engine.
ENGINE_DEFAULT: flag to set engine as default.
2008-07-24 13:12:05
http://php5.kiev.ua/manual/ru/httprequest.setssloptions.html

    Поддержать сайт на родительском проекте КГБ