Inheritance: extends AbstractCaRootData
Esempio n. 1
0
 protected function fetchLatestCertData($until = false)
 {
     if (static::$allowOnlineTest) {
         return parent::fetchLatestCertData($until);
     }
     $return = $this->certData ?: file_get_contents(__DIR__ . '/../_files/certdata.txt');
     if ($until) {
         return substr($return, 0, strpos($return, "\n", strpos($return, $until)));
     }
     return $return;
 }
Esempio n. 2
0
 public function getUpdatedCaRootBundle()
 {
     return $this->buildBundle($this->mozCertData->getContent());
 }