From c8abbd8bef5349ab892a2853a4e5e3d5ed16b670 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Tue, 12 May 2026 15:33:19 +0200 Subject: Update docs & various fixes discovered in the process (#86) - update documentation for pdf-as 5 - document the v2 json api - fix a number of documentation quirks - document `keyId` parameter - px (pixels) -> pt (pdf page units) - document --verify_level - remove a number of documented features that were never implemented: - `adobeSignFieldValue` and `sigLogoAltText` from signature profiles - `UNDERLINE` and `STRIKETHRU` from fonts - `num-bytes` parameter - `verify_only`/`sign_only` enable states for profiles - update mobile BKU base URL - update pdfbox backend default to 3 in sample configurations - consistently made boolean parsing from configuration files case permissive - add moa verification timeout - add support for BOLDITALIC to all base fonts, and for ITALIC to helvetica and courier - fix a number of small quirks - hibernate properties are now reloaded properly - fix the signature block parameter key regex - v1 json api now correctly checks for onlinebku/mobilebku being enabled - pdfbox 2 module correctly compares for integer equality regardless of cached boxed ints - test operationcountwatcher no longer sometimes breaks due to spring context differences --- .../config/pdfas/cfg/advancedconfig.properties | 6 +- .../config/pdfas/cfg/advancedconfig.properties~ | 83 ---------------------- .../resources/config/pdfas/cfg/config.properties | 2 +- .../config/pdfas/cfg/config.properties_backup | 4 +- .../cfg/profiles/AMTSSIGNATURBLOCK_BASE.properties | 2 - .../profiles/AMTSSIGNATURBLOCK_BASE_EN.properties | 2 - .../cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties | 5 -- .../cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties | 4 -- .../pdfas/cfg/profiles/BASE_MINIMAL.properties | 4 -- .../pdfas/cfg/profiles/BASE_MINIMAL_EN.properties | 3 - .../pdfas/cfg/profiles/BASE_NORMAL.properties | 16 +---- .../pdfas/cfg/profiles/BASE_NORMAL_EN.properties | 3 - .../pdfas/cfg/profiles/BASE_SMALL_EN.properties | 3 - .../config/pdfas/cfg/profiles/INVISIBLE.properties | 1 - .../profiles_bkp/AMTSSIGNATURBLOCK_BASE.properties | 2 - .../AMTSSIGNATURBLOCK_BASE_EN.properties | 2 - .../profiles_bkp/BAIK_ARCHIV_SIGNATUR.properties | 5 -- .../profiles_bkp/BAIK_URKUNDE_SIGNATUR.properties | 4 -- .../pdfas/cfg/profiles_bkp/BASE_MINIMAL.properties | 4 -- .../cfg/profiles_bkp/BASE_MINIMAL_EN.properties | 3 - .../pdfas/cfg/profiles_bkp/BASE_NORMAL.properties | 16 +---- .../cfg/profiles_bkp/BASE_NORMAL_EN.properties | 3 - .../cfg/profiles_bkp/BASE_SMALL_EN.properties | 3 - .../pdfas/cfg/profiles_bkp/INVISIBLE.properties | 1 - .../pdfas/pdf-as-web-verify-disabled.properties | 7 +- .../resources/config/pdfas/pdf-as-web.properties | 6 +- 26 files changed, 11 insertions(+), 183 deletions(-) delete mode 100644 pdf-as-web/src/test/resources/config/pdfas/cfg/advancedconfig.properties~ (limited to 'pdf-as-web/src/test/resources') diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/advancedconfig.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/advancedconfig.properties index 858b652f..7c5cc58d 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/advancedconfig.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/advancedconfig.properties @@ -91,10 +91,6 @@ #default.verifyURL=http://www.signaturpruefung.gv.at -# Standard Alternativer Text fuer den Signaturblock (WAI) (globale Einstellung) - -#default.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. - #register Verificators default.verifier.01=at.gv.egiz.pdfas.sigs.pades.PAdESVerifier @@ -104,7 +100,7 @@ default.verifier.01=at.gv.egiz.pdfas.sigs.pades.PAdESVerifier #Enable background color detection #sigblock.placement.bgcolor.detection.enabled=true #sigblock.placement.debug.file=/home/user/temp/debugImg.png -#runtime.backend=PDFBOX_2_BACKEND +#runtime.backend=PDFBOX_3_BACKEND ################## # Protect PDF files from copying and extractiong content diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/advancedconfig.properties~ b/pdf-as-web/src/test/resources/config/pdfas/cfg/advancedconfig.properties~ deleted file mode 100644 index 02ed4fbe..00000000 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/advancedconfig.properties~ +++ /dev/null @@ -1,83 +0,0 @@ -###################################################################### -# Fortgeschrittene PDF-AS Konfiguration -# -# Hier koennen fortgeschrittene Einstellungen getaetigt werden. -# Die hier angefuehrten Eigenschaften werden grundsaetzlich durch die -# interne Standard-Konfiguration abgedeckt und sind deshalb hier -# lediglich als Kommentare ausgefuehrt. Die Werte entsprechen jenen -# der Standard-Konfiguration. -# Diese Konfiguration muss in config.properties via include- -# Instruktion eingebunden werden: -# include.advancedconfig = advancedconfig.properties -##################################################################### - -# Aktiviert, oder deaktiviert grundsaetzlich das - potenziell zeit- und ressourcen-aufwaendige -# Suchen nach Platzhalter-Bildern in PDF-Dokumenten -# Festlegung fuer einzelnes Profil -# sig_obj.PROFILE.enable_placeholder_search=[true|false] -# Die Suche ist standardmaessig aus Sicherheitsgruenden deaktiviert (Defaultwert hier = false) -# Es muss bewusst sein, dass ueber einen Platzhalter benutzerseitig bestimmte Profile zur Signatur -# ausgewaehlt werden koennen! - -#enable_placeholder_search=true - -################## -# Signaturdienste - - -## Lokale BKU - -#bku.available_for_web=true -#bku.available_for_commandline=true -#bku.sign.KeyboxIdentifier=SecureSignatureKeypair - - -## Online BKU (MOCCA) - -#moc.available_for_web=true -#moc.available_for_commandline=false -#moc.sign.KeyboxIdentifier=SecureSignatureKeypair - - -## Handy - -#mobile.sign.KeyboxIdentifier=SecureSignatureKeypair -#mobiletest.sign.KeyboxIdentifier=SecureSignatureKeypair - - -## MOA - -#moa.available_for_web=true -#moa.available_for_commandline=true - -# MOA Detached Signieren aus Konsole moeglich - zurzeit moeglich nur mit BKU - -#moa.sign.console.detached.enabled=false - -# PDF/A-1b Unterstuetzung fuer alle Profile einschalten - -#default.SIG_PDFA1B_VALID=false - - -# BAIK-Signatur Unterstuetzung fuer alle Profile einschalten - -#default.SIG_BAIK_ENABLED=false - -# Standardwert fuer "Reason"-Feld der jeweiligen Signatur - -#default.adobeSignReasonValue=Informationen zur Pr\u00FCfung finden Sie unter http://www.signaturpruefung.gv.at - - -# Standard Prueflink fuer die Adobe Signaturkennzeichnung (nur relevant falls Adobe Plugin fuer Pruefung verwendet wird) - -#default.verifyURL=http://www.signaturpruefung.gv.at - - -# Standard Alternativer Text fuer den Signaturblock (WAI) (globale Einstellung) - -#default.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. - -#register Verificators - -default.verifier.01=at.gv.egiz.pdfas.sigs.pkcs7detached.PKCS7DetachedVerifier -default.verifier.02=at.gv.egiz.pdfas.sigs.pades.PAdESVerifier diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/config.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/config.properties index 42193ec5..128cb883 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/config.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/config.properties @@ -30,7 +30,7 @@ bku.verify.url=http://127.0.0.1:3495/http-security-layer-request ## # Handy-Signatur # Signaturservice URL -mobile.sign.url=https://www.handy-signatur.at/mobile/https-security-layer-request/default.aspx +mobile.sign.url=https://service.a-trust.at/mobile/https-security-layer-request/default.aspx ## # MOA Signatur diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/config.properties_backup b/pdf-as-web/src/test/resources/config/pdfas/cfg/config.properties_backup index ac894f19..7a58676b 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/config.properties_backup +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/config.properties_backup @@ -34,12 +34,12 @@ moc.sign.url=http://127.0.0.1:8080/bkuonline/http-security-layer-request ## # Handy-Signatur # Signaturservice URL -mobile.sign.url=https://www.handy-signatur.at/mobile/https-security-layer-request/default.aspx +mobile.sign.url=https://service.a-trust.at/mobile/https-security-layer-request/default.aspx ## # Handy Signatur (Test) # Signaturservice URL -mobiletest.sign.url=https://test1.a-trust.at/https-security-layer-request/default.aspx +mobiletest.sign.url=https://hs-abnahme.a-trust.at/mobile/https-security-layer-request/default.aspx ## # MOA Signatur diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/AMTSSIGNATURBLOCK_BASE.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/AMTSSIGNATURBLOCK_BASE.properties index cecd0fda..06f9073a 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/AMTSSIGNATURBLOCK_BASE.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/AMTSSIGNATURBLOCK_BASE.properties @@ -20,7 +20,5 @@ sig_obj.AMTSSIGNATURBLOCK_BASE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + sig_obj.AMTSSIGNATURBLOCK_BASE.value.SIG_NUMBER=${sn} sig_obj.AMTSSIGNATURBLOCK_BASE.pos=f:80 -sig_obj.AMTSSIGNATURBLOCK_BASE.adobeSignFieldValue=PDF-AS Signatur sig_obj.AMTSSIGNATURBLOCK_BASE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at sig_obj.AMTSSIGNATURBLOCK_BASE.verifyURL=http://www.signaturpruefung.gv.at -sig_obj.AMTSSIGNATURBLOCK_BASE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/AMTSSIGNATURBLOCK_BASE_EN.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/AMTSSIGNATURBLOCK_BASE_EN.properties index d2d2d7c5..b4fd1a0b 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/AMTSSIGNATURBLOCK_BASE_EN.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/AMTSSIGNATURBLOCK_BASE_EN.properties @@ -16,7 +16,5 @@ sig_obj.AMTSSIGNATURBLOCK_BASE_EN.value.SIG_META=Information about the verificat sig_obj.AMTSSIGNATURBLOCK_BASE_EN.value.SIG_LABEL=./images/amtsignatur-logo_demo.png sig_obj.AMTSSIGNATURBLOCK_BASE_EN.value.SIG_NOTE=This document was signed/sealed with an official signature. According to \u00a7 20 Austrian E-Government-Act a printout of this document is assumed to be authentic. -sig_obj.AMTSSIGNATURBLOCK_BASE_EN.adobeSignFieldValue=PDF-AS Signature sig_obj.AMTSSIGNATURBLOCK_BASE_EN.adobeSignReasonValue=Signature verification at: http://www.signature-verification.gv.at sig_obj.AMTSSIGNATURBLOCK_BASE_EN.verifyURL=http://www.signaturpruefung.gv.at -sig_obj.AMTSSIGNATURBLOCK_BASE_EN.sigLogoAltText=A standard signature logo is shown. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties index d8828ff6..e702c89f 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BAIK_ARCHIV_SIGNATUR.properties @@ -21,16 +21,11 @@ sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_META=Hinweis sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_TITLE=ELEKTRONISCHE ARCHIVSIGNATUR sig_obj.BAIK_ARCHIV_SIGNATUR.pos=f:80 -sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignFieldValue=ELEKTRONISCHE ARCHIVSIGNATUR - -# WAI -sig_obj.BAIK_ARCHIV_SIGNATUR.sigLogoAltText=Abgebildet ist eine Signaturbildmarke mit Bundesadler. sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_META=Dokumentenformat: ${iui.pdfVersion} sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_LABEL=./images/Baik_Archiv.gif sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_TITLE=ELEKTRONISCHE ARCHIVSIGNATUR -sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignFieldValue=Archivsignatur sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignText.binary=Archivsignatur der BAIK sig_obj.BAIK_ARCHIV_SIGNATUR.verifyURL=http://www.signaturpruefung.gv.at diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties index 875943ae..7c64bbea 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BAIK_URKUNDE_SIGNATUR.properties @@ -20,11 +20,7 @@ sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_KZ=Methode sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_META=Hinweis: sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_TITLE=ELEKTRONISCHE BEURKUNDUNGSSIGNATUR -# WAI -sig_obj.BAIK_URKUNDE_SIGNATUR.sigLogoAltText=Abgebildet ist die Signaturbildmarke eines staatlich befugten und beeideten Ziviltechnikers mit Bundesadler. - sig_obj.BAIK_URKUNDE_SIGNATUR.pos=f:80 -sig_obj.BAIK_URKUNDE_SIGNATUR.adobeSignFieldValue=Urkundensignatur sig_obj.BAIK_URKUNDE_SIGNATUR.adobeSignText.binary=Urkundensignatur der BAIK sig_obj.BAIK_URKUNDE_SIGNATUR.verifyURL=http://www.signaturpruefung.gv.at diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_MINIMAL.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_MINIMAL.properties index 76da2bfd..dd9b5d7c 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_MINIMAL.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_MINIMAL.properties @@ -7,7 +7,6 @@ sig_obj.BASE_MINIMAL.description=Minimalbasissignatur Deutsch sig_obj.BASE_MINIMAL.key.SIG_META=Pr\u00fcfinformation sig_obj.BASE_MINIMAL.pos=w:230.0;f:80 -sig_obj.BASE_MINIMAL.adobeSignFieldValue=PDF-AS Signatur sig_obj.BASE_MINIMAL.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at sig_obj.BASE_MINIMAL.verifyURL=http://www.signaturpruefung.gv.at @@ -15,9 +14,6 @@ sig_obj.BASE_MINIMAL.value.SIG_META=Informationen zur Pr\u00FCfung der elektroni sig_obj.BASE_MINIMAL.value.SIG_LABEL=./images/signatur-logo_de.png sig_obj.BASE_MINIMAL.table.main.Style.imagescaletofit=65.0;65.0 -# WAI -sig_obj.BASE_MINIMAL.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. - #---------------------- MAIN TABLE ------------------------- sig_obj.BASE_MINIMAL.table.main.1=SIG_LABEL-i sig_obj.BASE_MINIMAL.table.main.2=SIG_META-v diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_MINIMAL_EN.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_MINIMAL_EN.properties index 0a1871ef..7387dd3b 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_MINIMAL_EN.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_MINIMAL_EN.properties @@ -11,6 +11,3 @@ sig_obj.BASE_MINIMAL_EN.verifyURL=http://www.signature-verification.gv.at sig_obj.BASE_MINIMAL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at sig_obj.BASE_MINIMAL_EN.value.SIG_LABEL=./images/signatur-logo_en.png - -# WAI -sig_obj.BASE_MINIMAL_EN.sigLogoAltText=A standard signature logo is shown. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_NORMAL.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_NORMAL.properties index 36304b66..ad62f50f 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_NORMAL.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_NORMAL.properties @@ -6,10 +6,6 @@ sig_obj.BASE_NORMAL.description=Basissignatur Deutsch # Aktiviert ("on") bzw. deaktiviert ("off") dieses Profil. -# "verify_only" beschraenkt das Profil auf Signaturpruefung, d.h. es kann nicht zum Erstellen von -# Signaturen verwendet werden. -# "sign_only" beschraenkt das Profil insofern, dass es nur noch zum Signieren, nicht aber -# zum Pruefen verwendet werden kann. sig_obj.types.BASE_NORMAL=on # Festlegung der einzelner Bezeichnungen im Signaturblock. @@ -52,16 +48,12 @@ sig_obj.BASE_NORMAL.value.SIG_NOTE=Dieses mit einer qualifizierten elektronische # sig_obj.PROFILE.pos=p:1;x:40.0;y:800.0;w:400.0;f:80 sig_obj.BASE_NORMAL.pos=f:80 -sig_obj.BASE_NORMAL.adobeSignFieldValue=PDF-AS Signatur # Text, der im Adobe Reader unter "Reason" angezeigt wird. sig_obj.BASE_NORMAL.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at # URL fuer die Signaturpruefung durch das Adobe Acrobat Professional PDF-AS Plugin. #sig_obj.SIGNATURBLOCK_DE.verifyURL=http://www.signaturpruefung.gv.at -# WAI -sig_obj.BASE_NORMAL.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. - # Pruefhinweis im Signaturblock #sig_obj.SIGNATURBLOCK_DE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at @@ -107,7 +99,7 @@ sig_obj.BASE_NORMAL.table.main.Style.imagevalign=middle # # FACE: HELVETICA | TIMES_ROMAN | COURIER # WEIGHT: float value -# STYLE: NORMAL | BOLD | ITALIC | BOLDITALIC | UNDERLINE | STRIKETHRU +# STYLE: NORMAL | BOLD | ITALIC | BOLDITALIC # # z.B. sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL sig_obj.BASE_NORMAL.table.main.Style.font=HELVETICA,8,BOLD @@ -132,14 +124,8 @@ sig_obj.BASE_NORMAL.table.info.3=SIG_META-cv # Name fuer die Signaturkennzeichnung (binaer) # sig_obj.PROFILE.adobeSignText.textual=PDF-AS # -# Name fuer die PDF-Signatur -# sig_obj.PROFILE.adobeSignFieldValue=PDF-AS Signatur -# # "Reason"-Feld der jeweiligen Signatur # sig_obj.PROFILE.adobeSignReasonValue=Informationen zur Pr\u00FCfung finden Sie unter http://www.signaturpruefung.gv.at # # Prueflink fuer die Adobe Signaturkennzeichnung (nur relevant falls Adobe Plugin fuer Pruefung verwendet wird) # sig_obj.PROFILE.verifyURL=http://www.signaturpruefung.gv.at -# -# Alternativer Text fuer den Signaturblock (WAI) (globale Einstellung) -# sig_obj.PROFILE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_NORMAL_EN.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_NORMAL_EN.properties index 903ff7d7..dadd5ad7 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_NORMAL_EN.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_NORMAL_EN.properties @@ -26,6 +26,3 @@ sig_obj.BASE_NORMAL_EN.adobeSignReasonValue=Signature verification at http://www # URL fuer die Signaturpruefung durch das Adobe Acrobat Professional PDF-AS Plugin. sig_obj.BASE_NORMAL_EN.verifyURL=http://www.signature-verification.gv.at - -# WAI -sig_obj.BASE_NORMAL_EN.sigLogoAltText=A standard signature logo is shown. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_SMALL_EN.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_SMALL_EN.properties index 8c57d8b5..59c61e91 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_SMALL_EN.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/BASE_SMALL_EN.properties @@ -37,9 +37,6 @@ sig_obj.BASE_SMALL_EN.table.info.ColsWidth=1 2.7 #sig_obj.BASE_SMALL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/ #sig_obj.BASE_SMALL_EN.value.SIG_LABEL=./images/signatur-logo_en.png -# WAI -#sig_obj.BASE_SMALL_EN.sigLogoAltText=A standard signature logo is shown. - #---------------------- MAIN TABLE ------------------------- #sig_obj.BASE_SMALL_EN.table.main.ColsWidth=1 4.5 #sig_obj.BASE_SMALL_EN.table.main.Style.font=HELVETICA,5,BOLD diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/INVISIBLE.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/INVISIBLE.properties index b7193343..cc02928d 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/INVISIBLE.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles/INVISIBLE.properties @@ -5,7 +5,6 @@ sig_obj.INVISIBLE.description=Unsichtbarer Signaturblock sig_obj.types.INVISIBLE=on -sig_obj.INVISIBLE.adobeSignFieldValue=PDF-AS Signatur sig_obj.INVISIBLE.adobeSignReasonValue=Informationen zur Pr\u00fcfung finden Sie unter http://www.signaturpruefung.gv.at sig_obj.INVISIBLE.isvisible=false diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/AMTSSIGNATURBLOCK_BASE.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/AMTSSIGNATURBLOCK_BASE.properties index e77315c1..d1937dba 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/AMTSSIGNATURBLOCK_BASE.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/AMTSSIGNATURBLOCK_BASE.properties @@ -20,7 +20,5 @@ sig_obj.AMTSSIGNATURBLOCK_BASE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + sig_obj.AMTSSIGNATURBLOCK_BASE.value.SIG_NUMBER=${sn} sig_obj.AMTSSIGNATURBLOCK_BASE.pos=f:80 -sig_obj.AMTSSIGNATURBLOCK_BASE.adobeSignFieldValue=PDF-AS Signatur sig_obj.AMTSSIGNATURBLOCK_BASE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at sig_obj.AMTSSIGNATURBLOCK_BASE.verifyURL=http://www.signaturpruefung.gv.at -sig_obj.AMTSSIGNATURBLOCK_BASE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/AMTSSIGNATURBLOCK_BASE_EN.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/AMTSSIGNATURBLOCK_BASE_EN.properties index 2d1b8d9f..2fe91334 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/AMTSSIGNATURBLOCK_BASE_EN.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/AMTSSIGNATURBLOCK_BASE_EN.properties @@ -16,7 +16,5 @@ sig_obj.AMTSSIGNATURBLOCK_BASE_EN.value.SIG_META=Information about the verificat sig_obj.AMTSSIGNATURBLOCK_BASE_EN.value.SIG_LABEL=./images/amtsignatur-logo_demo.png sig_obj.AMTSSIGNATURBLOCK_BASE_EN.value.SIG_NOTE=This document was signed/sealed with an official signature. According to \u00a7 20 Austrian E-Government-Act a printout of this document is assumed to be authentic. -sig_obj.AMTSSIGNATURBLOCK_BASE_EN.adobeSignFieldValue=PDF-AS Signature sig_obj.AMTSSIGNATURBLOCK_BASE_EN.adobeSignReasonValue=Signature verification at: http://www.signature-verification.gv.at sig_obj.AMTSSIGNATURBLOCK_BASE_EN.verifyURL=http://www.signaturpruefung.gv.at -sig_obj.AMTSSIGNATURBLOCK_BASE_EN.sigLogoAltText=A standard signature logo is shown. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BAIK_ARCHIV_SIGNATUR.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BAIK_ARCHIV_SIGNATUR.properties index d8828ff6..e702c89f 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BAIK_ARCHIV_SIGNATUR.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BAIK_ARCHIV_SIGNATUR.properties @@ -21,16 +21,11 @@ sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_META=Hinweis sig_obj.BAIK_ARCHIV_SIGNATUR.key.SIG_TITLE=ELEKTRONISCHE ARCHIVSIGNATUR sig_obj.BAIK_ARCHIV_SIGNATUR.pos=f:80 -sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignFieldValue=ELEKTRONISCHE ARCHIVSIGNATUR - -# WAI -sig_obj.BAIK_ARCHIV_SIGNATUR.sigLogoAltText=Abgebildet ist eine Signaturbildmarke mit Bundesadler. sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_META=Dokumentenformat: ${iui.pdfVersion} sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_LABEL=./images/Baik_Archiv.gif sig_obj.BAIK_ARCHIV_SIGNATUR.value.SIG_TITLE=ELEKTRONISCHE ARCHIVSIGNATUR -sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignFieldValue=Archivsignatur sig_obj.BAIK_ARCHIV_SIGNATUR.adobeSignText.binary=Archivsignatur der BAIK sig_obj.BAIK_ARCHIV_SIGNATUR.verifyURL=http://www.signaturpruefung.gv.at diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BAIK_URKUNDE_SIGNATUR.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BAIK_URKUNDE_SIGNATUR.properties index 875943ae..7c64bbea 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BAIK_URKUNDE_SIGNATUR.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BAIK_URKUNDE_SIGNATUR.properties @@ -20,11 +20,7 @@ sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_KZ=Methode sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_META=Hinweis: sig_obj.BAIK_URKUNDE_SIGNATUR.key.SIG_TITLE=ELEKTRONISCHE BEURKUNDUNGSSIGNATUR -# WAI -sig_obj.BAIK_URKUNDE_SIGNATUR.sigLogoAltText=Abgebildet ist die Signaturbildmarke eines staatlich befugten und beeideten Ziviltechnikers mit Bundesadler. - sig_obj.BAIK_URKUNDE_SIGNATUR.pos=f:80 -sig_obj.BAIK_URKUNDE_SIGNATUR.adobeSignFieldValue=Urkundensignatur sig_obj.BAIK_URKUNDE_SIGNATUR.adobeSignText.binary=Urkundensignatur der BAIK sig_obj.BAIK_URKUNDE_SIGNATUR.verifyURL=http://www.signaturpruefung.gv.at diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_MINIMAL.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_MINIMAL.properties index 76da2bfd..dd9b5d7c 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_MINIMAL.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_MINIMAL.properties @@ -7,7 +7,6 @@ sig_obj.BASE_MINIMAL.description=Minimalbasissignatur Deutsch sig_obj.BASE_MINIMAL.key.SIG_META=Pr\u00fcfinformation sig_obj.BASE_MINIMAL.pos=w:230.0;f:80 -sig_obj.BASE_MINIMAL.adobeSignFieldValue=PDF-AS Signatur sig_obj.BASE_MINIMAL.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at sig_obj.BASE_MINIMAL.verifyURL=http://www.signaturpruefung.gv.at @@ -15,9 +14,6 @@ sig_obj.BASE_MINIMAL.value.SIG_META=Informationen zur Pr\u00FCfung der elektroni sig_obj.BASE_MINIMAL.value.SIG_LABEL=./images/signatur-logo_de.png sig_obj.BASE_MINIMAL.table.main.Style.imagescaletofit=65.0;65.0 -# WAI -sig_obj.BASE_MINIMAL.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. - #---------------------- MAIN TABLE ------------------------- sig_obj.BASE_MINIMAL.table.main.1=SIG_LABEL-i sig_obj.BASE_MINIMAL.table.main.2=SIG_META-v diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_MINIMAL_EN.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_MINIMAL_EN.properties index 0a1871ef..7387dd3b 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_MINIMAL_EN.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_MINIMAL_EN.properties @@ -11,6 +11,3 @@ sig_obj.BASE_MINIMAL_EN.verifyURL=http://www.signature-verification.gv.at sig_obj.BASE_MINIMAL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at sig_obj.BASE_MINIMAL_EN.value.SIG_LABEL=./images/signatur-logo_en.png - -# WAI -sig_obj.BASE_MINIMAL_EN.sigLogoAltText=A standard signature logo is shown. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_NORMAL.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_NORMAL.properties index 36304b66..ad62f50f 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_NORMAL.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_NORMAL.properties @@ -6,10 +6,6 @@ sig_obj.BASE_NORMAL.description=Basissignatur Deutsch # Aktiviert ("on") bzw. deaktiviert ("off") dieses Profil. -# "verify_only" beschraenkt das Profil auf Signaturpruefung, d.h. es kann nicht zum Erstellen von -# Signaturen verwendet werden. -# "sign_only" beschraenkt das Profil insofern, dass es nur noch zum Signieren, nicht aber -# zum Pruefen verwendet werden kann. sig_obj.types.BASE_NORMAL=on # Festlegung der einzelner Bezeichnungen im Signaturblock. @@ -52,16 +48,12 @@ sig_obj.BASE_NORMAL.value.SIG_NOTE=Dieses mit einer qualifizierten elektronische # sig_obj.PROFILE.pos=p:1;x:40.0;y:800.0;w:400.0;f:80 sig_obj.BASE_NORMAL.pos=f:80 -sig_obj.BASE_NORMAL.adobeSignFieldValue=PDF-AS Signatur # Text, der im Adobe Reader unter "Reason" angezeigt wird. sig_obj.BASE_NORMAL.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at # URL fuer die Signaturpruefung durch das Adobe Acrobat Professional PDF-AS Plugin. #sig_obj.SIGNATURBLOCK_DE.verifyURL=http://www.signaturpruefung.gv.at -# WAI -sig_obj.BASE_NORMAL.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. - # Pruefhinweis im Signaturblock #sig_obj.SIGNATURBLOCK_DE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at @@ -107,7 +99,7 @@ sig_obj.BASE_NORMAL.table.main.Style.imagevalign=middle # # FACE: HELVETICA | TIMES_ROMAN | COURIER # WEIGHT: float value -# STYLE: NORMAL | BOLD | ITALIC | BOLDITALIC | UNDERLINE | STRIKETHRU +# STYLE: NORMAL | BOLD | ITALIC | BOLDITALIC # # z.B. sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL sig_obj.BASE_NORMAL.table.main.Style.font=HELVETICA,8,BOLD @@ -132,14 +124,8 @@ sig_obj.BASE_NORMAL.table.info.3=SIG_META-cv # Name fuer die Signaturkennzeichnung (binaer) # sig_obj.PROFILE.adobeSignText.textual=PDF-AS # -# Name fuer die PDF-Signatur -# sig_obj.PROFILE.adobeSignFieldValue=PDF-AS Signatur -# # "Reason"-Feld der jeweiligen Signatur # sig_obj.PROFILE.adobeSignReasonValue=Informationen zur Pr\u00FCfung finden Sie unter http://www.signaturpruefung.gv.at # # Prueflink fuer die Adobe Signaturkennzeichnung (nur relevant falls Adobe Plugin fuer Pruefung verwendet wird) # sig_obj.PROFILE.verifyURL=http://www.signaturpruefung.gv.at -# -# Alternativer Text fuer den Signaturblock (WAI) (globale Einstellung) -# sig_obj.PROFILE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_NORMAL_EN.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_NORMAL_EN.properties index 903ff7d7..dadd5ad7 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_NORMAL_EN.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_NORMAL_EN.properties @@ -26,6 +26,3 @@ sig_obj.BASE_NORMAL_EN.adobeSignReasonValue=Signature verification at http://www # URL fuer die Signaturpruefung durch das Adobe Acrobat Professional PDF-AS Plugin. sig_obj.BASE_NORMAL_EN.verifyURL=http://www.signature-verification.gv.at - -# WAI -sig_obj.BASE_NORMAL_EN.sigLogoAltText=A standard signature logo is shown. diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_SMALL_EN.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_SMALL_EN.properties index 8c57d8b5..59c61e91 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_SMALL_EN.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/BASE_SMALL_EN.properties @@ -37,9 +37,6 @@ sig_obj.BASE_SMALL_EN.table.info.ColsWidth=1 2.7 #sig_obj.BASE_SMALL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/ #sig_obj.BASE_SMALL_EN.value.SIG_LABEL=./images/signatur-logo_en.png -# WAI -#sig_obj.BASE_SMALL_EN.sigLogoAltText=A standard signature logo is shown. - #---------------------- MAIN TABLE ------------------------- #sig_obj.BASE_SMALL_EN.table.main.ColsWidth=1 4.5 #sig_obj.BASE_SMALL_EN.table.main.Style.font=HELVETICA,5,BOLD diff --git a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/INVISIBLE.properties b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/INVISIBLE.properties index b7193343..cc02928d 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/INVISIBLE.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/cfg/profiles_bkp/INVISIBLE.properties @@ -5,7 +5,6 @@ sig_obj.INVISIBLE.description=Unsichtbarer Signaturblock sig_obj.types.INVISIBLE=on -sig_obj.INVISIBLE.adobeSignFieldValue=PDF-AS Signatur sig_obj.INVISIBLE.adobeSignReasonValue=Informationen zur Pr\u00fcfung finden Sie unter http://www.signaturpruefung.gv.at sig_obj.INVISIBLE.isvisible=false diff --git a/pdf-as-web/src/test/resources/config/pdfas/pdf-as-web-verify-disabled.properties b/pdf-as-web/src/test/resources/config/pdfas/pdf-as-web-verify-disabled.properties index 168af5e9..149e4338 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/pdf-as-web-verify-disabled.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/pdf-as-web-verify-disabled.properties @@ -12,9 +12,8 @@ bku.local.url=http://127.0.0.1:3495/http-security-layer-request bku.online.url=https://demo.egiz.gv.at/bkuonline/http-security-layer-request -#bku.mobile.url=https://www.handy-signatur.at/mobile/https-security-layer-request/default.aspx -#bku.mobile.url=https://test1.a-trust.at/mobile/https-security-layer-request/Default.aspx -bku.mobile.url=https://www.a-trust.at/mobile/https-security-layer-request/default.aspx +#bku.mobile.url=https://hs-abnahme.a-trust.at/mobile/https-security-layer-request/default.aspx +bku.mobile.url=https://service.a-trust.at/mobile/https-security-layer-request/default.aspx sl20.sign.enabled=true sl20.mobile.url=http://localhost:7080/vda/services/getCertificate @@ -33,7 +32,7 @@ sl20.debug.signed.result.required=false sl20.debug.encryption.enabled=false sl20.debug.encryption.required=false -runtime.backend=PDFBOX_2_BACKEND +runtime.backend=PDFBOX_3_BACKEND qr.placeholder.generator.enabled=true diff --git a/pdf-as-web/src/test/resources/config/pdfas/pdf-as-web.properties b/pdf-as-web/src/test/resources/config/pdfas/pdf-as-web.properties index b25818ca..78969371 100644 --- a/pdf-as-web/src/test/resources/config/pdfas/pdf-as-web.properties +++ b/pdf-as-web/src/test/resources/config/pdfas/pdf-as-web.properties @@ -12,9 +12,7 @@ bku.local.url=http://127.0.0.1:3495/http-security-layer-request bku.online.url=https://demo.egiz.gv.at/bkuonline/http-security-layer-request -#bku.mobile.url=https://www.handy-signatur.at/mobile/https-security-layer-request/default.aspx -#bku.mobile.url=https://test1.a-trust.at/mobile/https-security-layer-request/Default.aspx -bku.mobile.url=https://www.a-trust.at/mobile/https-security-layer-request/default.aspx +bku.mobile.url=https://service.a-trust.at/mobile/https-security-layer-request/default.aspx sl20.sign.enabled=true sl20.mobile.url=http://localhost:7080/vda/services/getCertificate @@ -33,7 +31,7 @@ sl20.debug.signed.result.required=false sl20.debug.encryption.enabled=false sl20.debug.encryption.required=false -runtime.backend=PDFBOX_2_BACKEND +runtime.backend=PDFBOX_3_BACKEND qr.placeholder.generator.enabled=true -- cgit v1.2.3