1 | <?php |
||
26 | final class AddKeyIntoKeysetCommand extends AbstractObjectOutputCommand |
||
27 | { |
||
28 | /** |
||
29 | * KeyAnalyzerCommand constructor. |
||
30 | * |
||
31 | * @param JsonConverterInterface $jsonConverter |
||
32 | * @param string|null $name |
||
33 | */ |
||
34 | public function __construct(JsonConverterInterface $jsonConverter, string $name = null) |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | protected function configure() |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | protected function execute(InputInterface $input, OutputInterface $output) |
||
64 | |||
65 | /** |
||
66 | * @param InputInterface $input |
||
67 | * |
||
68 | * @return JWKSet |
||
69 | */ |
||
70 | private function getKeyset(InputInterface $input): JWKSet |
||
80 | |||
81 | /** |
||
82 | * @param InputInterface $input |
||
83 | * |
||
84 | * @return JWK |
||
85 | */ |
||
86 | private function getKey(InputInterface $input): JWK |
||
96 | } |
||
97 |