java.lang.Object | ||
↳ | java.util.zip.ZipEntry | |
↳ | java.util.jar.JarEntry |
Represents a single file in a JAR archive together with the manifest attributes and digital signatures associated with it.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.zip.ZipEntry
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
JarEntry named name.
| |||||||||||
Creates a new
JarEntry using the values obtained from entry.
| |||||||||||
Create a new
JarEntry using the values obtained from the
argument.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
Attributes object associated with this entry or
null if none exists.
| |||||||||||
Returns an array of
Certificate Objects associated with this
entry or null if none exists.
| |||||||||||
Returns the code signers for the digital signatures associated with the
JAR file.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.zip.ZipEntry
| |||||||||||
From class
java.lang.Object
|
Creates a new JarEntry
named name.
name | The name of the new JarEntry .
|
---|
Creates a new JarEntry
using the values obtained from entry.
entry | The ZipEntry to obtain values from. |
---|
Create a new JarEntry
using the values obtained from the
argument.
je | The JarEntry to obtain values from.
|
---|
Returns the Attributes
object associated with this entry or
null
if none exists.
Attributes
for this entry.IOException | If an error occurs obtaining the Attributes . |
---|
Returns an array of Certificate
Objects associated with this
entry or null
if none exists. Make sure that the everything is
read from the input stream before calling this method, or else the method
returns null
.
This method returns all the signers' unverified chains concatenated
together in one array. To know which certificates were tied to the
private keys that made the signatures on this entry, see
getCodeSigners()
instead.
Returns the code signers for the digital signatures associated with the
JAR file. If there is no such code signer, it returns null
. Make
sure that the everything is read from the input stream before calling
this method, or else the method returns null
.
Only the digital signature on the entry is cryptographically verified.
None of the certificates in the the CertPath
returned from
getSignerCertPath()
are verified and must be verified
by the caller if needed. See CertPathValidator
for more
information.