Neos\Flow\Command\SecurityCommandController::generateKeyPairCommand PHP Метод

generateKeyPairCommand() публичный Метод

Generate a public/private key pair and add it to the RSAWalletService
public generateKeyPairCommand ( boolean $usedForPasswords = false ) : void
$usedForPasswords boolean If the private key should be used for passwords
Результат void
    public function generateKeyPairCommand($usedForPasswords = false)
    {
        $fingerprint = $this->rsaWalletService->generateNewKeypair($usedForPasswords);
        $this->outputLine('The key pair has been successfully generated. Use the following fingerprint to refer to it in the RSAWalletService: ' . PHP_EOL . PHP_EOL . $fingerprint . PHP_EOL);
    }