| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Jose\Component\KeyManagement\Analyzer; |
| 6 | |
| 7 | use Jose\Component\Core\JWK; |
| 8 | |
| 9 | interface KeyAnalyzer |
| 10 | { |
| 11 | /** |
| 12 | * This method will analyse the key and add messages to the message bag if needed. |
| 13 | */ |
| 14 | public function analyze(JWK $jwk, MessageBag $bag): void; |
| 15 | } |