nextcloud/lib/unstable/Security/Signature/Enum/SignatureAlgorithm.php
Maxence Lange 327d691c23 feat(signed-request): moving out of unstable
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2026-01-09 20:16:24 -01:00

28 lines
587 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace NCU\Security\Signature\Enum;
/**
* list of available algorithm when signing payload
*
* @experimental 31.0.0
* @deprecated 33.0.0 use {@see \OCP\Security\Signature\Enum\SignatureAlgorithm}
*/
enum SignatureAlgorithm: string {
/**
* @experimental 31.0.0
* @deprecated 33.0.0
*/
case RSA_SHA256 = 'rsa-sha256';
/**
* @experimental 31.0.0
* @deprecated 33.0.0
*/
case RSA_SHA512 = 'rsa-sha512';
}