| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Cose\Algorithm\Signature\EdDSA; |
| 6 | |
| 7 | final class Ed25519 extends EdDSA |
| 8 | { |
| 9 | public const ID = -8; |
| 10 | |
| 11 | public static function create(): self |
| 12 | { |
| 13 | return new self(); |
| 14 | } |
| 15 | |
| 16 | public static function identifier(): int |
| 17 | { |
| 18 | return self::ID; |
| 19 | } |
| 20 | } |