| java.lang.Object java.io.InputStream java.io.FilterInputStream java.util.zip.InflaterInputStream java.util.zip.ZipInputStream sun.tools.jar.JarVerifierStream
JarVerifierStream | public class JarVerifierStream extends ZipInputStream (Code) | | This is OBSOLETE. DO NOT USE THIS. Use
java.util.jar.JarEntry.getCertificates instead. It has to stay here
because some apps (namely HJ and HJV) call directly into it.
This class is stripped down greatly from JDK 1.1.x.
version: 1.58 05/05/07 author: Roland Schemers |
Inner Class :static class CertCache | |
getBlocks | public Enumeration getBlocks()(Code) | | Returns an enumeration of PKCS7 blocks. This looks bogus,
but Hotjava just checks to see if enumeration is not null
to see if anything was signed!
|
getIds | protected Vector getIds(Certificate[] certs)(Code) | | Returns the Identity vector for the given array of Certificates
|
getNameToHash | public Hashtable getNameToHash()(Code) | | This method used to be called by various versions of
AppletResourceLoader, even though they didn't do anything with
the result. We leave them and return null for backwards compatability.
|
getNextEntry | public synchronized ZipEntry getNextEntry() throws IOException(Code) | | This method scans to see which entry we're parsing and
keeps various state information depending on what type of
file is being parsed. Files it treats specially are:
- Manifest files. At any point, this stream can be queried
for a manifest. If it is present, a Manifest object will be
returned.
- Block Signature file. Like with the manifest, the stream
can be queried at any time for all blocks parsed thus far.
|
getVerifiedSignatures | public Hashtable getVerifiedSignatures()(Code) | | Returns a Hashtable mapping filenames to vectors of identities.
|
read | public int read(byte[] b, int off, int len) throws IOException(Code) | | read an array of bytes.
|
|
|