Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | /** |
| 5 | * SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors |
| 6 | * SPDX-License-Identifier: AGPL-3.0-or-later |
| 7 | */ |
| 8 | |
| 9 | namespace OCA\Libresign\Handler\SignEngine; |
| 10 | |
| 11 | use OCP\Files\File; |
| 12 | |
| 13 | interface ISignEngineHandler { |
| 14 | public function setInputFile(File $inputFile): self; |
| 15 | public function getInputFile(): File; |
| 16 | public function sign(): File; |
| 17 | public function getSignedContent(): string; |
| 18 | public function getSignatureParams(): array; |
| 19 | public function setSignatureParams(array $params): self; |
| 20 | public function getCertificateChain($resource): array; |
| 21 | public function getLastSignedDate(): \DateTime; |
| 22 | } |