lib/3rdParty/composer/web-token/jwt-library/Encryption/Algorithm/KeyEncryption/ECDHESA256KW.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Jose\Component\Encryption\Algorithm\KeyEncryption; |
| 6 | |
| 7 | use AESKW\A256KW as Wrapper; |
| 8 | |
| 9 | final class ECDHESA256KW extends ECDHESAESKW |
| 10 | { |
| 11 | public function name(): string |
| 12 | { |
| 13 | return 'ECDH-ES+A256KW'; |
| 14 | } |
| 15 | |
| 16 | protected function getWrapper(): Wrapper |
| 17 | { |
| 18 | return new Wrapper(); |
| 19 | } |
| 20 | |
| 21 | protected function getKeyLength(): int |
| 22 | { |
| 23 | return 256; |
| 24 | } |
| 25 | } |