summaryrefslogtreecommitdiff
path: root/pdf-over-signator/src/main/java/at/asit/pdfover/signator
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-signator/src/main/java/at/asit/pdfover/signator')
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java25
1 files changed, 23 insertions, 2 deletions
diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
index 7db164c6..8b08e3dd 100644
--- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
+++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java
@@ -36,12 +36,14 @@ public abstract class SignatureParameter {
/** The input document */
protected DocumentSource documentSource = null;
- /** holds the emblem */
+ /** Holds the emblem */
protected Emblem emblem;
+ /** Whether to use PDF/A compatibility */
+ protected boolean pdfACompat;
+
/** The signature device */
protected BKUs signatureDevice;
-
/**
* @return the signatureDevice
*/
@@ -96,6 +98,25 @@ public abstract class SignatureParameter {
}
/**
+ * Getter of the property <tt>signaturePdfACompat</tt>
+ *
+ * @return Returns the PDF/A compatibility setting.
+ */
+ public boolean getSignaturePdfACompat() {
+ return this.pdfACompat;
+ }
+
+ /**
+ * Setter of the property <tt>signaturePdfACompat</tt>
+ *
+ * @param compat
+ * The the PDF/A compatibility setting to set.
+ */
+ public void setSignaturePdfACompat(boolean compat) {
+ this.pdfACompat = compat;
+ }
+
+ /**
* Getter of the property <tt>keyIdentifier</tt>
*
* @return Returns the keyIdentifier.