diff options
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 |