lib/3rdParty/composer/web-token/jwt-library/Encryption/Algorithm/KeyEncryptionAlgorithm.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Jose\Component\Encryption\Algorithm; |
| 6 | |
| 7 | use Jose\Component\Core\Algorithm; |
| 8 | |
| 9 | interface KeyEncryptionAlgorithm extends Algorithm |
| 10 | { |
| 11 | public const MODE_DIRECT = 'dir'; |
| 12 | |
| 13 | public const MODE_ENCRYPT = 'enc'; |
| 14 | |
| 15 | public const MODE_WRAP = 'wrap'; |
| 16 | |
| 17 | public const MODE_AGREEMENT = 'agree'; |
| 18 | |
| 19 | /** |
| 20 | * Returns the key management mode used by the key encryption algorithm. |
| 21 | */ |
| 22 | public function getKeyManagementMode(): string; |
| 23 | } |