1 | <?php |
||
7 | class CommonNameValidator |
||
8 | { |
||
9 | /** |
||
10 | * @var Certificate |
||
11 | */ |
||
12 | private $certificate; |
||
13 | |||
14 | 2 | public function __construct(Certificate $certificate) |
|
18 | |||
19 | 2 | public function isValid($domain) : bool |
|
29 | |||
30 | 2 | private function getAllowedNames() : array |
|
44 | |||
45 | 2 | private function getNameVariations($domain) : array |
|
56 | } |
||
57 |