diff options
author | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2020-11-12 09:54:44 +0100 |
---|---|---|
committer | Andreas Abraham <andreas.abraham@egiz.gv.at> | 2020-11-12 09:54:44 +0100 |
commit | a50acb0863935747edbf1ebccf000d28822dc2db (patch) | |
tree | ef1526c093c15646e24748dc6f07ed36f51b4862 /pdf-over-signer/pdf-over-sigpdfas4/src/main/java | |
parent | 0b920b2d10e7844f4ba2f02e0191438808d8d4e0 (diff) | |
download | pdf-over-a50acb0863935747edbf1ebccf000d28822dc2db.tar.gz pdf-over-a50acb0863935747edbf1ebccf000d28822dc2db.tar.bz2 pdf-over-a50acb0863935747edbf1ebccf000d28822dc2db.zip |
settings
Diffstat (limited to 'pdf-over-signer/pdf-over-sigpdfas4/src/main/java')
2 files changed, 4 insertions, 0 deletions
diff --git a/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java b/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java index 679e1e0e..38a2bc8f 100644 --- a/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java +++ b/pdf-over-signer/pdf-over-sigpdfas4/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4SignatureParameter.java @@ -26,6 +26,7 @@ import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; + import at.asit.pdfover.signator.SignatureDimension; import at.asit.pdfover.signator.SignatureParameter; import at.asit.pdfover.signator.SignaturePosition; @@ -163,6 +164,7 @@ public class PdfAs4SignatureParameter extends SignatureParameter { String lang = getSignatureLanguage(); boolean useNote = (getProperty("SIG_NOTE") != null); boolean usePdfACompat = (getSignaturePdfACompat()); + String profile = getProperty("SIGNATURE_PROFILE"); //Add Signature Param here// String profileId; 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 c7dba85f..a729f65b 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 @@ -90,6 +90,8 @@ public class PdfAs4Signer implements Signer { param.getConfiguration().setValue(IConfigurationConstants.PLACEHOLDER_MODE, "3"); param.getConfiguration().setValue(IConfigurationConstants.PLACEHOLDER_SEARCH_ENABLED, IConfigurationConstants.TRUE); } + + state.setSignParameter(param); state.setOutput(output); |