Sindbad~EG File Manager
<?php
namespace App\Service\Ocsp;
class OcspResponse
{
/**
* @var string
*/
private $derOcspResponse;
/**
* @var bool
*/
private $isValid;
/**
* @var \DateTimeImmutable|null
*/
private $nextUpdate;
/**
* @var \DateTimeImmutable
*/
private $thisUpdate;
public function __construct(string $derOcspResponse, bool $isValid, \DateTimeImmutable $thisUpdate, ?\DateTimeImmutable $nextUpdate){
$this->derOcspResponse = $derOcspResponse;
$this->isValid = $isValid;
$this->nextUpdate = $nextUpdate;
$this->thisUpdate = $thisUpdate;
}
/**
* @return string
*/
public function getDerOcspResponse(): string
{
return $this->derOcspResponse;
}
/**
* @return bool
*/
public function isValid(): bool
{
return $this->isValid;
}
/**
* @return \DateTimeImmutable|null
*/
public function getNextUpdate(): ?\DateTimeImmutable
{
return $this->nextUpdate;
}
/**
* @return \DateTimeImmutable
*/
public function getThisUpdate(): \DateTimeImmutable
{
return $this->thisUpdate;
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists