jarify
Class JarSignatureFile
java.lang.Object
jarify.JarFileEntry
jarify.JarManifest
jarify.JarSignatureFile
final class JarSignatureFile
- extends JarManifest
Constructor Summary |
JarSignatureFile(java.lang.String name,
long size,
java.io.InputStream stream)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manifestdigests
private java.util.Hashtable manifestdigests
JarSignatureFile
public JarSignatureFile(java.lang.String name,
long size,
java.io.InputStream stream)
- Constructor
- Parameters:
name
- The fill path name to the signature file.size
- The size of the signature file.stream
- The input stream for this signature file.
parseManifestDigests
private void parseManifestDigests()
getManifestDigest
public java.lang.String getManifestDigest(java.lang.String digestID)
- Returns the digest for the manifest file.
NOTE: You have to specify the full digest string in the parameter digestID. This
String is used to find the digest for the manifest file.
- Parameters:
digestID
- Something like SHA1-Digest or MD5-Digest
- Returns:
- The digest for this file in a String format or null if file or digest were not found.
- See Also:
JarConstants
getManifestDigestList
public java.util.Vector getManifestDigestList()
getAlias
public java.lang.String getAlias()
- Returns the alias for this signature file.
- Returns:
- The Alias for this signature file or null if there was an error;