private static boolean verifyEntry(final String key, final TomlParseResult tomlParseResult) {
    if (key.endsWith(PRIVACY_PUBLIC_KEY)) {
      return verifyString(key, tomlParseResult);
    } else {
      return verifyArray(key, tomlParseResult);
    }
  }
Validate auth file.

@param commandLine the command line to use for parameter exceptions
@param filename the auth file
@param type the RPC type
@return the auth filename
app/src/main/java/org/hyperledger/besu/cli/custom/RpcAuthFileValidator.java