summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2021-01-28 16:04:38 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2021-01-28 16:04:38 +0100
commit6d2970cc0ce9ebd12fccd245a22205bf30719288 (patch)
treeacb154caf586a3d0f697ec966e3eabba4f0036ed
parent15b598d439908c2ab5fed6c606ead7c1f01ef2f5 (diff)
downloadpdf-over-6d2970cc0ce9ebd12fccd245a22205bf30719288.tar.gz
pdf-over-6d2970cc0ce9ebd12fccd245a22205bf30719288.tar.bz2
pdf-over-6d2970cc0ce9ebd12fccd245a22205bf30719288.zip
Updated PDF-AS version
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java6
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas4/pom.xml2
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java6
3 files changed, 5 insertions, 9 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
index eb1527e3..1d2dd85b 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
@@ -81,7 +81,7 @@ public class Constants {
* The minimum PDF-AS configuration version (older ones will be backed up
* and updated
*/
- public static final String MIN_PDF_AS_CONFIG_VERSION = "4.1.6"; //$NON-NLS-1$
+ public static final String MIN_PDF_AS_CONFIG_VERSION = "4.1.7"; //$NON-NLS-1$
/** The configuration backup filename */
public static final String PDF_AS_CONFIG_BACKUP_FILENAME = "cfg_backup"; //$NON-NLS-1$
@@ -94,8 +94,8 @@ public class Constants {
/** Default Mobile BKU URL */
//public static final String DEFAULT_MOBILE_BKU_URL = "https://test1.a-trust.at/mobile/https-security-layer-request/default.aspx";
- //public static final String DEFAULT_MOBILE_BKU_URL = "https://www.a-trust.at/mobile2/https-security-layer-request/default.aspx"; //$NON-NLS-1$
- public static final String DEFAULT_MOBILE_BKU_URL = "https://www.handy-signatur.at/mobile/https-security-layer-request/default.aspx"; //$NON-NLS-1$
+ //public static final String DEFAULT_MOBILE_BKU_URL = "https://hs-abnahme.a-trust.at/mobile/https-security-layer-request/default.aspx"; //$NON-NLS-1$
+ public static final String DEFAULT_MOBILE_BKU_URL = "https://www.a-trust.at/mobile/https-security-layer-request/default.aspx"; //$NON-NLS-1$
/** Default Mobile BKU type */
public static final MobileBKUs DEFAULT_MOBILE_BKU_TYPE = MobileBKUs.A_TRUST;
diff --git a/pdf-over-signer/pdf-over-sigpdfas4/pom.xml b/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
index c9492a00..1b26118f 100644
--- a/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
+++ b/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
@@ -10,7 +10,7 @@
<name>PDF-Over PDF-AS 4 Signer</name>
<properties>
<project.maindir>${project.basedir}/../..</project.maindir>
- <pdf-as.version>4.1.7-RC-0.0.1</pdf-as.version>
+ <pdf-as.version>4.1.7-RC-0.0.2</pdf-as.version>
</properties>
<dependencies>
<dependency>
diff --git a/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java b/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
index 1b045c64..5b7b83fb 100644
--- a/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
+++ b/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java
@@ -88,13 +88,9 @@ public class PdfAs4Signer implements Signer {
param.setTransactionId(id);
if (parameter.isSearchForPlaceholderSignatures()) {
- param.getConfiguration().setValue(IConfigurationConstants.PLACEHOLDER_MODE, "3");
+ param.getConfiguration().setValue(IConfigurationConstants.PLACEHOLDER_MODE, "1");
param.getConfiguration().setValue(IConfigurationConstants.PLACEHOLDER_SEARCH_ENABLED, IConfigurationConstants.TRUE);
}
-
-
-
-
state.setSignParameter(param);
state.setOutput(output);