Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | interface KeyEncryptionAlgorithm extends Algorithm |
||
19 | { |
||
20 | public const MODE_DIRECT = 'dir'; |
||
21 | |||
22 | public const MODE_ENCRYPT = 'enc'; |
||
23 | |||
24 | public const MODE_WRAP = 'wrap'; |
||
25 | |||
26 | public const MODE_AGREEMENT = 'agree'; |
||
27 | |||
28 | /** |
||
29 | * Returns the key management mode used by the key encryption algorithm. |
||
30 | */ |
||
31 | public function getKeyManagementMode(): string; |
||
32 | } |
||
33 |