From 95f6c6fe321d33dc8fa9e18c7d96bd9b21ef10cc Mon Sep 17 00:00:00 2001 From: tknall Date: Wed, 14 Jan 2009 11:39:31 +0000 Subject: Switching to itext-2.1.5-rev3628. itext library: minor adjustments for pdf-as Adding new error code (103) for invalid pdfa/1b font configuration. Minor updates for PDF/A support. Support for local MOCCA CCS added. Multi language for web application. Encoding issue for web application fixed by implementing an EncodingFilter. Dynamic sign upload form implemented. Order of input fields for dynamic upload form changed. MOCCA logo added to sign upload form. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@319 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- work/cfg/config.properties | 66 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 61 insertions(+), 5 deletions(-) (limited to 'work/cfg/config.properties') diff --git a/work/cfg/config.properties b/work/cfg/config.properties index 765a548..9bcf39a 100644 --- a/work/cfg/config.properties +++ b/work/cfg/config.properties @@ -120,7 +120,7 @@ moc.available_for_web=true moc.available_for_commandline=false # MOCCA signature -moc.sign.url=http://127.0.0.1:3495/bkuonline/http-security-layer-request +moc.sign.url=http://127.0.0.1:8080/bkuonline/http-security-layer-request moc.sign.KeyboxIdentifier=SecureSignatureKeypair # default MOCCA signature template moc.sign.request.detached=./templates/default.moc.sign.detached.xml @@ -210,6 +210,7 @@ sig_obj.types.SIGNATURBLOCK_DE=on sig_obj.types.SIGNATURBLOCK_EN=on sig_obj.types.SIGNATURBLOCK_MINIMAL_DE=on sig_obj.types.SIGNATURBLOCK_MINIMAL_EN=on +sig_obj.types.SIGNATURBLOCK_DE-PDFA=on ############################################# @@ -230,9 +231,11 @@ defaults.phlength.certificate=10000 # per profile: sig_obj.PROFILE.phlength.line_break_tolerance=xyz defaults.phlength.line_break_tolerance=10 +# enable/disable PDF/A1b support for all profiles +default.SIG_PDFA1B_VALID=false #absolute positioning -#sig_obj.PROFIL.pos=p:1;x:40.0;y:800.0;w:400.0 +#sig_obj.PROFIL.pos=p:1;x:40.0;y:800.0;w:400.0;f:80 # font definition: face,height,weight # default_font: HELVETICA,8,NORMAL @@ -256,6 +259,8 @@ sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_ID=Parameter sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_META=Prüfinformation sig_obj.AMTSSIGNATURBLOCK_DE.key.SIG_NOTE=Hinweis +sig_obj.AMTSSIGNATURBLOCK_DE.pos=f:80 + sig_obj.AMTSSIGNATURBLOCK_DE.value.SIG_SUBJECT=Max Mustermann sig_obj.AMTSSIGNATURBLOCK_DE.value.SIG_META=Informationen zur Prüfung der elektronischen Signatur und des Ausdrucks finden Sie unter: https://www.buergerkarte.at/signature-verification sig_obj.AMTSSIGNATURBLOCK_DE.value.SIG_LABEL=./images/signatur-logo_de.png @@ -301,6 +306,8 @@ sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_ID=Parameter sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_META=Verification sig_obj.AMTSSIGNATURBLOCK_EN.key.SIG_NOTE=Note +sig_obj.AMTSSIGNATURBLOCK_EN.pos=f:80 + sig_obj.AMTSSIGNATURBLOCK_EN.value.SIG_SUBJECT=Max Mustermann sig_obj.AMTSSIGNATURBLOCK_EN.value.SIG_META=Information about the verification of the electronic signature and of the printout can be found at: https://www.buergerkarte.at/signature-verification sig_obj.AMTSSIGNATURBLOCK_EN.value.SIG_LABEL=./images/signatur-logo_en.png @@ -345,6 +352,8 @@ sig_obj.SIGNATURBLOCK_DE.key.SIG_KZ=Methode sig_obj.SIGNATURBLOCK_DE.key.SIG_ID=Parameter sig_obj.SIGNATURBLOCK_DE.key.SIG_META=Prüfinformation +sig_obj.SIGNATURBLOCK_DE.pos=f:80 + sig_obj.SIGNATURBLOCK_DE.value.SIG_META=Informationen zur Prüfung der elektronischen Signatur und des Ausdrucks finden Sie unter: https://www.buergerkarte.at/signature-verification sig_obj.SIGNATURBLOCK_DE.value.SIG_LABEL=./images/signatur-logo_de.png @@ -372,6 +381,52 @@ sig_obj.SIGNATURBLOCK_DE.table.info.5=SIG_KZ-cv sig_obj.SIGNATURBLOCK_DE.table.info.6=SIG_ID-cv +################################################################################################### +# PROFIL: Signaturblock (Deutsch) mit PDF/A-Support + +sig_obj.SIGNATURBLOCK_DE-PDFA.description=Standardsignatur Deutsch (PDF/A1b) + +# enable/disable PDF/A1b support for this profile +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_PDFA1B_VALID=true + +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_VALUE=Signaturwert +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_NAME=Unterzeichner +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_DATE=Datum/Zeit-UTC +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_ISSUER=Aussteller-Zertifikat +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_NUMBER=Serien-Nr. +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_KZ=Methode +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_ID=Parameter +sig_obj.SIGNATURBLOCK_DE-PDFA.key.SIG_META=Prüfinformation + +sig_obj.SIGNATURBLOCK_DE-PDFA.pos=f:80 + +sig_obj.SIGNATURBLOCK_DE-PDFA.value.SIG_META=Informationen zur Prüfung der elektronischen Signatur und des Ausdrucks finden Sie unter: https://www.buergerkarte.at/signature-verification +sig_obj.SIGNATURBLOCK_DE-PDFA.value.SIG_LABEL=./images/signatur-logo_de.png + +#---------------------- MAIN TABLE ------------------------- +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.1=SIG_VALUE-cv +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.2=SIG_LABEL-i|TABLE-info +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.3=SIG_META-cv + +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.ColsWidth=1 5 +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.Style.bgcolor=255 255 255 +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.Style.padding=3 +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.Style.border=0.1 +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.Style.halign=left +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.Style.valign=middle +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.Style.font=TTF:DejaVuSansCondensed.ttf,8 +sig_obj.SIGNATURBLOCK_DE-PDFA.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8 + +#---------------------- INFO TABLE ------------------------- +sig_obj.SIGNATURBLOCK_DE-PDFA.table.info.ColsWidth=1 4 +sig_obj.SIGNATURBLOCK_DE-PDFA.table.info.1=SIG_NAME-cv +sig_obj.SIGNATURBLOCK_DE-PDFA.table.info.2=SIG_DATE-cv +sig_obj.SIGNATURBLOCK_DE-PDFA.table.info.3=SIG_ISSUER-cv +sig_obj.SIGNATURBLOCK_DE-PDFA.table.info.4=SIG_NUMBER-cv +sig_obj.SIGNATURBLOCK_DE-PDFA.table.info.5=SIG_KZ-cv +sig_obj.SIGNATURBLOCK_DE-PDFA.table.info.6=SIG_ID-cv + + ################################################################################################### # PROFIL: minimaler Signaturblock (Deutsch) @@ -381,7 +436,7 @@ sig_obj.SIGNATURBLOCK_MINIMAL_DE.key.SIG_META=Pr sig_obj.SIGNATURBLOCK_MINIMAL_DE.value.SIG_META=Informationen zur Prüfung der elektronischen Signatur und des Ausdrucks finden Sie unter:\nhttps://www.buergerkarte.at/signature-verification sig_obj.SIGNATURBLOCK_MINIMAL_DE.value.SIG_LABEL=./images/signatur-logo_de.png -sig_obj.SIGNATURBLOCK_MINIMAL_DE.pos=w:230.0 +sig_obj.SIGNATURBLOCK_MINIMAL_DE.pos=w:230.0;f:80 #---------------------- MAIN TABLE ------------------------- sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.1=SIG_LABEL-i @@ -409,7 +464,7 @@ sig_obj.SIGNATURBLOCK_MINIMAL_EN.key.SIG_META=Verification sig_obj.SIGNATURBLOCK_MINIMAL_EN.value.SIG_META=Information about the verification of the electronic signature and of the printout can be found at:\nhttps://www.buergerkarte.at/signature-verification sig_obj.SIGNATURBLOCK_MINIMAL_EN.value.SIG_LABEL=./images/signatur-logo_en.png -sig_obj.SIGNATURBLOCK_MINIMAL_EN.pos=w:230.0 +sig_obj.SIGNATURBLOCK_MINIMAL_EN.pos=w:230.0;f:80 #---------------------- MAIN TABLE ------------------------- sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.1=SIG_LABEL-i @@ -442,6 +497,8 @@ sig_obj.SIGNATURBLOCK_EN.key.SIG_KZ=Method sig_obj.SIGNATURBLOCK_EN.key.SIG_ID=Parameter sig_obj.SIGNATURBLOCK_EN.key.SIG_META=Verification +sig_obj.SIGNATURBLOCK_EN.pos=f:80 + sig_obj.SIGNATURBLOCK_EN.value.SIG_META=Information about the verification of the electronic signature and of the printout can be found at: https://www.buergerkarte.at/signature-verification sig_obj.SIGNATURBLOCK_EN.value.SIG_LABEL=./images/signatur-logo_en.png @@ -562,6 +619,5 @@ ldap_mapping.acert_government2.issuer_name=EMAIL=a-cert@a-cert.at,CN=A-CERT GOVE ldap_mapping.acert_government2.url=ldap://ldap.a-cert.at/ou=A-CERT GOVERNMENT 2,o=A-CERT,c=AT ldap_mapping.acert_government2.serial_attr=serialNumber - # end LDAP-Mappings ############################################# -- cgit v1.2.3