|
@@ 53-55 (lines=3) @@
|
| 50 |
|
|
| 51 |
|
// TLS options |
| 52 |
|
if(null !== $tlsOptions && is_array($tlsOptions)) { |
| 53 |
|
if(true === array_key_exists(self::tlsOptionForceHttps, $tlsOptions)) { |
| 54 |
|
$this->tlsOptions[self::tlsOptionForceHttps] = $tlsOptions[self::tlsOptionForceHttps] === true; |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
if(true === array_key_exists(self::tlsOptionVersion, $tlsOptions)) { |
| 58 |
|
$this->tlsOptions[self::tlsOptionVersion] = $tlsOptions[self::tlsOptionVersion]; |
|
@@ 57-59 (lines=3) @@
|
| 54 |
|
$this->tlsOptions[self::tlsOptionForceHttps] = $tlsOptions[self::tlsOptionForceHttps] === true; |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
if(true === array_key_exists(self::tlsOptionVersion, $tlsOptions)) { |
| 58 |
|
$this->tlsOptions[self::tlsOptionVersion] = $tlsOptions[self::tlsOptionVersion]; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
if(true === array_key_exists(self::tlsOptionCipher, $tlsOptions)) { |
| 62 |
|
$this->tlsOptions[self::tlsOptionCipher] = $tlsOptions[self::tlsOptionCipher]; |
|
@@ 61-63 (lines=3) @@
|
| 58 |
|
$this->tlsOptions[self::tlsOptionVersion] = $tlsOptions[self::tlsOptionVersion]; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
if(true === array_key_exists(self::tlsOptionCipher, $tlsOptions)) { |
| 62 |
|
$this->tlsOptions[self::tlsOptionCipher] = $tlsOptions[self::tlsOptionCipher]; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
if(true === array_key_exists(self::tlsOptionPinnedKey, $tlsOptions)) { |
| 66 |
|
$this->tlsOptions[self::tlsOptionPinnedKey] = $tlsOptions[self::tlsOptionPinnedKey]; |
|
@@ 65-67 (lines=3) @@
|
| 62 |
|
$this->tlsOptions[self::tlsOptionCipher] = $tlsOptions[self::tlsOptionCipher]; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
if(true === array_key_exists(self::tlsOptionPinnedKey, $tlsOptions)) { |
| 66 |
|
$this->tlsOptions[self::tlsOptionPinnedKey] = $tlsOptions[self::tlsOptionPinnedKey]; |
| 67 |
|
} |
| 68 |
|
} |
| 69 |
|
} |
| 70 |
|
|