diff options
Diffstat (limited to 'src/main/java/at/knowcenter')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/framework/signators/TextualSignator_1_0_0.java | 14 |
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);
|