public class ZipValidator extends Object
http://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/HowToImplAProvider.html#VerifySigs
Constructor and Description |
---|
ZipValidator() |
Modifier and Type | Method and Description |
---|---|
String |
getSignaturePropertiesPath() |
void |
init() |
void |
setSignaturePropertiesPath(String signaturePropertiesPath) |
boolean |
validateZipFile(String filePath)
Validates a Zip file with the specified path.
|
public void init()
public boolean validateZipFile(String filePath) throws ZipValidationException
filePath
- - the path to the zip file to validateZipValidationException
public String getSignaturePropertiesPath()
public void setSignaturePropertiesPath(String signaturePropertiesPath)
This work is licensed under a Creative Commons Attribution 4.0 International License.