From 6d74865f5fa8d633288bbb6a9fbdb91398dd8061 Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 1 Oct 2012 08:30:48 +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://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12548 3a0b52a2-8410-0410-bc02-ff6273a87459 --- .../src/main/java/at/asit/pdfover/signator/SLRequest.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'trunk/pdf-over-signator/src/main/java/at') diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java index f4e1fa8e..15f31771 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java +++ b/trunk/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