code: def checkJarSig(tikaServerJar, jarPath):
      '''
      Checks the signature of Jar
      :param tikaServerJar:
      :param jarPath:
      :return: ``True`` if the signature of the jar matches
      '''
      if not os.path.isfile(jarPath + ".md5"):
          getRemoteJar(tikaServerJar + ".md5", jarPath + ".md5")
      m = hashlib.md5()
      with open(jarPath, 'rb') as f:
          binContents = f.read()
          m.update(binContents)
          with open(jarPath + ".md5", "r") as em:
              existingContents = em.read()
              return existingContents == m.hexdigest(f checkJarSig(tikaServerJar, jarPath):
      '''
      Checks the signature of Jar
      :param tikaServerJar:
      :param jarPath:
      :return: ``True`` if the signature of the jar matches
      '''
      if not os.path.isfile(jarPath + ".md5"):
          getRemoteJar(tikaServerJar + ".md5", jarPath + ".md5")
      m = hashlib.md5()
      with open(jarPath, 'rb') as f:
          binContents = f.read()
          m.update(binContents)
          with open(jarPath + ".md5", "r") as em:
              existingContents = em.read()
              return existingContents == m.hexdigest()
docs: Checks the signature of Jar
      :param tikaServerJar:
      :param jarPath:
      :return: ``True`` if the signature of the jar matches