| 1 | <?php |
||
| 11 | class SecurityDateTime extends Deg |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Sicherheitszeitstempel (STS) |
||
| 15 | */ |
||
| 16 | const DATETIME_TYPE_STS = 1; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Certificate Revocation Time (CRT) |
||
| 20 | */ |
||
| 21 | const DATETIME_TYPE_CRT = 6; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * SecurityDateTime constructor. |
||
| 25 | * |
||
| 26 | * @param int $type |
||
| 27 | * @param \DateTime|null $dateTime |
||
| 28 | */ |
||
| 29 | 5 | public function __construct($type = self::DATETIME_TYPE_STS, \DateTime $dateTime = null) |
|
| 36 | } |
||
| 37 |