aboutsummaryrefslogtreecommitdiff
path: root/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-20 13:29:15 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-20 13:29:15 +0200
commitb0cf8379d8ed1c7855daeba900c45421fb9b7933 (patch)
treed1b7759c74b77cc3b3b4aa62fa549a71a31176f8 /signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas
parentc68914663440c9f7c0808d965b901acf5df0194d (diff)
downloadpdf-as-4-b0cf8379d8ed1c7855daeba900c45421fb9b7933.tar.gz
pdf-as-4-b0cf8379d8ed1c7855daeba900c45421fb9b7933.tar.bz2
pdf-as-4-b0cf8379d8ed1c7855daeba900c45421fb9b7933.zip
Removed some warnings
Diffstat (limited to 'signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas')
-rw-r--r--signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java b/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java
index a4ef703e..68d54cde 100644
--- a/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java
+++ b/signature-standards/sigs-pades/src/main/java/at/gv/egiz/pdfas/sigs/pades/PAdESVerifier.java
@@ -41,19 +41,13 @@ import at.gv.egiz.pdfas.lib.impl.verify.VerifyResultImpl;
public class PAdESVerifier implements IVerifyFilter, PAdESConstants {
+ @SuppressWarnings("unused")
private static final Logger logger = LoggerFactory
.getLogger(PAdESVerifier.class);
- private static final String MOA_VERIFY_URL = "moa.verify.url";
- private static final String MOA_VERIFY_TRUSTPROFILE = "moa.verify.TrustProfileID";
-
- private String moaEndpoint;
- private String moaTrustProfile;
-
public PAdESVerifier() {
}
- @SuppressWarnings("rawtypes")
public List<VerifyResult> verify(byte[] contentData,
byte[] signatureContent, Date verificationTime, int[] byteRange, IVerifier verifier)
throws PdfAsException {
@@ -78,8 +72,7 @@ public class PAdESVerifier implements IVerifyFilter, PAdESConstants {
}
public void setConfiguration(Configuration config) {
- this.moaEndpoint = config.getValue(MOA_VERIFY_URL);
- this.moaTrustProfile = config.getValue(MOA_VERIFY_TRUSTPROFILE);
+ // NOP
}
}