summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-08-24 17:04:57 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-08-24 17:04:57 +0000
commite1bc934f1948043fa4bfa44963337c2ef554d99d (patch)
tree5790c073e9eb1f80accc1d3020509466e5a3454e /trunk/pdf-over-gui/src
parent969617f6557c559b173a8cc267c7cd37c6e2e088 (diff)
downloadpdf-over-e1bc934f1948043fa4bfa44963337c2ef554d99d.tar.gz
pdf-over-e1bc934f1948043fa4bfa44963337c2ef554d99d.tar.bz2
pdf-over-e1bc934f1948043fa4bfa44963337c2ef554d99d.zip
Changed SLRequest interface
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12392 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui/src')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java9
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java2
2 files changed, 1 insertions, 10 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
index c9c079a8..ccb411be 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
@@ -71,14 +71,7 @@ public class LocalBKUState extends State {
SLRequest request = this.state.signingState
.getSignatureRequest();
- String b64_data = new String(Base64.encodeBase64(request
- .getSignatureData().getByteArray()));
-
- String sl_request = request.getRequest()
- .replace(
- SLRequest.DATAOBJECT_STRING,
- "<sl:Base64Content>" + b64_data //$NON-NLS-1$
- + "</sl:Base64Content>"); //$NON-NLS-1$
+ String sl_request = request.getBase64Request();
HttpClient client = new HttpClient();
client.getParams().setParameter("http.useragent", //$NON-NLS-1$
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
index 9fc86f3b..af797756 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
@@ -140,8 +140,6 @@ public class PrepareSigningState extends State {
// We got the Request set it into status and move on to next state ...
status.setSigningState(this.signingState);
- log.debug("SL REQUEST: " + this.signingState.getSignatureRequest().getRequest()); //$NON-NLS-1$
-
if(this.stateMachine.getStatus().getBKU() == BKUs.LOCAL) {
this.setNextState(new LocalBKUState(this.stateMachine));
} else if(this.stateMachine.getStatus().getBKU() == BKUs.MOBILE) {