diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-02-20 13:19:32 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-02-20 13:19:32 +0100 |
commit | f15b86942c3b30828a96c5804b39bdf654cff5df (patch) | |
tree | f06b72702e060713e3902a5fd5adbbca1ee5b32b /pdf-as-web-client/src/test/java/at/gv/egiz | |
parent | cee126cc2e3374b93445e7ad3b3417b0deee86d5 (diff) | |
download | pdf-as-4-f15b86942c3b30828a96c5804b39bdf654cff5df.tar.gz pdf-as-4-f15b86942c3b30828a96c5804b39bdf654cff5df.tar.bz2 pdf-as-4-f15b86942c3b30828a96c5804b39bdf654cff5df.zip |
Cosmetic changes to source code and new default config
Diffstat (limited to 'pdf-as-web-client/src/test/java/at/gv/egiz')
-rw-r--r-- | pdf-as-web-client/src/test/java/at/gv/egiz/pdfas/web/client/test/SimpleTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pdf-as-web-client/src/test/java/at/gv/egiz/pdfas/web/client/test/SimpleTest.java b/pdf-as-web-client/src/test/java/at/gv/egiz/pdfas/web/client/test/SimpleTest.java index df5ba495..e73f0d95 100644 --- a/pdf-as-web-client/src/test/java/at/gv/egiz/pdfas/web/client/test/SimpleTest.java +++ b/pdf-as-web-client/src/test/java/at/gv/egiz/pdfas/web/client/test/SimpleTest.java @@ -52,6 +52,7 @@ public class SimpleTest { signParameters.setConnector(Connector.JKS); signParameters.setPosition(null); signParameters.setProfile("SIGNATURBLOCK_SMALL_DE"); + signParameters.setKeyIdentifier("test"); PDFASSignRequest request = new PDFASSignRequest(); request.setInputData(inputData); @@ -62,8 +63,8 @@ public class SimpleTest { //URL("http://demo.egiz.gv.at/demoportal-pdf_as/wssign?wsdl"); //URL endpoint = new // URL("http://www.buergerkarte.at/pdf-as-extern-4/wssign?wsdl"); - String baseUrl = "http://demo.egiz.gv.at/demoportal-pdf_as/"; - //String baseUrl = "http://localhost:8080/pdf-as-web/"; + //String baseUrl = "http://demo.egiz.gv.at/demoportal-pdf_as/"; + String baseUrl = "http://localhost:8080/pdf-as-web/services/"; //URL endpoint = new URL( // "http://192.168.56.10/pdf-as-web/wssign?wsdl"); @@ -84,7 +85,7 @@ public class SimpleTest { PDFASVerifyRequest verifyRequest = new PDFASVerifyRequest(); verifyRequest.setInputData(response.getSignedPDF()); - verifyRequest.setVerificationLevel(VerificationLevel.FULL_CERT_PATH); + verifyRequest.setVerificationLevel(VerificationLevel.INTEGRITY_ONLY); PDFASVerifyResponse verifyResponse = verifier.verifyPDFDokument(verifyRequest); |