diff options
Diffstat (limited to 'lib/unstable/Security/Signature/Enum/SignatoryStatus.php')
-rw-r--r-- | lib/unstable/Security/Signature/Enum/SignatoryStatus.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/unstable/Security/Signature/Enum/SignatoryStatus.php b/lib/unstable/Security/Signature/Enum/SignatoryStatus.php new file mode 100644 index 00000000000..1e460aed449 --- /dev/null +++ b/lib/unstable/Security/Signature/Enum/SignatoryStatus.php @@ -0,0 +1,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; +} |