diff options
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas/api')
-rw-r--r-- | src/main/java/at/gv/egiz/pdfas/api/PdfAs.java | 4 | ||||
-rw-r--r-- | src/main/java/at/gv/egiz/pdfas/api/sign/SignParameters.java | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/api/PdfAs.java b/src/main/java/at/gv/egiz/pdfas/api/PdfAs.java index 286377b..a1095bb 100644 --- a/src/main/java/at/gv/egiz/pdfas/api/PdfAs.java +++ b/src/main/java/at/gv/egiz/pdfas/api/PdfAs.java @@ -41,6 +41,10 @@ public interface PdfAs // reconstructXMLDSIG(ReconstructXMLDsigAfterAnalysisParameters reconstructXMLDsigParameters)
// verify(VerifyAfterReconstructXMLDsigParameters verifyAfterReconstructXMLDsigParameters)
+// 16.12.2010 changed by exthex - added:
+// prepareSign(SignParameters signParameters)
+// sign(SignParameters signParameters, SignatureDetailInformation signatureDetailInformation)
+// finishSign(SignParameters signParameters, SignatureDetailInformation signatureDetailInformation)
/**
* Signs a PDF document using PDF-AS.
diff --git a/src/main/java/at/gv/egiz/pdfas/api/sign/SignParameters.java b/src/main/java/at/gv/egiz/pdfas/api/sign/SignParameters.java index 8dc928b..0bf1000 100644 --- a/src/main/java/at/gv/egiz/pdfas/api/sign/SignParameters.java +++ b/src/main/java/at/gv/egiz/pdfas/api/sign/SignParameters.java @@ -125,9 +125,9 @@ public class SignParameters protected TimeStamper timeStamperImpl;
/**
- *
+ * The flag to de-/activate placeholder search
*/
- protected boolean checkForPlaceholder = true;
+ protected Boolean checkForPlaceholder = null;
/**
* The id of the placeholder which should be replaced.
@@ -322,12 +322,11 @@ public class SignParameters }
-
/**
*
* @return
*/
- public boolean isCheckForPlaceholder() {
+ public Boolean isCheckForPlaceholder() {
return this.checkForPlaceholder;
}
@@ -336,7 +335,7 @@ public class SignParameters * @param check
*/
public void setCheckForPlaceholder(boolean check) {
- this.checkForPlaceholder = check;
+ this.checkForPlaceholder = Boolean.valueOf(check);
}
/**
|