diff options
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas')
-rw-r--r-- | src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java | 6 |
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
}
/**
|