aboutsummaryrefslogtreecommitdiffstats
path: root/lib/unstable/Security/Signature/Enum/SignatoryStatus.php
blob: 1e460aed449fd320fdeb3a3e3197b6ac3597e155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?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;
}