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.
HttpRequest::setSslOptions
(PECL pecl_http >= 0.10.0)
HttpRequest::setSslOptions — Définit les options SSL
Description
public
bool HttpRequest::setSslOptions
([ array
$options
] )Définit des options SSL.
Liste de paramètres
-
options -
un tableau associatif contenant les options spécifiques à SSL ; si ce paramètre est vide ou omis, les options SSL seront effacées.
Valeurs de retour
Cette fonction retourne TRUE en cas de
succès ou FALSE si une erreur survient.
Andy Christianson
24-Jul-2008 10:12
