aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-06-01 08:32:54 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-06-01 08:32:54 +0000
commitda3ee5b40063279bd652e9853e7b531a64f7aac8 (patch)
tree2d1a9c6bf60dff60817ffee686e0acad7d75753b /src/main/java
parent1495268e9525f8e2819f6e38cb462fa9ee36fb72 (diff)
downloadpdf-as-3-da3ee5b40063279bd652e9853e7b531a64f7aac8.tar.gz
pdf-as-3-da3ee5b40063279bd652e9853e7b531a64f7aac8.tar.bz2
pdf-as-3-da3ee5b40063279bd652e9853e7b531a64f7aac8.zip
solved the "SIG_NAME" fix
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@112 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java b/src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java
index f250b0d..7fe9e4f 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java
@@ -31,6 +31,7 @@ import at.knowcenter.wag.egov.egiz.pdf.PositioningInstruction;
import at.knowcenter.wag.egov.egiz.pdf.TablePos;
import at.knowcenter.wag.egov.egiz.sig.SignatureDataImpl;
import at.knowcenter.wag.egov.egiz.sig.SignatureObject;
+import at.knowcenter.wag.egov.egiz.sig.signatureobject.SignatureObjectHelper;
import com.lowagie.text.pdf.PdfPTable;
@@ -111,18 +112,7 @@ public class TextualSignator_1_0_0 implements Signator
iui.signed_signature_object.kz = getMyId().toString();
- SignatureObject so = new SignatureObject();
- so.setSigType(iui.signature_type);
- so.initByType();
- so.setSignationDate(iui.signed_signature_object.getDate());
- so.setSignationIssuer(iui.signed_signature_object.getIssuer());
- so.setSignationSerialNumber(iui.signed_signature_object.getSerialNumber());
- so.setSignationValue(iui.signed_signature_object.getSignatureValue());
- so.setSignationIDs(iui.signed_signature_object.getSigID());
- so.setKZ(getMyId());
-
- // fixed by tknall
- so.setSignationName(iui.signed_signature_object.getName());
+ SignatureObject so = SignatureObjectHelper.convertSignSignatureObjectToSignatureObject(iui.signed_signature_object, iui.signature_type);
PdfPTable pdf_table = PdfAS.createPdfPTableFromSignatureObject(so);