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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
686 B
PHP
Raw Permalink Normal View History

<?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
* @deprecated 33.0.0 use {@see \OCP\Security\Signature\Enum\SignatoryStatus}
*/
enum SignatoryStatus: int {
/**
* @experimental 31.0.0
* @deprecated 33.0.0
*/
case SYNCED = 1;
/**
* @experimental 31.0.0
* @deprecated 33.0.0
*/
case BROKEN = 9;
}