| @@ 62-69 (lines=8) @@ | ||
| 59 | $this->urlGenerator = $urlGenerator; |
|
| 60 | } |
|
| 61 | ||
| 62 | protected function configure() { |
|
| 63 | $this |
|
| 64 | ->setName('integrity:sign-app') |
|
| 65 | ->setDescription('Signs an app using a private key.') |
|
| 66 | ->addOption('path', null, InputOption::VALUE_REQUIRED, 'Application to sign') |
|
| 67 | ->addOption('privateKey', null, InputOption::VALUE_REQUIRED, 'Path to private key to use for signing') |
|
| 68 | ->addOption('certificate', null, InputOption::VALUE_REQUIRED, 'Path to certificate to use for signing'); |
|
| 69 | } |
|
| 70 | ||
| 71 | /** |
|
| 72 | * {@inheritdoc } |
|
| @@ 56-63 (lines=8) @@ | ||
| 53 | $this->fileAccessHelper = $fileAccessHelper; |
|
| 54 | } |
|
| 55 | ||
| 56 | protected function configure() { |
|
| 57 | $this |
|
| 58 | ->setName('integrity:sign-core') |
|
| 59 | ->setDescription('Sign core using a private key.') |
|
| 60 | ->addOption('privateKey', null, InputOption::VALUE_REQUIRED, 'Path to private key to use for signing') |
|
| 61 | ->addOption('certificate', null, InputOption::VALUE_REQUIRED, 'Path to certificate to use for signing') |
|
| 62 | ->addOption('path', null, InputOption::VALUE_REQUIRED, 'Path of core to sign'); |
|
| 63 | } |
|
| 64 | ||
| 65 | /** |
|
| 66 | * {@inheritdoc } |
|