summaryrefslogtreecommitdiff
path: root/pdf-over-signer
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-signer')
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas4/pom.xml148
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4Signer.java2
2 files changed, 76 insertions, 74 deletions
diff --git a/pdf-over-signer/pdf-over-sigpdfas4/pom.xml b/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
index f297577b..04538aea 100644
--- a/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
+++ b/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
@@ -1,74 +1,74 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>pdf-over-signer</artifactId>
- <groupId>at.a-sit</groupId>
- <version>4.2.4-SNAPSHOT</version>
-<!-- <relativePath>..</relativePath> -->
- </parent>
- <artifactId>pdf-over-sigpdfas4</artifactId>
- <name>PDF-Over PDF-AS 4 Signer</name>
- <properties>
- <project.maindir>${project.basedir}/../..</project.maindir>
- <pdf-as.version>4.1.6</pdf-as.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>at.a-sit</groupId>
- <artifactId>pdf-over-signator</artifactId>
- <version>${project.parent.version}</version>
- </dependency>
- <dependency>
- <groupId>at.gv.egiz.pdfas</groupId>
- <artifactId>pdf-as-lib</artifactId>
- <version>${pdf-as.version}</version>
- </dependency>
- <dependency>
- <groupId>at.gv.egiz.pdfas</groupId>
- <artifactId>sigs-pades</artifactId>
- <version>${pdf-as.version}</version>
- </dependency>
- <dependency>
- <groupId>at.gv.egiz.pdfas</groupId>
- <artifactId>pdf-as-pdfbox-2</artifactId>
- <version>${pdf-as.version}</version>
- </dependency>
- <dependency>
- <groupId>iaik</groupId>
- <artifactId>iaik_jce_full_signed</artifactId>
- <version>5.5</version>
- </dependency>
- <dependency>
- <groupId>iaik</groupId>
- <artifactId>iaik_eccelerate</artifactId>
- <version>3.01</version>
- </dependency>
- <dependency>
- <groupId>iaik</groupId>
- <artifactId>iaik_cms</artifactId>
- <version>2.15</version>
- </dependency>
- <dependency>
- <groupId>iaik</groupId>
- <artifactId>iaik_eccelerate_cms</artifactId>
- <version>3.01</version>
- </dependency>
- <dependency>
- <groupId>at.a-sit</groupId>
- <artifactId>pdf-over-commons</artifactId>
- <version>4.2.4-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>EGIZ Repo</id>
- <name>EGIZ Internal Repository</name>
- <url>https://apps.egiz.gv.at/maven/</url>
- </repository>
- <repository>
- <id>local-repo</id>
- <url>file://${project.maindir}/repo</url>
- </repository>
- </repositories>
-</project>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>pdf-over-signer</artifactId>
+ <groupId>at.a-sit</groupId>
+ <version>4.2.4-SNAPSHOT</version>
+<!-- <relativePath>..</relativePath> -->
+ </parent>
+ <artifactId>pdf-over-sigpdfas4</artifactId>
+ <name>PDF-Over PDF-AS 4 Signer</name>
+ <properties>
+ <project.maindir>${project.basedir}/../..</project.maindir>
+ <pdf-as.version>4.1.6</pdf-as.version>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>at.a-sit</groupId>
+ <artifactId>pdf-over-signator</artifactId>
+ <version>${project.parent.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>at.gv.egiz.pdfas</groupId>
+ <artifactId>pdf-as-lib</artifactId>
+ <version>${pdf-as.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>at.gv.egiz.pdfas</groupId>
+ <artifactId>sigs-pades</artifactId>
+ <version>${pdf-as.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>at.gv.egiz.pdfas</groupId>
+ <artifactId>pdf-as-pdfbox-2</artifactId>
+ <version>${pdf-as.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>iaik</groupId>
+ <artifactId>iaik_jce_full_signed</artifactId>
+ <version>5.5</version>
+ </dependency>
+ <dependency>
+ <groupId>iaik</groupId>
+ <artifactId>iaik_eccelerate</artifactId>
+ <version>3.01</version>
+ </dependency>
+ <dependency>
+ <groupId>iaik</groupId>
+ <artifactId>iaik_cms</artifactId>
+ <version>2.15</version>
+ </dependency>
+ <dependency>
+ <groupId>iaik</groupId>
+ <artifactId>iaik_eccelerate_cms</artifactId>
+ <version>3.01</version>
+ </dependency>
+ <dependency>
+ <groupId>at.a-sit</groupId>
+ <artifactId>pdf-over-commons</artifactId>
+ <version>4.2.4-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ <repositories>
+ <repository>
+ <id>EGIZ Maven</id>
+ <name>EGIZ Maven Repository</name>
+ <url>https://apps.egiz.gv.at/maven/</url>
+ </repository>
+ <repository>
+ <id>local-repo</id>
+ <url>file://${project.maindir}/repo</url>
+ </repository>
+ </repositories>
+</project>
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 67a8fe7f..a1934cb2 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
@@ -94,6 +94,8 @@ public class PdfAs4Signer implements Signer {
+
+
state.setSignParameter(param);
state.setOutput(output);
return state;