| 1 | <?php |
||
| 7 | class PrivateKey implements SignerInterface |
||
| 8 | { |
||
| 9 | private $privateKey; |
||
| 10 | private $resource; |
||
| 11 | |||
| 12 | 6 | public function __construct(string $privateKey) |
|
| 17 | |||
| 18 | 6 | private function read() |
|
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | 3 | public function sign($content, $algorithm = OPENSSL_ALGO_SHA1) |
|
| 37 | } |
||
| 38 |