mirror of
https://github.com/nextcloud/server.git
synced 2025-03-04 20:14:50 +00:00
21 lines
448 B
PHP
21 lines
448 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
|
|
*/
|
|
enum SignatureAlgorithm: string {
|
|
/** @experimental 31.0.0 */
|
|
case RSA_SHA256 = 'rsa-sha256';
|
|
/** @experimental 31.0.0 */
|
|
case RSA_SHA512 = 'rsa-sha512';
|
|
}
|