protected function generatePublicKey($path, $passphrase)
    {
        $processArgs = sprintf('rsa -pubout -in %s/private.pem -out %s/public.pem -passin pass:%s', $path, $path, $passphrase);

        $this->generateKey($processArgs);
    }
protected function generatePublicKey($path, $passphrase)
    {
        $processArgs = sprintf('rsa -pubout -in %s/private.pem -out %s/public.pem -passin pass:%s', $path, $path, $passphrase);

        $this->generateKey($processArgs);
    }
protected function generatePublicKey ( $ path , $ passphrase ) { $ processArgs = sprintf ( 'rsa -pubout -in %s/private.pem -out %s/public.pem -passin pass:%s' , $ path , $ path , $ passphrase ) ; $ this -> generateKey ( $ processArgs ) ; }
Generate a RSA public key.

@param string          $path
@param string          $passphrase
@param OutputInterface $output
Generate a RSA public key .