private function readPublicKey(Reader $reader)
    {
        $file = $reader->getFile() . '.pubkey';

        if (!file_exists($file)) {
            throw FileException::createUsingFormat(
                'The path "%s" is not a file or does not exist.',
                $file
            );
        }

        if (false === ($key = @file_get_contents($file))) {
            throw FileException::createUsingLastError();
        }

        return $key;
    }
private function readPublicKey(Reader $reader)
    {
        $file = $reader->getFile() . '.pubkey';

        if (!file_exists($file)) {
            throw FileException::createUsingFormat(
                'The path "%s" is not a file or does not exist.',
                $file
            );
        }

        if (false === ($key = @file_get_contents($file))) {
            throw FileException::createUsingLastError();
        }

        return $key;
    }
private function readPublicKey ( Reader $ reader ) { $ file = $ reader -> getFile ( ) . '.pubkey' ; if ( ! file_exists ( $ file ) ) { throw FileException :: createUsingFormat ( 'The path "%s" is not a file or does not exist.' , $ file ) ; } if ( false === ( $ key = @ file_get_contents ( $ file ) ) ) { throw FileException :: createUsingLastError ( ) ; } return $ key ; }
Returns the public key for the archive file.

@param Reader $reader The archive file reader.

@return string The public key.

@throws Exception
@throws FileException If the public key could not be read.
Returns the public key for the archive file .