lib/3rdParty/composer/web-token/jwt-library/Encryption/Algorithm/KeyEncryption/DirectEncryption.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Jose\Component\Encryption\Algorithm\KeyEncryption; |
| 6 | |
| 7 | use Jose\Component\Core\JWK; |
| 8 | use Jose\Component\Encryption\Algorithm\KeyEncryptionAlgorithm; |
| 9 | |
| 10 | interface DirectEncryption extends KeyEncryptionAlgorithm |
| 11 | { |
| 12 | /** |
| 13 | * Returns the CEK. |
| 14 | * |
| 15 | * @param JWK $key The key used to get the CEK |
| 16 | */ |
| 17 | public function getCEK(JWK $key): string; |
| 18 | } |