Debian Codegraph @

lib/3rdParty/composer/web-auth/cose-lib/src/Algorithm/Signature/RSA/RS384.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Cose\Algorithm\Signature\RSA;
6
7 use const OPENSSL_ALGO_SHA384;
8
9 final class RS384 extends RSA
10 {
11 public const ID = -258;
12
13 public static function create(): self
14 {
15 return new self();
16 }
17
18 public static function identifier(): int
19 {
20 return self::ID;
21 }
22
23 protected function getHashAlgorithm(): int
24 {
25 return OPENSSL_ALGO_SHA384;
26 }
27 }