aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-01-18 14:43:54 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-01-18 14:43:54 +0000
commitb3b0c865495a47730e91c3fa5340ebb62761078f (patch)
tree0653761f17228dac13e1d4b7e3ca0d5bad27db12 /src/main/java
parent220139bdef8ec99c2bb8a3e0d1cfdb33b91dca89 (diff)
downloadpdf-as-3-b3b0c865495a47730e91c3fa5340ebb62761078f.tar.gz
pdf-as-3-b3b0c865495a47730e91c3fa5340ebb62761078f.tar.bz2
pdf-as-3-b3b0c865495a47730e91c3fa5340ebb62761078f.zip
bugfix concerning VerifyResultAdapter fixed (verificationtime=null -> verificationtime has to be set to signationtime)
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@246 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java b/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java
index d66097a..bf3f57b 100644
--- a/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java
+++ b/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java
@@ -41,6 +41,12 @@ public class VerifyResultAdapter extends SignatureInformationAdapter implements
super(sh);
this.sigRes = sigRes;
this.vTime = verificationTime;
+ // [tknall] start: missing time of verification fixed
+ if (this.vTime == null) {
+ // verification time not been set (= null) therefore signingtime equals verificationtime
+ this.vTime = super.getSigningTime();
+ }
+ // [tknall] stop: missing time of verification fixed
}
/**