| 1 | <?php |
||
| 7 | final class Key |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var KeyIdentity |
||
| 11 | */ |
||
| 12 | private $identifier; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $keyInfo; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Key constructor. |
||
| 21 | * @param $keyInfo |
||
| 22 | */ |
||
| 23 | 6 | public function __construct(string $keyInfo) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return KeyIdentity |
||
| 31 | */ |
||
| 32 | 7 | public function getIdentifier(): KeyIdentity |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 7 | public function getKeyInfo(): string |
|
| 44 | } |
||
| 45 |