| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Jose\Component\Signature\Algorithm; |
| 6 | |
| 7 | final class ES384 extends ECDSA |
| 8 | { |
| 9 | public function name(): string |
| 10 | { |
| 11 | return 'ES384'; |
| 12 | } |
| 13 | |
| 14 | protected function getHashAlgorithm(): string |
| 15 | { |
| 16 | return 'sha384'; |
| 17 | } |
| 18 | |
| 19 | protected function getSignaturePartLength(): int |
| 20 | { |
| 21 | return 96; |
| 22 | } |
| 23 | } |