diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-10-01 08:30:48 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-10-01 08:30:48 +0000 |
commit | 6d74865f5fa8d633288bbb6a9fbdb91398dd8061 (patch) | |
tree | 7582246b54b6ed09a965147a1090d38c36bcdb71 /trunk/pdf-over-signator | |
parent | afd3ed7d5f8ab69e258552c2941a4fe1d5686484 (diff) | |
download | pdf-over-6d74865f5fa8d633288bbb6a9fbdb91398dd8061.tar.gz pdf-over-6d74865f5fa8d633288bbb6a9fbdb91398dd8061.tar.bz2 pdf-over-6d74865f5fa8d633288bbb6a9fbdb91398dd8061.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://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12548 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-signator')
-rw-r--r-- | trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ -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 |