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