From 7b3d85e31537acc7da994aebeece26bbdf2ecc7a Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 18:59:11 +0000 Subject: + 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 --- .../src/main/java/at/asit/pdfover/signator/SLRequest.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pdf-over-signator/src/main/java') 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 @@ -65,6 +65,18 @@ public class SLRequest { return b64request; } + /** + * 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, + "formdata:fileupload"); //$NON-NLS-1$ + + return fileUploadRequest; + } + /** * The SL request String with the document referenced as an URI * -- cgit v1.2.3