| Conditions | 5 |
| Paths | 5 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string $input |
||
| 49 | * @param JWKSet $keyset |
||
| 50 | * |
||
| 51 | * @return JWE |
||
| 52 | */ |
||
| 53 | public function load(string $input, JWKSet $keyset): JWE |
||
| 54 | { |
||
| 55 | $jwe = JWEParser::parse($input); |
||
| 56 | $index = null; |
||
| 57 | $jwe = $this->decrypter->decryptUsingKeySet($jwe, $keyset, $index); |
||
| 58 | $this->headerCheckerManager->checkJWE($jwe, $index); |
||
| 59 | |||
| 63 |