pub fn get_pk_params(pk_file: &File) -> Result<PublicKey, &'static str>
Gets Public Key params from the Pk file. Returns a Public Key Struct or an Error.