libresign/lib/Handler/CertificateEngine/NoneHandler.php
Vitor Mattos 034ff9ecbb
fix: psalm issues about override
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-07 18:23:41 -03:00

34 lines
673 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Libresign\Handler\CertificateEngine;
class NoneHandler extends AEngineHandler implements IEngineHandler {
#[\Override]
public function generateRootCert(
string $commonName,
array $names = [],
): string {
return '';
}
#[\Override]
public function generateCertificate(string $certificate = '', string $privateKey = ''): string {
return '';
}
#[\Override]
public function isSetupOk(): bool {
return true;
}
#[\Override]
public function configureCheck(): array {
return [];
}
}