diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-24 17:04:50 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-24 17:04:50 +0000 |
commit | 52edf7dfea3015e807e72e0812d99abbb53e6f9f (patch) | |
tree | dedf1ba82f6e4a9b1ed48c84b70c761daf673e7b /trunk/pdf-over-signer/pdf-over-sigpdfas/src | |
parent | 2159fac36839b3d0db4784b624b25e3bb1163315 (diff) | |
download | pdf-over-52edf7dfea3015e807e72e0812d99abbb53e6f9f.tar.gz pdf-over-52edf7dfea3015e807e72e0812d99abbb53e6f9f.tar.bz2 pdf-over-52edf7dfea3015e807e72e0812d99abbb53e6f9f.zip |
State Machine refactoring
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12388 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-signer/pdf-over-sigpdfas/src')
2 files changed, 5 insertions, 1 deletions
diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java index 3c03a018..02fccca0 100644 --- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java @@ -32,12 +32,14 @@ public class PDFASSLRequest implements SLRequest { **/ private static final Logger log = LoggerFactory.getLogger(PDFASSLRequest.class); + private String request; + /** * Default constructor * @param slRequest */ public PDFASSLRequest(String slRequest) { - //TODO: Analyze Request ... + this.request = slRequest; } @Override diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java index 949bbce1..cf93c96c 100644 --- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java @@ -76,6 +76,8 @@ public class PDFASSigner implements Signer { String slRequest = pdfasInternal.prepareLocalSignRequest(params, false, URL_TEMPLATE, sdi); + //DataSource sig_data = sdi.getSignatureData(); + PDFASSLRequest request = new PDFASSLRequest(slRequest); state.setSignatureRequest(request); |