Modifier and Type | Field and Description |
---|---|
private File | |
private String | |
private static final int | |
private static final String | |
private static final String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if the file is signed.Implements org. true if the file exists and is signed with
the signature specified, or, if name wasn't
specified, if the file contains a signature.
|
public static boolean | |
private static String | |
public void | |
public void |
file | back to summary |
---|---|
private File file |
name | back to summary |
---|---|
private String name |
SHORT_SIG_LIMIT | back to summary |
---|---|
private static final int SHORT_SIG_LIMIT |
SIG_END | back to summary |
---|---|
private static final String SIG_END |
SIG_START | back to summary |
---|---|
private static final String SIG_START |
IsSigned | back to summary |
---|---|
public IsSigned() |
eval | back to summary |
---|---|
public boolean eval() Implements org. Returns
|
isSigned | back to summary |
---|---|
public static boolean isSigned(File zipFile, String name) throws IOException Returns
|
replaceInvalidChars | back to summary |
---|---|
private static String replaceInvalidChars(final String name) |
setFile | back to summary |
---|---|
public void setFile(File file) The jarfile that is to be tested for the presence of a signature.
|
setName | back to summary |
---|---|
public void setName(String name) The signature name to check jarfile for.
|