From b3b0c865495a47730e91c3fa5340ebb62761078f Mon Sep 17 00:00:00 2001 From: tknall Date: Fri, 18 Jan 2008 14:43:54 +0000 Subject: 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 --- .../java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java/at/gv/egiz') 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 } /** -- cgit v1.2.3