nextcloud-server/lib/unstable/Security/Signature/Enum/SignatoryStatus.php

25 lines
550 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace NCU\Security\Signature\Enum;
/**
* current status of signatory. is it trustable or not ?
*
* - SYNCED = the remote instance is trustable.
* - BROKEN = the remote instance does not use the same key pairs than previously
*
* @experimental 31.0.0
*/
enum SignatoryStatus: int {
/** @experimental 31.0.0 */
case SYNCED = 1;
/** @experimental 31.0.0 */
case BROKEN = 9;
}