Exemplo n.º 1
0
 /**
  * Set SSL client certificates (experimental)
  *
  * @param string $sslCert SSL client certificate
  * @param string $sslKey SSL client key
  * @param string $sslCACert SSL CA cert (only required if you are having problems with your system CA cert)
  * @return void
  */
 public static function setSSLAuth($sslCert = null, $sslKey = null, $sslCACert = null)
 {
     self::$sslCert = $sslCert;
     self::$sslKey = $sslKey;
     self::$sslCACert = $sslCACert;
 }
Exemplo n.º 2
0
 /**
  * Set SSL client certificates (experimental)
  *
  * @param string $sslCert SSL client certificate
  * @param string $sslKey SSL client key
  * @param string $sslCACert SSL CA cert (only required if you are having problems with your system CA cert)
  *
  * @return void
  */
 public static function setSSLAuth($sslCert = NULL, $sslKey = NULL, $sslCACert = NULL)
 {
     self::$sslCert = $sslCert;
     self::$sslKey = $sslKey;
     self::$sslCACert = $sslCACert;
 }