code: public Certificate []getCertificates(String path)
    {
      if (! isSigned())
        return null;
      
      if (path.length() > 0 && path.charAt(0) == '/')
        path = path.substring(1);
  
      try {
        if (! getBacking().canRead())
          return null;
        
        JarFile jarFile = getJarFile();
        JarEntry entry;
        InputStream is = null;
  
        try {
          entry = jarFile.getJarEntry(path);
  
          if (entry != null) {
            is = jarFile.getInputStream(entry);
  
            while (is.skip(65536) > 0) {
            }
  
            is.close();
  
            return entry.getCertificates();
          }
        } finally {
          closeJarFile(jarFile);
        }
      } catch (IOException e) {
        log.log(Level.FINE, e.toString(), e);
  
        return null;
      }
  
      return null;
    }
docs: Returns any certificates.