| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | class EcdsaPrivateKey |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var mixed Key file resource handler |
||
| 12 | */ |
||
| 13 | private $resource; |
||
| 14 | |||
| 15 | protected ?string $id; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @throws InvalidKeyException |
||
| 19 | */ |
||
| 20 | public function __construct(string $filePath, string $passphrase = '', ?string $id = null) |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | public function getResource() |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getId(): ?string |
||
| 48 |