| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class KeyOperationsParameter extends JWKParameter |
||
| 15 | { |
||
| 16 | use ArrayParameterValue; |
||
| 17 | |||
| 18 | public const OP_SIGN = 'sign'; |
||
| 19 | public const OP_VERIFY = 'verify'; |
||
| 20 | public const OP_ENCRYPT = 'encrypt'; |
||
| 21 | public const OP_DECRYPT = 'decrypt'; |
||
| 22 | public const OP_WRAP_KEY = 'wrapKey'; |
||
| 23 | public const OP_UNWRAP_KEY = 'unwrapKey'; |
||
| 24 | public const OP_DERIVE_KEY = 'deriveKey'; |
||
| 25 | public const OP_DERIVE_BITS = 'deriveBits'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Constructor. |
||
| 29 | * |
||
| 30 | * @param string ...$ops Key operations |
||
| 31 | */ |
||
| 32 | 3 | public function __construct(string ...$ops) |
|
| 37 |