Remote host ssl verification

This commit is contained in:
RainLoop Team 2014-10-06 18:25:36 +04:00
parent c26ab305a1
commit d63dc10e5b
6 changed files with 94 additions and 54 deletions

View file

@ -28,6 +28,11 @@ class Domain
*/
private $iIncSecure;
/**
* @var bool
*/
private $bIncVerifySsl;
/**
* @var bool
*/
@ -48,6 +53,11 @@ class Domain
*/
private $iOutSecure;
/**
* @var bool
*/
private $bOutVerifySsl;
/**
* @var bool
*/
@ -83,10 +93,12 @@ class Domain
$this->sIncHost = $sIncHost;
$this->iIncPort = $iIncPort;
$this->iIncSecure = $iIncSecure;
$this->bIncVerifySsl = false;
$this->bIncShortLogin = $bIncShortLogin;
$this->sOutHost = $sOutHost;
$this->iOutPort = $iOutPort;
$this->iOutSecure = $iOutSecure;
$this->bOutVerifySsl = false;
$this->bOutShortLogin = $bOutShortLogin;
$this->bOutAuth = $bOutAuth;
$this->sWhiteList = \trim($sWhiteList);
@ -311,6 +323,14 @@ class Domain
return $this->iIncSecure;
}
/**
* @return bool
*/
public function IncVerifySsl()
{
return $this->bIncVerifySsl;
}
/**
* @return bool
*/
@ -344,6 +364,14 @@ class Domain
return $this->iOutSecure;
}
/**
* @return bool
*/
public function OutVerifySsl()
{
return $this->bOutVerifySsl;
}
/**
* @return bool
*/