synchronized(jarfile) { if (!jarfile.signaturesRead) try { jarfile.readSignatures(); } catch (IOException ioe) { if (JarFile.DEBUG) { JarFile.debug(ioe); ioe.printStackTrace(); } jarfile.signaturesRead = true; }     if (jarfile.entryCerts != null && jarfile.verified.get(zip.getName()) == Boolean.TRUE) { Set certs = (Set) jarfile.entryCerts.get(jar.getName()); if (certs != null) jar.certs = (Certificate[]) certs.toArray(new Certificate[certs.size()]); } }
    public Object nextElement()    {      ZipEntry zip = (ZipEntry) entries.nextElement();      JarEntry jar = new JarEntry(zip);      Manifest manifest;      try	{	  manifest = getManifest();	}      catch (IOException ioe)	{	  manifest = null;	}      if (manifest != null)	{	  jar.attr = manifest.getAttributes(jar.getName());	}      // XXX jar.certs      return jar;    }