lib/3rdParty/composer/web-token/jwt-library/Encryption/Algorithm/ContentEncryption/A192CBCHS384.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Jose\Component\Encryption\Algorithm\ContentEncryption; |
| 6 | |
| 7 | final class A192CBCHS384 extends AESCBCHS |
| 8 | { |
| 9 | public function getCEKSize(): int |
| 10 | { |
| 11 | return 384; |
| 12 | } |
| 13 | |
| 14 | public function name(): string |
| 15 | { |
| 16 | return 'A192CBC-HS384'; |
| 17 | } |
| 18 | |
| 19 | protected function getHashAlgorithm(): string |
| 20 | { |
| 21 | return 'sha384'; |
| 22 | } |
| 23 | |
| 24 | protected function getMode(): string |
| 25 | { |
| 26 | return 'aes-192-cbc'; |
| 27 | } |
| 28 | } |