| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | public function load(string $input, JWKSet $keyset, ?string $detachedPayload = null): JWS |
||
| 55 | { |
||
| 56 | $jws = JWSParser::parse($input); |
||
| 57 | $index = null; |
||
| 58 | $this->verifier->verifyWithKeySet($jws, $keyset, $detachedPayload, $index); |
||
| 59 | $this->headerCheckerManager->checkJWS($jws, $index); |
||
| 60 | |||
| 61 | return $jws; |
||
| 62 | } |
||
| 63 | } |
||
| 64 |