summaryrefslogtreecommitdiff
path: root/pdf-over-signator/src
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:59:11 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:59:11 +0000
commit7b3d85e31537acc7da994aebeece26bbdf2ecc7a (patch)
tree9e3c23a3b558f68fc266ceb537045619c65f2bed /pdf-over-signator/src
parent6684441798e6fdb899f4e67e39a42ccd40e8a607 (diff)
downloadpdf-over-7b3d85e31537acc7da994aebeece26bbdf2ecc7a.tar.gz
pdf-over-7b3d85e31537acc7da994aebeece26bbdf2ecc7a.tar.bz2
pdf-over-7b3d85e31537acc7da994aebeece26bbdf2ecc7a.zip
+ Fixed unverifyable Handy signature signatures ... (A-Trust cuts away
base64 encoded signature data!) + Moved logfile to {user.home}/.pdfover + temporary pdf files will be saved into {user.home}/.pdfover (no write access in Program folder of windows!) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@67 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-signator/src')
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java
index f4e1fa8e..15f31771 100644
--- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java
+++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java
@@ -66,6 +66,18 @@ public class SLRequest {
}
/**
+ * The SL request String with the document defined as file upload
+ * @return SL request String
+ */
+ public String getFileUploadRequest() {
+ String fileUploadRequest = this.request.replace(
+ DATAOBJECT_STRING,
+ "<sl:LocRefContent>formdata:fileupload</sl:LocRefContent>"); //$NON-NLS-1$
+
+ return fileUploadRequest;
+ }
+
+ /**
* The SL request String with the document referenced as an URI
*
* This SL Request is always a detached signature request which contains a