From 0803aae4bb1a593cbfd97a73a8648ec8ee5f1f76 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> Date: Fri, 7 Nov 2003 17:58:36 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'Build-SPSS_1_1_0'. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/Build-SPSS_1_1_0@42 d688527b-c9ab-4aba-bd8d-4036d912da1d --- build/.checkstyle | 2 - build/.project | 17 - build/README.txt | 80 - build/scripts/build.bat | 64 - build/scripts/build.sh | 34 - build/scripts/runAnt.bat | 38 - build/scripts/runAnt.sh | 31 - build/tools/jakarta-ant-1.5.1/KEYS | 226 -- build/tools/jakarta-ant-1.5.1/LICENSE | 49 - build/tools/jakarta-ant-1.5.1/LICENSE.dom | 71 - build/tools/jakarta-ant-1.5.1/LICENSE.sax | 20 - build/tools/jakarta-ant-1.5.1/LICENSE.xerces | 56 - build/tools/jakarta-ant-1.5.1/README | 70 - build/tools/jakarta-ant-1.5.1/WHATSNEW | 1301 ----------- build/tools/jakarta-ant-1.5.1/bin/ant | 192 -- build/tools/jakarta-ant-1.5.1/bin/ant.bat | 95 - build/tools/jakarta-ant-1.5.1/bin/antRun | 12 - build/tools/jakarta-ant-1.5.1/bin/antRun.bat | 31 - build/tools/jakarta-ant-1.5.1/bin/antRun.pl | 51 - .../jakarta-ant-1.5.1/bin/complete-ant-cmd.pl | 102 - build/tools/jakarta-ant-1.5.1/bin/lcp.bat | 16 - build/tools/jakarta-ant-1.5.1/bin/runant.pl | 162 -- build/tools/jakarta-ant-1.5.1/bin/runant.py | 99 - build/tools/jakarta-ant-1.5.1/etc/changelog.xsl | 184 -- .../jakarta-ant-1.5.1/etc/checkstyle-frames.xsl | 324 --- .../jakarta-ant-1.5.1/etc/coverage-frames.xsl | 533 ----- .../tools/jakarta-ant-1.5.1/etc/jdepend-frames.xsl | 522 ----- build/tools/jakarta-ant-1.5.1/etc/jdepend.xsl | 312 --- build/tools/jakarta-ant-1.5.1/etc/junit-frames.xsl | 741 ------ .../tools/jakarta-ant-1.5.1/etc/junit-noframes.xsl | 519 ----- build/tools/jakarta-ant-1.5.1/etc/log.xsl | 247 -- .../tools/jakarta-ant-1.5.1/etc/maudit-frames.xsl | 547 ----- .../jakarta-ant-1.5.1/etc/mmetrics-frames.xsl | 1070 --------- build/tools/jakarta-ant-1.5.1/etc/tagdiff.xsl | 162 -- build/tools/jakarta-ant-1.5.1/lib/README | 15 - build/tools/jakarta-ant-1.5.1/lib/ant.jar | Bin 717666 -> 0 bytes .../jakarta-ant-1.5.1/lib/iContract-jdk1_2.jar | Bin 531334 -> 0 bytes build/tools/jakarta-ant-1.5.1/lib/optional.jar | Bin 654735 -> 0 bytes build/tools/jakarta-ant-1.5.1/lib/xercesImpl.jar | Bin 831473 -> 0 bytes build/tools/jakarta-ant-1.5.1/lib/xml-apis.jar | Bin 108484 -> 0 bytes build/tools/jakarta-ant-1.5.1/welcome.html | 124 - id.oa/.classpath | 6 - id.oa/.project | 23 - id.oa/build.xml | 32 - id.oa/html/AuthTemplate.jsp | 30 - id.oa/html/BKUSelectionTemplate.jsp | 14 - id.oa/html/auth.jsp | 48 - id.oa/html/chooseBKU.jsp | 19 - id.oa/html/form.jsp | 20 - id.oa/html/getBKUSelectTag.jsp | 6 - id.oa/html/index.jsp | 56 - id.oa/html/stateful_login.jsp | 29 - id.oa/web.xml | 9 - id.server/.classpath | 36 - id.server/.cvsignore | 2 - id.server/.project | 18 - id.server/.tomcatplugin | 8 - id.server/MOA-ID_release_notes.txt | 89 - id.server/build.xml | 359 --- .../data/abnahme-test/conf/CopyConfigAbnahme.bat | 40 - .../data/abnahme-test/conf/OAConfBasicAuth.xml | 10 - .../data/abnahme-test/conf/OAConfHeaderAuth.xml | 13 - .../data/abnahme-test/conf/OAConfParamAuth.xml | 10 - id.server/data/abnahme-test/conf/deploy_AUTH.bat | 12 - id.server/data/abnahme-test/conf/log4j.properties | 41 - .../abnahme-test/conf/moa-id/ConfigurationTest.xml | 64 - .../abnahme-test/conf/moa/ConfigurationTest.xml | 136 -- .../conf/moa/TrustProfile1/Buergerkarte01Root.cer | Bin 876 -> 0 bytes .../conf/moa/TrustProfile1/IAIK_TestRoot.cer | Bin 987 -> 0 bytes .../conf/moa/TrustProfile1/Max_Mustermann.cer | Bin 965 -> 0 bytes .../conf/moa/TrustProfile1/TestPersonMOA1.cer | Bin 1321 -> 0 bytes .../conf/moa/TrustProfile1/TestPersonMOA4.cer | Bin 1321 -> 0 bytes .../test-ee2003_normal_inkl_verwaltungs_oid.der | Bin 1886 -> 0 bytes .../conf/moa/TrustProfile2/Max_Mustermann.cer | Bin 965 -> 0 bytes .../conf/moa/common/endorsed/xercesImpl.jar | Bin 933730 -> 0 bytes .../conf/moa/common/endorsed/xmlParserAPIs.jar | Bin 78440 -> 0 bytes .../data/abnahme-test/conf/moa/keys/DSA.512.p12 | Bin 2467 -> 0 bytes .../data/abnahme-test/conf/moa/keys/ecc(ego).p12 | Bin 1234 -> 0 bytes .../conf/moa/keys/normal-eeExpired.p12 | Bin 2797 -> 0 bytes .../conf/moa/keys/sicher-demo(buergerkarte).p12 | Bin 3077 -> 0 bytes .../moa/keys/test-ee2003_normal(buergerkarte).p12 | Bin 3077 -> 0 bytes .../moa/profiles/TransformsInfoProfile1MOAID.xml | 19 - .../moa/profiles/TransformsInfoProfile2MOAID.xml | 3 - .../moa/profiles/TransformsInfoProfile3MOAID.xml | 19 - .../data/abnahme-test/conf/moa/runAbnahme.bat | 12 - id.server/data/abnahme-test/conf/moa/server.xml | 423 ---- .../conf/transforms/TransformsInfosHTML.xml | 63 - .../ixsil/init/properties/algorithms.properties | 94 - .../ixsil/init/properties/init.properties | 214 -- .../ixsil/init/properties/keyManager.properties | 74 - .../abnahme-test/ixsil/init/schemas/Signature.xsd | 328 --- .../abnahme-test/ixsil/init/schemas/XMLSchema.dtd | 402 ---- .../abnahme-test/ixsil/init/schemas/datatypes.dtd | 203 -- .../abnahme-test/xmldata/A100/A101/htmlForm.html | 177 -- .../abnahme-test/xmldata/A100/A102/htmlForm.html | 177 -- .../abnahme-test/xmldata/A100/A103/htmlForm.html | 177 -- .../abnahme-test/xmldata/A100/AuthTemplate.html | 30 - .../A200/A201/CreateXMLSignatureRequest.xml | 88 - .../xmldata/A200/A254/InfoboxReadResponse.xml | 97 - .../xmldata/A200/A255/InfoboxReadResponse.xml | 97 - .../xmldata/A200/A256/InfoboxReadResponse.xml | 108 - .../xmldata/A200/A257/InfoboxReadResponse.xml | 97 - .../xmldata/A200/A258/InfoboxReadResponse.xml | 97 - .../xmldata/A200/A259/InfoboxReadResponse.xml | 87 - .../xmldata/A200/A260/InfoboxReadResponse.xml | 41 - .../xmldata/A200/A261/InfoboxReadResponse.xml | 97 - .../xmldata/A200/A262/Configuration.xml | 103 - .../xmldata/A200/A262/InfoboxReadResponse.xml | 98 - .../xmldata/A200/A263/InfoboxReadResponse.xml | 98 - .../xmldata/A300/A301/AuthenticationData.xml | 25 - .../xmldata/A300/A301/Configuration.xml | 59 - .../xmldata/A300/A302/AuthenticationData.xml | 121 - .../xmldata/A300/A302/Configuration.xml | 59 - .../xmldata/A300/A303/AuthenticationData.xml | 37 - .../xmldata/A300/A303/Configuration.xml | 59 - .../xmldata/A300/A304/AuthenticationData.xml | 133 -- .../xmldata/A300/A304/Configuration.xml | 59 - .../xmldata/A300/A305/AuthenticationData.xml | 28 - .../xmldata/A300/A305/Configuration.xml | 59 - .../xmldata/A300/A306/AuthenticationData.xml | 124 - .../xmldata/A300/A306/Configuration.xml | 59 - .../xmldata/A300/A307/AuthenticationData.xml | 40 - .../xmldata/A300/A307/Configuration.xml | 59 - .../xmldata/A300/A308/AuthenticationData.xml | 136 -- .../xmldata/A300/A308/Configuration.xml | 59 - .../xmldata/A300/A309/AuthenticationData.xml | 25 - .../xmldata/A300/A309/Configuration.xml | 59 - .../A300/A309/CreateXMLSignatureResponse.xml | 52 - .../xmldata/A300/A310/AuthenticationData.xml | 25 - .../xmldata/A300/A310/Configuration.xml | 59 - .../A300/A310/CreateXMLSignatureResponse.xml | 52 - .../xmldata/A300/A311/AuthenticationData.xml | 28 - .../xmldata/A300/A311/Configuration.xml | 59 - .../A300/A311/CreateXMLSignatureResponse.xml | 52 - .../A300/A355/CreateXMLSignatureResponse.xml | 59 - .../A300/A356/CreateXMLSignatureResponse.xml | 62 - .../A300/A357/CreateXMLSignatureResponse.xml | 59 - .../A300/A358/CreateXMLSignatureResponse.xml | 59 - .../A300/A359/CreateXMLSignatureResponse.xml | 59 - .../A300/A360/CreateXMLSignatureResponse.xml | 59 - .../A300/A361/CreateXMLSignatureResponse.xml | 59 - .../A300/A362/CreateXMLSignatureResponse.xml | 59 - .../A300/A363/CreateXMLSignatureResponse.xml | 13 - .../A300/A364/CreateXMLSignatureResponse.xml | 59 - .../xmldata/A300/A366/Configuration.xml | 65 - .../xmldata/A300/A367/Configuration.xml | 65 - .../A300/A367/CreateXMLSignatureResponse.xml | 94 - .../xmldata/A400/A401/AuthenticationData.xml | 136 -- .../GetAuthenticationDataWebServiceResponse.xml | 136 -- .../xmldata/A700/A701/AuthTemplate.html | 30 - .../xmldata/A700/A701/BKUSelectionTemplate.html | 14 - .../xmldata/A700/A701/SelectBKUForm.html | 20 - .../xmldata/A700/A702/SelectBKUForm.html | 20 - .../xmldata/A700/A703/Configuration.xml | 35 - .../xmldata/A700/A703/SelectBKUForm.html | 1 - .../abnahme-test/xmldata/A700/Configuration.xml | 35 - .../abnahme-test/xmldata/A700/getBKUSelectTag.jsp | 6 - .../xmldata/C000/C001/Configuration.xml | 61 - .../xmldata/C000/C002/Configuration.xml | 24 - .../xmldata/C000/C003/Configuration.xml | 17 - .../xmldata/C000/C051/ConfigurationC051.xml | 12 - .../data/abnahme-test/xmldata/Configuration.xml | 105 - .../xmldata/CreateXMLSignatureResponse.xml | 59 - .../abnahme-test/xmldata/InfoboxReadResponse.xml | 97 - .../abnahme-test/xmldata/L000/Configuration.xml | 105 - .../xmldata/L000/CreateXMLSignatureResponse.xml | 94 - .../xmldata/L000/InfoboxReadResponse.xml | 97 - .../data/certs/TrustProfile1/A-Trust-Qual-01.cer | Bin 1110 -> 0 bytes .../data/certs/TrustProfile1/A-Trust-nQual-01.cer | Bin 864 -> 0 bytes .../certs/TrustProfile1/Buergerkarte01Root.cer | Bin 876 -> 0 bytes id.server/data/certs/TrustProfile1/C.CA.DS.cer | Bin 1136 -> 0 bytes id.server/data/certs/TrustProfile1/IAIKRoot.cer | Bin 883 -> 0 bytes .../certs/TrustProfile1/IAIKRootMusterbehoerde.cer | Bin 863 -> 0 bytes .../data/certs/TrustProfile1/TestPersonMOA4.cer | Bin 1321 -> 0 bytes .../TrustProfile1/a-sign-TEST-Premium-Enc-01.cer | Bin 1136 -> 0 bytes .../certs/TrustProfile1/a-sign-TEST-nQual-01.cer | Bin 994 -> 0 bytes .../data/certs/TrustProfile1/ecdsaroot_der.cer | Bin 540 -> 0 bytes id.server/data/certs/TrustProfile1/hsm.cer | 13 - id.server/data/certs/TrustProfile1/moahsmcert.cer | 13 - .../data/certs/ca-certs/GTE CyberTrust Root.cer | Bin 510 -> 0 bytes .../data/certs/ca-certs/TrustMark-WebServer-01.cer | Bin 1030 -> 0 bytes .../ca-certs/VeriSignRSA Secure Server CA.cer | Bin 568 -> 0 bytes .../certs/ca-certs/a-sign-corporate-light-01.cer | Bin 1065 -> 0 bytes id.server/data/certs/ca-certs/intermediate.cer | Bin 890 -> 0 bytes id.server/data/certs/ca-certs/root.cer | Bin 881 -> 0 bytes id.server/data/certs/client-certs/key.pem | 18 - id.server/data/certs/client-certs/key2.pem | 18 - id.server/data/certs/client-certs/req.cer | Bin 746 -> 0 bytes id.server/data/certs/client-certs/req.pem | 18 - id.server/data/certs/client-certs/req2.pem | 18 - id.server/data/certs/keystores/client.keystore | Bin 814 -> 0 bytes id.server/data/certs/keystores/client.p12 | Bin 1860 -> 0 bytes id.server/data/certs/keystores/client2.p12 | Bin 1856 -> 0 bytes id.server/data/certs/keystores/server.keystore | Bin 1360 -> 0 bytes id.server/data/certs/keystores/testlinux.keystore | Bin 5417 -> 0 bytes .../certs/keystores/testlinux_plus_client.keystore | Bin 6199 -> 0 bytes .../data/certs/keystores/testlinux_rev.keystore | Bin 5417 -> 0 bytes id.server/data/certs/server-certs/a-trust.cer | Bin 1100 -> 0 bytes id.server/data/certs/server-certs/baltimore.cer | Bin 693 -> 0 bytes id.server/data/certs/server-certs/cio.cer | Bin 1185 -> 0 bytes id.server/data/certs/server-certs/testlinux.crt | Bin 1018 -> 0 bytes .../data/certs/server-certs/testlinux_rev.crt | Bin 1018 -> 0 bytes id.server/data/certs/server-certs/testwin.cer | Bin 1000 -> 0 bytes id.server/data/certs/server-certs/testwin_rev.cer | Bin 1000 -> 0 bytes .../data/certs/server-certs/tomcat-server.crt | Bin 580 -> 0 bytes id.server/data/certs/server-certs/verisign.cer | Bin 977 -> 0 bytes .../conf/moa-id/SampleMOAIDConfiguration.xml | 81 - id.server/data/deploy/conf/moa-id/log4j.properties | 22 - .../conf/moa-id/oa/SampleOAConfiguration.xml | 10 - .../moa-id/transforms/TransformsInfoAuthBlock.xml | 63 - .../conf/moa-spss/SampleMOASPSSConfiguration.xml | 14 - .../0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F | Bin 861 -> 0 bytes .../9E0512DD61DA5949D1D8631C3F19D75F496C3733 | Bin 864 -> 0 bytes .../E6E6FC88719177C9B7421825757C5E47BCAC85F6 | Bin 860 -> 0 bytes .../F825578F8F5484DFB40F81867C392D6CB0012B92 | Bin 1110 -> 0 bytes .../moa-spss/profiles/MOAIDTransformAuthBlock.xml | 19 - .../A-Trust-Qual-01-SN0291.cer | Bin 1110 -> 0 bytes .../A-Trust-nQual-01-SN0213.cer | Bin 864 -> 0 bytes .../A-Trust-nQual-01-SN0218.cer | Bin 861 -> 0 bytes .../A-Trust-nQual-01-SN6f.cer | Bin 860 -> 0 bytes id.server/data/deploy/tomcat/moa-id-env.bat | 1 - id.server/data/deploy/tomcat/moa-id-env.sh | 1 - id.server/data/deploy/tomcat/server.mod_jk.xml | 201 -- id.server/data/deploy/tomcat/server.xml | 157 -- .../data/deploy/tomcat/uriworkermap.properties | 7 - id.server/data/deploy/tomcat/workers.properties | 6 - id.server/data/test/conf/ConfigurationTest.xml | 103 - id.server/data/test/conf/OAConfBasicAuth.xml | 10 - id.server/data/test/conf/OAConfHeaderAuth.xml | 13 - id.server/data/test/conf/OAConfParamAuth.xml | 10 - id.server/data/test/conf/log4j.properties | 10 - .../test/conf/transforms/TransformsInfosHTML.xml | 63 - .../ixsil/init/properties/algorithms.properties | 94 - .../test/ixsil/init/properties/init.properties | 214 -- .../ixsil/init/properties/keyManager.properties | 74 - .../data/test/ixsil/init/schemas/Signature.xsd | 328 --- .../data/test/ixsil/init/schemas/XMLSchema.dtd | 402 ---- .../data/test/ixsil/init/schemas/datatypes.dtd | 203 -- id.server/data/test/xmldata/ErrorResponse.xml | 4 - .../data/test/xmldata/GetIdentityLinkForm.html | 20 - .../standard/AuthenticationDataAssertion.xml | 127 -- .../xmldata/standard/CreateXMLSignatureRequest.xml | 52 - .../standard/CreateXMLSignatureResponse.xml | 59 - .../xmldata/standard/VerifyXMLSignaterResponse.xml | 2 - .../xmldata/testperson1/InfoboxReadResponse.xml | 97 - id.server/doc/Architektur ID.vsd | Bin 318464 -> 0 bytes id.server/doc/CIO X509ext-20030218.pdf | Bin 137429 -> 0 bytes id.server/doc/MOA ID 1.x.wsdl | 41 - id.server/doc/MOA-ID Feinspezifikation.doc | Bin 260608 -> 0 bytes id.server/doc/MOA-ID Testfalldokumentation.doc | Bin 532992 -> 0 bytes id.server/doc/MOA-ID-1.1-20030630.pdf | Bin 234509 -> 0 bytes id.server/doc/MOA-ID-Configuration-1.1.xsd | 305 --- id.server/doc/api-doc/allclasses-frame.html | 35 - .../moa/id/AuthenticationException.html | 171 -- .../moa/id/auth/AuthenticationServer.html | 259 --- .../id/auth/class-use/AuthenticationServer.html | 114 - .../moa/id/class-use/AuthenticationException.html | 194 -- .../moa/id/config/proxy/OAConfiguration.html | 526 ----- .../id/config/proxy/class-use/OAConfiguration.html | 126 -- .../moa/id/data/AuthenticationData.html | 751 ------ .../moa/id/data/class-use/AuthenticationData.html | 152 -- .../moa/id/proxy/ConnectionBuilder.html | 204 -- .../moa/id/proxy/LoginParameterResolver.html | 364 --- .../moa/id/proxy/class-use/ConnectionBuilder.html | 91 - .../id/proxy/class-use/LoginParameterResolver.html | 91 - id.server/doc/api-doc/deprecated-list.html | 89 - id.server/doc/api-doc/help-doc.html | 142 -- id.server/doc/api-doc/index-all.html | 422 ---- id.server/doc/api-doc/index.html | 22 - id.server/doc/api-doc/overview-tree.html | 101 - id.server/doc/api-doc/package-list | 0 id.server/doc/api-doc/packages.html | 26 - id.server/doc/api-doc/serialized-form.html | 89 - id.server/doc/api-doc/stylesheet.css | 29 - id.server/doc/bku-auswahl.20030408.pdf | Bin 131587 -> 0 bytes id.server/doc/cs-sstc-schema-assertion-01.xsd | 194 -- id.server/doc/cs-sstc-schema-protocol-01.xsd | 127 -- id.server/doc/moa-id.htm | 7 - .../doc/moa_id/examples/BKUSelectionTemplate.html | 4 - id.server/doc/moa_id/examples/ChainingModes.txt | 6 - .../doc/moa_id/examples/IdentityLinkSigners.txt | 3 - .../doc/moa_id/examples/LoginServletExample.txt | 171 -- id.server/doc/moa_id/examples/Template.html | 23 - .../moa_id/examples/TransformsInfoAuthBlock.txt | 63 - .../moa_id/examples/conf/MOA-ID-Configuration.xml | 54 - .../doc/moa_id/examples/conf/OAConfBasicAuth.xml | 12 - .../doc/moa_id/examples/conf/OAConfHeaderAuth.xml | 17 - .../doc/moa_id/examples/conf/OAConfParamAuth.xml | 14 - id.server/doc/moa_id/examples/moa-id-env-linux.txt | 1 - .../doc/moa_id/examples/moa-id-env-windows.txt | 1 - id.server/doc/moa_id/faqs.htm | 109 - id.server/doc/moa_id/id-admin.htm | 283 --- id.server/doc/moa_id/id-admin_1.htm | 400 ---- id.server/doc/moa_id/id-admin_2.htm | 623 ----- id.server/doc/moa_id/id-admin_3.htm | 187 -- id.server/doc/moa_id/id-anwendung.htm | 104 - id.server/doc/moa_id/id-anwendung_1.htm | 182 -- id.server/doc/moa_id/id-anwendung_2.htm | 249 -- id.server/doc/moa_id/links.htm | 141 -- id.server/doc/moa_id/moa-id-ablauf.jpg | Bin 15550 -> 0 bytes id.server/doc/moa_id/moa.htm | 247 -- id.server/doc/moa_images/east.gif | Bin 966 -> 0 bytes id.server/doc/moa_images/idle.gif | Bin 869 -> 0 bytes id.server/doc/moa_images/moa_diagramm1.jpg | Bin 60602 -> 0 bytes id.server/doc/moa_images/moa_thema.gif | Bin 25120 -> 0 bytes id.server/doc/moa_images/north.gif | Bin 967 -> 0 bytes id.server/doc/moa_images/pfeil.gif | Bin 843 -> 0 bytes id.server/doc/moa_images/print.gif | Bin 211 -> 0 bytes id.server/doc/moa_images/select.gif | Bin 880 -> 0 bytes id.server/doc/moa_images/south.gif | Bin 965 -> 0 bytes id.server/doc/moa_images/transdot.gif | Bin 43 -> 0 bytes id.server/doc/moa_images/west.gif | Bin 966 -> 0 bytes id.server/html/auth/WEB-INF/server-config.wsdd | 29 - id.server/html/auth/WEB-INF/web.xml | 88 - id.server/html/auth/errorpage.jsp | 33 - id.server/html/auth/index.jsp | 40 - id.server/html/proxy/WEB-INF/web.xml | 43 - id.server/javadoc.xml | 18 - id.server/lib/axis-1.1rc2/axis.jar | Bin 1224774 -> 0 bytes id.server/lib/axis-1.1rc2/commons-discovery.jar | Bin 67334 -> 0 bytes id.server/lib/axis-1.1rc2/jaxrpc.jar | Bin 35658 -> 0 bytes id.server/lib/axis-1.1rc2/saaj.jar | Bin 18402 -> 0 bytes id.server/lib/axis-1.1rc2/wsdl4j.jar | Bin 113178 -> 0 bytes .../commons-logging-1.0.2/commons-logging-api.jar | Bin 18404 -> 0 bytes .../lib/commons-logging-1.0.2/commons-logging.jar | Bin 26388 -> 0 bytes id.server/lib/iaik-moa-1.06/iaik-moa-full.jar | Bin 578556 -> 0 bytes .../lib/iaik-moa-1.06/iaik_X509TrustManager.jar | Bin 3835 -> 0 bytes id.server/lib/iaik-moa-1.06/iaik_ecc.jar | Bin 101004 -> 0 bytes id.server/lib/iaik-moa-1.06/iaik_jce_full.jar | Bin 637549 -> 0 bytes id.server/lib/iaik-moa-1.06/iaik_ldap.jar | Bin 4970 -> 0 bytes id.server/lib/iaik-moa-1.06/ixsil.jar | Bin 166976 -> 0 bytes id.server/lib/jaxen-1.0/jaxen-core.jar | Bin 160967 -> 0 bytes id.server/lib/jaxen-1.0/jaxen-dom.jar | Bin 13707 -> 0 bytes id.server/lib/jaxen-1.0/saxpath.jar | Bin 23563 -> 0 bytes id.server/lib/jaxp-1.2_01/dom.jar | Bin 26710 -> 0 bytes id.server/lib/jaxp-1.2_01/jaxp-api.jar | Bin 27052 -> 0 bytes id.server/lib/jaxp-1.2_01/sax.jar | Bin 26206 -> 0 bytes id.server/lib/jsse-1.0.3_01/jcert.jar | Bin 11321 -> 0 bytes id.server/lib/jsse-1.0.3_01/jnet.jar | Bin 5830 -> 0 bytes id.server/lib/jsse-1.0.3_01/jsse.jar | Bin 512635 -> 0 bytes id.server/lib/junit-3.8.1/junit.jar | Bin 121070 -> 0 bytes id.server/lib/log4j-1.2.7/log4j-1.2.7.jar | Bin 350677 -> 0 bytes id.server/lib/moa-spss-1.0.8a/moa-common.jar | Bin 76929 -> 0 bytes id.server/lib/moa-spss-1.0.8a/moa-spss.jar | Bin 258568 -> 0 bytes id.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar | Bin 163980 -> 0 bytes .../lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip | Bin 31362 -> 0 bytes id.server/lib/xalan-j-2.2/bsf.jar | Bin 105573 -> 0 bytes id.server/lib/xalan-j-2.2/xalan.jar | Bin 923866 -> 0 bytes id.server/lib/xerces-j-2.0.2/xercesImpl.jar | Bin 933730 -> 0 bytes id.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar | Bin 78440 -> 0 bytes ....apache.axis.components.net.SecureSocketFactory | 1 - .../resources/properties/id_messages_de.properties | 101 - id.server/res/resources/wsdl/MOA-ID-1.0.wsdl | 40 - .../resources/xmldata/CertInfoDsigSignature.xml | 139 -- .../xmldata/CertInfoVerifyXMLSignatureRequest.xml | 9 - .../moa/id/AuthenticationException.java | 31 - .../at/gv/egovernment/moa/id/BuildException.java | 34 - .../at/gv/egovernment/moa/id/MOAIDException.java | 159 -- .../at/gv/egovernment/moa/id/ParseException.java | 34 - .../at/gv/egovernment/moa/id/ServiceException.java | 34 - .../moa/id/auth/AuthenticationServer.java | 648 ------ .../moa/id/auth/AuthenticationSessionCleaner.java | 52 - .../moa/id/auth/MOAIDAuthConstants.java | 53 - .../moa/id/auth/MOAIDAuthInitializer.java | 118 - .../moa/id/auth/WrongParametersException.java | 21 - .../AuthenticationBlockAssertionBuilder.java | 56 - .../AuthenticationDataAssertionBuilder.java | 114 - .../egovernment/moa/id/auth/builder/Builder.java | 30 - .../CertInfoVerifyXMLSignatureRequestBuilder.java | 51 - .../builder/CreateXMLSignatureRequestBuilder.java | 58 - .../moa/id/auth/builder/DataURLBuilder.java | 55 - .../auth/builder/GetIdentityLinkFormBuilder.java | 137 -- .../id/auth/builder/InfoboxReadRequestBuilder.java | 39 - .../moa/id/auth/builder/PersonDataBuilder.java | 58 - .../moa/id/auth/builder/SAMLArtifactBuilder.java | 60 - .../moa/id/auth/builder/SAMLResponseBuilder.java | 100 - .../moa/id/auth/builder/SelectBKUFormBuilder.java | 63 - .../moa/id/auth/builder/VPKBuilder.java | 52 - .../builder/VerifyXMLSignatureRequestBuilder.java | 203 -- .../moa/id/auth/data/AuthenticationSession.java | 220 -- .../id/auth/data/CreateXMLSignatureResponse.java | 71 - .../egovernment/moa/id/auth/data/IdentityLink.java | 189 -- .../moa/id/auth/data/SAMLAttribute.java | 78 - .../id/auth/data/VerifyXMLSignatureResponse.java | 177 -- .../auth/invoke/SignatureVerificationInvoker.java | 91 - .../parser/CreateXMLSignatureResponseParser.java | 140 -- .../moa/id/auth/parser/ECDSAKeyValueConverter.java | 350 --- .../moa/id/auth/parser/ErrorResponseParser.java | 89 - .../auth/parser/IdentityLinkAssertionParser.java | 266 --- .../id/auth/parser/InfoboxReadResponseParser.java | 110 - .../moa/id/auth/parser/SAMLArtifactParser.java | 58 - .../parser/VerifyXMLSignatureResponseParser.java | 159 -- .../moa/id/auth/servlet/AuthServlet.java | 117 - .../moa/id/auth/servlet/ConfigurationServlet.java | 74 - .../auth/servlet/GetAuthenticationDataService.java | 135 -- .../moa/id/auth/servlet/SelectBKUServlet.java | 95 - .../auth/servlet/StartAuthenticationServlet.java | 102 - .../servlet/VerifyAuthenticationBlockServlet.java | 110 - .../id/auth/servlet/VerifyIdentityLinkServlet.java | 97 - .../CreateXMLSignatureResponseValidator.java | 106 - .../id/auth/validator/IdentityLinkValidator.java | 156 -- .../moa/id/auth/validator/ValidateException.java | 35 - .../VerifyXMLSignatureResponseValidator.java | 124 - .../moa/id/config/ConfigurationBuilder.java | 678 ------ .../moa/id/config/ConfigurationException.java | 31 - .../moa/id/config/ConfigurationProvider.java | 105 - .../moa/id/config/ConnectionParameter.java | 106 - .../id/config/auth/AuthConfigurationProvider.java | 341 --- .../moa/id/config/auth/OAAuthParameter.java | 93 - .../moa/id/config/proxy/OAConfiguration.java | 145 -- .../moa/id/config/proxy/OAProxyParameter.java | 160 -- .../config/proxy/ProxyConfigurationProvider.java | 170 -- .../moa/id/data/AuthenticationData.java | 314 --- .../src/at/gv/egovernment/moa/id/data/Cookie.java | 119 - .../gv/egovernment/moa/id/data/CookieManager.java | 114 - .../egovernment/moa/id/data/IssuerAndSerial.java | 111 - .../at/gv/egovernment/moa/id/data/SAMLStatus.java | 59 - .../id/iaik/config/CertStoreConfigurationImpl.java | 91 - .../moa/id/iaik/config/LoggerConfigImpl.java | 51 - .../moa/id/iaik/config/PKIConfigurationImpl.java | 65 - .../iaik/config/RevocationConfigurationImpl.java | 35 - .../iaik/config/ValidationConfigurationImpl.java | 51 - .../moa/id/iaik/pki/PKIProfileImpl.java | 159 -- .../moa/id/iaik/pki/jsse/MOAIDTrustManager.java | 119 - .../iaik/servertools/observer/ObservableImpl.java | 46 - .../moa/id/proxy/ConnectionBuilder.java | 54 - .../moa/id/proxy/ConnectionBuilderFactory.java | 68 - .../moa/id/proxy/DefaultConnectionBuilder.java | 119 - .../id/proxy/DefaultLoginParameterResolver.java | 118 - .../moa/id/proxy/LoginParameterResolver.java | 72 - .../id/proxy/LoginParameterResolverFactory.java | 68 - .../moa/id/proxy/MOAIDProxyInitializer.java | 91 - .../id/proxy/WebmailLoginParameterResolver.class | Bin 3613 -> 0 bytes .../moa/id/proxy/builder/SAMLRequestBuilder.java | 55 - .../proxy/invoke/GetAuthenticationDataInvoker.java | 143 -- .../parser/AuthenticationDataAssertionParser.java | 145 -- .../moa/id/proxy/parser/SAMLResponseParser.java | 100 - .../moa/id/proxy/servlet/ConfigurationServlet.java | 73 - .../moa/id/proxy/servlet/ProxyException.java | 35 - .../moa/id/proxy/servlet/ProxyServlet.java | 531 ----- .../moa/id/util/AxisSecureSocketFactory.java | 213 -- .../moa/id/util/MOAIDMessageProvider.java | 58 - .../src/at/gv/egovernment/moa/id/util/Random.java | 22 - .../at/gv/egovernment/moa/id/util/SSLUtils.java | 156 -- id.server/src/test/MOAIDTestCase.java | 203 -- .../test/abnahme/A/Test100StartAuthentication.java | 171 -- .../test/abnahme/A/Test200VerifyIdentityLink.java | 336 --- .../src/test/abnahme/A/Test300VerifyAuthBlock.java | 597 ----- .../abnahme/A/Test400GetAuthenticationData.java | 129 -- .../A/Test500StartAuthenticationServlet.java | 305 --- .../A/Test600GetAuthenticationDataService.java | 281 --- id.server/src/test/abnahme/A/Test700SelectBKU.java | 63 - id.server/src/test/abnahme/AbnahmeTestCase.java | 163 -- id.server/src/test/abnahme/AllTests.java | 49 - .../src/test/abnahme/C/Test100Konfiguration.java | 60 - .../abnahme/P/Test100LoginParameterResolver.java | 146 -- .../test/at/gv/egovernment/moa/id/AllTests.java | 41 - .../at/gv/egovernment/moa/id/UnitTestCase.java | 35 - .../moa/id/auth/AuthenticationServerTest.java | 50 - .../moa/id/auth/MOAIDAuthInitialiserTest.java | 55 - .../egovernment/moa/id/auth/builder/AllTests.java | 33 - .../AuthenticationBlockAssertionBuilderTest.java | 46 - .../builder/CreateXMLSignatureBuilderTest.java | 58 - .../builder/GetIdentityLinkFormBuilderTest.java | 73 - .../builder/InfoboxReadRequestBuilderTest.java | 29 - .../moa/id/auth/builder/PersonDataBuilderTest.java | 51 - .../id/auth/builder/SAMLArtifactBuilderTest.java | 52 - .../VerifyXMLSignatureRequestBuilderTest.java | 93 - .../moa/id/auth/invoke/MOASPSSTestCase.java | 38 - .../id/auth/invoke/SignatureVerificationTest.java | 166 -- .../egovernment/moa/id/auth/parser/AllTests.java | 29 - .../parser/IdentityLinkAssertionParserTest.java | 137 -- .../auth/parser/InfoboxReadResponseParserTest.java | 67 - .../moa/id/auth/parser/SAMLArtifactParserTest.java | 55 - .../servlet/GetAuthenticationDataServiceTest.java | 91 - .../auth/MOAIDAuthConfigurationProviderTest.java | 112 - .../proxy/MOAIDProxyConfigurationProviderTest.java | 127 -- .../at/gv/egovernment/moa/id/proxy/AllTests.java | 31 - .../moa/id/proxy/builder/DOMTreeCompare.java | 462 ---- .../id/proxy/builder/SAMLRequestBuilderTest.java | 32 - .../moa/id/proxy/builder/SAMLRequestCompare.java | 19 - .../id/proxy/parser/SAMLResponseParserTest.java | 180 -- .../gv/egovernment/moa/id/util/SSLUtilsTest.java | 92 - id.server/src/test/lasttest/Dispatcher.java | 64 - .../src/test/lasttest/HostnameVerifierHack.java | 13 - id.server/src/test/lasttest/LasttestClient.java | 218 -- id.server/src/test/lasttest/TestThread.java | 251 --- spss.server/.checkstyle | 8 - spss.server/.classpath | 36 - spss.server/.cvsignore | 2 - spss.server/.project | 19 - spss.server/.tomcatplugin | 8 - spss.server/build.xml | 417 ---- .../deploy/conf/moa-spss/MOA-SPSSConfiguration.xml | 95 - .../data/deploy/conf/moa-spss/MinimalSPConfig.xml | 8 - .../data/deploy/conf/moa-spss/MinimalSSConfig.xml | 22 - .../E1201A308CC10323C27D9084B048996E44B8F710 | Bin 806 -> 0 bytes .../0F843FB1E0C626540BE638B79A2987E2611CE630 | Bin 1018 -> 0 bytes .../69F21C82DC9A7A940ACEC414593E59C9E61E522F | Bin 990 -> 0 bytes .../FC72939DC06EDDF8C51549ECF00AC92BF2B39F35 | Bin 1087 -> 0 bytes .../6814C7316CEA7191C9CB3BE58199B4A957210D9C | Bin 704 -> 0 bytes .../AC36A78C66FEC87CC0FD2C32B49214C65676E0C5 | Bin 919 -> 0 bytes .../C92238A7178A6C61F8BACA22D6CF7E50772BA9F0 | Bin 1018 -> 0 bytes .../DFAE695342AC81A521025904406884399822B233 | Bin 987 -> 0 bytes .../0CC37CC35E18F9909E43E4E9894D0CDF06EE9A38 | Bin 704 -> 0 bytes .../0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F | Bin 861 -> 0 bytes .../9E0512DD61DA5949D1D8631C3F19D75F496C3733 | Bin 864 -> 0 bytes .../E6E6FC88719177C9B7421825757C5E47BCAC85F6 | Bin 860 -> 0 bytes .../C0C699EFE6E837CB5E4CFC3A61077617A22C1A9E | Bin 1298 -> 0 bytes .../65EF37033859C2F709A64086D3A5BD1B8F1A85A4 | Bin 1045 -> 0 bytes .../ADEC5673B57A18F16EFAF75EEFBFAD4841E2CD2B | Bin 901 -> 0 bytes .../474BC41135FB88BF58B5A8D976A1D5583378D85E | Bin 1133 -> 0 bytes .../6B618820CE6A5EC0B5E63A9170335E5EA9F3BA01 | Bin 1171 -> 0 bytes .../BF648929E7DAABD8D97B3202F48D6C4A19C78F6C | Bin 990 -> 0 bytes .../74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 | Bin 987 -> 0 bytes .../797AB396782981343C312F9A0F5CD87FCE159C37 | Bin 883 -> 0 bytes .../3B8484BF1370941BF03F206B5C4958DA4E1559BB | Bin 1065 -> 0 bytes .../45B43346251FDF9E95DCB7F36928785D46D63913 | Bin 1136 -> 0 bytes .../E33619C88426E4FE956041E6751ADDEC9C10F0BC | Bin 1136 -> 0 bytes .../35202B14F69409EAA51CD8AB547AC0CD5E993F3F | Bin 1053 -> 0 bytes .../3F4E01DF7547CDD38DCCFCCD76170C299ECEB9F6 | Bin 1030 -> 0 bytes .../9D4CB7E3DBF24AE596972D59C375DD6384BB5E8B | Bin 932 -> 0 bytes .../A562C4B99E2847251CB4A1F05DA1FF43E7296F0B | Bin 999 -> 0 bytes .../9039DBD29DB8AD0F8E2015F05FCD40582CCCBE8C | Bin 997 -> 0 bytes .../9F0E0FBB25F66FF88C8E033EFF358923C84A2926 | Bin 930 -> 0 bytes .../C87D1855227D995C332C4C9072A2E2053F2CC623 | Bin 1028 -> 0 bytes .../42AD1897A4643D2AA634D980F16349E6694F3B1B | Bin 1237 -> 0 bytes .../FE7891B6ED7B178F528A28B21478299F865889BD | Bin 1333 -> 0 bytes .../20CAECDCA766243AAD6FA1327618FC81BA65DC0F | Bin 1057 -> 0 bytes .../DFA7DDEF5C212F0F0651E2A9DE1CE4A1AC63AF7A | Bin 1110 -> 0 bytes .../F825578F8F5484DFB40F81867C392D6CB0012B92 | Bin 1110 -> 0 bytes .../A9D28607928FA8615E2615CC9D71B535C5D0D419 | Bin 734 -> 0 bytes .../7BE0C8E441786C69A3CB35BDBEF235F8B5310E04 | Bin 700 -> 0 bytes .../8AB0A3519AFA7F3C04074522678BAA1CB3DC734F | Bin 930 -> 0 bytes .../DF47B3040E7632614464BD2EC4ECD1B8030F53E3 | Bin 933 -> 0 bytes .../E117479B4A41D7F3223FCAE50560B0D57B22217D | Bin 997 -> 0 bytes .../52ED0FAFBD38A868C678174D7EB03D266ADB221C | Bin 994 -> 0 bytes .../4832F0A28C3724A92F6CB3314F747D0E74FC7344 | Bin 1217 -> 0 bytes .../B4B77C83465979E3679E3A33F972F48EE3730A18 | Bin 924 -> 0 bytes .../ED5608CE67EA5CB79AC024CEA7445F9BCBE48703 | Bin 1067 -> 0 bytes .../CAF84A42305615AC2C582F6412BDA3E36DAC3D25 | Bin 786 -> 0 bytes .../data/deploy/conf/moa-spss/keys/ecc(ego).p12 | Bin 1234 -> 0 bytes .../keys/test-ee2003_normal(buergerkarte).p12 | Bin 3077 -> 0 bytes .../data/deploy/conf/moa-spss/log4j.properties | 40 - .../trustProfiles/trustProfile1/IAIKRoot.cer | Bin 883 -> 0 bytes spss.server/data/deploy/tomcat/server.mod_jk.xml | 166 -- spss.server/data/deploy/tomcat/server.xml | 169 -- spss.server/data/deploy/tomcat/unix/moa-env.sh | 12 - .../data/deploy/tomcat/uriworkermap.properties | 4 - .../deploy/tomcat/win32/installTomcatAsService.bat | 26 - .../data/deploy/tomcat/win32/startTomcat.bat | 27 - .../data/deploy/tomcat/win32/stopTomcat.bat | 13 - .../tomcat/win32/uninstallTomcatAsService.bat | 12 - spss.server/data/deploy/tomcat/workers.properties | 6 - spss.server/data/deploy/tools/certtool.bat | 25 - spss.server/data/deploy/tools/certtool.sh | 20 - .../test/conf/moa-spss/MOA-SPSSConfiguration.xml | 178 -- .../74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 | Bin 987 -> 0 bytes .../797AB396782981343C312F9A0F5CD87FCE159C37 | Bin 883 -> 0 bytes .../keys/Beispielservice_1(password=bspsrv1).p12 | Bin 3847 -> 0 bytes .../data/test/conf/moa-spss/keys/DSA.512.p12 | Bin 2467 -> 0 bytes .../data/test/conf/moa-spss/keys/ecc(ego).p12 | Bin 1234 -> 0 bytes .../test/conf/moa-spss/keys/normal-eeExpired.p12 | Bin 2797 -> 0 bytes .../moa-spss/keys/sicher-demo(buergerkarte).p12 | Bin 3077 -> 0 bytes .../keys/test-ee2003_normal(buergerkarte).p12 | Bin 3077 -> 0 bytes .../moa-spss/keys/test-ee2003_normal_verw_oid.p12 | Bin 3062 -> 0 bytes .../data/test/conf/moa-spss/profiles/CSEP.xml | 5 - .../conf/moa-spss/profiles/CX1_bookprofile.xsl | 1 - .../conf/moa-spss/profiles/SupplementProfile1.xml | 10 - .../conf/moa-spss/profiles/SupplementProfile2.xml | 8 - .../moa-spss/profiles/TransformsInfoProfile1.xml | 1 - .../profiles/TransformsInfoProfile1MOAID.xml | 19 - .../moa-spss/profiles/TransformsInfoProfile2.xml | 7 - .../profiles/TransformsInfoProfile2MOAID.xml | 3 - .../TrustProfile1/Buergerkarte01Root.cer | Bin 876 -> 0 bytes .../trustprofiles/TrustProfile1/C.CA.DS.cer | Bin 1136 -> 0 bytes .../trustprofiles/TrustProfile1/IAIKRoot.cer | Bin 883 -> 0 bytes .../TrustProfile1/IAIKRootMusterbehoerde.cer | Bin 863 -> 0 bytes .../trustprofiles/TrustProfile1/TestPersonMOA4.cer | Bin 1321 -> 0 bytes .../TrustProfile1/a-sign-TEST-Premium-Enc-01.cer | Bin 1136 -> 0 bytes .../TrustProfile1/a-sign-TEST-nQual-01.cer | Bin 994 -> 0 bytes .../trustprofiles/TrustProfile1/ecdsaroot_der.cer | Bin 540 -> 0 bytes .../moa-spss/trustprofiles/TrustProfile1/hsm.cer | 13 - .../trustprofiles/TrustProfile1/moahsmcert.cer | 13 - .../data/test/security/A-Trust-nQual-01.p7b | Bin 908 -> 0 bytes spss.server/data/test/security/client.cer | Bin 697 -> 0 bytes spss.server/data/test/security/client.keystore | Bin 1904 -> 0 bytes spss.server/data/test/security/server.cer | Bin 698 -> 0 bytes spss.server/data/test/security/server.crt.pem | 14 - spss.server/data/test/security/server.key.pem | 18 - spss.server/data/test/security/server.keystore | Bin 1904 -> 0 bytes spss.server/data/test/security/server.pfx | Bin 1743 -> 0 bytes .../data/test/xml/CreateXMLSignature/Req000.xml | 19 - .../data/test/xml/CreateXMLSignature/Req001.xml | 52 - .../data/test/xml/CreateXMLSignature/Req002.xml | 48 - .../data/test/xml/CreateXMLSignature/Req004.xml | 34 - .../TestGeneratorCX0.001.Req.xml | 17 - .../TestGeneratorCX0.004.Req.xml | 17 - .../TestGeneratorCX0.005.Req.xml | 17 - .../TestGeneratorCX0.007.Req.xml | 19 - .../TestGeneratorCX0.008.Req.xml | 19 - .../TestGeneratorCX0.009.Req.xml | 17 - .../TestGeneratorCX0.010.Req.xml | 20 - .../TestGeneratorCX0.014.Req.xml | 17 - .../TestGeneratorCX0.015.Req.xml | 27 - .../TestGeneratorCX0.018.Req.xml | 29 - .../TestGeneratorCX0.057.Req.xml | 19 - .../TestGeneratorCX1.001.Req.xml | 46 - .../TestGeneratorCX1.003.Req.xml | 1 - .../TestGeneratorCX1.004.Req.xml | 1 - .../TestGeneratorCX1.009.Req.xml | 1 - .../TestGeneratorCX1.011.Req.xml | 1 - .../TestGeneratorCX2.001.Req.xml | 1 - .../TestGeneratorCX2.004.Req.xml | 1 - .../TestGeneratorCX2.006.Req.xml | 1 - .../data/test/xml/CreateXMLSignature/invalid.xml | 20 - .../data/test/xml/VerifyCMSSignature/Req000.xml | 46 - .../data/test/xml/VerifyCMSSignature/Req001.xml | 15 - .../TestGeneratorVC0.001.Req.xml | 41 - .../TestGeneratorVC0.002.Req.xml | 47 - .../TestGeneratorVC0.003.Req.xml | 41 - .../TestGeneratorVC0.004.Req.xml | 41 - .../TestGeneratorVC0.005.Req.xml | 41 - .../TestGeneratorVC0.006.Req.xml | 32 - .../TestGeneratorVC0.007.Req.xml | 37 - .../TestGeneratorVC0.008.Req.xml | 41 - .../TestGeneratorVC0.009.Req.xml | 41 - .../TestGeneratorVC0.010.Req.xml | 41 - .../TestGeneratorVC0.011.Req.xml | 49 - .../data/test/xml/VerifyXMLSignature/Req000.xml | 46 - .../data/test/xml/VerifyXMLSignature/Req001.xml | 49 - .../data/test/xml/VerifyXMLSignature/Req002.xml | 63 - .../VerifyXMLSignature/TestGeneratorVX.001.Req.xml | 53 - .../VerifyXMLSignature/TestGeneratorVX.002.Req.xml | 52 - .../VerifyXMLSignature/TestGeneratorVX.003.Req.xml | 53 - .../VerifyXMLSignature/TestGeneratorVX.004.Req.xml | 52 - .../VerifyXMLSignature/TestGeneratorVX.005.Req.xml | 12 - .../VerifyXMLSignature/TestGeneratorVX.007.Req.xml | 85 - .../VerifyXMLSignature/TestGeneratorVX.106.Req.xml | 52 - .../VerifyXMLSignature/TestGeneratorVX.201.Req.xml | 59 - .../VerifyXMLSignature/TestGeneratorVX.203.Req.xml | 64 - .../VerifyXMLSignature/TestGeneratorVX.252.Req.xml | 163 -- .../VerifyXMLSignature/TestGeneratorVX.359.Req.xml | 18 - .../VerifyXMLSignatureRequestID.xml | 37 - .../VerifyXMLSignatureRequestID1.xml | 37 - .../xml/VerifyXMLSignature/moa-id-request1.xml | 103 - .../xml/VerifyXMLSignature/moa-id-request2.xml | 30 - .../data/test/xml/VerifyXMLSignature/testsig.xml | 99 - spss.server/data/test/xml/dsigTransform/base64.xml | 3 - .../test/xml/dsigTransform/canonicalization.xml | 3 - .../dsigTransform/canonicalizationWithComments.xml | 3 - .../data/test/xml/dsigTransform/enveloped.xml | 3 - .../dsigTransform/exclusiveCanonicalization.xml | 5 - .../test/xml/dsigTransform/illegalAlgorithm.xml | 3 - .../data/test/xml/dsigTransform/transforms.xml | 26 - spss.server/data/test/xml/dsigTransform/xpath.xml | 4 - spss.server/data/test/xml/dsigTransform/xpath2.xml | 7 - .../test/xml/dsigTransform/xpath2Different.xml | 6 - .../data/test/xml/dsigTransform/xpathDifferent.xml | 4 - spss.server/data/test/xml/dsigTransform/xslt.xml | 20 - .../data/test/xml/dsigTransform/xsltDifferent.xml | 16 - .../data/test/xml/dsigTransform/xsltEqual.xml | 20 - .../doc/api-doc-internal/allclasses-frame.html | 265 --- .../at/gv/egovernment/moa/logging/LogMsg.html | 223 -- .../at/gv/egovernment/moa/logging/Logger.html | 480 ---- .../gv/egovernment/moa/logging/LoggingContext.html | 269 --- .../moa/logging/LoggingContextManager.html | 262 --- .../egovernment/moa/logging/class-use/LogMsg.html | 95 - .../egovernment/moa/logging/class-use/Logger.html | 95 - .../moa/logging/class-use/LoggingContext.html | 147 -- .../logging/class-use/LoggingContextManager.html | 131 -- .../gv/egovernment/moa/logging/package-frame.html | 32 - .../egovernment/moa/logging/package-summary.html | 121 - .../gv/egovernment/moa/logging/package-tree.html | 104 - .../at/gv/egovernment/moa/logging/package-use.html | 128 -- .../moa/spss/MOAApplicationException.html | 245 -- .../at/gv/egovernment/moa/spss/MOAException.html | 378 ---- .../egovernment/moa/spss/MOASystemException.html | 247 -- .../spss/class-use/MOAApplicationException.html | 423 ---- .../moa/spss/class-use/MOAException.html | 324 --- .../moa/spss/class-use/MOASystemException.html | 231 -- .../at/gv/egovernment/moa/spss/package-frame.html | 30 - .../gv/egovernment/moa/spss/package-summary.html | 120 - .../at/gv/egovernment/moa/spss/package-tree.html | 111 - .../at/gv/egovernment/moa/spss/package-use.html | 273 --- .../spss/server/config/ConfigurationException.html | 240 -- .../server/config/ConfigurationPartsBuilder.html | 578 ----- .../spss/server/config/ConfigurationProvider.html | 803 ------- .../moa/spss/server/config/DistributionPoint.html | 268 --- .../spss/server/config/HardwareCryptoModule.html | 263 --- .../moa/spss/server/config/HardwareKeyModule.html | 276 --- .../moa/spss/server/config/IssuerAndSerial.html | 338 --- .../moa/spss/server/config/KeyGroup.html | 263 --- .../moa/spss/server/config/KeyGroupEntry.html | 335 --- .../moa/spss/server/config/KeyModule.html | 245 -- .../moa/spss/server/config/SoftwareKeyModule.html | 256 --- .../moa/spss/server/config/TrustProfile.html | 241 -- .../config/class-use/ConfigurationException.html | 212 -- .../class-use/ConfigurationPartsBuilder.html | 95 - .../config/class-use/ConfigurationProvider.html | 451 ---- .../server/config/class-use/DistributionPoint.html | 129 -- .../config/class-use/HardwareCryptoModule.html | 129 -- .../server/config/class-use/HardwareKeyModule.html | 129 -- .../server/config/class-use/IssuerAndSerial.html | 147 -- .../moa/spss/server/config/class-use/KeyGroup.html | 95 - .../server/config/class-use/KeyGroupEntry.html | 95 - .../spss/server/config/class-use/KeyModule.html | 139 -- .../server/config/class-use/SoftwareKeyModule.html | 129 -- .../spss/server/config/class-use/TrustProfile.html | 131 -- .../moa/spss/server/config/package-frame.html | 57 - .../moa/spss/server/config/package-summary.html | 165 -- .../moa/spss/server/config/package-tree.html | 115 - .../moa/spss/server/config/package-use.html | 333 --- .../CMSSignatureVerificationProfileImpl.html | 247 -- .../CMSSignatureVerificationProfileImpl.html | 95 - .../spss/server/iaik/cmsverify/package-frame.html | 26 - .../server/iaik/cmsverify/package-summary.html | 107 - .../spss/server/iaik/cmsverify/package-tree.html | 105 - .../spss/server/iaik/cmsverify/package-use.html | 95 - .../config/AbstractKeyModuleConfigurationImpl.html | 231 -- .../config/AbstractObservableConfiguration.html | 270 --- .../iaik/config/ArchiveConfigurationImpl.html | 276 --- .../iaik/config/CRLDistributionPointAdapter.html | 273 --- .../iaik/config/CertStoreConfigurationImpl.html | 248 -- .../server/iaik/config/ConfigurationDataImpl.html | 293 --- .../iaik/config/DataBaseArchiveParameterImpl.html | 226 -- .../config/DirectoryCertStoreParametersImpl.html | 320 --- .../HardwareCryptoModuleConfigurationImpl.html | 272 --- .../config/HardwareKeyModuleConfigurationImpl.html | 293 --- .../spss/server/iaik/config/IaikConfigurator.html | 238 -- .../spss/server/iaik/config/LoggerConfigImpl.html | 259 --- .../server/iaik/config/PKIConfigurationImpl.html | 294 --- .../iaik/config/RevocationConfigurationImpl.html | 274 --- .../config/SoftwareKeyModuleConfigurationImpl.html | 301 --- .../iaik/config/ValidationConfigurationImpl.html | 291 --- .../AbstractKeyModuleConfigurationImpl.html | 142 -- .../class-use/AbstractObservableConfiguration.html | 159 -- .../config/class-use/ArchiveConfigurationImpl.html | 95 - .../class-use/CRLDistributionPointAdapter.html | 95 - .../class-use/CertStoreConfigurationImpl.html | 95 - .../config/class-use/ConfigurationDataImpl.html | 95 - .../class-use/DataBaseArchiveParameterImpl.html | 95 - .../DirectoryCertStoreParametersImpl.html | 95 - .../HardwareCryptoModuleConfigurationImpl.html | 95 - .../HardwareKeyModuleConfigurationImpl.html | 95 - .../iaik/config/class-use/IaikConfigurator.html | 95 - .../iaik/config/class-use/LoggerConfigImpl.html | 95 - .../config/class-use/PKIConfigurationImpl.html | 95 - .../class-use/RevocationConfigurationImpl.html | 95 - .../SoftwareKeyModuleConfigurationImpl.html | 95 - .../class-use/ValidationConfigurationImpl.html | 95 - .../moa/spss/server/iaik/config/package-frame.html | 56 - .../spss/server/iaik/config/package-summary.html | 179 -- .../moa/spss/server/iaik/config/package-tree.html | 123 - .../moa/spss/server/iaik/config/package-use.html | 128 -- .../moa/spss/server/iaik/pki/PKIProfileImpl.html | 388 ---- .../server/iaik/pki/class-use/PKIProfileImpl.html | 95 - .../moa/spss/server/iaik/pki/package-frame.html | 26 - .../moa/spss/server/iaik/pki/package-summary.html | 107 - .../moa/spss/server/iaik/pki/package-tree.html | 105 - .../moa/spss/server/iaik/pki/package-use.html | 95 - .../pki/pathvalidation/ValidationProfileImpl.html | 374 --- .../class-use/ValidationProfileImpl.html | 95 - .../iaik/pki/pathvalidation/package-frame.html | 26 - .../iaik/pki/pathvalidation/package-summary.html | 107 - .../iaik/pki/pathvalidation/package-tree.html | 105 - .../iaik/pki/pathvalidation/package-use.html | 95 - .../iaik/pki/revocation/RevocationProfileImpl.html | 272 --- .../class-use/RevocationProfileImpl.html | 95 - .../server/iaik/pki/revocation/package-frame.html | 26 - .../iaik/pki/revocation/package-summary.html | 108 - .../server/iaik/pki/revocation/package-tree.html | 105 - .../server/iaik/pki/revocation/package-use.html | 95 - .../store/truststore/TrustStoreProfileImpl.html | 365 --- .../class-use/TrustStoreProfileImpl.html | 95 - .../iaik/pki/store/truststore/package-frame.html | 26 - .../iaik/pki/store/truststore/package-summary.html | 107 - .../iaik/pki/store/truststore/package-tree.html | 105 - .../iaik/pki/store/truststore/package-use.html | 95 - .../server/iaik/xml/Base64TransformationImpl.html | 259 --- .../server/iaik/xml/ByteArrayDataObjectImpl.html | 274 --- .../server/iaik/xml/ByteStreamDataObjectImpl.html | 269 --- .../spss/server/iaik/xml/CanonicalizationImpl.html | 259 --- .../moa/spss/server/iaik/xml/DataObjectImpl.html | 381 ---- .../xml/EnvelopedSignatureTransformationImpl.html | 256 --- .../iaik/xml/ExclusiveCanonicalizationImpl.html | 316 --- .../moa/spss/server/iaik/xml/SigningTimeImpl.html | 226 -- .../spss/server/iaik/xml/TransformationImpl.html | 281 --- .../spss/server/iaik/xml/XMLDataObjectImpl.html | 269 --- .../server/iaik/xml/XMLNodeListDataObjectImpl.html | 271 --- .../moa/spss/server/iaik/xml/XMLSignatureImpl.html | 249 -- .../moa/spss/server/iaik/xml/XPath2FilterImpl.html | 398 ---- .../server/iaik/xml/XPath2TransformationImpl.html | 339 --- .../server/iaik/xml/XPathTransformationImpl.html | 379 ---- .../server/iaik/xml/XSLTTransformationImpl.html | 328 --- .../xml/class-use/Base64TransformationImpl.html | 95 - .../xml/class-use/ByteArrayDataObjectImpl.html | 95 - .../xml/class-use/ByteStreamDataObjectImpl.html | 95 - .../iaik/xml/class-use/CanonicalizationImpl.html | 95 - .../server/iaik/xml/class-use/DataObjectImpl.html | 155 -- .../EnvelopedSignatureTransformationImpl.html | 95 - .../class-use/ExclusiveCanonicalizationImpl.html | 95 - .../server/iaik/xml/class-use/SigningTimeImpl.html | 95 - .../iaik/xml/class-use/TransformationImpl.html | 184 -- .../iaik/xml/class-use/XMLDataObjectImpl.html | 95 - .../xml/class-use/XMLNodeListDataObjectImpl.html | 95 - .../iaik/xml/class-use/XMLSignatureImpl.html | 95 - .../iaik/xml/class-use/XPath2FilterImpl.html | 95 - .../xml/class-use/XPath2TransformationImpl.html | 95 - .../xml/class-use/XPathTransformationImpl.html | 95 - .../iaik/xml/class-use/XSLTTransformationImpl.html | 95 - .../moa/spss/server/iaik/xml/package-frame.html | 56 - .../moa/spss/server/iaik/xml/package-summary.html | 173 -- .../moa/spss/server/iaik/xml/package-tree.html | 124 - .../moa/spss/server/iaik/xml/package-use.html | 128 -- .../iaik/xmlsign/DataObjectTreatmentImpl.html | 500 ---- .../xmlsign/XMLSignatureCreationProfileImpl.html | 678 ------ .../xmlsign/XMLSignatureInsertionLocationImpl.html | 252 --- .../xmlsign/class-use/DataObjectTreatmentImpl.html | 95 - .../class-use/XMLSignatureCreationProfileImpl.html | 95 - .../XMLSignatureInsertionLocationImpl.html | 95 - .../spss/server/iaik/xmlsign/package-frame.html | 30 - .../spss/server/iaik/xmlsign/package-summary.html | 116 - .../moa/spss/server/iaik/xmlsign/package-tree.html | 107 - .../moa/spss/server/iaik/xmlsign/package-use.html | 95 - .../XMLSignatureVerificationProfileImpl.html | 470 ---- .../XMLSignatureVerificationProfileImpl.html | 95 - .../spss/server/iaik/xmlverify/package-frame.html | 26 - .../server/iaik/xmlverify/package-summary.html | 106 - .../spss/server/iaik/xmlverify/package-tree.html | 105 - .../spss/server/iaik/xmlverify/package-use.html | 95 - .../moa/spss/server/init/ConfiguratorImpl.html | 269 --- .../moa/spss/server/init/SystemInitializer.html | 214 -- .../server/init/class-use/ConfiguratorImpl.html | 95 - .../server/init/class-use/SystemInitializer.html | 95 - .../moa/spss/server/init/package-frame.html | 28 - .../moa/spss/server/init/package-summary.html | 110 - .../moa/spss/server/init/package-tree.html | 106 - .../moa/spss/server/init/package-use.html | 95 - .../invoke/CMSSignatureVerificationInvoker.html | 251 --- .../CMSSignatureVerificationProfileFactory.html | 227 -- .../invoke/CreateXMLSignatureResponseBuilder.html | 270 --- .../moa/spss/server/invoke/DataObjectFactory.html | 424 ---- .../spss/server/invoke/ExternalURIResolver.html | 264 --- .../spss/server/invoke/IaikExceptionMapper.html | 356 --- .../moa/spss/server/invoke/InvokerUtils.html | 224 -- .../moa/spss/server/invoke/ProfileMapper.html | 352 --- .../spss/server/invoke/ServiceContextUtils.html | 238 -- .../invoke/SignatureCreationServiceImpl.html | 234 -- .../invoke/SignatureVerificationServiceImpl.html | 259 --- .../spss/server/invoke/TransformationFactory.html | 274 --- .../invoke/VerifyCMSSignatureResponseBuilder.html | 243 -- .../invoke/VerifyXMLSignatureResponseBuilder.html | 252 --- .../server/invoke/XMLSignatureCreationInvoker.html | 260 --- .../invoke/XMLSignatureCreationProfileFactory.html | 233 -- .../invoke/XMLSignatureVerificationInvoker.html | 255 --- .../XMLSignatureVerificationProfileFactory.html | 252 --- .../class-use/CMSSignatureVerificationInvoker.html | 131 -- .../CMSSignatureVerificationProfileFactory.html | 95 - .../CreateXMLSignatureResponseBuilder.html | 95 - .../server/invoke/class-use/DataObjectFactory.html | 131 -- .../invoke/class-use/ExternalURIResolver.html | 95 - .../invoke/class-use/IaikExceptionMapper.html | 131 -- .../spss/server/invoke/class-use/InvokerUtils.html | 95 - .../server/invoke/class-use/ProfileMapper.html | 95 - .../invoke/class-use/ServiceContextUtils.html | 95 - .../class-use/SignatureCreationServiceImpl.html | 95 - .../SignatureVerificationServiceImpl.html | 95 - .../invoke/class-use/TransformationFactory.html | 131 -- .../VerifyCMSSignatureResponseBuilder.html | 95 - .../VerifyXMLSignatureResponseBuilder.html | 95 - .../class-use/XMLSignatureCreationInvoker.html | 131 -- .../XMLSignatureCreationProfileFactory.html | 95 - .../class-use/XMLSignatureVerificationInvoker.html | 131 -- .../XMLSignatureVerificationProfileFactory.html | 95 - .../moa/spss/server/invoke/package-frame.html | 60 - .../moa/spss/server/invoke/package-summary.html | 202 -- .../moa/spss/server/invoke/package-tree.html | 108 - .../moa/spss/server/invoke/package-use.html | 163 -- .../moa/spss/server/logging/IaikLog.html | 518 ----- .../moa/spss/server/logging/IaikLogFactory.html | 278 --- .../moa/spss/server/logging/IaikLogMsg.html | 229 -- .../moa/spss/server/logging/TransactionId.html | 249 -- .../moa/spss/server/logging/class-use/IaikLog.html | 95 - .../server/logging/class-use/IaikLogFactory.html | 95 - .../spss/server/logging/class-use/IaikLogMsg.html | 95 - .../server/logging/class-use/TransactionId.html | 95 - .../moa/spss/server/logging/package-frame.html | 32 - .../moa/spss/server/logging/package-summary.html | 120 - .../moa/spss/server/logging/package-tree.html | 108 - .../moa/spss/server/logging/package-use.html | 95 - .../moa/spss/server/service/AxisHandler.html | 303 --- .../spss/server/service/ConfigurationServlet.html | 307 --- .../server/service/RevocationArchiveCleaner.html | 226 -- .../moa/spss/server/service/ServiceUtils.html | 240 -- .../server/service/SignatureCreationService.html | 220 -- .../service/SignatureVerificationService.html | 242 -- .../spss/server/service/class-use/AxisHandler.html | 95 - .../service/class-use/ConfigurationServlet.html | 95 - .../class-use/RevocationArchiveCleaner.html | 95 - .../server/service/class-use/ServiceUtils.html | 95 - .../class-use/SignatureCreationService.html | 95 - .../class-use/SignatureVerificationService.html | 95 - .../moa/spss/server/service/package-frame.html | 36 - .../moa/spss/server/service/package-summary.html | 129 -- .../moa/spss/server/service/package-tree.html | 114 - .../moa/spss/server/service/package-use.html | 95 - .../moa/spss/server/tools/CertTool.html | 272 --- .../moa/spss/server/tools/class-use/CertTool.html | 95 - .../moa/spss/server/tools/package-frame.html | 26 - .../moa/spss/server/tools/package-summary.html | 109 - .../moa/spss/server/tools/package-tree.html | 104 - .../moa/spss/server/tools/package-use.html | 95 - .../server/transaction/TransactionContext.html | 304 --- .../transaction/TransactionContextManager.html | 266 --- .../server/transaction/TransactionIDGenerator.html | 230 -- .../transaction/class-use/TransactionContext.html | 147 -- .../class-use/TransactionContextManager.html | 131 -- .../class-use/TransactionIDGenerator.html | 95 - .../moa/spss/server/transaction/package-frame.html | 30 - .../spss/server/transaction/package-summary.html | 118 - .../moa/spss/server/transaction/package-tree.html | 104 - .../moa/spss/server/transaction/package-use.html | 129 -- .../moa/spss/server/util/IdGenerator.html | 248 -- .../spss/server/util/class-use/IdGenerator.html | 129 -- .../moa/spss/server/util/package-frame.html | 26 - .../moa/spss/server/util/package-summary.html | 106 - .../moa/spss/server/util/package-tree.html | 104 - .../moa/spss/server/util/package-use.html | 121 - .../egovernment/moa/spss/util/MessageProvider.html | 250 -- .../moa/spss/util/class-use/MessageProvider.html | 133 -- .../egovernment/moa/spss/util/package-frame.html | 26 - .../egovernment/moa/spss/util/package-summary.html | 106 - .../gv/egovernment/moa/spss/util/package-tree.html | 104 - .../gv/egovernment/moa/spss/util/package-use.html | 121 - .../at/gv/egovernment/moa/util/Base64Utils.html | 289 --- .../at/gv/egovernment/moa/util/BoolUtils.html | 221 -- .../gv/egovernment/moa/util/CollectionUtils.html | 222 -- .../at/gv/egovernment/moa/util/Constants.html | 1007 --------- .../at/gv/egovernment/moa/util/DOMUtils.html | 650 ------ .../at/gv/egovernment/moa/util/DateTimeUtils.html | 241 -- .../egovernment/moa/util/EntityResolverChain.html | 250 -- .../at/gv/egovernment/moa/util/FileUtils.html | 324 --- .../at/gv/egovernment/moa/util/KeyStoreUtils.html | 302 --- .../gv/egovernment/moa/util/MOADefaultHandler.html | 328 --- .../gv/egovernment/moa/util/MOAEntityResolver.html | 242 -- .../gv/egovernment/moa/util/MOAErrorHandler.html | 282 --- .../at/gv/egovernment/moa/util/MOATimer.html | 326 --- .../gv/egovernment/moa/util/MessageProvider.html | 252 --- .../at/gv/egovernment/moa/util/Messages.html | 229 -- .../egovernment/moa/util/NodeIteratorAdapter.html | 362 --- .../gv/egovernment/moa/util/NodeListAdapter.html | 249 -- .../egovernment/moa/util/ResourceBundleChain.html | 240 -- .../at/gv/egovernment/moa/util/SSLUtils.html | 408 ---- .../egovernment/moa/util/StreamEntityResolver.html | 237 -- .../at/gv/egovernment/moa/util/StreamUtils.html | 265 --- .../at/gv/egovernment/moa/util/URLDecoder.html | 221 -- .../at/gv/egovernment/moa/util/URLEncoder.html | 221 -- .../at/gv/egovernment/moa/util/XPathException.html | 284 --- .../at/gv/egovernment/moa/util/XPathUtils.html | 543 ----- .../moa/util/class-use/Base64Utils.html | 95 - .../egovernment/moa/util/class-use/BoolUtils.html | 95 - .../moa/util/class-use/CollectionUtils.html | 95 - .../egovernment/moa/util/class-use/Constants.html | 95 - .../egovernment/moa/util/class-use/DOMUtils.html | 95 - .../moa/util/class-use/DateTimeUtils.html | 95 - .../moa/util/class-use/EntityResolverChain.html | 95 - .../egovernment/moa/util/class-use/FileUtils.html | 95 - .../moa/util/class-use/KeyStoreUtils.html | 95 - .../moa/util/class-use/MOADefaultHandler.html | 95 - .../moa/util/class-use/MOAEntityResolver.html | 95 - .../moa/util/class-use/MOAErrorHandler.html | 95 - .../egovernment/moa/util/class-use/MOATimer.html | 131 -- .../moa/util/class-use/MessageProvider.html | 133 -- .../egovernment/moa/util/class-use/Messages.html | 95 - .../moa/util/class-use/NodeIteratorAdapter.html | 95 - .../moa/util/class-use/NodeListAdapter.html | 95 - .../moa/util/class-use/ResourceBundleChain.html | 95 - .../egovernment/moa/util/class-use/SSLUtils.html | 95 - .../moa/util/class-use/StreamEntityResolver.html | 95 - .../moa/util/class-use/StreamUtils.html | 95 - .../egovernment/moa/util/class-use/URLDecoder.html | 95 - .../egovernment/moa/util/class-use/URLEncoder.html | 95 - .../moa/util/class-use/XPathException.html | 222 -- .../egovernment/moa/util/class-use/XPathUtils.html | 95 - .../at/gv/egovernment/moa/util/package-frame.html | 92 - .../gv/egovernment/moa/util/package-summary.html | 242 -- .../at/gv/egovernment/moa/util/package-tree.html | 127 -- .../at/gv/egovernment/moa/util/package-use.html | 135 -- .../doc/api-doc-internal/deprecated-list.html | 93 - spss.server/doc/api-doc-internal/help-doc.html | 152 -- spss.server/doc/api-doc-internal/index-all.html | 2380 -------------------- spss.server/doc/api-doc-internal/index.html | 25 - .../doc/api-doc-internal/overview-frame.html | 76 - .../doc/api-doc-internal/overview-summary.html | 249 -- .../doc/api-doc-internal/overview-tree.html | 200 -- spss.server/doc/api-doc-internal/package-list | 21 - spss.server/doc/api-doc-internal/packages.html | 26 - .../doc/api-doc-internal/serialized-form.html | 246 -- spss.server/doc/api-doc-internal/stylesheet.css | 29 - spss.server/doc/history.txt | 10 - spss.server/doc/moa-spss.htm | 7 - spss.server/doc/moa_images/east.gif | Bin 966 -> 0 bytes spss.server/doc/moa_images/idle.gif | Bin 869 -> 0 bytes spss.server/doc/moa_images/moa_diagramm1.jpg | Bin 60602 -> 0 bytes spss.server/doc/moa_images/moa_thema.gif | Bin 25120 -> 0 bytes spss.server/doc/moa_images/north.gif | Bin 967 -> 0 bytes spss.server/doc/moa_images/pfeil.gif | Bin 843 -> 0 bytes spss.server/doc/moa_images/print.gif | Bin 211 -> 0 bytes spss.server/doc/moa_images/select.gif | Bin 880 -> 0 bytes spss.server/doc/moa_images/south.gif | Bin 965 -> 0 bytes spss.server/doc/moa_images/transdot.gif | Bin 43 -> 0 bytes spss.server/doc/moa_images/west.gif | Bin 966 -> 0 bytes spss.server/doc/moa_spss/APIClientExample.txt | 100 - spss.server/doc/moa_spss/HTTPClientExample.txt | 121 - .../doc/moa_spss/HTTPSClientExampleClientAuth.txt | 139 -- .../doc/moa_spss/HTTPSClientExampleServerAuth.txt | 143 -- spss.server/doc/moa_spss/MOA-SPSS-1.1.pdf | Bin 314346 -> 0 bytes spss.server/doc/moa_spss/MOA-SPSS-1.1.xsd | 430 ---- .../doc/moa_spss/MOA-SPSS-Configuration-1.0.xsd | 208 -- .../examples/conf/MOA-SPSSConfiguration.xml | 67 - .../doc/moa_spss/examples/conf/MinimalSPConfig.xml | 4 - .../doc/moa_spss/examples/conf/MinimalSSConfig.xml | 17 - .../doc/moa_spss/examples/conf/keys/ecc(ego).p12 | Bin 1234 -> 0 bytes .../conf/keys/test-ee2003_normal(buergerkarte).p12 | Bin 3077 -> 0 bytes .../conf/trustProfiles/trustProfile1/IAIKRoot.cer | Bin 883 -> 0 bytes .../CreateXMLSignatureRequest1.xml | 18 - .../CreateXMLSignatureRequest2.xml | 90 - .../CreateXMLSignatureResponse1.xml | 24 - .../CreateXMLSignatureResponse2.xml | 2 - .../requestsResponses/TestDatenGenerator.zip | Bin 1219 -> 0 bytes .../VerifyCMSSignatureRequest.xml | 28 - .../VerifyCMSSignatureResponse.xml | 22 - .../VerifyXMLSignatureRequest1.xml | 8 - .../VerifyXMLSignatureRequest2.xml | 60 - .../VerifyXMLSignatureResponse1.xml | 22 - .../VerifyXMLSignatureResponse2.xml | 62 - .../examples/testclient/APIClientExample.java | 100 - .../examples/testclient/HTTPClientExample.java | 120 - .../testclient/HTTPSClientExampleClientAuth.java | 139 -- .../testclient/HTTPSClientExampleServerAuth.java | 143 -- .../moa_spss/examples/testclient/client.keystore | Bin 1974 -> 0 bytes .../examples/testclient/example_request.xml | 19 - spss.server/doc/moa_spss/faqs.htm | 261 --- spss.server/doc/moa_spss/links.htm | 122 - spss.server/doc/moa_spss/moa.htm | 177 -- spss.server/doc/moa_spss/sp-admin.htm | 300 --- spss.server/doc/moa_spss/sp-admin_1.htm | 417 ---- spss.server/doc/moa_spss/sp-admin_2.htm | 569 ----- spss.server/doc/moa_spss/sp-admin_3.htm | 237 -- spss.server/doc/moa_spss/sp-admin_4.htm | 183 -- spss.server/doc/moa_spss/sp-anwendung.htm | 1079 --------- spss.server/lib/axis-1.0/axis.jar | Bin 1101593 -> 0 bytes spss.server/lib/axis-1.0/jaxrpc.jar | Bin 35635 -> 0 bytes spss.server/lib/axis-1.0/saaj.jar | Bin 18463 -> 0 bytes spss.server/lib/axis-1.0/wsdl4j.jar | Bin 109356 -> 0 bytes .../commons-discovery-0.2/commons-discovery.jar | Bin 71442 -> 0 bytes .../commons-logging-1.0.2/commons-logging-api.jar | Bin 18404 -> 0 bytes .../lib/commons-logging-1.0.2/commons-logging.jar | Bin 26388 -> 0 bytes spss.server/lib/iDoclet-1.0/iDoclet.jar | Bin 103752 -> 0 bytes .../lib/iaik-moa-20030703/iaik-moa-full.jar | Bin 579533 -> 0 bytes .../lib/iaik-moa-20030703/iaikPkcs11Provider.jar | Bin 281608 -> 0 bytes .../lib/iaik-moa-20030703/iaikPkcs11Wrapper.jar | Bin 250749 -> 0 bytes spss.server/lib/iaik-moa-20030703/iaik_cms.jar | Bin 195000 -> 0 bytes spss.server/lib/iaik-moa-20030703/iaik_ecc.jar | Bin 101004 -> 0 bytes .../lib/iaik-moa-20030703/iaik_jce_full.jar | Bin 637549 -> 0 bytes spss.server/lib/iaik-moa-20030703/ixsil.jar | Bin 216616 -> 0 bytes .../signed/iaikPkcs11Provider_signed.jar | Bin 292951 -> 0 bytes .../lib/iaik-moa-20030703/signed/iaik_ecc.jar | Bin 85245 -> 0 bytes .../lib/iaik-moa-20030703/signed/iaik_jce_full.jar | Bin 636153 -> 0 bytes .../lib/iaik-moa-20030703/win32/pkcs11wrapper.dll | Bin 73728 -> 0 bytes spss.server/lib/jaxen-1.0/jaxen-core.jar | Bin 160967 -> 0 bytes spss.server/lib/jaxen-1.0/jaxen-dom.jar | Bin 13707 -> 0 bytes spss.server/lib/jaxen-1.0/saxpath.jar | Bin 23563 -> 0 bytes spss.server/lib/jaxp-1.2_01/dom.jar | Bin 26710 -> 0 bytes spss.server/lib/jaxp-1.2_01/jaxp-api.jar | Bin 27052 -> 0 bytes spss.server/lib/jaxp-1.2_01/sax.jar | Bin 26206 -> 0 bytes spss.server/lib/jsse-1.0.3_01/jcert.jar | Bin 11321 -> 0 bytes spss.server/lib/jsse-1.0.3_01/jnet.jar | Bin 5830 -> 0 bytes spss.server/lib/jsse-1.0.3_01/jsse.jar | Bin 512635 -> 0 bytes spss.server/lib/junit-3.8.1/junit.jar | Bin 121070 -> 0 bytes spss.server/lib/log4j-1.2.7/log4j-1.2.7.jar | Bin 350677 -> 0 bytes spss.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar | Bin 163980 -> 0 bytes .../lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip | Bin 31362 -> 0 bytes spss.server/lib/xalan-j-2.2/bsf.jar | Bin 105573 -> 0 bytes spss.server/lib/xalan-j-2.2/xalan.jar | Bin 923866 -> 0 bytes spss.server/lib/xerces-j-2.0.2/xercesImpl.jar | Bin 933730 -> 0 bytes spss.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar | Bin 78440 -> 0 bytes .../properties/spss_messages_de.properties | 140 -- spss.server/res/resources/security/cacerts | Bin 7365 -> 0 bytes spss.server/res/resources/wsdl/MOA-SPSS-1.1.wsdl | 105 - spss.server/res/resources/wsdl/MOA-SPSS-1.1.xsd | 431 ---- spss.server/server-config.wsdd | 49 - .../moa/spss/MOAApplicationException.java | 41 - .../at/gv/egovernment/moa/spss/MOAException.java | 164 -- .../egovernment/moa/spss/MOASystemException.java | 40 - .../gv/egovernment/moa/spss/api/Configurator.java | 60 - .../gv/egovernment/moa/spss/api/SPSSFactory.java | 993 -------- .../moa/spss/api/SignatureCreationService.java | 57 - .../moa/spss/api/SignatureVerificationService.java | 69 - .../moa/spss/api/cmsverify/CMSContent.java | 28 - .../spss/api/cmsverify/CMSContentExcplicit.java | 19 - .../spss/api/cmsverify/CMSContentReference.java | 17 - .../moa/spss/api/cmsverify/CMSDataObject.java | 25 - .../api/cmsverify/VerifyCMSSignatureRequest.java | 52 - .../api/cmsverify/VerifyCMSSignatureResponse.java | 21 - .../VerifyCMSSignatureResponseElement.java | 32 - .../moa/spss/api/common/Base64Transform.java | 13 - .../spss/api/common/CanonicalizationTransform.java | 17 - .../moa/spss/api/common/CheckResult.java | 25 - .../egovernment/moa/spss/api/common/Content.java | 37 - .../moa/spss/api/common/ContentBinary.java | 21 - .../moa/spss/api/common/ContentReference.java | 11 - .../moa/spss/api/common/ContentXML.java | 19 - .../moa/spss/api/common/ElementSelector.java | 28 - .../api/common/EnvelopedSignatureTransform.java | 15 - .../common/ExclusiveCanonicalizationTransform.java | 27 - .../egovernment/moa/spss/api/common/MetaInfo.java | 31 - .../moa/spss/api/common/SignerInfo.java | 43 - .../egovernment/moa/spss/api/common/Transform.java | 16 - .../moa/spss/api/common/X509IssuerSerial.java | 25 - .../spss/api/common/XMLDataObjectAssociation.java | 25 - .../moa/spss/api/common/XPathFilter.java | 38 - .../moa/spss/api/common/XPathFilter2Transform.java | 25 - .../moa/spss/api/common/XPathTransform.java | 30 - .../moa/spss/api/common/XSLTTransform.java | 23 - .../moa/spss/api/impl/Base64TransformImpl.java | 22 - .../moa/spss/api/impl/CMSContentExplicitImpl.java | 40 - .../moa/spss/api/impl/CMSContentReferenceImpl.java | 38 - .../moa/spss/api/impl/CMSDataObjectImpl.java | 46 - .../api/impl/CanonicalizationTransformImpl.java | 25 - .../moa/spss/api/impl/CheckResultImpl.java | 52 - .../moa/spss/api/impl/ContentBinaryImpl.java | 40 - .../egovernment/moa/spss/api/impl/ContentImpl.java | 28 - .../moa/spss/api/impl/ContentReferenceImpl.java | 24 - .../moa/spss/api/impl/ContentXMLImpl.java | 40 - ...ateSignatureEnvironmentProfileExplicitImpl.java | 66 - .../CreateSignatureEnvironmentProfileIDImpl.java | 39 - .../moa/spss/api/impl/CreateSignatureInfoImpl.java | 50 - .../spss/api/impl/CreateSignatureLocationImpl.java | 31 - .../spss/api/impl/CreateTransformsInfoImpl.java | 51 - .../CreateTransformsInfoProfileExplicitImpl.java | 62 - .../impl/CreateTransformsInfoProfileIDImpl.java | 38 - .../api/impl/CreateXMLSignatureRequestImpl.java | 53 - .../api/impl/CreateXMLSignatureResponseImpl.java | 37 - .../moa/spss/api/impl/DataObjectInfoImpl.java | 79 - .../moa/spss/api/impl/ElementSelectorImpl.java | 47 - .../api/impl/EnvelopedSignatureTransformImpl.java | 22 - .../moa/spss/api/impl/ErrorResponseImpl.java | 52 - .../ExclusiveCanonicalizationTransformImpl.java | 48 - .../spss/api/impl/ManifestRefsCheckResultImpl.java | 44 - .../api/impl/ManifestRefsCheckResultInfoImpl.java | 32 - .../moa/spss/api/impl/MetaInfoImpl.java | 59 - .../moa/spss/api/impl/ReferenceInfoImpl.java | 38 - .../spss/api/impl/ReferencesCheckResultImpl.java | 46 - .../api/impl/ReferencesCheckResultInfoImpl.java | 46 - .../moa/spss/api/impl/SPSSFactoryImpl.java | 559 ----- .../api/impl/SignatureEnvironmentResponseImpl.java | 41 - .../api/impl/SignatureManifestCheckParamsImpl.java | 52 - .../moa/spss/api/impl/SignerInfoImpl.java | 81 - .../moa/spss/api/impl/SingleSignatureInfoImpl.java | 49 - .../api/impl/SupplementProfileExplicitImpl.java | 39 - .../moa/spss/api/impl/SupplementProfileIDImpl.java | 37 - .../moa/spss/api/impl/TransformImpl.java | 26 - .../api/impl/TransformParameterBinaryImpl.java | 42 - .../moa/spss/api/impl/TransformParameterImpl.java | 25 - .../spss/api/impl/TransformParameterURIImpl.java | 24 - .../spss/api/impl/TransformPatameterHashImpl.java | 54 - .../api/impl/VerifyCMSSignatureRequestImpl.java | 93 - .../VerifyCMSSignatureResponseElementImpl.java | 62 - .../api/impl/VerifyCMSSinatureResponseImpl.java | 37 - .../moa/spss/api/impl/VerifySignatureInfoImpl.java | 47 - .../spss/api/impl/VerifySignatureLocationImpl.java | 15 - .../spss/api/impl/VerifyTransformsDataImpl.java | 36 - .../VerifyTransformsInfoProfileExplicitImpl.java | 61 - .../impl/VerifyTransformsInfoProfileIDImpl.java | 38 - .../api/impl/VerifyXMLSignatureRequestImpl.java | 113 - .../api/impl/VerifyXMLSignatureResponseImpl.java | 134 -- .../moa/spss/api/impl/X509IssuerSerialImpl.java | 45 - .../api/impl/XMLDataObjectAssociationImpl.java | 45 - .../spss/api/impl/XPathFilter2TransformImpl.java | 43 - .../moa/spss/api/impl/XPathFilterImpl.java | 64 - .../moa/spss/api/impl/XPathTransformImpl.java | 59 - .../moa/spss/api/impl/XSLTransformImpl.java | 37 - .../xmlbind/CreateXMLSignatureRequestParser.java | 288 --- .../xmlbind/CreateXMLSignatureResponseBuilder.java | 119 - .../moa/spss/api/xmlbind/ProfileParser.java | 285 --- .../moa/spss/api/xmlbind/RequestParserUtils.java | 147 -- .../moa/spss/api/xmlbind/ResponseBuilderUtils.java | 213 -- .../moa/spss/api/xmlbind/TransformParser.java | 251 --- .../xmlbind/VerifyCMSSignatureRequestParser.java | 169 -- .../xmlbind/VerifyCMSSignatureResponseBuilder.java | 101 - .../xmlbind/VerifyXMLSignatureRequestParser.java | 275 --- .../xmlbind/VerifyXMLSignatureResponseBuilder.java | 300 --- .../xmlsign/CreateSignatureEnvironmentProfile.java | 30 - .../CreateSignatureEnvironmentProfileExplicit.java | 30 - .../CreateSignatureEnvironmentProfileID.java | 20 - .../moa/spss/api/xmlsign/CreateSignatureInfo.java | 25 - .../spss/api/xmlsign/CreateSignatureLocation.java | 23 - .../moa/spss/api/xmlsign/CreateTransformsInfo.java | 27 - .../api/xmlsign/CreateTransformsInfoProfile.java | 28 - .../CreateTransformsInfoProfileExplicit.java | 26 - .../api/xmlsign/CreateTransformsInfoProfileID.java | 18 - .../api/xmlsign/CreateXMLSignatureRequest.java | 26 - .../api/xmlsign/CreateXMLSignatureResponse.java | 20 - .../xmlsign/CreateXMLSignatureResponseElement.java | 29 - .../moa/spss/api/xmlsign/DataObjectInfo.java | 48 - .../moa/spss/api/xmlsign/ErrorResponse.java | 24 - .../api/xmlsign/SignatureEnvironmentResponse.java | 20 - .../moa/spss/api/xmlsign/SingleSignatureInfo.java | 32 - .../api/xmlverify/ManifestRefsCheckResult.java | 24 - .../api/xmlverify/ManifestRefsCheckResultInfo.java | 19 - .../moa/spss/api/xmlverify/ReferenceInfo.java | 19 - .../spss/api/xmlverify/ReferencesCheckResult.java | 23 - .../api/xmlverify/ReferencesCheckResultInfo.java | 25 - .../xmlverify/SignatureManifestCheckParams.java | 26 - .../moa/spss/api/xmlverify/SupplementProfile.java | 28 - .../api/xmlverify/SupplementProfileExplicit.java | 19 - .../spss/api/xmlverify/SupplementProfileID.java | 18 - .../moa/spss/api/xmlverify/TransformParameter.java | 40 - .../api/xmlverify/TransformParameterBinary.java | 21 - .../spss/api/xmlverify/TransformParameterHash.java | 26 - .../spss/api/xmlverify/TransformParameterURI.java | 12 - .../spss/api/xmlverify/VerifySignatureInfo.java | 27 - .../api/xmlverify/VerifySignatureLocation.java | 13 - .../api/xmlverify/VerifyTransformsInfoProfile.java | 28 - .../VerifyTransformsInfoProfileExplicit.java | 25 - .../xmlverify/VerifyTransformsInfoProfileID.java | 18 - .../api/xmlverify/VerifyXMLSignatureRequest.java | 55 - .../api/xmlverify/VerifyXMLSignatureResponse.java | 60 - .../src/at/gv/egovernment/moa/spss/overview.htm | 155 -- .../spss/server/config/ConfigurationException.java | 34 - .../server/config/ConfigurationPartsBuilder.java | 956 -------- .../spss/server/config/ConfigurationProvider.java | 673 ------ .../moa/spss/server/config/DistributionPoint.java | 134 -- .../spss/server/config/HardwareCryptoModule.java | 60 - .../moa/spss/server/config/HardwareKeyModule.java | 59 - .../moa/spss/server/config/IssuerAndSerial.java | 115 - .../moa/spss/server/config/KeyGroup.java | 69 - .../moa/spss/server/config/KeyGroupEntry.java | 106 - .../moa/spss/server/config/KeyModule.java | 41 - .../moa/spss/server/config/SoftwareKeyModule.java | 48 - .../moa/spss/server/config/TrustProfile.java | 43 - .../CMSSignatureVerificationProfileImpl.java | 37 - .../config/AbstractKeyModuleConfigurationImpl.java | 36 - .../config/AbstractObservableConfiguration.java | 48 - .../iaik/config/ArchiveConfigurationImpl.java | 103 - .../iaik/config/CRLDistributionPointAdapter.java | 54 - .../moa/spss/server/iaik/config/CRLRetriever.java | 67 - .../iaik/config/CertStoreConfigurationImpl.java | 54 - .../server/iaik/config/ConfigurationDataImpl.java | 121 - .../iaik/config/DataBaseArchiveParameterImpl.java | 33 - .../config/DirectoryCertStoreParametersImpl.java | 81 - .../HardwareCryptoModuleConfigurationImpl.java | 51 - .../config/HardwareKeyModuleConfigurationImpl.java | 55 - .../spss/server/iaik/config/IaikConfigurator.java | 172 -- .../spss/server/iaik/config/LoggerConfigImpl.java | 34 - .../server/iaik/config/PKIConfigurationImpl.java | 85 - .../iaik/config/RevocationConfigurationImpl.java | 73 - .../config/SoftwareKeyModuleConfigurationImpl.java | 75 - .../iaik/config/ValidationConfigurationImpl.java | 56 - .../moa/spss/server/iaik/pki/PKIProfileImpl.java | 127 -- .../pki/pathvalidation/ValidationProfileImpl.java | 113 - .../iaik/pki/revocation/RevocationProfileImpl.java | 65 - .../store/truststore/TrustStoreProfileImpl.java | 119 - .../server/iaik/xml/Base64TransformationImpl.java | 43 - .../server/iaik/xml/ByteArrayDataObjectImpl.java | 54 - .../server/iaik/xml/ByteStreamDataObjectImpl.java | 49 - .../spss/server/iaik/xml/CanonicalizationImpl.java | 43 - .../moa/spss/server/iaik/xml/DataObjectImpl.java | 87 - .../xml/EnvelopedSignatureTransformationImpl.java | 42 - .../iaik/xml/ExclusiveCanonicalizationImpl.java | 71 - .../moa/spss/server/iaik/xml/SigningTimeImpl.java | 34 - .../spss/server/iaik/xml/TransformationImpl.java | 43 - .../spss/server/iaik/xml/XMLDataObjectImpl.java | 46 - .../server/iaik/xml/XMLNodeListDataObjectImpl.java | 47 - .../moa/spss/server/iaik/xml/XMLSignatureImpl.java | 43 - .../moa/spss/server/iaik/xml/XPath2FilterImpl.java | 116 - .../server/iaik/xml/XPath2TransformationImpl.java | 82 - .../server/iaik/xml/XPathTransformationImpl.java | 98 - .../server/iaik/xml/XSLTTransformationImpl.java | 168 -- .../iaik/xmlsign/DataObjectTreatmentImpl.java | 150 -- .../xmlsign/XMLSignatureCreationProfileImpl.java | 276 --- .../xmlsign/XMLSignatureInsertionLocationImpl.java | 45 - .../XMLSignatureVerificationProfileImpl.java | 131 -- .../moa/spss/server/init/ConfiguratorImpl.java | 42 - .../moa/spss/server/init/SystemInitializer.java | 122 - .../invoke/CMSSignatureVerificationInvoker.java | 207 -- .../CMSSignatureVerificationProfileFactory.java | 61 - .../invoke/CreateXMLSignatureResponseBuilder.java | 71 - .../moa/spss/server/invoke/DataObjectFactory.java | 717 ------ .../spss/server/invoke/ExternalURIResolver.java | 127 -- .../spss/server/invoke/IaikExceptionMapper.java | 267 --- .../moa/spss/server/invoke/InvokerUtils.java | 63 - .../moa/spss/server/invoke/ProfileMapper.java | 249 -- .../spss/server/invoke/ServiceContextUtils.java | 51 - .../invoke/SignatureCreationServiceImpl.java | 45 - .../invoke/SignatureVerificationServiceImpl.java | 72 - .../spss/server/invoke/TransformationFactory.java | 258 --- .../invoke/VerifyCMSSignatureResponseBuilder.java | 86 - .../invoke/VerifyXMLSignatureResponseBuilder.java | 331 --- .../server/invoke/XMLSignatureCreationInvoker.java | 522 ----- .../invoke/XMLSignatureCreationProfileFactory.java | 448 ---- .../invoke/XMLSignatureVerificationInvoker.java | 580 ----- .../XMLSignatureVerificationProfileFactory.java | 147 -- .../moa/spss/server/logging/IaikLog.java | 126 -- .../moa/spss/server/logging/IaikLogFactory.java | 42 - .../moa/spss/server/logging/IaikLogMsg.java | 54 - .../moa/spss/server/logging/TransactionId.java | 38 - .../moa/spss/server/service/AxisHandler.java | 253 --- .../spss/server/service/ConfigurationServlet.java | 120 - .../server/service/RevocationArchiveCleaner.java | 83 - .../moa/spss/server/service/ServiceUtils.java | 72 - .../server/service/SignatureCreationService.java | 93 - .../service/SignatureVerificationService.java | 130 -- .../moa/spss/server/tools/CertTool.java | 242 -- .../server/transaction/TransactionContext.java | 90 - .../transaction/TransactionContextManager.java | 62 - .../server/transaction/TransactionIDGenerator.java | 51 - .../moa/spss/server/util/IdGenerator.java | 61 - .../egovernment/moa/spss/util/MessageProvider.java | 65 - .../test/at/gv/egovernment/moa/spss/AllTests.java | 41 - .../at/gv/egovernment/moa/spss/SPSSTestCase.java | 82 - .../egovernment/moa/spss/api/xmlbind/AllTests.java | 24 - .../CreateXMLSignatureRequestParserTest.java | 71 - .../moa/spss/api/xmlbind/TransformParserTest.java | 113 - .../VerifyCMSSignatureRequestParserTest.java | 61 - .../VerifyXMLSignatureRequestParserTest.java | 81 - .../server/config/ConfigurationProviderTest.java | 184 -- .../iaik/config/ConfigurationDataImplTest.java | 149 -- .../server/iaik/config/IaikConfiguratorTest.java | 36 - .../moa/spss/server/invoke/AllTests.java | 25 - .../CMSSignatureVerificationInvokerTest.java | 63 - .../spss/server/invoke/DataObjectFactoryTest.java | 178 -- .../server/invoke/TransformationFactoryTest.java | 201 -- .../invoke/XMLSignatureCreationInvokerTest.java | 63 - .../XMLSignatureVerificationInvokerTest.java | 61 - .../moa/spss/server/tools/CertToolTest.java | 50 - spss.server/web.xml | 48 - 1339 files changed, 137427 deletions(-) delete mode 100644 build/.checkstyle delete mode 100644 build/.project delete mode 100644 build/README.txt delete mode 100644 build/scripts/build.bat delete mode 100644 build/scripts/build.sh delete mode 100644 build/scripts/runAnt.bat delete mode 100644 build/scripts/runAnt.sh delete mode 100644 build/tools/jakarta-ant-1.5.1/KEYS delete mode 100644 build/tools/jakarta-ant-1.5.1/LICENSE delete mode 100644 build/tools/jakarta-ant-1.5.1/LICENSE.dom delete mode 100644 build/tools/jakarta-ant-1.5.1/LICENSE.sax delete mode 100644 build/tools/jakarta-ant-1.5.1/LICENSE.xerces delete mode 100644 build/tools/jakarta-ant-1.5.1/README delete mode 100644 build/tools/jakarta-ant-1.5.1/WHATSNEW delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/ant delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/ant.bat delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/antRun delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/antRun.bat delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/antRun.pl delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/complete-ant-cmd.pl delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/lcp.bat delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/runant.pl delete mode 100644 build/tools/jakarta-ant-1.5.1/bin/runant.py delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/changelog.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/checkstyle-frames.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/coverage-frames.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/jdepend-frames.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/jdepend.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/junit-frames.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/junit-noframes.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/log.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/maudit-frames.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/mmetrics-frames.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/etc/tagdiff.xsl delete mode 100644 build/tools/jakarta-ant-1.5.1/lib/README delete mode 100644 build/tools/jakarta-ant-1.5.1/lib/ant.jar delete mode 100644 build/tools/jakarta-ant-1.5.1/lib/iContract-jdk1_2.jar delete mode 100644 build/tools/jakarta-ant-1.5.1/lib/optional.jar delete mode 100644 build/tools/jakarta-ant-1.5.1/lib/xercesImpl.jar delete mode 100644 build/tools/jakarta-ant-1.5.1/lib/xml-apis.jar delete mode 100644 build/tools/jakarta-ant-1.5.1/welcome.html delete mode 100644 id.oa/.classpath delete mode 100644 id.oa/.project delete mode 100644 id.oa/build.xml delete mode 100644 id.oa/html/AuthTemplate.jsp delete mode 100644 id.oa/html/BKUSelectionTemplate.jsp delete mode 100644 id.oa/html/auth.jsp delete mode 100644 id.oa/html/chooseBKU.jsp delete mode 100644 id.oa/html/form.jsp delete mode 100644 id.oa/html/getBKUSelectTag.jsp delete mode 100644 id.oa/html/index.jsp delete mode 100644 id.oa/html/stateful_login.jsp delete mode 100644 id.oa/web.xml delete mode 100644 id.server/.classpath delete mode 100644 id.server/.cvsignore delete mode 100644 id.server/.project delete mode 100644 id.server/.tomcatplugin delete mode 100644 id.server/MOA-ID_release_notes.txt delete mode 100644 id.server/build.xml delete mode 100644 id.server/data/abnahme-test/conf/CopyConfigAbnahme.bat delete mode 100644 id.server/data/abnahme-test/conf/OAConfBasicAuth.xml delete mode 100644 id.server/data/abnahme-test/conf/OAConfHeaderAuth.xml delete mode 100644 id.server/data/abnahme-test/conf/OAConfParamAuth.xml delete mode 100644 id.server/data/abnahme-test/conf/deploy_AUTH.bat delete mode 100644 id.server/data/abnahme-test/conf/log4j.properties delete mode 100644 id.server/data/abnahme-test/conf/moa-id/ConfigurationTest.xml delete mode 100644 id.server/data/abnahme-test/conf/moa/ConfigurationTest.xml delete mode 100644 id.server/data/abnahme-test/conf/moa/TrustProfile1/Buergerkarte01Root.cer delete mode 100644 id.server/data/abnahme-test/conf/moa/TrustProfile1/IAIK_TestRoot.cer delete mode 100644 id.server/data/abnahme-test/conf/moa/TrustProfile1/Max_Mustermann.cer delete mode 100644 id.server/data/abnahme-test/conf/moa/TrustProfile1/TestPersonMOA1.cer delete mode 100644 id.server/data/abnahme-test/conf/moa/TrustProfile1/TestPersonMOA4.cer delete mode 100644 id.server/data/abnahme-test/conf/moa/TrustProfile1/test-ee2003_normal_inkl_verwaltungs_oid.der delete mode 100644 id.server/data/abnahme-test/conf/moa/TrustProfile2/Max_Mustermann.cer delete mode 100644 id.server/data/abnahme-test/conf/moa/common/endorsed/xercesImpl.jar delete mode 100644 id.server/data/abnahme-test/conf/moa/common/endorsed/xmlParserAPIs.jar delete mode 100644 id.server/data/abnahme-test/conf/moa/keys/DSA.512.p12 delete mode 100644 id.server/data/abnahme-test/conf/moa/keys/ecc(ego).p12 delete mode 100644 id.server/data/abnahme-test/conf/moa/keys/normal-eeExpired.p12 delete mode 100644 id.server/data/abnahme-test/conf/moa/keys/sicher-demo(buergerkarte).p12 delete mode 100644 id.server/data/abnahme-test/conf/moa/keys/test-ee2003_normal(buergerkarte).p12 delete mode 100644 id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile1MOAID.xml delete mode 100644 id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile2MOAID.xml delete mode 100644 id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile3MOAID.xml delete mode 100644 id.server/data/abnahme-test/conf/moa/runAbnahme.bat delete mode 100644 id.server/data/abnahme-test/conf/moa/server.xml delete mode 100644 id.server/data/abnahme-test/conf/transforms/TransformsInfosHTML.xml delete mode 100644 id.server/data/abnahme-test/ixsil/init/properties/algorithms.properties delete mode 100644 id.server/data/abnahme-test/ixsil/init/properties/init.properties delete mode 100644 id.server/data/abnahme-test/ixsil/init/properties/keyManager.properties delete mode 100644 id.server/data/abnahme-test/ixsil/init/schemas/Signature.xsd delete mode 100644 id.server/data/abnahme-test/ixsil/init/schemas/XMLSchema.dtd delete mode 100644 id.server/data/abnahme-test/ixsil/init/schemas/datatypes.dtd delete mode 100644 id.server/data/abnahme-test/xmldata/A100/A101/htmlForm.html delete mode 100644 id.server/data/abnahme-test/xmldata/A100/A102/htmlForm.html delete mode 100644 id.server/data/abnahme-test/xmldata/A100/A103/htmlForm.html delete mode 100644 id.server/data/abnahme-test/xmldata/A100/AuthTemplate.html delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A201/CreateXMLSignatureRequest.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A254/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A255/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A256/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A257/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A258/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A259/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A260/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A261/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A262/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A262/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A200/A263/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A301/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A301/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A302/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A302/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A303/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A303/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A304/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A304/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A305/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A305/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A306/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A306/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A307/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A307/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A308/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A308/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A309/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A309/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A309/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A310/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A310/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A310/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A311/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A311/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A311/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A355/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A356/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A357/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A358/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A359/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A360/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A361/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A362/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A363/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A364/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A366/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A367/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A300/A367/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A400/A401/AuthenticationData.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A600/A601/GetAuthenticationDataWebServiceResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A700/A701/AuthTemplate.html delete mode 100644 id.server/data/abnahme-test/xmldata/A700/A701/BKUSelectionTemplate.html delete mode 100644 id.server/data/abnahme-test/xmldata/A700/A701/SelectBKUForm.html delete mode 100644 id.server/data/abnahme-test/xmldata/A700/A702/SelectBKUForm.html delete mode 100644 id.server/data/abnahme-test/xmldata/A700/A703/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A700/A703/SelectBKUForm.html delete mode 100644 id.server/data/abnahme-test/xmldata/A700/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/A700/getBKUSelectTag.jsp delete mode 100644 id.server/data/abnahme-test/xmldata/C000/C001/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/C000/C002/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/C000/C003/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/C000/C051/ConfigurationC051.xml delete mode 100644 id.server/data/abnahme-test/xmldata/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/InfoboxReadResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/L000/Configuration.xml delete mode 100644 id.server/data/abnahme-test/xmldata/L000/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/abnahme-test/xmldata/L000/InfoboxReadResponse.xml delete mode 100644 id.server/data/certs/TrustProfile1/A-Trust-Qual-01.cer delete mode 100644 id.server/data/certs/TrustProfile1/A-Trust-nQual-01.cer delete mode 100644 id.server/data/certs/TrustProfile1/Buergerkarte01Root.cer delete mode 100644 id.server/data/certs/TrustProfile1/C.CA.DS.cer delete mode 100644 id.server/data/certs/TrustProfile1/IAIKRoot.cer delete mode 100644 id.server/data/certs/TrustProfile1/IAIKRootMusterbehoerde.cer delete mode 100644 id.server/data/certs/TrustProfile1/TestPersonMOA4.cer delete mode 100644 id.server/data/certs/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer delete mode 100644 id.server/data/certs/TrustProfile1/a-sign-TEST-nQual-01.cer delete mode 100644 id.server/data/certs/TrustProfile1/ecdsaroot_der.cer delete mode 100644 id.server/data/certs/TrustProfile1/hsm.cer delete mode 100644 id.server/data/certs/TrustProfile1/moahsmcert.cer delete mode 100644 id.server/data/certs/ca-certs/GTE CyberTrust Root.cer delete mode 100644 id.server/data/certs/ca-certs/TrustMark-WebServer-01.cer delete mode 100644 id.server/data/certs/ca-certs/VeriSignRSA Secure Server CA.cer delete mode 100644 id.server/data/certs/ca-certs/a-sign-corporate-light-01.cer delete mode 100644 id.server/data/certs/ca-certs/intermediate.cer delete mode 100644 id.server/data/certs/ca-certs/root.cer delete mode 100644 id.server/data/certs/client-certs/key.pem delete mode 100644 id.server/data/certs/client-certs/key2.pem delete mode 100644 id.server/data/certs/client-certs/req.cer delete mode 100644 id.server/data/certs/client-certs/req.pem delete mode 100644 id.server/data/certs/client-certs/req2.pem delete mode 100644 id.server/data/certs/keystores/client.keystore delete mode 100644 id.server/data/certs/keystores/client.p12 delete mode 100644 id.server/data/certs/keystores/client2.p12 delete mode 100644 id.server/data/certs/keystores/server.keystore delete mode 100644 id.server/data/certs/keystores/testlinux.keystore delete mode 100644 id.server/data/certs/keystores/testlinux_plus_client.keystore delete mode 100644 id.server/data/certs/keystores/testlinux_rev.keystore delete mode 100644 id.server/data/certs/server-certs/a-trust.cer delete mode 100644 id.server/data/certs/server-certs/baltimore.cer delete mode 100644 id.server/data/certs/server-certs/cio.cer delete mode 100644 id.server/data/certs/server-certs/testlinux.crt delete mode 100644 id.server/data/certs/server-certs/testlinux_rev.crt delete mode 100644 id.server/data/certs/server-certs/testwin.cer delete mode 100644 id.server/data/certs/server-certs/testwin_rev.cer delete mode 100644 id.server/data/certs/server-certs/tomcat-server.crt delete mode 100644 id.server/data/certs/server-certs/verisign.cer delete mode 100644 id.server/data/deploy/conf/moa-id/SampleMOAIDConfiguration.xml delete mode 100644 id.server/data/deploy/conf/moa-id/log4j.properties delete mode 100644 id.server/data/deploy/conf/moa-id/oa/SampleOAConfiguration.xml delete mode 100644 id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml delete mode 100644 id.server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml delete mode 100644 id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F delete mode 100644 id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/9E0512DD61DA5949D1D8631C3F19D75F496C3733 delete mode 100644 id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/E6E6FC88719177C9B7421825757C5E47BCAC85F6 delete mode 100644 id.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/F825578F8F5484DFB40F81867C392D6CB0012B92 delete mode 100644 id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml delete mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-Qual-01-SN0291.cer delete mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0213.cer delete mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0218.cer delete mode 100644 id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN6f.cer delete mode 100644 id.server/data/deploy/tomcat/moa-id-env.bat delete mode 100644 id.server/data/deploy/tomcat/moa-id-env.sh delete mode 100644 id.server/data/deploy/tomcat/server.mod_jk.xml delete mode 100644 id.server/data/deploy/tomcat/server.xml delete mode 100644 id.server/data/deploy/tomcat/uriworkermap.properties delete mode 100644 id.server/data/deploy/tomcat/workers.properties delete mode 100644 id.server/data/test/conf/ConfigurationTest.xml delete mode 100644 id.server/data/test/conf/OAConfBasicAuth.xml delete mode 100644 id.server/data/test/conf/OAConfHeaderAuth.xml delete mode 100644 id.server/data/test/conf/OAConfParamAuth.xml delete mode 100644 id.server/data/test/conf/log4j.properties delete mode 100644 id.server/data/test/conf/transforms/TransformsInfosHTML.xml delete mode 100644 id.server/data/test/ixsil/init/properties/algorithms.properties delete mode 100644 id.server/data/test/ixsil/init/properties/init.properties delete mode 100644 id.server/data/test/ixsil/init/properties/keyManager.properties delete mode 100644 id.server/data/test/ixsil/init/schemas/Signature.xsd delete mode 100644 id.server/data/test/ixsil/init/schemas/XMLSchema.dtd delete mode 100644 id.server/data/test/ixsil/init/schemas/datatypes.dtd delete mode 100644 id.server/data/test/xmldata/ErrorResponse.xml delete mode 100644 id.server/data/test/xmldata/GetIdentityLinkForm.html delete mode 100644 id.server/data/test/xmldata/standard/AuthenticationDataAssertion.xml delete mode 100644 id.server/data/test/xmldata/standard/CreateXMLSignatureRequest.xml delete mode 100644 id.server/data/test/xmldata/standard/CreateXMLSignatureResponse.xml delete mode 100644 id.server/data/test/xmldata/standard/VerifyXMLSignaterResponse.xml delete mode 100644 id.server/data/test/xmldata/testperson1/InfoboxReadResponse.xml delete mode 100644 id.server/doc/Architektur ID.vsd delete mode 100644 id.server/doc/CIO X509ext-20030218.pdf delete mode 100644 id.server/doc/MOA ID 1.x.wsdl delete mode 100644 id.server/doc/MOA-ID Feinspezifikation.doc delete mode 100644 id.server/doc/MOA-ID Testfalldokumentation.doc delete mode 100644 id.server/doc/MOA-ID-1.1-20030630.pdf delete mode 100644 id.server/doc/MOA-ID-Configuration-1.1.xsd delete mode 100644 id.server/doc/api-doc/allclasses-frame.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/AuthenticationException.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/auth/AuthenticationServer.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/auth/class-use/AuthenticationServer.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/class-use/AuthenticationException.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/config/proxy/OAConfiguration.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/config/proxy/class-use/OAConfiguration.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/data/AuthenticationData.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/data/class-use/AuthenticationData.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/ConnectionBuilder.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/class-use/ConnectionBuilder.html delete mode 100644 id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/class-use/LoginParameterResolver.html delete mode 100644 id.server/doc/api-doc/deprecated-list.html delete mode 100644 id.server/doc/api-doc/help-doc.html delete mode 100644 id.server/doc/api-doc/index-all.html delete mode 100644 id.server/doc/api-doc/index.html delete mode 100644 id.server/doc/api-doc/overview-tree.html delete mode 100644 id.server/doc/api-doc/package-list delete mode 100644 id.server/doc/api-doc/packages.html delete mode 100644 id.server/doc/api-doc/serialized-form.html delete mode 100644 id.server/doc/api-doc/stylesheet.css delete mode 100644 id.server/doc/bku-auswahl.20030408.pdf delete mode 100644 id.server/doc/cs-sstc-schema-assertion-01.xsd delete mode 100644 id.server/doc/cs-sstc-schema-protocol-01.xsd delete mode 100644 id.server/doc/moa-id.htm delete mode 100644 id.server/doc/moa_id/examples/BKUSelectionTemplate.html delete mode 100644 id.server/doc/moa_id/examples/ChainingModes.txt delete mode 100644 id.server/doc/moa_id/examples/IdentityLinkSigners.txt delete mode 100644 id.server/doc/moa_id/examples/LoginServletExample.txt delete mode 100644 id.server/doc/moa_id/examples/Template.html delete mode 100644 id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt delete mode 100644 id.server/doc/moa_id/examples/conf/MOA-ID-Configuration.xml delete mode 100644 id.server/doc/moa_id/examples/conf/OAConfBasicAuth.xml delete mode 100644 id.server/doc/moa_id/examples/conf/OAConfHeaderAuth.xml delete mode 100644 id.server/doc/moa_id/examples/conf/OAConfParamAuth.xml delete mode 100644 id.server/doc/moa_id/examples/moa-id-env-linux.txt delete mode 100644 id.server/doc/moa_id/examples/moa-id-env-windows.txt delete mode 100644 id.server/doc/moa_id/faqs.htm delete mode 100644 id.server/doc/moa_id/id-admin.htm delete mode 100644 id.server/doc/moa_id/id-admin_1.htm delete mode 100644 id.server/doc/moa_id/id-admin_2.htm delete mode 100644 id.server/doc/moa_id/id-admin_3.htm delete mode 100644 id.server/doc/moa_id/id-anwendung.htm delete mode 100644 id.server/doc/moa_id/id-anwendung_1.htm delete mode 100644 id.server/doc/moa_id/id-anwendung_2.htm delete mode 100644 id.server/doc/moa_id/links.htm delete mode 100644 id.server/doc/moa_id/moa-id-ablauf.jpg delete mode 100644 id.server/doc/moa_id/moa.htm delete mode 100644 id.server/doc/moa_images/east.gif delete mode 100644 id.server/doc/moa_images/idle.gif delete mode 100644 id.server/doc/moa_images/moa_diagramm1.jpg delete mode 100644 id.server/doc/moa_images/moa_thema.gif delete mode 100644 id.server/doc/moa_images/north.gif delete mode 100644 id.server/doc/moa_images/pfeil.gif delete mode 100644 id.server/doc/moa_images/print.gif delete mode 100644 id.server/doc/moa_images/select.gif delete mode 100644 id.server/doc/moa_images/south.gif delete mode 100644 id.server/doc/moa_images/transdot.gif delete mode 100644 id.server/doc/moa_images/west.gif delete mode 100644 id.server/html/auth/WEB-INF/server-config.wsdd delete mode 100644 id.server/html/auth/WEB-INF/web.xml delete mode 100644 id.server/html/auth/errorpage.jsp delete mode 100644 id.server/html/auth/index.jsp delete mode 100644 id.server/html/proxy/WEB-INF/web.xml delete mode 100644 id.server/javadoc.xml delete mode 100644 id.server/lib/axis-1.1rc2/axis.jar delete mode 100644 id.server/lib/axis-1.1rc2/commons-discovery.jar delete mode 100644 id.server/lib/axis-1.1rc2/jaxrpc.jar delete mode 100644 id.server/lib/axis-1.1rc2/saaj.jar delete mode 100644 id.server/lib/axis-1.1rc2/wsdl4j.jar delete mode 100644 id.server/lib/commons-logging-1.0.2/commons-logging-api.jar delete mode 100644 id.server/lib/commons-logging-1.0.2/commons-logging.jar delete mode 100644 id.server/lib/iaik-moa-1.06/iaik-moa-full.jar delete mode 100644 id.server/lib/iaik-moa-1.06/iaik_X509TrustManager.jar delete mode 100644 id.server/lib/iaik-moa-1.06/iaik_ecc.jar delete mode 100644 id.server/lib/iaik-moa-1.06/iaik_jce_full.jar delete mode 100644 id.server/lib/iaik-moa-1.06/iaik_ldap.jar delete mode 100644 id.server/lib/iaik-moa-1.06/ixsil.jar delete mode 100644 id.server/lib/jaxen-1.0/jaxen-core.jar delete mode 100644 id.server/lib/jaxen-1.0/jaxen-dom.jar delete mode 100644 id.server/lib/jaxen-1.0/saxpath.jar delete mode 100644 id.server/lib/jaxp-1.2_01/dom.jar delete mode 100644 id.server/lib/jaxp-1.2_01/jaxp-api.jar delete mode 100644 id.server/lib/jaxp-1.2_01/sax.jar delete mode 100644 id.server/lib/jsse-1.0.3_01/jcert.jar delete mode 100644 id.server/lib/jsse-1.0.3_01/jnet.jar delete mode 100644 id.server/lib/jsse-1.0.3_01/jsse.jar delete mode 100644 id.server/lib/junit-3.8.1/junit.jar delete mode 100644 id.server/lib/log4j-1.2.7/log4j-1.2.7.jar delete mode 100644 id.server/lib/moa-spss-1.0.8a/moa-common.jar delete mode 100644 id.server/lib/moa-spss-1.0.8a/moa-spss.jar delete mode 100644 id.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar delete mode 100644 id.server/lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip delete mode 100644 id.server/lib/xalan-j-2.2/bsf.jar delete mode 100644 id.server/lib/xalan-j-2.2/xalan.jar delete mode 100644 id.server/lib/xerces-j-2.0.2/xercesImpl.jar delete mode 100644 id.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar delete mode 100644 id.server/res/META-INF/services/org.apache.axis.components.net.SecureSocketFactory delete mode 100644 id.server/res/resources/properties/id_messages_de.properties delete mode 100644 id.server/res/resources/wsdl/MOA-ID-1.0.wsdl delete mode 100644 id.server/res/resources/xmldata/CertInfoDsigSignature.xml delete mode 100644 id.server/res/resources/xmldata/CertInfoVerifyXMLSignatureRequest.xml delete mode 100644 id.server/src/at/gv/egovernment/moa/id/AuthenticationException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/BuildException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/MOAIDException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/ParseException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/ServiceException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationSessionCleaner.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthConstants.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/WrongParametersException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataAssertionBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/Builder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/CertInfoVerifyXMLSignatureRequestBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/DataURLBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxReadRequestBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/PersonDataBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLArtifactBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/SelectBKUFormBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/VPKBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/data/AuthenticationSession.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/data/CreateXMLSignatureResponse.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/data/SAMLAttribute.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationInvoker.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/parser/CreateXMLSignatureResponseParser.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/parser/ECDSAKeyValueConverter.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/parser/ErrorResponseParser.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/parser/InfoboxReadResponseParser.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/parser/SAMLArtifactParser.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/parser/VerifyXMLSignatureResponseParser.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/servlet/ConfigurationServlet.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/servlet/StartAuthenticationServlet.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyIdentityLinkServlet.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/validator/CreateXMLSignatureResponseValidator.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/validator/ValidateException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/ConfigurationBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/ConfigurationException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/ConfigurationProvider.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/ConnectionParameter.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/proxy/OAConfiguration.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/proxy/OAProxyParameter.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/config/proxy/ProxyConfigurationProvider.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/data/AuthenticationData.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/data/Cookie.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/data/CookieManager.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/data/IssuerAndSerial.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/data/SAMLStatus.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/iaik/config/CertStoreConfigurationImpl.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/iaik/config/LoggerConfigImpl.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/iaik/config/PKIConfigurationImpl.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/iaik/config/RevocationConfigurationImpl.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/iaik/config/ValidationConfigurationImpl.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/iaik/pki/jsse/MOAIDTrustManager.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/iaik/servertools/observer/ObservableImpl.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/ConnectionBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/ConnectionBuilderFactory.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolverFactory.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/MOAIDProxyInitializer.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/WebmailLoginParameterResolver.class delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestBuilder.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/invoke/GetAuthenticationDataInvoker.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/parser/AuthenticationDataAssertionParser.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/parser/SAMLResponseParser.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ConfigurationServlet.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ProxyException.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ProxyServlet.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/util/AxisSecureSocketFactory.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/util/MOAIDMessageProvider.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/util/Random.java delete mode 100644 id.server/src/at/gv/egovernment/moa/id/util/SSLUtils.java delete mode 100644 id.server/src/test/MOAIDTestCase.java delete mode 100644 id.server/src/test/abnahme/A/Test100StartAuthentication.java delete mode 100644 id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java delete mode 100644 id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java delete mode 100644 id.server/src/test/abnahme/A/Test400GetAuthenticationData.java delete mode 100644 id.server/src/test/abnahme/A/Test500StartAuthenticationServlet.java delete mode 100644 id.server/src/test/abnahme/A/Test600GetAuthenticationDataService.java delete mode 100644 id.server/src/test/abnahme/A/Test700SelectBKU.java delete mode 100644 id.server/src/test/abnahme/AbnahmeTestCase.java delete mode 100644 id.server/src/test/abnahme/AllTests.java delete mode 100644 id.server/src/test/abnahme/C/Test100Konfiguration.java delete mode 100644 id.server/src/test/abnahme/P/Test100LoginParameterResolver.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/AllTests.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/UnitTestCase.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/AuthenticationServerTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/builder/AllTests.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureBuilderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/builder/InfoboxReadRequestBuilderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/builder/PersonDataBuilderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/builder/SAMLArtifactBuilderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/invoke/MOASPSSTestCase.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/parser/AllTests.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/parser/InfoboxReadResponseParserTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/parser/SAMLArtifactParserTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataServiceTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/config/auth/MOAIDAuthConfigurationProviderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/config/proxy/MOAIDProxyConfigurationProviderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/proxy/AllTests.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/DOMTreeCompare.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestBuilderTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestCompare.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/proxy/parser/SAMLResponseParserTest.java delete mode 100644 id.server/src/test/at/gv/egovernment/moa/id/util/SSLUtilsTest.java delete mode 100644 id.server/src/test/lasttest/Dispatcher.java delete mode 100644 id.server/src/test/lasttest/HostnameVerifierHack.java delete mode 100644 id.server/src/test/lasttest/LasttestClient.java delete mode 100644 id.server/src/test/lasttest/TestThread.java delete mode 100644 spss.server/.checkstyle delete mode 100644 spss.server/.classpath delete mode 100644 spss.server/.cvsignore delete mode 100644 spss.server/.project delete mode 100644 spss.server/.tomcatplugin delete mode 100644 spss.server/build.xml delete mode 100644 spss.server/data/deploy/conf/moa-spss/MOA-SPSSConfiguration.xml delete mode 100644 spss.server/data/deploy/conf/moa-spss/MinimalSPConfig.xml delete mode 100644 spss.server/data/deploy/conf/moa-spss/MinimalSSConfig.xml delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/032F2123890A879585CE96674CA4C37B55986729/E1201A308CC10323C27D9084B048996E44B8F710 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/0F843FB1E0C626540BE638B79A2987E2611CE630 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/69F21C82DC9A7A940ACEC414593E59C9E61E522F delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/FC72939DC06EDDF8C51549ECF00AC92BF2B39F35 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/20DD04B052D2D364E5FF851A3FD314F0FD91253E/6814C7316CEA7191C9CB3BE58199B4A957210D9C delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/AC36A78C66FEC87CC0FD2C32B49214C65676E0C5 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/C92238A7178A6C61F8BACA22D6CF7E50772BA9F0 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/DFAE695342AC81A521025904406884399822B233 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/2C976220B378E08DF5E68CBC54C05CE41224FD29/0CC37CC35E18F9909E43E4E9894D0CDF06EE9A38 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/9E0512DD61DA5949D1D8631C3F19D75F496C3733 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/E6E6FC88719177C9B7421825757C5E47BCAC85F6 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/3B76D7A5CE7EC6022D7990CFEA534C908717DF54/C0C699EFE6E837CB5E4CFC3A61077617A22C1A9E delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/4224231A54F64581FBA2AB6ED82ADE467F144BDC/65EF37033859C2F709A64086D3A5BD1B8F1A85A4 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/6F5F08A3A5D59CA877CB146F00BB0264369B2304/ADEC5673B57A18F16EFAF75EEFBFAD4841E2CD2B delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/738B34854780955AE8FAF12349F2C9C52105A52C/474BC41135FB88BF58B5A8D976A1D5583378D85E delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/738B34854780955AE8FAF12349F2C9C52105A52C/6B618820CE6A5EC0B5E63A9170335E5EA9F3BA01 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/7A9DC855647136050A8D75D6571AC64739F36C6C/BF648929E7DAABD8D97B3202F48D6C4A19C78F6C delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/8B23D64DBA1572885563DF070BE9C22A39A3BD26/3B8484BF1370941BF03F206B5C4958DA4E1559BB delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/96107213A757FFB88DECEE469373162636D7146C/45B43346251FDF9E95DCB7F36928785D46D63913 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/96107213A757FFB88DECEE469373162636D7146C/E33619C88426E4FE956041E6751ADDEC9C10F0BC delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/975729FFAF7EB667BCF68E9B886EA876E44F46D0/35202B14F69409EAA51CD8AB547AC0CD5E993F3F delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/3F4E01DF7547CDD38DCCFCCD76170C299ECEB9F6 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/9D4CB7E3DBF24AE596972D59C375DD6384BB5E8B delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/A562C4B99E2847251CB4A1F05DA1FF43E7296F0B delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/9039DBD29DB8AD0F8E2015F05FCD40582CCCBE8C delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/9F0E0FBB25F66FF88C8E033EFF358923C84A2926 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/C87D1855227D995C332C4C9072A2E2053F2CC623 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/A07E912CAA2AB620034B05353E7D4B91807880ED/42AD1897A4643D2AA634D980F16349E6694F3B1B delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/A07E912CAA2AB620034B05353E7D4B91807880ED/FE7891B6ED7B178F528A28B21478299F865889BD delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/A4B140FBD4D5EA2AC3A570299945D8FCBBAD2231/20CAECDCA766243AAD6FA1327618FC81BA65DC0F delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/DFA7DDEF5C212F0F0651E2A9DE1CE4A1AC63AF7A delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/F825578F8F5484DFB40F81867C392D6CB0012B92 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/AAB27F0E98B28AF253454415F6490CB5F43A4B49/A9D28607928FA8615E2615CC9D71B535C5D0D419 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/BED4C70D83B5042F4254459064FDEACD43DD1EDF/7BE0C8E441786C69A3CB35BDBEF235F8B5310E04 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/8AB0A3519AFA7F3C04074522678BAA1CB3DC734F delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/DF47B3040E7632614464BD2EC4ECD1B8030F53E3 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/E117479B4A41D7F3223FCAE50560B0D57B22217D delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/D708C897515970D33EF7CD0C2474449D3AB6AA83/52ED0FAFBD38A868C678174D7EB03D266ADB221C delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/DF5F53FDADAFC93F4789141B5A7627EB9F3BD29F/4832F0A28C3724A92F6CB3314F747D0E74FC7344 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/E6A4C843059A6043B4DC967F9EF892B695990777/B4B77C83465979E3679E3A33F972F48EE3730A18 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/F1B84756A1EAB09C171B2783DD163B42A9BD0BBB/ED5608CE67EA5CB79AC024CEA7445F9BCBE48703 delete mode 100644 spss.server/data/deploy/conf/moa-spss/certstore/F48B57F89BACD8687EBB12223A5B8E5EF3774583/CAF84A42305615AC2C582F6412BDA3E36DAC3D25 delete mode 100644 spss.server/data/deploy/conf/moa-spss/keys/ecc(ego).p12 delete mode 100644 spss.server/data/deploy/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12 delete mode 100644 spss.server/data/deploy/conf/moa-spss/log4j.properties delete mode 100644 spss.server/data/deploy/conf/moa-spss/trustProfiles/trustProfile1/IAIKRoot.cer delete mode 100644 spss.server/data/deploy/tomcat/server.mod_jk.xml delete mode 100644 spss.server/data/deploy/tomcat/server.xml delete mode 100644 spss.server/data/deploy/tomcat/unix/moa-env.sh delete mode 100644 spss.server/data/deploy/tomcat/uriworkermap.properties delete mode 100644 spss.server/data/deploy/tomcat/win32/installTomcatAsService.bat delete mode 100644 spss.server/data/deploy/tomcat/win32/startTomcat.bat delete mode 100644 spss.server/data/deploy/tomcat/win32/stopTomcat.bat delete mode 100644 spss.server/data/deploy/tomcat/win32/uninstallTomcatAsService.bat delete mode 100644 spss.server/data/deploy/tomcat/workers.properties delete mode 100644 spss.server/data/deploy/tools/certtool.bat delete mode 100644 spss.server/data/deploy/tools/certtool.sh delete mode 100644 spss.server/data/test/conf/moa-spss/MOA-SPSSConfiguration.xml delete mode 100644 spss.server/data/test/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 delete mode 100644 spss.server/data/test/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37 delete mode 100644 spss.server/data/test/conf/moa-spss/keys/Beispielservice_1(password=bspsrv1).p12 delete mode 100644 spss.server/data/test/conf/moa-spss/keys/DSA.512.p12 delete mode 100644 spss.server/data/test/conf/moa-spss/keys/ecc(ego).p12 delete mode 100644 spss.server/data/test/conf/moa-spss/keys/normal-eeExpired.p12 delete mode 100644 spss.server/data/test/conf/moa-spss/keys/sicher-demo(buergerkarte).p12 delete mode 100644 spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12 delete mode 100644 spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal_verw_oid.p12 delete mode 100644 spss.server/data/test/conf/moa-spss/profiles/CSEP.xml delete mode 100644 spss.server/data/test/conf/moa-spss/profiles/CX1_bookprofile.xsl delete mode 100644 spss.server/data/test/conf/moa-spss/profiles/SupplementProfile1.xml delete mode 100644 spss.server/data/test/conf/moa-spss/profiles/SupplementProfile2.xml delete mode 100644 spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1.xml delete mode 100644 spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1MOAID.xml delete mode 100644 spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2.xml delete mode 100644 spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2MOAID.xml delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/Buergerkarte01Root.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/C.CA.DS.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRoot.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRootMusterbehoerde.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/TestPersonMOA4.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-nQual-01.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/ecdsaroot_der.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/hsm.cer delete mode 100644 spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/moahsmcert.cer delete mode 100644 spss.server/data/test/security/A-Trust-nQual-01.p7b delete mode 100644 spss.server/data/test/security/client.cer delete mode 100644 spss.server/data/test/security/client.keystore delete mode 100644 spss.server/data/test/security/server.cer delete mode 100644 spss.server/data/test/security/server.crt.pem delete mode 100644 spss.server/data/test/security/server.key.pem delete mode 100644 spss.server/data/test/security/server.keystore delete mode 100644 spss.server/data/test/security/server.pfx delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/Req000.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/Req001.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/Req002.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/Req004.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.001.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.004.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.005.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.007.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.008.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.009.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.010.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.014.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.015.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.018.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.057.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.001.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.003.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.004.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.009.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.011.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.001.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.004.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.006.Req.xml delete mode 100644 spss.server/data/test/xml/CreateXMLSignature/invalid.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/Req000.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/Req001.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.001.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.002.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.003.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.004.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.005.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.006.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.007.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.008.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.009.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.010.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.011.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/Req000.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/Req001.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/Req002.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.001.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.002.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.003.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.004.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.005.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.007.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.106.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.201.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.203.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.252.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.359.Req.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID1.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/moa-id-request1.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/moa-id-request2.xml delete mode 100644 spss.server/data/test/xml/VerifyXMLSignature/testsig.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/base64.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/canonicalization.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/canonicalizationWithComments.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/enveloped.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/exclusiveCanonicalization.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/illegalAlgorithm.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/transforms.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/xpath.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/xpath2.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/xpath2Different.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/xpathDifferent.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/xslt.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/xsltDifferent.xml delete mode 100644 spss.server/data/test/xml/dsigTransform/xsltEqual.xml delete mode 100644 spss.server/doc/api-doc-internal/allclasses-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LogMsg.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/Logger.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContext.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LogMsg.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/Logger.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContext.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContextManager.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOAApplicationException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOAException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOASystemException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOAApplicationException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOAException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOASystemException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/DistributionPoint.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/HardwareCryptoModule.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/HardwareKeyModule.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/IssuerAndSerial.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyGroup.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyGroupEntry.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyModule.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/SoftwareKeyModule.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/TrustProfile.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationPartsBuilder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationProvider.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/DistributionPoint.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/HardwareCryptoModule.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/HardwareKeyModule.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/IssuerAndSerial.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyGroup.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyGroupEntry.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyModule.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/SoftwareKeyModule.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/TrustProfile.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/CMSSignatureVerificationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/class-use/CMSSignatureVerificationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/AbstractKeyModuleConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/AbstractObservableConfiguration.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ArchiveConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/CRLDistributionPointAdapter.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/CertStoreConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/DataBaseArchiveParameterImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/DirectoryCertStoreParametersImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/HardwareCryptoModuleConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/HardwareKeyModuleConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/LoggerConfigImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/PKIConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/RevocationConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/SoftwareKeyModuleConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ValidationConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/AbstractKeyModuleConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/AbstractObservableConfiguration.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ArchiveConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/CRLDistributionPointAdapter.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/CertStoreConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ConfigurationDataImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/DataBaseArchiveParameterImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/DirectoryCertStoreParametersImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/HardwareCryptoModuleConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/HardwareKeyModuleConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/IaikConfigurator.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/LoggerConfigImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/PKIConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/RevocationConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/SoftwareKeyModuleConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ValidationConfigurationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/PKIProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/class-use/PKIProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/ValidationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/class-use/ValidationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/class-use/RevocationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/TrustStoreProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/class-use/TrustStoreProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/Base64TransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ByteArrayDataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ByteStreamDataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/CanonicalizationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/DataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/EnvelopedSignatureTransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ExclusiveCanonicalizationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/SigningTimeImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/TransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLDataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLNodeListDataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLSignatureImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2FilterImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2TransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPathTransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XSLTTransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/Base64TransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ByteArrayDataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ByteStreamDataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/CanonicalizationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/DataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/EnvelopedSignatureTransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ExclusiveCanonicalizationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/SigningTimeImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/TransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLDataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLNodeListDataObjectImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLSignatureImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPath2FilterImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPath2TransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPathTransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XSLTTransformationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/DataObjectTreatmentImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureInsertionLocationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/DataObjectTreatmentImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/XMLSignatureCreationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/XMLSignatureInsertionLocationImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/XMLSignatureVerificationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/class-use/XMLSignatureVerificationProfileImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/ConfiguratorImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/SystemInitializer.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/class-use/ConfiguratorImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/class-use/SystemInitializer.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationProfileFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CreateXMLSignatureResponseBuilder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/IaikExceptionMapper.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/InvokerUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ProfileMapper.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ServiceContextUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/SignatureCreationServiceImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/SignatureVerificationServiceImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/TransformationFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/VerifyCMSSignatureResponseBuilder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvoker.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationProfileFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationProfileFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CMSSignatureVerificationInvoker.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CMSSignatureVerificationProfileFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CreateXMLSignatureResponseBuilder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/DataObjectFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ExternalURIResolver.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/IaikExceptionMapper.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/InvokerUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ProfileMapper.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ServiceContextUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/SignatureCreationServiceImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/SignatureVerificationServiceImpl.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/TransformationFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/VerifyCMSSignatureResponseBuilder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/VerifyXMLSignatureResponseBuilder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureCreationInvoker.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureCreationProfileFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureVerificationInvoker.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureVerificationProfileFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLog.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLogMsg.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/TransactionId.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLog.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLogFactory.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLogMsg.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/TransactionId.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/AxisHandler.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/ConfigurationServlet.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/RevocationArchiveCleaner.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/ServiceUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/SignatureCreationService.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/SignatureVerificationService.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/AxisHandler.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/ConfigurationServlet.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/RevocationArchiveCleaner.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/ServiceUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/SignatureCreationService.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/SignatureVerificationService.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/class-use/CertTool.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContextManager.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionIDGenerator.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionContext.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionContextManager.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionIDGenerator.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/IdGenerator.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/class-use/IdGenerator.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/MessageProvider.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/class-use/MessageProvider.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/BoolUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/CollectionUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Constants.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DOMUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/EntityResolverChain.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOADefaultHandler.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOAEntityResolver.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOAErrorHandler.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOATimer.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MessageProvider.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Messages.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/NodeIteratorAdapter.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/NodeListAdapter.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/URLDecoder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/URLEncoder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Base64Utils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/BoolUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/CollectionUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Constants.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/DOMUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/DateTimeUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/EntityResolverChain.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/FileUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/KeyStoreUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOADefaultHandler.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOAEntityResolver.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOAErrorHandler.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOATimer.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MessageProvider.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Messages.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/NodeIteratorAdapter.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/NodeListAdapter.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/ResourceBundleChain.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/SSLUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/StreamEntityResolver.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/StreamUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/URLDecoder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/URLEncoder.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/XPathException.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/XPathUtils.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-frame.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-summary.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-tree.html delete mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-use.html delete mode 100644 spss.server/doc/api-doc-internal/deprecated-list.html delete mode 100644 spss.server/doc/api-doc-internal/help-doc.html delete mode 100644 spss.server/doc/api-doc-internal/index-all.html delete mode 100644 spss.server/doc/api-doc-internal/index.html delete mode 100644 spss.server/doc/api-doc-internal/overview-frame.html delete mode 100644 spss.server/doc/api-doc-internal/overview-summary.html delete mode 100644 spss.server/doc/api-doc-internal/overview-tree.html delete mode 100644 spss.server/doc/api-doc-internal/package-list delete mode 100644 spss.server/doc/api-doc-internal/packages.html delete mode 100644 spss.server/doc/api-doc-internal/serialized-form.html delete mode 100644 spss.server/doc/api-doc-internal/stylesheet.css delete mode 100644 spss.server/doc/history.txt delete mode 100644 spss.server/doc/moa-spss.htm delete mode 100644 spss.server/doc/moa_images/east.gif delete mode 100644 spss.server/doc/moa_images/idle.gif delete mode 100644 spss.server/doc/moa_images/moa_diagramm1.jpg delete mode 100644 spss.server/doc/moa_images/moa_thema.gif delete mode 100644 spss.server/doc/moa_images/north.gif delete mode 100644 spss.server/doc/moa_images/pfeil.gif delete mode 100644 spss.server/doc/moa_images/print.gif delete mode 100644 spss.server/doc/moa_images/select.gif delete mode 100644 spss.server/doc/moa_images/south.gif delete mode 100644 spss.server/doc/moa_images/transdot.gif delete mode 100644 spss.server/doc/moa_images/west.gif delete mode 100644 spss.server/doc/moa_spss/APIClientExample.txt delete mode 100644 spss.server/doc/moa_spss/HTTPClientExample.txt delete mode 100644 spss.server/doc/moa_spss/HTTPSClientExampleClientAuth.txt delete mode 100644 spss.server/doc/moa_spss/HTTPSClientExampleServerAuth.txt delete mode 100644 spss.server/doc/moa_spss/MOA-SPSS-1.1.pdf delete mode 100644 spss.server/doc/moa_spss/MOA-SPSS-1.1.xsd delete mode 100644 spss.server/doc/moa_spss/MOA-SPSS-Configuration-1.0.xsd delete mode 100644 spss.server/doc/moa_spss/examples/conf/MOA-SPSSConfiguration.xml delete mode 100644 spss.server/doc/moa_spss/examples/conf/MinimalSPConfig.xml delete mode 100644 spss.server/doc/moa_spss/examples/conf/MinimalSSConfig.xml delete mode 100644 spss.server/doc/moa_spss/examples/conf/keys/ecc(ego).p12 delete mode 100644 spss.server/doc/moa_spss/examples/conf/keys/test-ee2003_normal(buergerkarte).p12 delete mode 100644 spss.server/doc/moa_spss/examples/conf/trustProfiles/trustProfile1/IAIKRoot.cer delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureRequest1.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureRequest2.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureResponse1.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureResponse2.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/TestDatenGenerator.zip delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/VerifyCMSSignatureRequest.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/VerifyCMSSignatureResponse.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureRequest1.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureRequest2.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureResponse1.xml delete mode 100644 spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureResponse2.xml delete mode 100644 spss.server/doc/moa_spss/examples/testclient/APIClientExample.java delete mode 100644 spss.server/doc/moa_spss/examples/testclient/HTTPClientExample.java delete mode 100644 spss.server/doc/moa_spss/examples/testclient/HTTPSClientExampleClientAuth.java delete mode 100644 spss.server/doc/moa_spss/examples/testclient/HTTPSClientExampleServerAuth.java delete mode 100644 spss.server/doc/moa_spss/examples/testclient/client.keystore delete mode 100644 spss.server/doc/moa_spss/examples/testclient/example_request.xml delete mode 100644 spss.server/doc/moa_spss/faqs.htm delete mode 100644 spss.server/doc/moa_spss/links.htm delete mode 100644 spss.server/doc/moa_spss/moa.htm delete mode 100644 spss.server/doc/moa_spss/sp-admin.htm delete mode 100644 spss.server/doc/moa_spss/sp-admin_1.htm delete mode 100644 spss.server/doc/moa_spss/sp-admin_2.htm delete mode 100644 spss.server/doc/moa_spss/sp-admin_3.htm delete mode 100644 spss.server/doc/moa_spss/sp-admin_4.htm delete mode 100644 spss.server/doc/moa_spss/sp-anwendung.htm delete mode 100644 spss.server/lib/axis-1.0/axis.jar delete mode 100644 spss.server/lib/axis-1.0/jaxrpc.jar delete mode 100644 spss.server/lib/axis-1.0/saaj.jar delete mode 100644 spss.server/lib/axis-1.0/wsdl4j.jar delete mode 100644 spss.server/lib/commons-discovery-0.2/commons-discovery.jar delete mode 100644 spss.server/lib/commons-logging-1.0.2/commons-logging-api.jar delete mode 100644 spss.server/lib/commons-logging-1.0.2/commons-logging.jar delete mode 100644 spss.server/lib/iDoclet-1.0/iDoclet.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/iaik-moa-full.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/iaikPkcs11Provider.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/iaikPkcs11Wrapper.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/iaik_cms.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/iaik_ecc.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/iaik_jce_full.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/ixsil.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/signed/iaikPkcs11Provider_signed.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/signed/iaik_ecc.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/signed/iaik_jce_full.jar delete mode 100644 spss.server/lib/iaik-moa-20030703/win32/pkcs11wrapper.dll delete mode 100644 spss.server/lib/jaxen-1.0/jaxen-core.jar delete mode 100644 spss.server/lib/jaxen-1.0/jaxen-dom.jar delete mode 100644 spss.server/lib/jaxen-1.0/saxpath.jar delete mode 100644 spss.server/lib/jaxp-1.2_01/dom.jar delete mode 100644 spss.server/lib/jaxp-1.2_01/jaxp-api.jar delete mode 100644 spss.server/lib/jaxp-1.2_01/sax.jar delete mode 100644 spss.server/lib/jsse-1.0.3_01/jcert.jar delete mode 100644 spss.server/lib/jsse-1.0.3_01/jnet.jar delete mode 100644 spss.server/lib/jsse-1.0.3_01/jsse.jar delete mode 100644 spss.server/lib/junit-3.8.1/junit.jar delete mode 100644 spss.server/lib/log4j-1.2.7/log4j-1.2.7.jar delete mode 100644 spss.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar delete mode 100644 spss.server/lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip delete mode 100644 spss.server/lib/xalan-j-2.2/bsf.jar delete mode 100644 spss.server/lib/xalan-j-2.2/xalan.jar delete mode 100644 spss.server/lib/xerces-j-2.0.2/xercesImpl.jar delete mode 100644 spss.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar delete mode 100644 spss.server/res/resources/properties/spss_messages_de.properties delete mode 100644 spss.server/res/resources/security/cacerts delete mode 100644 spss.server/res/resources/wsdl/MOA-SPSS-1.1.wsdl delete mode 100644 spss.server/res/resources/wsdl/MOA-SPSS-1.1.xsd delete mode 100644 spss.server/server-config.wsdd delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/MOAApplicationException.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/MOAException.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/MOASystemException.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/Configurator.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/SPSSFactory.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/SignatureCreationService.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/SignatureVerificationService.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContent.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContentExcplicit.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContentReference.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSDataObject.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureRequest.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureResponse.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureResponseElement.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/Base64Transform.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/CanonicalizationTransform.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/CheckResult.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/Content.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentBinary.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentReference.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentXML.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/ElementSelector.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/EnvelopedSignatureTransform.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/ExclusiveCanonicalizationTransform.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/MetaInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/SignerInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/Transform.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/X509IssuerSerial.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/XMLDataObjectAssociation.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathFilter.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathFilter2Transform.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathTransform.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/common/XSLTTransform.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/Base64TransformImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSContentExplicitImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSContentReferenceImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSDataObjectImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CanonicalizationTransformImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CheckResultImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentBinaryImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentReferenceImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentXMLImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureEnvironmentProfileExplicitImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureEnvironmentProfileIDImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureLocationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoProfileExplicitImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoProfileIDImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateXMLSignatureRequestImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateXMLSignatureResponseImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ElementSelectorImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/EnvelopedSignatureTransformImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ErrorResponseImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ExclusiveCanonicalizationTransformImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ManifestRefsCheckResultImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ManifestRefsCheckResultInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/MetaInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferenceInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferencesCheckResultImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferencesCheckResultInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/SPSSFactoryImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignatureEnvironmentResponseImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignatureManifestCheckParamsImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignerInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/SingleSignatureInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/SupplementProfileExplicitImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/SupplementProfileIDImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterBinaryImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterURIImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformPatameterHashImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSignatureRequestImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSignatureResponseElementImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSinatureResponseImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifySignatureInfoImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifySignatureLocationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsDataImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsInfoProfileExplicitImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsInfoProfileIDImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyXMLSignatureRequestImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyXMLSignatureResponseImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/X509IssuerSerialImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/XMLDataObjectAssociationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathFilter2TransformImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathFilterImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathTransformImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/impl/XSLTransformImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureRequestParser.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureResponseBuilder.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/ProfileParser.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/RequestParserUtils.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/ResponseBuilderUtils.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/TransformParser.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureRequestParser.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureResponseBuilder.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureRequestParser.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfile.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfileExplicit.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfileID.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureLocation.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfile.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfileExplicit.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfileID.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureRequest.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureResponse.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureResponseElement.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/DataObjectInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/ErrorResponse.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/SignatureEnvironmentResponse.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/SingleSignatureInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ManifestRefsCheckResult.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ManifestRefsCheckResultInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferenceInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferencesCheckResult.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferencesCheckResultInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SignatureManifestCheckParams.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfile.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfileExplicit.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfileID.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameter.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterBinary.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterHash.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterURI.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifySignatureInfo.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifySignatureLocation.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfile.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfileExplicit.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfileID.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyXMLSignatureRequest.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyXMLSignatureResponse.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/overview.htm delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationException.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/DistributionPoint.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/HardwareCryptoModule.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/HardwareKeyModule.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/IssuerAndSerial.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyGroup.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyGroupEntry.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyModule.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/SoftwareKeyModule.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/cmsverify/CMSSignatureVerificationProfileImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/AbstractKeyModuleConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/AbstractObservableConfiguration.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ArchiveConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLDistributionPointAdapter.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CertStoreConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/DataBaseArchiveParameterImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/DirectoryCertStoreParametersImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/HardwareCryptoModuleConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/HardwareKeyModuleConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/LoggerConfigImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/PKIConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/RevocationConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/SoftwareKeyModuleConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ValidationConfigurationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/PKIProfileImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/ValidationProfileImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/TrustStoreProfileImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/Base64TransformationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ByteArrayDataObjectImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ByteStreamDataObjectImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/CanonicalizationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/DataObjectImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/EnvelopedSignatureTransformationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ExclusiveCanonicalizationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/SigningTimeImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/TransformationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLDataObjectImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLNodeListDataObjectImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLSignatureImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2FilterImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2TransformationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPathTransformationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XSLTTransformationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/DataObjectTreatmentImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureInsertionLocationImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlverify/XMLSignatureVerificationProfileImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/init/ConfiguratorImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationProfileFactory.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CreateXMLSignatureResponseBuilder.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactory.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/IaikExceptionMapper.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/InvokerUtils.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ProfileMapper.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ServiceContextUtils.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/SignatureCreationServiceImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/SignatureVerificationServiceImpl.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/TransformationFactory.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/VerifyCMSSignatureResponseBuilder.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvoker.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationProfileFactory.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationProfileFactory.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLog.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLogMsg.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/logging/TransactionId.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/service/ConfigurationServlet.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/service/RevocationArchiveCleaner.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/service/ServiceUtils.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/service/SignatureCreationService.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/service/SignatureVerificationService.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/tools/CertTool.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionContextManager.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionIDGenerator.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/server/util/IdGenerator.java delete mode 100644 spss.server/src/at/gv/egovernment/moa/spss/util/MessageProvider.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/AllTests.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/SPSSTestCase.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/AllTests.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureRequestParserTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/TransformParserTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureRequestParserTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureRequestParserTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/config/ConfigurationProviderTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImplTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfiguratorTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/AllTests.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvokerTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactoryTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/TransformationFactoryTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvokerTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvokerTest.java delete mode 100644 spss.server/src/test/at/gv/egovernment/moa/spss/server/tools/CertToolTest.java delete mode 100644 spss.server/web.xml diff --git a/build/.checkstyle b/build/.checkstyle deleted file mode 100644 index c868508c2..000000000 --- a/build/.checkstyle +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/build/.project b/build/.project deleted file mode 100644 index 6f56803c2..000000000 --- a/build/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - MOA Build - - - - - - com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder - - - - - - com.atlassw.tools.eclipse.checkstyle.CheckstyleNature - - diff --git a/build/README.txt b/build/README.txt deleted file mode 100644 index 4c8a1cf27..000000000 --- a/build/README.txt +++ /dev/null @@ -1,80 +0,0 @@ -MOA BUILD-SYSTEM -================ - - -Einleitung ----------- - -Das MOA Build-System bietet eine einheitliche Build-Umgebung für -alle MOA Sub-Projekte. - -Es bietet folgende Vorteile: - - zentrale Installation des Build-Tools (Ant) - - zentrale Ablage der Build-Scripts - - standardisiertes Build über alle Sub-Projekte - - einfache Möglichkeit, alle Sub-Projekte auf einmal zu erzeugen - - -Voraussetzungen ---------------- - -Das MOA Build-System setzt ein JDK 1.3.1 oder höher voraus. Folgende -Umgebungsvariablen müssen (required) oder können (optional) gesetzt -sein: - - - JAVA_HOME (required): zeigt auf das vom Build-System zu verwendende - JDK (ab Version 1.3.1) - - CATALINA_HOME (optional): zeigt auf eine Tomcat-4.1 Installation; wird - verwendet, um Web-Applikationen zu deployen - - JMETER_HOME (optional): zeigt auf eine JMeter-1.8 Installation; wird - verewndet, um das JMeter-Plugin zu deployen - - -Aufruf ------- - -Unter Windows: - build [project [targets]] - -Unter Unix: - build.sh [project [targets]] - -Der Parameter 'project' spezifiziert das Sub-Projekt, für das das Build -aufzurufen ist. Der Wert 'all' gibt an, dass das Build für alle MOA Sub-Projekte -durchgeführt werden soll. - -Der Parameter 'targets' spezifiziert eine Liste von Build-Targets. Werden keine -Targets angegeben, wird automatisch der Default-Target des jeweiligen Projekts -ausgeführt. - -Ein Aufruf ohne Parameter wird wie ein Aufruf mit dem Parameter 'all' interpretiert. - - -Sub-Projekte ------------- - -Als Sub-Projekte stehen derzeit zur Verfügung: - - - common - - spss.client - - spss.server - - id.server - -Das MOA Build-System geht davon aus, dass die Sub-Projekte in der selben -Verzeichnis-Ebene zu finden sind wie das Build-System selbst. - - -Targets -------- - -Sub-Projekte stellen ihre Targets in einem Build-File namens 'build.xml' in -ihrem Wurzelverzeichnis zur Verfügung. Jedes Sub-Projekt hat grundsätzlich -die Freiheit, eigene Targets zu definieren. Für ein möglichst automatisiertes -Build und Deployment aller Sub-Projekte auf einmal, sollten einige Top-Level -Targets über alle Sub-Projekte hinweg standardisiert sein: - -dist-all: erzeugt deploy-fähige bzw. verteilbare Module - -deploy-catalina: führt das Deployment in einen Tomcat-4.1 durch - -deploy-all: führt das Deployment in Zielumgebungen durch diff --git a/build/scripts/build.bat b/build/scripts/build.bat deleted file mode 100644 index 8414bc02f..000000000 --- a/build/scripts/build.bat +++ /dev/null @@ -1,64 +0,0 @@ -@echo off - -rem -rem Main build script for the MOA projects -rem -rem Author: Patrick Peck -rem Version: $Id: build.bat,v 1.8 2003/05/07 18:52:02 peck Exp $ -rem - - -rem set JAVA_HOME=C:\java\jdk1.3.1_09 -rem set CATALINA_HOME=C:\Programme\Apache\Tomcat-4_1_24 - - -if %OS%=="Windows_NT" @setlocal - -set PROJECTS= -set TARGETS= - -set ALLPROJECTS=common spss.server id.server - -if "%JAVA_HOME%"=="" goto noJavaHome -goto checkAllProjects - -:noJavaHome -echo error: JAVA_HOME not defined -goto end - -:checkAllProjects -set PROJECTS=%1 -shift -if not "%PROJECTS%"=="all" goto checkCommonProject -set PROJECTS=%ALLPROJECTS% -goto checkTargets - -:checkCommonProject -if not "%PROJECTS%"=="common" goto checkProject -set PROJECTS=common -goto checkTargets - -:checkEmptyProject -if not "%PROJECTS%"=="" goto checkProject -set PROJECTS=%ALLPROJECTS% -goto checkTargets - -:checkProject -set PROJECTS=common %PROJECTS% - -:checkTargets -if "%1"=="" goto runAnt -set TARGETS=%TARGETS% %1 -shift -goto checkTargets - -:runAnt -echo. -echo BUILDING PROJECT(S): %PROJECTS% -echo BUILDING TARGET(S) : %TARGETS% - -for %%p in (%PROJECTS%) do call runAnt %%p %TARGETS% - -:end -if %OS%=="Windows_NT" @endlocal - diff --git a/build/scripts/build.sh b/build/scripts/build.sh deleted file mode 100644 index 33f5f78b3..000000000 --- a/build/scripts/build.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -# -# Main build script for the MOA projects -# -# Author: Paul Ivancsics -# Version: $Id: build.sh,v 1.13 2003/05/07 18:52:02 peck Exp $ -# - - -PROJECTS=$1 -ALLPROJECTS="common spss.server id.server" - -shift -TARGETS=$* - -if [ -z "$JAVA_HOME" ]; then - echo "error: JAVA_HOME not defined"; - exit; -fi - -if [ -z "$PROJECTS" ] || [ "$PROJECTS" = "all" ]; then - PROJECTS=$ALLPROJECTS; -elif ! [ "$PROJECTS" = "common" ]; then - PROJECTS="common $PROJECTS"; -fi - -echo -echo "BUILDING PROJECT(S): $PROJECTS" -echo "BUILDING TARGET(S) : $TARGETS" - -for PROJ in $PROJECTS; do - sh ./runAnt.sh $PROJ $TARGETS; -done diff --git a/build/scripts/runAnt.bat b/build/scripts/runAnt.bat deleted file mode 100644 index 347ad8d21..000000000 --- a/build/scripts/runAnt.bat +++ /dev/null @@ -1,38 +0,0 @@ -@echo off - -rem -rem Helper script for calling Ant -rem -rem Author: Patrick Peck -rem Version: $Id: runAnt.bat,v 1.6 2003/03/24 10:36:35 peck Exp $ -rem - - -if %OS%=="Windows_NT" @setlocal - -set ANT=..\build\tools\jakarta-ant-1.5.1\bin\ant.bat -set BUILDFILE=build.xml -set SCRIPT_SUFFIX=bat -set MOA_COMMON_JAR=..\common\tmp\dist\moa-common.jar -set MOA_COMMON_TEST_JAR=..\common\tmp\dist\moa-common-test.jar - -echo. -echo. -echo BUILDING %1 -echo. - - -cd ..\..\%1 - -:callCommon -if not "%1"=="common" goto callOther -call %ANT% -f %BUILDFILE% dist-all -goto end - -:callOther -call %ANT% -f %BUILDFILE% %2 %3 %4 %5 %6 %7 %8 %9 - -:end -cd ..\build\scripts -if %OS%=="Windows_NT" @endlocal - diff --git a/build/scripts/runAnt.sh b/build/scripts/runAnt.sh deleted file mode 100644 index b5fc92e24..000000000 --- a/build/scripts/runAnt.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -# -# Helper script for calling Ant -# -# Author: Paul Ivancsics -# Version: $Id: runAnt.sh,v 1.9 2003/04/07 13:36:43 peck Exp $ -# - - -ANT=../build/tools/jakarta-ant-1.5.1/bin/ant -PROJECT="$1" -BUILDFILE=build.xml -export SCRIPT_SUFFIX=sh -export MOA_COMMON_JAR=../common/tmp/dist/moa-common.jar -export MOA_COMMON_TEST_JAR=../common/tmp/dist/moa-common-test.jar - -echo -echo -echo BUILDING $PROJECT -echo - - -cd ../../$PROJECT - -if [ "$1" == "common" ]; then - sh $ANT -f $BUILDFILE dist-all -else - sh $ANT -f $BUILDFILE $2 $3 $4 $5 $6 $7 $8 $9 -fi - diff --git a/build/tools/jakarta-ant-1.5.1/KEYS b/build/tools/jakarta-ant-1.5.1/KEYS deleted file mode 100644 index 61bff0aec..000000000 --- a/build/tools/jakarta-ant-1.5.1/KEYS +++ /dev/null @@ -1,226 +0,0 @@ -This file contains the PGP keys of various developers. -Please don't use them for email unless you have to. Their main -purpose is code signing. - -Users: pgp < KEYS -Developers: - pgp -kxa and append it to this file. - (pgpk -ll && pgpk -xa ) >> this file. - (gpg --list-sigs - && gpg --armor --export ) >> this file. - -Type Bits/KeyID Date User ID -pub 1024/FEECAAED 1998/11/11 Stefan Bodewig - Stefan Bodewig - ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: 2.6.3i - -mQCNAzZJoiMAAAEEAMzhUxTOC20Nprp6K4nLTiARt+EXii/dovNWWcfzZcYXi/lX -r3zpUTTZxlKQpd4RaHjFmGgoOraZE4jCRFARVcFJgYmGUKpcWJZO7YKL36WUizTM -+dyB2ycOtzlty1W5VmRL3FGqo67pKA9F/QHg3NSu9hY1W9xPPK7Kq3f+7KrtAAUR -tCBTdGVmYW4gQm9kZXdpZyA8Ym9kZXdpZ0Bib3N0LmRlPokAlQIFEDZSrGXHcgyK -jiW9zQEBshEEAMlG4qVjKp4/agdJG56M6izx9oaKecFLXHQJrFUy3w2PvZHFYtXc -osXKorX6bPrE8uB57MxbY2WapKeVRodlG0+j39vAf501duK8q2rktfWt9Cl4JjJ4 -DbWhSWfV1ci62u2gCxwYQe22F9Wh+vhOR5NK9RTbSKhupdlFsnrk/i7xiQCVAwUQ -NkmiI67Kq3f+7KrtAQGdxQQAlcFOzSv7G6M4uGbgvw7IGgrhx7rawtIyv9hLXgVC -7ua9xaZV8G0Fl9gh8RnbdcZ4R/aT+KIiAFaslfZ3t6hlC4MTbnAJqvdS/NO98ZkJ -YvnzZSKHflAbd5gyE7IVxBC9/xRlF/Wls5sYNwb6RjoRCaOjxN/y3WCLa3Va101v -zNy0I1N0ZWZhbiBCb2Rld2lnIDxib2Rld2lnQGFwYWNoZS5vcmc+iQCVAwUQOxIo -BK7Kq3f+7KrtAQGn6gP/SBACdHakA4H//otpyESSrk4PmyOaYF0Kyok43Gee2mT+ -m9+jZ3jLcC0oav6iH+otL/lhk9t/JDM8LjD2kAkdWWoIvvuPyCx97gOzojIo0Ve2 -1wuxJTF/VIjwyOtE8FzE7p4tkc6EubVpeZkV9Pq9HFRBCUcyKJDLnF4tbstScLU= -=OBLe ------END PGP PUBLIC KEY BLOCK----- - - - - -pub 1024D/51898504 2001-05-29 Conor MacNeill -uid Conor MacNeill - ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.0.6 (MingW32) -Comment: For info see http://www.gnupg.org - -mQGiBDsTqygRBACiZckNdclTlQFonLaIKBFGhMy0KKByw0x8XA4iwdbCXuF6xNIc -HIFHajJ74AHchQ4d8xtomBy6b8yvFgWVeaZensvn69BlLeqGdyeJRzfPt6TgRnzZ -2eWhb0HXdG3JwxL/2BabDhHfs4YJOrgB/vhRFQku6oCMRiBPtJj2werD6wCg0/zp -jacYTw6+CR+sVvneCNyySFED/R3j10c4RnR8djgv1jKT8CKPuHYraupI9INEe+I6 -7qWjtJ02GzvMO6TElAtUsf4aysu45GgwkwEBnuG6mYb3Pq0V2c5tJc2A3Tj3DrdR -i3HUNwurbus76I0sPyyENPu12QPeC6mvWLEsxVJ9o0hRKFayGvYUmrwWK9UFLjvp -p9cXBACDHgLn7MAVLqUdYhRrUj/M+GOUpvBikEgoJJrEUmb5X4+++dffMh5HBIO4 -5LA11qEKuM2xnKqOilP7NLYXz1Fe0ocqv0jsHB4SprFTTai7ma31uwuRQvCQXVv1 -yJ5CLqYda64h/UA2kmmR2dfopmvDogYEMz/HU5voozxe7BEI7bQhQ29ub3IgTWFj -TmVpbGwgPGNvbm9yQGFwYWNoZS5vcmc+iFcEExECABcFAjsTqygFCwcKAwQDFQMC -AxYCAQIXgAAKCRCBBGRPUYmFBDgIAKCZztXqKhK6kXOnoGy7opCNmWU0lwCgsPDa -4m+ruW3ch0rfbqtR75S52R+0LUNvbm9yIE1hY05laWxsIDxjb25vckBjb3J0ZXhl -YnVzaW5lc3MuY29tLmF1PohXBBMRAgAXBQI7E6xMBQsHCgMEAxUDAgMWAgECF4AA -CgkQgQRkT1GJhQTY0ACgmZmKheHzjPJs5hybpyvnvEiPYqYAn2+ryxdtz8XyOMEx -GRmHNlhG7svsuQENBDsTqy0QBACfsCxJ6iCtgX8zjlVtMsMfDqu72x5sYatWKn8c -u+4Oj5mi0x6azZIhwCa+K3ihLVOyG1mCRnzztGTIxWYRhq3TESIVOfgm+NgLGrmA -XUTFyCT+21TExLCpuVZKmUHsWXLxDtfQ1diPeQpiQ8+Fvb/4jLGFjFIrQ2VjtFQn -kumkSwADBgP9H0bF4hdMuVEcSJ9imxSoJshcOOA3Vd2+YiCTZhBygWM49wY5jNos -/DArIjNCE53IlOu/UtHB2jqkSqjF0soGYsUjeCWouiTP9hLuMKPjnqj9ryJPTDKz -nTCZ4TuB5CtzrKTlWLmPCPpFsGqe4KjMeKg/mqGqjPKl97xgStK9N9GIRgQYEQIA -BgUCOxOrLQAKCRCBBGRPUYmFBMM6AJsF3FFyZGEmbt9aGG1W/u0oI9mcLgCfQyJ+ -aalbspazea4J9zgi59SSwOM= -=Icm2 ------END PGP PUBLIC KEY BLOCK----- - -pub 1024D/5F6B8B72 2001-05-28 Stefan Bodewig -sig 5F6B8B72 2002-01-11 Stefan Bodewig -uid Stefan Bodewig -sig 5F6B8B72 2001-05-28 Stefan Bodewig -sig 51898504 2002-01-11 Conor MacNeill -uid Stefan Bodewig -sig 5F6B8B72 2001-05-28 Stefan Bodewig -sig 51898504 2002-01-11 Conor MacNeill -sub 1024g/24774157 2001-05-28 -sig 5F6B8B72 2001-05-28 Stefan Bodewig - ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.0.6 (GNU/Linux) -Comment: Weitere Infos: siehe http://www.gnupg.org - -mQGiBDsSIk4RBADSCj6rUjV64tYCGT1DYKYR7GthyWpNdGHSYLbETBcDatAe1dzQ -5NsCgfrlybfyeY+y1lxr3T9bqf6zJWDw/718wff96qmmv1qzexSYtmIrj+h53V82 -EXwWOFuYMJisuxdT940iQzosm3GOv4MJdEg3oI2SgfEyRQQ6vO4Ob5rHDwCg5taZ -nrHOrXx2dIGHxpxRZ0SUl30D/jmtttFjYOQ3LBMriikz5mh2sK3ZnoSRF4o5O0zW -Ve6e2SFXOEjVjImKsH6KCbdQNelrAdgiyOoXClyQKsQ27pncbdWo6bO0E3POJZVm -XaeW7iudHVr63rU5PViXObIQrdQl0D59j5brKj4vdlTyUw8kaHPvbKPDEOwvZq4Y -LJQ5BACA1YilTeXRJqwFsNlpcxCHwlULD4QUVP496prQWf1B7Z6g0KvLGrQsO0Vn -Jcn+fEqukysTJixSXCPebosltd4RalJIupVYkp4w6MJ7biaDAlLuNhDcI/AiXTmV -dXUedVXIaM8I3Ne23gucwbAyc0Hvb+3cSAKRhl/azFQhuHBvlrQjU3RlZmFuIEJv -ZGV3aWcgPGJvZGV3aWdAYXBhY2hlLm9yZz6IVwQTEQIAFwUCOxIiTgULBwoDBAMV -AwIDFgIBAheAAAoJEKIRWuFfa4tyLJ4An2yKSQ1o+lIF2O6wR/E6NdgYAfkSAJ94 -8O9lic6ZQLUoVU5rjJURUvhVDYhGBBARAgAGBQI8PtWPAAoJEIEEZE9RiYUEnZIA -njOkQx1BfxN9+E7Yiz4MOxqZjSUpAKDQi0Alv/VR61fmR7KHZ11J2g+HSLQgU3Rl -ZmFuIEJvZGV3aWcgPGJvZGV3aWdAYm9zdC5kZT6IVwQTEQIAFwUCOxI5gQULBwoD -BAMVAwIDFgIBAheAAAoJEKIRWuFfa4tyyboAoNoD/9Jgm/alxfAYELz05LMa/HLe -AKDWTHqq7rMkppZoTUv2gWpVzrk5RIhGBBARAgAGBQI8PtWVAAoJEIEEZE9RiYUE -0LMAn22/u01Lo3Bo5lDxxHSkayUkYq25AKCm20yaGFGtTDJW4Rdz50pfut1AwrQo -U3RlZmFuIEJvZGV3aWcgPHN0ZWZhbi5ib2Rld2lnQGVwb3N0LmRlPohXBBMRAgAX -BQI8Pto2BQsHCgMEAxUDAgMWAgECF4AACgkQohFa4V9ri3Kz/gCg0PlCER3JUjKk -G8JQe/lIJoApx38AoMW2G1lOuMX54RiWS08tG0j3ON4TuQENBDsSIlQQBADNUpZL -xCuTKzJ1tMm7b/XjAhvPYKiL3doAZ6XALBdLF/nQmlh1jcuRy93QWpPxtwSfPjcw -JLHy+Uq5tC1SnH1YwYhviLG1KEsniUBroUmV2HJyHP92fFI3LPk3xbqxvLh1NXFp -zSuWjGMA66sZqeEbtMy2B8OLRwQShdHIBWgrIwADBQP+PWkmbg2mraaUmgTswre8 -CGArBgcV+WYm6yaq9IC1G4V1PXmlswmsDlsAr6UDdJU46GFZMIi2WmFJHarEkIBw -FN44ypSLmiEVwKRJE2/CYO0f7zQHcF6GUSwQo2TxneahrZyHs7GdvpcRcfm0YnlC -/H1CJ3pl8FpfHttzzIrIJviIRgQYEQIABgUCOxIiVAAKCRCiEVrhX2uLcg0yAKCd -zbaSPxN+OS1Tq7hJRSq53blllwCfQHZvTM+MqMa6LB0pKeQVs1wVLeA= -=TAHR ------END PGP PUBLIC KEY BLOCK----- - -Type Bits/KeyID Date User ID -pub 1024/697ECEDD 2000/04/06 Henri Gomez - *** RPM SIGNING KEY *** ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: 2.6.3i - -mQCNAzjsydwAAAEEAMpwFU/ci3/wR3ryCGp9Exr+Rx/hTQ7hWAJcVw8ejlBXlT4T -yITlRUs0HGfRWxME2J55PuXXsIEPZzjfozNtvOyq8WlLlJ7iaiyWxVRoPJ25sSEj -C9etm6wjj4E66ZgzuElZkm1m69uEsCHPPNuz1oQ/g1O+SmIVxIYirlxpfs7dAAUR -tBxIZW5yaSBHb21leiA8aGdvbWV6QHNsaWIuZnI+iQCVAwUQOOzJ3IYirlxpfs7d -AQFQyQQAj0D9G0hEL7SQGaSCkkoXwvamQw42N8+tNm+jfWHWdE4HAiVlhJmI2GyD -sdcXVAcR8R7ILIRB5AY7a3bF+qMk0r+vO6oR878RKKn9AvtaAIOnrh6tr0tiPwf5 -XDUMySxIWJEF3SmJAy9Lq3bAl5GMzZCFHiS0NW2gtWgmr/u1RuM= -=6l+I ------END PGP PUBLIC KEY BLOCK----- -pub 1024D/EDF62C35 2002-04-10 Magesh Umasankar -sig EDF62C35 2002-04-10 Magesh Umasankar -sub 1024g/B5FFC53F 2002-04-10 -sig EDF62C35 2002-04-10 Magesh Umasankar - ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.0.6-2 (MingW32) -Comment: For info see http://www.gnupg.org - -mQGiBDy0ebgRBADuKIKD8PuJ4wKEV1h2AprwJjxCRx8vn48XNwfLZuvhw8cpArtK -rZwhoGPPUPEEXgtTNerlKq4VwpAwcnvRz7oC/7aWkUbcR2sAyhfe2scohwPgw7Xv -+isWC0NDPdrxvXG/PUOG/cnELunr51ymybBqBxUd2gMhYIxPo67D+YPYLwCgwcZp -yc/6kJa116ESWHrti342GD8D/1srpnRs9CiS1DQF1uZ1wW4vzj4VD61tKsjdWD8D -V573R22iMDLSj4oMB536WxUH7snz8XsAKm/peqJ6G9m0smtmWA1ago5yzQj70WqF -xzWBhHn2I/YfAQ8pb2s9q1lClj8elnCxT65L27ydBAZteejb2VqjtQ6iGy86PUT2 -wRUvBADZmoV1eIZJEM5NnxBv1EtvRYZtIQEzZ8dO2A1LOS7qlVr8IypljNPLGhzX -VHNvVsjC9QMUSWeBsDedvQHQ3hJpIMnTI32XE1V4gX06gfVTZdhf2fLTtwnsHZp0 -oumqshGDVRhNJJdDYLikxWOxOfkNveKEqJFvtuBR+ZqqluQKebQlTWFnZXNoIFVt -YXNhbmthciA8dW1hZ2VzaEBhcGFjaGUub3JnPohXBBMRAgAXBQI8tHm4BQsHCgME -AxUDAgMWAgECF4AACgkQ76Pnee32LDWSRwCfeASWXvpdt7bSFPMtszU/7uPEktsA -n23mYUN5WKJA1ZreW+0CcZ2ESnOvuQENBDy0eb8QBACBVb9YDJRp9Irzmq71Jf9F -IPw+4g/cWpF3t/Eb7eSzMcOvTAXyNIWzaaOjHre7lFctHfq8ls/6gR7uqajiAnfQ -cfTcu7pp+F5KsU0Embt83SFzZ3aoJwETmB/LqUyrrGDiue3lU+flJO7UmcsRvtk0 -+BDkyCeB9HgfdpXbBLCyuwADBQP+PNxX4e1tg3ZJo/xNEnD2Re3HjmQRrr0RYJLU -GjgQrAEONSgowx3IW8/JssmNJVjnYm0qjSKsb8rergCFJhPNZ8Dd/k00pKcrq+IN -6j7WTYLqPce87zrGAZUtmDwDSp5mxy5ExWJJxsgBPk4YBQLzJt21A3BgK/i24Sze -2VLbaZuIRgQYEQIABgUCPLR5vwAKCRDvo+d57fYsNa8xAJ4mLfonZbd64+YY9rfv -hIh3Vsl3AACeLPPKtma2K6XCfhTBEDnjhzSr4vqZAaIEPLR5uBEEAO4ogoPw+4nj -AoRXWHYCmvAmPEJHHy+fjxc3B8tm6+HDxykCu0qtnCGgY89Q8QReC1M16uUqrhXC -kDBye9HPugL/tpaRRtxHawDKF97axyiHA+DDte/6KxYLQ0M92vG9cb89Q4b9ycQu -6evnXKbJsGoHFR3aAyFgjE+jrsP5g9gvAKDBxmnJz/qQlrXXoRJYeu2LfjYYPwP/ -WyumdGz0KJLUNAXW5nXBbi/OPhUPrW0qyN1YPwNXnvdHbaIwMtKPigwHnfpbFQfu -yfPxewAqb+l6onob2bSya2ZYDVqCjnLNCPvRaoXHNYGEefYj9h8BDylvaz2rWUKW -Px6WcLFPrkvbvJ0EBm156NvZWqO1DqIbLzo9RPbBFS8EANmahXV4hkkQzk2fEG/U -S29Fhm0hATNnx07YDUs5LuqVWvwjKmWM08saHNdUc29WyML1AxRJZ4GwN529AdDe -EmkgydMjfZcTVXiBfTqB9VNl2F/Z8tO3CewdmnSi6aqyEYNVGE0kl0NguKTFY7E5 -+Q294oSokW+24FH5mqqW5Ap5tCVNYWdlc2ggVW1hc2Fua2FyIDx1bWFnZXNoQGFw -YWNoZS5vcmc+iFcEExECABcFAjy0ebgFCwcKAwQDFQMCAxYCAQIXgAAKCRDvo+d5 -7fYsNZJHAJ94BJZe+l23ttIU8y2zNT/u48SS2wCfbeZhQ3lYokDVmt5b7QJxnYRK -c6+5AQ0EPLR5vxAEAIFVv1gMlGn0ivOarvUl/0Ug/D7iD9xakXe38Rvt5LMxw69M -BfI0hbNpo6Met7uUVy0d+ryWz/qBHu6pqOICd9Bx9Ny7umn4XkqxTQSZu3zdIXNn -dqgnAROYH8upTKusYOK57eVT5+Uk7tSZyxG+2TT4EOTIJ4H0eB92ldsEsLK7AAMF -A/483Ffh7W2Ddkmj/E0ScPZF7ceOZBGuvRFgktQaOBCsAQ41KCjDHchbz8myyY0l -WOdibSqNIqxvyt6uAIUmE81nwN3+TTSkpyur4g3qPtZNguo9x7zvOsYBlS2YPANK -nmbHLkTFYknGyAE+ThgFAvMm3bUDcGAr+LbhLN7ZUttpm4hGBBgRAgAGBQI8tHm/ -AAoJEO+j53nt9iw1rzEAniYt+idlt3rj5hj2t++EiHdWyXcAAJ4s88q2ZrYrpcJ+ -FMEQOeOHNKvi+g== -=p5Yy ------END PGP PUBLIC KEY BLOCK----- -Type Bits/KeyID Date User ID -pub 1024/397DCAD5 2002/07/03 Henri Gomez - ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: 2.6.3i - -mQCNAz0i0UUAAAEEALXePN6IHne0W96YRMnR+4EXB6402QY5f8ZLcnSUZUH55Fb1 -qcZGBc3WRKlPiUvwBD+eVYgCpNSXF/H+oV1mawxNJN5XwqBEpfYmY8MRIPcqa61h -bJc3LBSm1qNf05G5Cwxeed+OgVm0r1HBy6DAgDHAqNlkC8DZ/BVgqMA5fcrVAAUR -tCpIZW5yaSBHb21leiA8aGdvbWV6QHVzZXJzLnNvdXJjZWZvcmdlLm5ldD6JAJUD -BRA9ItFFFWCowDl9ytUBASNyA/458T84LUVhqq6Y9fPBAfcFMWY2kehuDWsQEXkO -46XoK+AnFZCkKuyDLqPHchVUO5pK/gZYsDK/xJkfh3u4FTDTsecb9wFmIeyayVIN -SI8o6l8EZzDX/PGwqEwzxHrbQkIgIktNn5ApIoazvdBpbkQfNj1vr2wWoMYPLAWM -8xzecA== -=UmZ8 ------END PGP PUBLIC KEY BLOCK----- ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.0.6 (GNU/Linux) -Comment: For info see http://www.gnupg.org - -mQGiBD02vbERBAC1v8fR6gjERpaz4UMfdy0hRVWCPSbOdF+Swm/IenjVzErco6zb -MTa13umUNrDPBy/tTWiCCZrOnqi7fgDzWqPEqrXJjKAFVLEWE6MmKylPPEPG1/bm -idkNGERSAZduvhKv777PzvEJJ/8eGe3wy/O8NbgIjCPtr4UklwCZS8cFuwCg8oMO -UdT8qZRtzdxdAyu1m5fUb+MD/3IKJYWXsdtb6iBphCU4f/BoyjVC9EZJ1ywLuiVM -siKbuaDUaXU9nWcbNKv+fx8uZ1NaadpfLokqqhnWcpnSiqw8HNR7SwsF1D33rkXK -O4FSuVss/tIoqGdWFcJyPkP4yP5shxqR335narVw2vDa0+BiWkALbA2qVsSIdZDB -LeFZA/47AMBS0U2BRk2rQT8LmMuFl7mR+wNBM4n7FUGdxsGn3TcYd4pXTNrEQPrV -YNdooKlikgGk4hgFnIFX09Spmimqgq0goFue81rttVdZZ4uep8dTghY6gwmvcOxX -jATbhWStBhdu9B35kzfHc+1QihD5Z94u4uyWIVBIzikcdiY8LbQqSGVucmkgR29t -ZXogPGhnb21lekB1c2Vycy5zb3VyY2Vmb3JnZS5uZXQ+iFcEExECABcFAj02vbEF -CwcKAwQDFQMCAxYCAQIXgAAKCRAZMdaEMHoQpYijAKCCP68ndU/kTXR9XAKLvibC -3S8+1QCfUFQYte3Jo+MHKaWjsu9JGptRzo+5Ag0EPTa93RAIAKlsRJ5gOGTFsmaR -W9k6MIh4c/MCy7J7HUxT5xTdHROa+3zUh+FAE/JaOx9ZtZtH863DFHA8cP4L+tpi -PjBT6g2E94dwGcuH/OiSSCT4JSBukbGbOuLLdmFXqUl8+4gsL90Xal67FtNLwyLG -1n7geLir0byD+OT7VLA5w+6G0NOpJEveV/FIa2qLgdRZ8vz73ybgMh18hBUrUmro -jncp0rln2VU7VCH1C2aClKm7kK4mGAjIFIzKbguK+kM3b8NDHmXKpT6syyCtIM3h -prkV1TUCAFqLI32aSdlTN79lpeA2zDga9k4/4X/RDHsFpRN2neRFGTNUtuUgYpQQ -E5zWBmMAAwUH/RiGxyeBsad923IwE1+GAjxFl2tqF9xWk0J6yTnSK4nfhYAE9evV -jwDEok9jRl4ILCcXx6YN/d/lWNuSbARKHz/3hLiTouPpwd3SSJ8is2x9PgpJz5JX -cD0y1SkbPLvs3jH3ZmdcxZpuAmJeI/typqFKK5pWP44oXIH+XH/8nWDtmLEBkgKQ -/ATQWenMTmZ6MIJ6aWKWGkO9QS6iYRz3PPPGQ1O8W02CeprM2wBtlb8J1Z3RxNhM -rZcg/1Qi3V3D1HI4zw6tAFmDeBb8J4PaBQzqlhzx2EBTbfwNPhV8AlPvpxHEeGGn -v+O1yhZr33SnyZdINNoNDn+owVMdmkobe9GIRgQYEQIABgUCPTa93QAKCRAZMdaE -MHoQpRsTAJ4qst3MhLm48fBAEnzuzi/BIKr+AgCfYaCB/AvPoncQbHc8BcNGRimR -P9A= -=hQhz ------END PGP PUBLIC KEY BLOCK----- diff --git a/build/tools/jakarta-ant-1.5.1/LICENSE b/build/tools/jakarta-ant-1.5.1/LICENSE deleted file mode 100644 index 0f8706c6f..000000000 --- a/build/tools/jakarta-ant-1.5.1/LICENSE +++ /dev/null @@ -1,49 +0,0 @@ -/* - * ============================================================================ - * The Apache Software License, Version 1.1 - * ============================================================================ - * - * Copyright (C) 2000-2002 The Apache Software Foundation. All - * rights reserved. - * - * Redistribution and use in source and binary forms, with or without modifica- - * tion, are permitted provided that the following conditions are met: - * - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * 3. The end-user documentation included with the redistribution, if any, must - * include the following acknowledgment: "This product includes software - * developed by the Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, if - * and wherever such third-party acknowledgments normally appear. - * - * 4. The names "Ant" and "Apache Software Foundation" must not be used to - * endorse or promote products derived from this software without prior - * written permission. For written permission, please contact - * apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", nor may - * "Apache" appear in their name, without prior written permission of the - * Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, - * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- - * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * This software consists of voluntary contributions made by many individuals - * on behalf of the Apache Software Foundation. For more information on the - * Apache Software Foundation, please see . - * - */ diff --git a/build/tools/jakarta-ant-1.5.1/LICENSE.dom b/build/tools/jakarta-ant-1.5.1/LICENSE.dom deleted file mode 100644 index 2959b704a..000000000 --- a/build/tools/jakarta-ant-1.5.1/LICENSE.dom +++ /dev/null @@ -1,71 +0,0 @@ -This license came from: -http://www.w3.org/Consortium/Legal/copyright-software-19980720 - - -W3C® SOFTWARE NOTICE AND LICENSE -Copyright © 1994-2001 World -Wide Web Consortium, World -Wide Web Consortium, (Massachusetts Institute of -Technology, Institut National de -Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. -http://www.w3.org/Consortium/Legal/ - -This W3C work (including software, documents, or other related -items) is being provided by the copyright holders under the -following license. By obtaining, using and/or copying this work, -you (the licensee) agree that you have read, understood, and will -comply with the following terms and conditions: -Permission to use, copy, modify, and distribute this software -and its documentation, with or without modification,  for any -purpose and without fee or royalty is hereby granted, provided that -you include the following on ALL copies of the software and -documentation or portions thereof, including modifications, that -you make: - -The full text of this NOTICE in a location viewable to users of -the redistributed or derivative work. - -Any pre-existing intellectual property disclaimers, notices, or -terms and conditions. If none exist, a short notice of the -following form (hypertext is preferred, text is permitted) should -be used within the body of any redistributed or derivative code: -"Copyright © [$date-of-software] World Wide Web Consortium, (Massachusetts Institute of -Technology, Institut National de -Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. -http://www.w3.org/Consortium/Legal/" - -Notice of any changes or modifications to the W3C files, -including the date changes were made. (We recommend you provide -URIs to the location from which the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND -COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF -MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE -USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD -PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, -SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE -SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in -advertising or publicity pertaining to the software without -specific, written prior permission. Title to copyright in this -software and any associated documentation will at all times remain -with copyright holders. -____________________________________ -This formulation of W3C's notice and license became active on -August 14 1998 so as to improve compatibility with GPL. This -version ensures that W3C software licensing terms are no more -restrictive than GPL and consequently W3C software may be -distributed in GPL packages. See the older formulation for the -policy prior to this date. Please see our Copyright FAQ for common -questions about using materials from -our site, including specific terms and conditions for packages like -libwww, Amaya, and Jigsaw. -Other questions about this notice can be -directed to site-policy@w3.org. - -webmaster diff --git a/build/tools/jakarta-ant-1.5.1/LICENSE.sax b/build/tools/jakarta-ant-1.5.1/LICENSE.sax deleted file mode 100644 index 05bccc9ae..000000000 --- a/build/tools/jakarta-ant-1.5.1/LICENSE.sax +++ /dev/null @@ -1,20 +0,0 @@ -This license came from: http://www.megginson.com/SAX/copying.html - However please note future versions of SAX may be covered - under http://saxproject.org/?selected=pd - - -This page is now out of date -- see the new SAX site at -http://www.saxproject.org/ for more up-to-date -releases and other information. Please change your bookmarks. - - -SAX2 is Free! - -I hereby abandon any property rights to SAX 2.0 (the Simple API for -XML), and release all of the SAX 2.0 source code, compiled code, and -documentation contained in this distribution into the Public Domain. -SAX comes with NO WARRANTY or guarantee of fitness for any -purpose. - -David Megginson, david@megginson.com -2000-05-05 \ No newline at end of file diff --git a/build/tools/jakarta-ant-1.5.1/LICENSE.xerces b/build/tools/jakarta-ant-1.5.1/LICENSE.xerces deleted file mode 100644 index 28282b456..000000000 --- a/build/tools/jakarta-ant-1.5.1/LICENSE.xerces +++ /dev/null @@ -1,56 +0,0 @@ -/* - * The Apache Software License, Version 1.1 - * - * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. - * - * 4. The names "Xerces" and "Apache Software Foundation" must - * not be used to endorse or promote products derived from this - * software without prior written permission. For written - * permission, please contact apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", - * nor may "Apache" appear in their name, without prior written - * permission of the Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation and was - * originally based on software copyright (c) 1999, International - * Business Machines, Inc., http://www.ibm.com. For more - * information on the Apache Software Foundation, please see - * . - */ diff --git a/build/tools/jakarta-ant-1.5.1/README b/build/tools/jakarta-ant-1.5.1/README deleted file mode 100644 index 311e96cac..000000000 --- a/build/tools/jakarta-ant-1.5.1/README +++ /dev/null @@ -1,70 +0,0 @@ - - A N T - - - What is it? - ----------- - - Ant is a Java based build tool. In theory it is kind of like "make" - without makes wrinkles and with the full portability of pure java code. - - - Why? - ---- - - Why another build tool when there is already make, gnumake, nmake, jam, - and others? Because all of those tools have limitations that its original - author couldn't live with when developing software across multiple platforms. - - Make-like tools are inherently shell based. They evaluate a set of - dependencies and then execute commands not unlike what you would issue on a - shell. This means that you can easily extend these tools by using or writing - any program for the OS that you are working on. However, this also means that - you limit yourself to the OS, or at least the OS type such as Unix, that you - are working on. - - Makefiles are inherently evil as well. Anybody who has worked on them for any - time has run into the dreaded tab problem. "Is my command not executing - because I have a space in front of my tab!!!" said the original author of Ant - way too many times. Tools like Jam took care of this to a great degree, but - still use yet another format to use and remember. - - Ant is different. Instead a model where it is extended with shell based - commands, it is extended using Java classes. Instead of writing shell - commands, the configuration files are XML based calling out a target tree - where various tasks get executed. Each task is run by an object which - implements a particular Task interface. - - Granted, this removes some of the expressive power that is inherent by being - able to construct a shell command such as `find . -name foo -exec rm {}` but - it gives you the ability to be cross platform. To work anywhere and - everywhere. And hey, if you really need to execute a shell command, Ant has - an exec rule that allows different commands to be executed based on the OS - that it is executing on. - - The Latest Version - ------------------ - - Details of the latest version can be found on the Apache Jakarta - Project web site . - - - Documentation - ------------- - - Documentation is available in HTML format, in the docs/ directory. - For information about building and installing Ant, see - docs/manual/index.html - - - Licensing - --------- - - This software is licensed under the terms you may find in the file - named "LICENSE" in this directory. - - - Thanks for using Ant. - - The Apache Jakarta Project - diff --git a/build/tools/jakarta-ant-1.5.1/WHATSNEW b/build/tools/jakarta-ant-1.5.1/WHATSNEW deleted file mode 100644 index 4fb603c00..000000000 --- a/build/tools/jakarta-ant-1.5.1/WHATSNEW +++ /dev/null @@ -1,1301 +0,0 @@ -Changes from Ant 1.5.1Beta1 to 1.5.1 -==================================== - -Fixed bugs: ------------ - -* 's prefix attribute failed to apply to nested elements. - -* created an empty junit-noframes.html if no format had - been specified. - -* would remove more than it should if the file name - contained more than one dot. - -* s nested into s didn't work. - -Other changes: --------------- - -* Shipped XML parser is now Xerces 2.2.0 - -* Filesets now support a 'file' attribute, allowing a single-file - fileset to be constructed without having to specify its parent - directory separately. - -* will now return the result of a call to getName instead of - "unknown" for Test implementations that don't extend TestCase but have - a public String getName() method. - -Changes from Ant 1.5 to 1.5.1Beta1 -================================== - -Fixed bugs: ------------ -* Date/time in CvsChangeLog was in local timezone and 12 hour format leading - to a problem when sorting by time. It is now UTC (GMT) and in 24-hour - format as per cvs 'specifications'. - -* CvsTagDiff now supports ampersand modules or modules that have a different - root directory than their name. - -* EjbJar threw NPEs for the Websphere element. The property 'websphere.home' - was not documented. - -* Mail example in the documentation was not correct. - -* Checksum was broken in the following scenario: - (using verifyproperty OR in a condition) AND using filesets - with multiple files. - -* The ExpandProperties filter threw NPEs when defined using - the format. - -* The sh wrapper script didn't work under Cygwin if ANT_HOME wasn't - set with a Unix style filename. - -* The sh wrapper script could fail if you started Ant from a directory - with whitespace in its name. - -* ant -diagnostics was not working properly when the task dependency - was missing and was just printing the missing dependency. - -* If a task got redefined via , it lost its child elements. - -* 's classpathref attribute was broken. - -* would result in no command line argument, will now - be a single empty argument. Use if you need the - quotes literally. - -* could append a newline character at the end of the - file. - -Other changes: --------------- - -* Appendix E of Java Development with Ant (Loughran/Hatcher) was - contributed to the docs. - -* will only print deprecration warnings if it is actually - used to change the value of a property. - -Changes from Ant 1.5beta3 to Ant 1.5 -==================================== - -Changes that could break older environments: --------------------------------------------- - -* The filesetmanifest attribute added to after the 1.4.1 - release has been removed for now. This change may affect only - the 1.5Beta/1.6Alpha users. An attempt will be made to add this - feature back into Ant 1.6. - -Fixed bugs: ------------ - -* and friends would always update existing archive if you set - the update attribute to true. - -* To support backward compatibility with older versions, - will once again set the property, even if the result is the empty - string, unless the new 'setonempty' attribute is set to false|no|off - (default is "true"). - -* The manifest task would crash XmlLogger - -Other changes: --------------- - -* added **/.svn and **/.svn/** to the default excludes - -Changes from Ant 1.5beta2 to Ant 1.5beta3 -========================================= - -Changes that could break older environments: --------------------------------------------- - -* Project.getBuildListeners now returns a clone of the listener - list. Changes to the returned list will not affect the listeners - currently attached to the Project. It also means that it is safe to - iterate over the returned list if listeners are added or removed - during the traversal. - -* default filenameformat has been different from Ant 1.4.1. - Now it is different from 1.5beta1 and 1.5beta2. - -* Some messages that are printed during startup will not be - written to the logfile specified via -logfile as they might destroy - the format of the file for special BuildLoggers (like XmlLogger). - -* won't set the property if the result is the empty string. - -Fixed bugs: ------------ - -* could fail to find files or directories that happen to - start with the name of the project's basedir but are not children of - the basedir. - -* Nested 's inside can now be overriden by subsequent - and tasks. - -* 's outputtype attribute wouldn't do anything. - -* filterreader could swallow lines. - -* used to configure the tasks (set their attributes) - before the first task has been executed. This means that properties - that have been set by nested task seemed to be unset for the other - tasks in the same element. - -* 's sourcepath setting has been ignored by some compiler - implementations. - -* 's packagelist attribute didn't work. - -* the plain mailer would always use port 25 in . - -* Ant's default logger could swallow empty lines. - -* ejbjar's iPlanet nested element now can process multiple descriptors. - -* IPlanetEjbc was looking in the wrong place for four iiop files. - -* would pass the -source switch to JDK 1.3's javac, even - though it doesn't support it. - -Other changes: --------------- - -* now uses a buffer (of configurable size). - -* The "Trying to override task definition" warning has been degraded - to verbose level if the two task definitions only differ in the class - loader instance that has loaded the definition. - -* Add a jvmargs to the ejbjar's weblogic element to allow additional - arguments to be provided to the VM runnign ejbc. Document the - jvmdebuglevel attribute which can be used to avoid warnings about - interface classess being found on the classpath. Document the new - element which allows JVM properties to be defined. - Added an outputdir attribute to allow the destination to be a - directory into which the exploded jar is written. - -* ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5 - -Changes from Ant 1.5beta1 to Ant 1.5beta2 -========================================= - -Changes that could break older environments: --------------------------------------------- - -* Properties will now be expanded in mail message bodies. This means -that one $ sign will be stripped if your mail message contains the text -$$. - -* org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask. - -* Available#setFile now again uses a File argument as it did in 1.4, -this may break environments that have been adapted to the String -argument version present in 1.5beta1. - -Fixed bugs: ------------ -* When attempts a rename, it deletes the destination file, if it - exists, before renaming the source file. However, was not - checking if the destination file was actually a directory before - trying to delete it. - -* Make CVS Tasks to work under Cygwin. - -* Fix LineContains to handle huge files elegantly without causing -Stack Overflows. - -* if you ask for the "classic" compiler on Java1.4, you get upgraded to -"modern" because there is no classic compiler any more. - -* the condition was viewing 404 'not found' exceptions as success. Now -it defaults to viewing any response >=400 as an error, and has an errorsBeginAt -attribute you can use if you want a higher or lower value. - -* throws a build exception on an http authorization error, unless you -have set ignoreerrors to true. - -* was spelt in Wintel case: . It is now lower -case, though the old spelling is retained for anyone who used it. - -* Merging of Manifests in jar now works as documented. - -* paths that have been separated by colons would be incorrectly parsed -on NetWare. - -* runant.pl now supports NetWare. - -* and tasks were in beta1, but not defined by -default; They now are. fills a property with the name of a -temporary file; lets you set the JVM's http, ftp and socks proxy -settings. - -* failed for -JDK 1.1 and 1.2, even if the class could be found on the -user-specified classpath. - -* now works on z/OS. - -* forked failed for the wrong reason on JDK 1.1 - Ant would -use a temporary file to hold the names of the files to compile under -some conditons, but 1.1 doesn't support this feature. Ant will no -longer try this, but you may run into problems with the length of the -command line now. - -* the refid attribute for s nested into or s -nested into didn't work. - -* didn't work for nested s. - -* dropped sourcepath entries if no "interesting" .java -source files could be found below them. This has been backwards -incompatible and caused problems with custom doclets like xdoclet. - -* Using the doclet, docletpath or docletpathref attributes of - may have caused NullPointerExceptions. - -* nested of would include too much. - -* will no longer choke on s that point to -non-existing directories. - -* didn't work at all. - -* and now fail if the file they are working -on is locked. - -* would pick up the wrong executable in the combination JDK -1.2 and AIX. - -Other changes: --------------- - -* z/OS now gets detected by the os condition. - -* and now have an optional followsymlink attribute -that can prevent Ant from following symbolic links on some platforms. - -* BeanShell is now supported in the - - - - -

Class

- - - - - -
- -

Tests

- - - - - - - - - -
- - - - - - - - cur = TestCases['.'] = new Array(); - - - cur[''] = ''; - - - - - - - - - - - Unit Test Classes: <xsl:value-of select="$name"/> - - - - - - - - - -
-

-
- -

Classes

- - - - - - - -
- -
- - -
- - - - - - - All Unit Test Classes - - - - - -

Classes

- - - - -
- - -
- - - - - - - - - / - .html - - - - - - - - - - - - - All Unit Test Packages - - - - - -

Home

-

Packages

- - - - -
- - -
- - - - - - - - - - - - - - - - Unit Test Results: Summary - - - - - - open('allclasses-frame.html','classListFrame') - -

Summary

- - - - - - - - - - - - - - - - - Error - Failure - Pass - - - - - - - - - -
TestsFailuresErrorsSuccess rateTime
- - - - - - - -
- - - - -
- Note: failures are anticipated and checked for with assertions while errors are unanticipated. -
- -

Packages

- - - - - - - - - - - Error - Failure - Pass - - - - - - - - - -
- - - -
- - -
- - - - - - - - - - - - open('package-frame.html','classListFrame') - -

Package

- - - - - -

Classes

-

- - - - - -
-

-
- - -
- - - - - - - ../ - - - - - - ../ - - - - - - - - stylesheet.css - - - - - -

Unit Test Results

- - - - - -
Designed for use with JUnit and Ant.
-
-
- - - - - Name - Tests - Errors - Failures - Time(s) - - - - - - - Name - Status - Type - Time(s) - - - - - - - - - - Error - Failure - Pass - - - - - - - - - - - - - - - - - - Error - Failure - TableRowColor - - - - - - Failure - - - - Error - - - - Success - - - - - - - - - - - - - - - - - - - - - - - - - N/A - - - - - -

- - - - - - - -
- - - - - - \' - - - - - \\ - - - - - - - - - - - - - - - - -
- - - -
- - - -
-
- - - - - - - - - - - - diff --git a/build/tools/jakarta-ant-1.5.1/etc/junit-noframes.xsl b/build/tools/jakarta-ant-1.5.1/etc/junit-noframes.xsl deleted file mode 100644 index 7364e493c..000000000 --- a/build/tools/jakarta-ant-1.5.1/etc/junit-noframes.xsl +++ /dev/null @@ -1,519 +0,0 @@ - - - - - - - - - - Unit Test Results - - - - - - - - - - -
- - - -
- - - -
- - - - - - -
- - - - - - - - -

Packages

- Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers. - - - - - - - - - - - - - - - - - Failure - Error - - - - - - - - - -
- - - -
-
- - - - - - - - - - - - -

Package

- - - - - - -
- Back to top -

-

- - - - - - - - -

TestCase

- - - - - - - - - - -
- -

- - Back to top - - - - -

Summary

- - - - - - - - - - - - - - - - - Failure - Error - - - - - - - - - -
TestsFailuresErrorsSuccess rateTime
- - - - - - - -
- - - - -
- Note: failures are anticipated and checked for with assertions while errors are unanticipated. -
-
- - - - cur = TestCases['.'] = new Array(); - - - cur[''] = ''; - - - - - -

Unit Test Results

- - - - - -
Designed for use with JUnit and Ant.
-
-
- - - - Name - Tests - Errors - Failures - Time(s) - - - - - - - Name - Tests - Errors - Failures - Time(s) - - - - - - - Name - Status - Type - Time(s) - - - - - - - - - - - Failure - Error - - - - - - - - - - - - - - - - - - - - - Error - - - - - - Failure - - - - Error - - - - Success - - - - - - - - - - - - - - - - - - - - - - - - N/A - - - - - - -

- - - -
- - -
- - - - - - \' - - - - - \\ - - - - - - - - - - - - - - - - -
- - - -
- - - -
-
- - - - - - - - - - - -
- diff --git a/build/tools/jakarta-ant-1.5.1/etc/log.xsl b/build/tools/jakarta-ant-1.5.1/etc/log.xsl deleted file mode 100644 index 744736c06..000000000 --- a/build/tools/jakarta-ant-1.5.1/etc/log.xsl +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- - http://jakarta.apache.org - - - Jakarta Ant -
- - - -

- - - - - - - -

-
- Copyright © 2000-2002, Apache Software Foundation -
-
- - -
- - - - - - failed - complete - - - - - - - - - - - - - -
Build FailedBuild CompleteTotal Time:
- -
- See the stacktrace. -
-
- - - - - -
ant.file
ant.version
java.version
os.name
- -

Build events

- - - - - - - -
targettaskmessage
-

- - - -

Error details

- - -
-
-
- -

-
- - - - - - - a - b - - - [ ] - - - - - - -
diff --git a/build/tools/jakarta-ant-1.5.1/etc/maudit-frames.xsl b/build/tools/jakarta-ant-1.5.1/etc/maudit-frames.xsl deleted file mode 100644 index 476f65e7a..000000000 --- a/build/tools/jakarta-ant-1.5.1/etc/maudit-frames.xsl +++ /dev/null @@ -1,547 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - - - - - - - - - Audit Results. - - - - - - - - - <H2>Frame Alert</H2> - <P> - This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. - </P> - - - - - - - - .bannercell { - border: 0px; - padding: 0px; - } - body { - margin-left: 10; - margin-right: 10; - font:normal 80% arial,helvetica,sanserif; - background-color:#FFFFFF; - color:#000000; - } - .a td { - background: #efefef; - } - .b td { - background: #fff; - } - th, td { - text-align: left; - vertical-align: top; - } - th { - font-weight:bold; - background: #ccc; - color: black; - } - table, th, td { - font-size:100%; - border: none - } - table.log tr td, tr th { - - } - h2 { - font-weight:bold; - font-size:140%; - margin-bottom: 5; - } - h3 { - font-size:100%; - font-weight:bold; - background: #525D76; - color: white; - text-decoration: none; - padding: 5px; - margin-right: 2px; - margin-left: 2px; - margin-bottom: 0; - } - - - - - - - - - - - - - - -

Class .

- - - - -
- -

Violations

- - - - - -
- - - -
- - - - - - - - - - - - - - - - -
-

-
- -

Classes

- - - - -
- - -
- - - - - -
- - - - - - - - - - - - - - -

Classes

- - - - -
- - -
- - - - - - - - - - / - .html - - - - - - - - - - - - - - - - - -

Home

-

Packages

- - - - -
- - -
- - - - - - - - - - - - - - - - - - - - - -

Summary

- - - - - - - - - - - -
Audited classesReported classesViolations
- - - - -
- Note: Rules checked have originated from style guidelines suggested by the language designers, - experience from the Java development community and insite experience. Violations are generally - reported with a reference to the Java Language Specifications (JLS x.x.x) - and Metamata Audit rules (x.x). - Please consult these documents for additional information about violations. -

- Rules checked also enforce adherence to Sun Java coding guidelines in use at Jakarta. -

- One should note that these violations do not necessary underline errors but should be used - as an indication for possible errors. As always, use your best judgment and review - them carefully, it might save you hours of debugging. -

- -

Packages

- - - - - - - - - - -
- - - -
- - - - - - - - - - - - open('package-frame.html','classListFrame') - -

Package

- - - - -

Classes

- - - - - -
-
- - - -
- - - - - - - ../ - - - - - - ../ - - - - - - - - stylesheet.css - - - - - - - - - - - - - - -
- - http://jakarta.apache.org - -

Source Code Audit

Designed for use with Webgain QA/Metamata Audit and Ant.
-
-
- - - - - - -

-
- Copyright © 1999-2001, Apache Software Foundation -
-
-
- - - - - - Name - Violations - - - - - - - Line - Message - - - - - - - - - - - - - - - - - - - - - - - - - a - b - - - - - diff --git a/build/tools/jakarta-ant-1.5.1/etc/mmetrics-frames.xsl b/build/tools/jakarta-ant-1.5.1/etc/mmetrics-frames.xsl deleted file mode 100644 index 001112926..000000000 --- a/build/tools/jakarta-ant-1.5.1/etc/mmetrics-frames.xsl +++ /dev/null @@ -1,1070 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - - - - - - - - - - - - - - - - - - - - . - - - - - - Metrics Results. - - - - - - - - - <H2>Frame Alert</H2> - <P> - This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. - </P> - - - - - - - - - - - -

Metrics Reference

-V(G) | -LOC | -DIT | -NOA | -NRM | -NLM | -WMC | -RFC | -DAC | -FANOUT | -CBO | -LCOM | -NOC - - -

Cyclomatic Complexity - V(G)

-This metric was introduced in the 1970s to measure the amount of control -flow complexity or branching complexity in a module such as a -subroutine. It gives the number of paths that may be taken through the -code, and was initially developed to give some measure of the cost of -producing a test case for the module by executing each path. -

-Methods with a high cyclomatic complexity tend to be more difficult to -understand and maintain. In general the more complex the methods of an -application, the more difficult it will be to test it, and this will adversely -affect its reliability. -

-V(G) is a measure of the control flow complexity of a method or -constructor. It counts the number of branches in the body of the method, -defined as: -

    -
  • while statements;
  • -
  • if statements;
  • -
  • for statements.
  • -
- -The metric can also be configured to count each case of a switch -statement as well. - -
-

Lines of Code - LOC

- -This is perhaps the simplest of all the metrics to define and compute. -Counting lines has a long history as a software metric dating from before -the rise of structured programming, and it is still in widespread use today. -The size of a method affects the ease with which it can be understood, its -reusability and its maintainability. There are a variety of ways that the size -can be calculated. These include counting all the lines of code, the number -of statements, the blank lines of code, the lines of commentary, and the -lines consisting only of syntax such as block delimiters. -

-This metric can also be used for sizing other constructs as well, for -example, the overall size of a Java class or package can be measured by -counting the number of source lines it consists of. -

-LOC can be used to determine the size of a compilation unit (source file), -class or interface, method, constructor, or field. It can be configured to -ignore: -

    -
  • blank lines;
  • -
  • lines consisting only of comments;
  • -
  • lines consisting only of opening and closing braces.
  • -
- -
-

Depth of Inheritance Hierarchy - DIT

- -This metric calculates how far down the inheritance hierarchy a class is -declared. In Java all classes have java.lang.Object as their ultimate -superclass, which is defined to have a depth of 1. So a class that -immediately extends java.lang.Object has a metric value of 2; any of its -subclasses will have a value of 3, and so on. -

-A class that is deep within the tree inherits more methods and state -variables, thereby increasing its complexity and making it difficult to -predict its behavior. It can be harder to understand a system with many -inheritance layers. -

-DIT is defined for classes and interfaces: -

    -
  • all interface types have a depth of 1;
  • -
  • the class java.lang.Object has a depth of 1;
  • -
  • all other classes have a depth of 1 + the depth of their super class.
  • -
- -
-

Number of Attributes - NOA

- -The number of distinct state variables in a class serves as one measure of -its complexity. The more state a class represents the more difficult it is to -maintain invariants for it. It also hinders comprehensibility and reuse. -

-In Java, state can be exposed to subclasses through protected fields, which -entails that the subclass also be aware of and maintain any invariants. This -interference with the class's data encapsulation can be a source of defects -and hidden dependencies between the state variables. -

-NOA is defined for classes and interfaces. It counts the number of fields -declared in the class or interface. - - -

Number of Remote Methods - NRM

- -NRM is defined for classes. A remote method call is defined as an -invocation of a method that is not declared in any of: -
    -
  • the class itself;
  • -
  • a class or interface that the class extends or implements;
  • -
  • a class or method that extends the class.
  • -
- -The value is the count of all the remote method calls in all of the methods -and constructors of the class. - -
-

Number of Local Methods - NLM

- -NLM is defined for classes and interfaces. A local method is defined as a -method that is declared in the class or interface. NLM can be configured to -include the local methods of all of the class's superclasses. Methods with -public, protected, package and private visibility can be independently -counted by setting configuration parameters. - -
-

Weighted Methods per Class - WMC

- -If the number of methods in a class can be determined during the design -and modeling phase of a project, it can be used as a predictor of how -much time and effort is needed to develop, debug and maintain it. This -metric can be further refined by incorporating a weighting for the -complexity of each method. The usual weighting is given by the cyclomatic -complexity of the method. -

-The subclasses of a class inherit all of its public and protected methods, -and possibly its package methods as well, so the number of methods a -class has directly impacts the complexity of its subclasses. Classes with -large numbers of methods are often specific to a particular application, -reducing the ability to reuse them. -

-The definition of WMC is based upon NLM, and it provides the same -configuration parameters for counting inherited methods and of varying -visibility. The main difference is that NLM always counts each method as 1, -whereas WMC will weight each method. There are two weighting schemes: -

    -
  • V(G) the cyclomatic complexity of the method is used as its weight. - Methods from class files are given a V(G) of 1.
  • -
  • the arity, or the number of parameters of the method are used to - determine the weight.
  • -
- -
-

Response For Class - RFC

- -The response set of a class is the set of all methods that can be invoked as -a result of a message sent to an object of the class. This includes methods -in the class's inheritance hierarchy and methods that can be invoked on -other objects. The Response For Class metric is defined to be size of the -response set for the class. A class which provides a larger response set is -considered to be more complex than one with a smaller response set. -

-One reason for this is that if a method call on a class can result in a large -number of different method calls on the target and other classes, then it -can be harder to test the behavior of the class and debug problems. It will -typically require a deeper understanding of the potential interactions that -objects of the class can have with the rest of the system. -

-RFC is defined as the sum of NLM and NRM for the class. The local methods -include all of the public, protected, package and private methods, but not -methods declared only in a superclass. - - -

Data Abstraction Coupling - DAC

- -DAC is defined for classes and interfaces. It counts the number of reference -types that are used in the field declarations of the class or interface. The -component types of arrays are also counted. Any field with a type that is -either a supertype or a subtype of the class is not counted. - - -

Fan Out - FANOUT

- -FANOUT is defined for classes and interfaces, constructors and methods. It -counts the number of reference types that are used in: -
    -
  • field declarations;
  • -
  • formal parameters and return types;
  • -
  • throws declarations;
  • -
  • local variables.
  • -
- -The component types of arrays are also counted. Any type that is either a -supertype or a subtype of the class is not counted. - -
-

Coupling Between Objects - CBO

- -When one object or class uses another object or class they are said to be -coupled. One major source of coupling is that between a superclass and a -subclass. A coupling is also introduced when a method or field in another -class is accessed, or when an object of another class is passed into or out -of a method invocation. Coupling Between Objects is a measure of the -non-inheritance coupling between two objects. -

-A high value of coupling reduces the modularity of the class and makes -reuse more difficult. The more independent a class is the more likely it is -that it will be possible to reuse it in another part of the system. When a -class is coupled to another class it becomes sensitive to changes in that -class, thereby making maintenance for difficult. In addition, a class that is -overly dependent on other classes can be difficult to understand and test in -isolation. -

-CBO is defined for classes and interfaces, constructors and methods. It -counts the number of reference types that are used in: -

    -
  • field declarations
  • -
  • formal parameters and return types
  • -
  • throws declarations
  • -
  • local variables
  • -
- -It also counts: -
    -
  • types from which field and method selections are made
  • -
- -The component types of arrays are also counted. Any type that is either a -supertype or a subtype of the class is not counted. - -
-

Lack of Cohesion Of Methods - LCOM

- -The cohesion of a class is the degree to which its methods are related to -each other. It is determined by examining the pattern of state variable -accesses within the set of methods. If all the methods access the same state -variables then they have high cohesion; if they access disjoint sets of -variables then the cohesion is low. An extreme example of low cohesion -would be if none of the methods accessed any of the state variables. - -If a class exhibits low method cohesion it indicates that the design of the -class has probably been partitioned incorrectly, and could benefit by being -split into more classes with individually higher cohesion. On the other -hand, a high value of cohesion (a low lack of cohesion) implies that the -class is well designed. A cohesive class will tend to provide a high degree -of encapsulation, whereas a lack of cohesion decreases encapsulation and -increases complexity. -

-Another form of cohesion that is useful for Java programs is cohesion -between nested and enclosing classes. A nested class that has very low -cohesion with its enclosing class would probably better designed as a peer -class rather than a nested class. -

-LCOM is defined for classes. Operationally, LCOM takes each pair of -methods in the class and determines the set of fields they each access. If -they have disjoint sets of field accesses increase the count P by one. If they -share at least one field access then increase Q by one. After considering -each pair of methods, -LCOM = (P > Q) ? (P - Q) : 0 -

-Indirect access to fields via local methods can be considered by setting a -metric configuration parameter. - - -

Number Of Classes - NOC

- -The overall size of the system can be estimated by calculating the number -of classes it contains. A large system with more classes is more complex -than a smaller one because the number of potential interactions between -objects is higher. This reduces the comprehensibility of the system which -in turn makes it harder to test, debug and maintain. -

-If the number of classes in the system can be projected during the initial -design phase of the project it can serve as a base for estimating the total -effort and cost of developing, debugging and maintaining the system. -

-The NOC metric can also usefully be applied at the package and class level -as well as the total system. -

-NOCL is defined for class and interfaces. It counts the number of classes or -interfaces that are declared. This is usually 1, but nested class declarations -will increase this number. - - - - - - - .bannercell { - border: 0px; - padding: 0px; - } - body { - margin-left: 10; - margin-right: 10; - font:normal 80% arial,helvetica,sanserif; - background-color:#FFFFFF; - color:#000000; - } - .a td { - background: #efefef; - } - .b td { - background: #fff; - } - th, td { - text-align: left; - vertical-align: top; - } - th { - font-weight:bold; - background: #ccc; - color: black; - } - table, th, td { - font-size:100%; - border: none - } - table.log tr td, tr th { - - } - h2 { - font-weight:bold; - font-size:140%; - margin-bottom: 5; - } - h3 { - font-size:100%; - font-weight:bold; - background: #525D76; - color: white; - text-decoration: none; - padding: 5px; - margin-right: 2px; - margin-left: 2px; - margin-bottom: 0; - } - .Error { - font-weight:bold; color:red; - } - - - - - - - - - - - - - - - - -

Class .

- - - -
- -

Methods

- - - -
- - - - -
- - - - - - - - - - - - - - - -
-

-
- -

Classes

- - - - - - - - -
- -
- - -
- - - - - - - - - - - -

Classes

- - - - - -
- - -
- - - - - - -
- - - / - - .html - - - - - - - - - - - - - - - - -

Home

-

Packages

- - - - -
- - -
- - - - - - - - - - - - - - - - - - - - - -

Summary

- - - - - - - - - - - - - - - - - -
V(G)LOCDITNOANRMNLMWMCRFCDACFANOUTCBOLCOMNOCL
- - - - -
- Note: Metrics evaluate the quality of software by analyzing the program source and quantifying - various kind of complexity. Complexity is a common source of problems and defects in software. - High complexity makes it more difficult to develop, understand, maintain, extend, test and debug - a program. -

- The primary use of metrics is to focus your attention on those parts of code that potentially are - complexity hot spots. Once the complex areas your program have been uncovered, you can take remedial - actions. - For additional information about metrics and their meaning, please consult - Metamata Metrics manual. -

- -

Packages

- - - - - - -
- - - - -
- - - - - - - - - - - -

Package

- - - - -
- - - - - -
- Note: Metrics evaluate the quality of software by analyzing the program source and quantifying - various kind of complexity. Complexity is a common source of problems and defects in software. - High complexity makes it more difficult to develop, understand, maintain, extend, test and debug - a program. -

- The primary use of metrics is to focus your attention on those parts of code that potentially are - complexity hot spots. Once the complex areas your program have been uncovered, you can take remedial - actions. - For additional information about metrics and their meaning, please consult - Metamata Metrics manual. -

- - - -

Classes

- - - - - - -
-
- - - - -
- - - - - - - ../ - - - - - - ../ - - - - - - - - stylesheet.css - - - - - - - - - - - - - - - -
- - http://jakarta.apache.org - -

Source Code Metrics

Designed for use with Webgain QA/Metamata Metrics and Ant.
-
-
- - - - - - -

-
- Copyright © 1999-2001, Apache Software Foundation -
-
-
- - - - - Name - V(G) - LOC - DIT - NOA - NRM - NLM - WMC - RFC - DAC - FANOUT - CBO - LCOM - NOCL - - - - - - - Name - V(G) - LOC - FANOUT - CBO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - a - b - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Error - - - - -
- diff --git a/build/tools/jakarta-ant-1.5.1/etc/tagdiff.xsl b/build/tools/jakarta-ant-1.5.1/etc/tagdiff.xsl deleted file mode 100644 index 4dac8f4b7..000000000 --- a/build/tools/jakarta-ant-1.5.1/etc/tagdiff.xsl +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="$title"/> - - - -

- -

- Tagdiff between and - -

Designed for use with Ant.

-
- - - - - -
- New Files | - Modified Files | - Removed Files -
- - - New Files - New - - - - - Modified Files - Modified - - - - - Removed Files - Removed - - -
- - - -
- - - - - - - - - - - entries - - (back to top) - - - - - - - -
    - -
- - - - - - - - - - - - - - - - - - - - mailto: - - - - - - -
  • - - / - - - - - - - - /?rev=&content-type=text/x-cvsweb-markup - - - /?r1=&r2=&diff_format=h - - () - - -
  • -
    - - - - - - -
    diff --git a/build/tools/jakarta-ant-1.5.1/lib/README b/build/tools/jakarta-ant-1.5.1/lib/README deleted file mode 100644 index 250f071e9..000000000 --- a/build/tools/jakarta-ant-1.5.1/lib/README +++ /dev/null @@ -1,15 +0,0 @@ -Please refer to the Ant manual under Installing Ant / Library -Dependencies for a list of the jar requirements for various optional -tasks and features. - -This directory contains xercesImpl.jar from the 2.2.0 release of -Apache Xerces. For more information or newer releases see -. See the file LICENSE.xerces for -the terms of distribution. - -It also contains xml-apis.jar, an Apache-controlled collection of -standard classes from the 1.0b2 release of the Apache XML-Commons -release. For more information or newer releases see -. See the files LICENSE.dom and -LICENSE.sax for the terms of distribution. - diff --git a/build/tools/jakarta-ant-1.5.1/lib/ant.jar b/build/tools/jakarta-ant-1.5.1/lib/ant.jar deleted file mode 100644 index 7cf87e838..000000000 Binary files a/build/tools/jakarta-ant-1.5.1/lib/ant.jar and /dev/null differ diff --git a/build/tools/jakarta-ant-1.5.1/lib/iContract-jdk1_2.jar b/build/tools/jakarta-ant-1.5.1/lib/iContract-jdk1_2.jar deleted file mode 100644 index a05cd9276..000000000 Binary files a/build/tools/jakarta-ant-1.5.1/lib/iContract-jdk1_2.jar and /dev/null differ diff --git a/build/tools/jakarta-ant-1.5.1/lib/optional.jar b/build/tools/jakarta-ant-1.5.1/lib/optional.jar deleted file mode 100644 index 1128e1d97..000000000 Binary files a/build/tools/jakarta-ant-1.5.1/lib/optional.jar and /dev/null differ diff --git a/build/tools/jakarta-ant-1.5.1/lib/xercesImpl.jar b/build/tools/jakarta-ant-1.5.1/lib/xercesImpl.jar deleted file mode 100644 index d41cf97ed..000000000 Binary files a/build/tools/jakarta-ant-1.5.1/lib/xercesImpl.jar and /dev/null differ diff --git a/build/tools/jakarta-ant-1.5.1/lib/xml-apis.jar b/build/tools/jakarta-ant-1.5.1/lib/xml-apis.jar deleted file mode 100644 index 8331d27f1..000000000 Binary files a/build/tools/jakarta-ant-1.5.1/lib/xml-apis.jar and /dev/null differ diff --git a/build/tools/jakarta-ant-1.5.1/welcome.html b/build/tools/jakarta-ant-1.5.1/welcome.html deleted file mode 100644 index 33f6a2a05..000000000 --- a/build/tools/jakarta-ant-1.5.1/welcome.html +++ /dev/null @@ -1,124 +0,0 @@ - - -Welcome to Ant1.5 - - -

    Welcome to Ant1.5

    -Hello, and welcome to Ant1.5 -

    -For new users to Ant, welcome to a new way to build your software. -

    -For veteran Ant users, its been, what nine months since Ant 1.4.1 -shipped, and we've been as busy enhancing it as you've been using it. -

    - -We know you've been using Ant, not just from the all the bug reports we -see, but from the awards we've been getting from JavaWorld and SD Magazine -and from the fact that it is now clearly a mainstream product. Every quality IDE, -from the Open Source projects: Emacs, NetBeans, Eclipse, JEdit, to the -commercial offerings such as IntelliJ IDEA and JBuilder now have high -quality Ant integration either built in or available as a -download. And they do that not just because it improves their products, -giving users the best of both worlds -great editors and a great build -process, but because Java developers are starting to expect Ant (and -JUnit) everywhere. -

    -Even in mid-2001, if you said you were using Ant in your project, people -would stare at you. Now, as long as you are talking with Java developers -and not management or your family and friends, people will nod, shrug -and maybe ask you questions about build file and Ant configurations. The good -news: Ant 1.5 includes more helpful error messages and a new --diagnostics command to look at your Ant installation and help work out why -things arent working. -

    -Now, when you tell people you work on Ant in your spare time, -people used to give you very funny stares; now they ask you about how to -set up automated build processes, or deploy to some random app server. -The good news: Ant 1.5 makes it easier to answer those questions. - -The other sign of mainstream is that there are also books on the -subject, first Java Tools for Extreme Programming, then Ant: The -Definitive Guide, and the first Ant1.5 book, Java Development with Ant, -due to ship at the end of the month. (Steve says: I prefer the one with -my name on the cover as co-author, but I'm biased). -As usual, the manual has improved too: -regardless of whether you need a book to work with Ant or not, you need -that on-line documentation. And as usual, any extra contributions to the -docs are welcome indeed. -

    -Ant has also influenced how projects are built. Now when you download -any open source project, or work with a closed source team, you expect -to see a file called build.xml there. Equally important, you expect that -build file to compile and run a set of tests using JUnit or a derivative -thereof; if they are missing, you worry. -

    -Together, Ant and JUnit have transformed the mainstream process for -building and deploying Java projects. And that's pretty profound, when -you think about it. What is equally impressive is that this was all done -as a co-operative effort. Nobody works on Ant full-time; everybody uses -it to solve their problems, to address their build crises and generally -get something done in a hurry. It just so happens that the architectural -model of Java classes bound via introspection to the XML build file -makes it easy for people to add new tasks, extend existing ones and -generally ease their way into developing and extending Ant. It is the -users that have helped Ant become the success it is today, and will keep -it that way tomorrow. -

    -

    What has changed

    -

    -So, what is new in Ant1.5? Lots of stuff. You will have to look at the -whatsnew file to see, but basically the changes -fall into a number of categories -

      -
    1. Bug fixes. We know, some things were broken in 1.4. In ant1.5 we -have moved the bugs, fixing the ones we could, and no doubt adding -different ones. Hopefully the total bug count has decreased. -
    2. Scalability. Changes in <ant> and a few other tasks should -make it easier to write large, scalable build files. -
    3. Deployment. Take a look at the new <serverdeploy> task, add support -for your server if it isnt there. Tomcat 4.1 has its own deployment -tasks incidentally -fetch them from the tomcat pages. -
    4. Ease of use. We have added new attributes to make the archive tasks -consistent with each other, new error messages for common problems (you -get a screenful of help when a task wont instantiate, for example), and -generally try and be helpful. As usual, we will accept contributions to -the documentation or the code for even more helpfulness. Hey, in ant1.5 -you dont need to double escape the $ sign to preserve it in a string! -
    5. Java 1.4 support. We build and test fine on Java 1.4, and have the -extensions to javac needed to build code with assertions in. We should -point out that we have more work to do in this area: if someone wants to -write an <assertionset> datatype to give users control of which assertions -to enable, and patch this in to things like the <junit> and -<java> tasks, things would get very interesting. -
    6. Continuous builds. Automated build tools are becoming more widely -used; fork options on <javac> and <javadoc> are there to -stop memory use growth on a continuous process. -
    7. New platforms: MacOS X for owners of those cute little laptops, -Novell Netware servers, and even z/OS and OS/390 for mainframe -developers who write their build files on their virtual card punches. -
    8. Conditions. Take a look at the <condition> tag to see what you can -look for, then at <waitfor> to use the same tests in deployment. -Finally, notice the if and unless attributes on -<fail> for easy halting of the build on a condition, without -having to resort to conditional targets. -
    - -There are many more enhancements, so we hope you will find your build -projects easier. We have, as usual, jumped through hoops to keep -existing builds working, even those build files that went out their way -to not work on Java 1.4 (hint: dont ask for the classic compiler, it has -gone away). If your build file stops working, and it isnt something listed -on the 'changes that may break your build' part of the WHATSNEW file, or -something we know about on bugzilla, please dont hesitate to file a new -bug report, preferably one with a replicable test and a patch to fix the -problem. -

    -Thanks, -

    -The Ant development team. -

    -PS: many thanks for Magesh to being the build manager for this release! -He has been busy since Feb/March organizing it. Magesh -you are so good -at this you should do it next time too :) - - diff --git a/id.oa/.classpath b/id.oa/.classpath deleted file mode 100644 index 5af765a17..000000000 --- a/id.oa/.classpath +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/id.oa/.project b/id.oa/.project deleted file mode 100644 index e49130a5f..000000000 --- a/id.oa/.project +++ /dev/null @@ -1,23 +0,0 @@ - - - id.oa - - - - - - org.eclipse.jdt.core.javabuilder - - - - - com.ibm.etools.ctc.serviceprojectbuilder - - - - - - org.eclipse.jdt.core.javanature - com.ibm.etools.ctc.javaprojectnature - - diff --git a/id.oa/build.xml b/id.oa/build.xml deleted file mode 100644 index adb191e76..000000000 --- a/id.oa/build.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - Time (hhmm): ${TSTAMP} - - - - - - - - - - - - - - - - diff --git a/id.oa/html/AuthTemplate.jsp b/id.oa/html/AuthTemplate.jsp deleted file mode 100644 index 1fa0d1ef8..000000000 --- a/id.oa/html/AuthTemplate.jsp +++ /dev/null @@ -1,30 +0,0 @@ - - -MOA ID Auth Sample Login - customized - - -

    MOA ID Auth Sample Login - customized

    -
    - - - -
    -
    - - - Hier finden Sie weitere Informationen zur Überprüfung der Zertifikate. - -
    - \ No newline at end of file diff --git a/id.oa/html/BKUSelectionTemplate.jsp b/id.oa/html/BKUSelectionTemplate.jsp deleted file mode 100644 index 82c8518e9..000000000 --- a/id.oa/html/BKUSelectionTemplate.jsp +++ /dev/null @@ -1,14 +0,0 @@ - - -BKU Auswahl - customized - - -

    BKU Auswahl - customized

    -

    -

    - - - -

    - - \ No newline at end of file diff --git a/id.oa/html/auth.jsp b/id.oa/html/auth.jsp deleted file mode 100644 index 0b563a83e..000000000 --- a/id.oa/html/auth.jsp +++ /dev/null @@ -1,48 +0,0 @@ - - -MOA ID Auth Sample Login - - -<% /** assumes moa-id-auth and oa in the same servlet container, - and moa-id-proxy on a different fixed location */ - String authUrlPath = - request.getScheme() + "://" - + request.getServerName() + ":" + request.getServerPort() - + "/moa-id-auth/"; - String proxyUrlPath = "http://10.16.126.28:9080/moa-id-proxy/"; - String oaUrlPath = - request.getScheme() + "://" - + request.getServerName() + ":" + request.getServerPort() - + "/oa/"; - String params = - "Target=gb&" + - "OA=" + proxyUrlPath + "index.jsp"; - String urlStartAuth = - authUrlPath + - "StartAuthentication?" + - params; - String templateParam = - "&Template=" + oaUrlPath + "AuthTemplate.jsp"; - String urlStartAuthCustom = - urlStartAuth + - templateParam; - String urlSelectBKU = - authUrlPath + - "SelectBKU?" + - params; - String urlSelectBKUCustom = - urlSelectBKU + - templateParam + - "&BKUSelectionTemplate=" + oaUrlPath + "BKUSelectionTemplate.jsp"; -%> -Log in to sample application -
    -Log in to sample application using custom form -
    -Choose BKU (HTMLComplete or HTMLSelect) and log in -
    -Choose BKU (HTMLSelect) using custom form and log in -
    -">Wrong parameters example - - \ No newline at end of file diff --git a/id.oa/html/chooseBKU.jsp b/id.oa/html/chooseBKU.jsp deleted file mode 100644 index 0135b6fdf..000000000 --- a/id.oa/html/chooseBKU.jsp +++ /dev/null @@ -1,19 +0,0 @@ - - -BKU Auswahl - - -

    BKU Auswahl

    -

    -

    "> - - -
    -

    - - \ No newline at end of file diff --git a/id.oa/html/form.jsp b/id.oa/html/form.jsp deleted file mode 100644 index d439fa84d..000000000 --- a/id.oa/html/form.jsp +++ /dev/null @@ -1,20 +0,0 @@ -<%@ page import="java.util.*" %> - - -Sample Online Application - - -

    Sample Form

    -

    -

    -<% String param1 = request.getParameter("param1"); - if (param1 == null) param1 = ""; %> -Input some text: - -
    Previous text input: <%=param1%>
    - -
    -

    -

    Back

    - - \ No newline at end of file diff --git a/id.oa/html/getBKUSelectTag.jsp b/id.oa/html/getBKUSelectTag.jsp deleted file mode 100644 index 028dbd348..000000000 --- a/id.oa/html/getBKUSelectTag.jsp +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/id.oa/html/index.jsp b/id.oa/html/index.jsp deleted file mode 100644 index 5111e5103..000000000 --- a/id.oa/html/index.jsp +++ /dev/null @@ -1,56 +0,0 @@ -<%@ page import="java.util.*,javax.servlet.http.*,sun.misc.BASE64Decoder" %> - - -Sample Online Application - - -

    Sample Online Application

    - -

    Request headers: - - <% - /* collect parameters from request */ - for (Enumeration enum = request.getHeaderNames(); enum.hasMoreElements(); ) { - String key = (String) enum.nextElement(); - String value = request.getHeader(key); %> - - <% } %> -
    <%=key%><%=value%>
    -

    - -

    Request parameters: - - <% - /* collect parameters from request */ - for (Enumeration enum = request.getParameterNames(); enum.hasMoreElements(); ) { - String name = (String) enum.nextElement(); - String value = request.getParameter(name); %> - - <% } %> -
    <%=name%><%=value%>
    -

    - -

    Cookies: - - <% - /* collect attributes from request */ - Cookie[] cookies = request.getCookies(); - if (cookies != null) { - for (int i = 0; i < cookies.length; i++) { - Cookie cookie = cookies[i]; %> - - <% } - } %> -
    <%=cookie.getName()%><%=cookie.getValue()%>
    -

    - -<% String authHeader = request.getHeader("Authorization"); - if (authHeader != null) { - authHeader = authHeader.substring(authHeader.indexOf(" ")+1); - String decAuthHeader = new String(new BASE64Decoder().decodeBuffer(authHeader)); -%> -

    Basic authentication credentials: <%=decAuthHeader%>

    -<% } %> -

    Form sample

    - - \ No newline at end of file diff --git a/id.oa/html/stateful_login.jsp b/id.oa/html/stateful_login.jsp deleted file mode 100644 index eaede507f..000000000 --- a/id.oa/html/stateful_login.jsp +++ /dev/null @@ -1,29 +0,0 @@ -<%@ page import="javax.servlet.http.*" %> -<% - /* check request's remote IP address - must be moa-id-proxy's address */ - String remoteIPAddress = request.getRemoteAddr(); - if (! "127.0.0.1".equals(remoteIPAddress)) { /* Substitute "127.0.0.1" for moa-id-proxy's IP address */ - response.setStatus(403); - return; - } - - /* store authentication data in cookies */ - String fn = request.getParameter("FamilyName"); - String gn = request.getParameter("GivenName"); - /* set cookie domain and cookie path ! */ - String cookieDomain = ".test.test"; /* Set this to the common domain of moa-id-proxy and of the online application */ - String cookiePath = request.getContextPath(); /* Set this to the context path of the online application */ - - Cookie cfn = new Cookie("familyname", fn); - cfn.setDomain(cookieDomain); - cfn.setPath(cookiePath); - response.addCookie(cfn); - - Cookie cgn = new Cookie("givenname", gn); - cgn.setDomain(cookieDomain); - cgn.setPath(cookiePath); - response.addCookie(cgn); - - /* redirect to online application's start page */ - response.sendRedirect("http://oa.test.test:8080/oa/index.jsp"); /* Substitute for URL in online application */ -%> diff --git a/id.oa/web.xml b/id.oa/web.xml deleted file mode 100644 index 13158fdaa..000000000 --- a/id.oa/web.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - Sample OA - MOA Sample OA - - diff --git a/id.server/.classpath b/id.server/.classpath deleted file mode 100644 index 296c5f2ea..000000000 --- a/id.server/.classpath +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/.cvsignore b/id.server/.cvsignore deleted file mode 100644 index 7c18d5ded..000000000 --- a/id.server/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -bin -tmp diff --git a/id.server/.project b/id.server/.project deleted file mode 100644 index 4ad8f922f..000000000 --- a/id.server/.project +++ /dev/null @@ -1,18 +0,0 @@ - - - id.server - - - common - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/id.server/.tomcatplugin b/id.server/.tomcatplugin deleted file mode 100644 index 1916163e0..000000000 --- a/id.server/.tomcatplugin +++ /dev/null @@ -1,8 +0,0 @@ - - - / - false - true - - /id.server - diff --git a/id.server/MOA-ID_release_notes.txt b/id.server/MOA-ID_release_notes.txt deleted file mode 100644 index 3ad23801f..000000000 --- a/id.server/MOA-ID_release_notes.txt +++ /dev/null @@ -1,89 +0,0 @@ -moa-id release notes -==================== - -1.0.1 20030509 --------------- -doc ergänzt (administrationshandbuch) -javadoc ergänzt -abnahmetests 651, 652 ergänzt -beispielkonfiguration erweitert, dateien tw. umbenannt -neueste versionen von moa-spss(1.0.3) u. iaik-moa(1.04) - -1.0.2 20030516 --------------- -doc ergänzt (anwendungshandbuch, api-doc) -manche libraries von endorsed ins moa-id-xxx.war verlagert (analog zu moa-spss) -beispielkonfiguration berichtigt -neueste versionen von moa-spss(1.0.4) u. iaik-moa(1.05) -unterstützung für hotsign version 1.2SR3b - -1.0.3 20030606 --------------- -moa-spss-1.0.6 u. iaik-moa-1.06 -mängel behoben: -5.3.1 -5.3.2 -5.3.3 -5.3.4 -5.3.5 -5.3.7 Beispiel für Stateful OA: id.oa/html/stateful_login.jsp -5.3.8 Logging Hierarchien moa.id.auth,moa.id.proxy -5.3.9 -5.3.13 -5.4.1 -5.5.3 -mängel in id-admin_1.htm und id-admin_2.htm behoben, mit ausnahme von "jdk1.4" - -1.0.4 20030612 --------------- -mängel behoben: -5.3.6 -5.3.10 -5.3.11 -5.3.12 -5.3.14 -5.3.15 -5.5.1 -mängel in dokumentation behoben - -1.0.4a 20030618 ---------------- -bugfix moa-id-proxy: persistente connections - -1.0.5 20030714 ---------------- -moa-spss-1.0.8 -mängel behoben: -5.5.2 -6.4.2 -6.4.3 -6.4.4 -6.4.5 -6.5.1 -6.5.2 (siehe Doku id-admin_1.htm, Deployment von MOA-ID-Proxy) -6.5.3 -6.5.4 -6.5.7 -mängel in dokumentation behoben - -1.0.6 20030723 --------------- -mängel behoben: -6.4.7 -6.4.8 -6.5.5 -6.7.1 -6.7.2 -6.7.3 -6.7.4 -6.7.5 -6.8.1 -6.8.2 -6.8.3 - -1.1 20030811 --------------- -Cookie-Handling -Server-Response-Code 401 (HTTP_UNAUTHORIZED) in Verbindung mit Basic Authentication -Server-Response-Code 304 (HTTP_NOT_MODIFIED) -Basic-Authentication-Bug fixed \ No newline at end of file diff --git a/id.server/build.xml b/id.server/build.xml deleted file mode 100644 index 708eab22f..000000000 --- a/id.server/build.xml +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Time (hhmm): ${TSTAMP} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MOA ID API]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MOA ID Server Internal API]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/abnahme-test/conf/CopyConfigAbnahme.bat b/id.server/data/abnahme-test/conf/CopyConfigAbnahme.bat deleted file mode 100644 index 3e90dc52e..000000000 --- a/id.server/data/abnahme-test/conf/CopyConfigAbnahme.bat +++ /dev/null @@ -1,40 +0,0 @@ - -echo -------------------- -Echo Richte moa-sp ein -echo -------------------- -md C:\programme\apacheGroup\abnahme\conf\moa -md C:\programme\apacheGroup\abnahme\conf\moa\keys -md C:\programme\apacheGroup\abnahme\conf\moa\profiles -md C:\programme\apacheGroup\abnahme\conf\moa\trustprofiles -md C:\programme\apacheGroup\abnahme\conf\moa-id -md C:\programme\apacheGroup\abnahme\conf\moa-id\Transforms - - -copy moa\server.xml C:\programme\apacheGroup\abnahme\conf\server.xml -copy server.keystore C:\programme\apacheGroup\abnahme\server.keystore - -copy log4j.properties C:\programme\apacheGroup\abnahme\conf\moa\log4j.properties -copy moa\ConfigurationTest.xml C:\programme\apacheGroup\abnahme\conf\moa\ConfigurationTest.xml -xcopy moa\common\*.* C:\programme\apacheGroup\abnahme\common\*.* /s/e -del C:\programme\apacheGroup\abnahme\conf\moa\trustprofiles\TrustProfile1 /S/Q -del C:\programme\apacheGroup\abnahme\conf\moa\trustprofiles\TrustProfile2 /S/Q -del C:\programme\apacheGroup\abnahme\conf\moa\profiles\*.* /S/Q -del C:\programme\apacheGroup\abnahme\conf\moa\keys\*.* /S/Q -copy moa\keys\*.* C:\programme\apacheGroup\abnahme\conf\moa\keys\*.* -copy moa\profiles\*.* C:\programme\apacheGroup\abnahme\conf\moa\profiles\*.* -xcopy moa\TrustProfile1\*.* C:\programme\apacheGroup\abnahme\conf\moa\trustprofiles\TrustProfile1\*.* /s/e -xcopy moa\TrustProfile2\*.* C:\programme\apacheGroup\abnahme\conf\moa\trustprofiles\TrustProfile2\*.* /s/e -rd C:\programme\apacheGroup\abnahme\conf\moa\trustprofiles\TrustProfile1\Cvs /S/Q -rd C:\programme\apacheGroup\abnahme\conf\moa\trustprofiles\TrustProfile2\Cvs /S/Q -rd C:\programme\apacheGroup\abnahme\conf\moa\trustprofiles\Cvs /S/Q -rd C:\programme\apacheGroup\abnahme\common\moa\endorsed\Cvs /S/Q -echo -------------------- -Echo Rrichte moa-auth ein -echo -------------------- -copy moa-id\ConfigurationTest.xml C:\programme\apacheGroup\abnahme\conf\moa-id\ConfigurationTest.xml - -copy transforms\TransformsInfosHTML.xml C:\programme\apacheGroup\abnahme\conf\moa-id\Transforms\TransformsInfosHTML.xml -echo -------------------- -Echo Kopiere Start-Skript -echo -------------------- -copy moa\runAbnahme.bat C:\programme\apacheGroup\abnahme\runAbnahme.bat diff --git a/id.server/data/abnahme-test/conf/OAConfBasicAuth.xml b/id.server/data/abnahme-test/conf/OAConfBasicAuth.xml deleted file mode 100644 index 61455f903..000000000 --- a/id.server/data/abnahme-test/conf/OAConfBasicAuth.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - stateful - - MOAGivenName - MOAFamilyName - - diff --git a/id.server/data/abnahme-test/conf/OAConfHeaderAuth.xml b/id.server/data/abnahme-test/conf/OAConfHeaderAuth.xml deleted file mode 100644 index c92e055e9..000000000 --- a/id.server/data/abnahme-test/conf/OAConfHeaderAuth.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - stateful - -
    -
    -
    -
    -
    - - diff --git a/id.server/data/abnahme-test/conf/OAConfParamAuth.xml b/id.server/data/abnahme-test/conf/OAConfParamAuth.xml deleted file mode 100644 index a70f6a6c0..000000000 --- a/id.server/data/abnahme-test/conf/OAConfParamAuth.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - stateful - - - - - diff --git a/id.server/data/abnahme-test/conf/deploy_AUTH.bat b/id.server/data/abnahme-test/conf/deploy_AUTH.bat deleted file mode 100644 index adb168f09..000000000 --- a/id.server/data/abnahme-test/conf/deploy_AUTH.bat +++ /dev/null @@ -1,12 +0,0 @@ - -cd ..\..\..\..\build\scripts\ -Echo Entferne temporäre Projekt-Dateien und erstelle moa-id-auth.war -call build id.server clean >null -call build id.server dist-auth >null -Echo Lösche altes .war-File vom Server und kopiere neu erzeugte Web-App -del C:\programme\ApacheGroup\abnahme\webapps\moa-id-auth.war /Q/F/S -rd C:\programme\ApacheGroup\abnahme\webapps\moa-id-auth /S/Q -copy ..\..\id.server\tmp\dist\auth\moa-id-auth.war C:\programme\ApacheGroup\abnahme\webapps\moa-id-auth.war -cd ..\..\id.server\data\abnahme-test\conf -C: -cd C:\programme\ApacheGroup\abnahme diff --git a/id.server/data/abnahme-test/conf/log4j.properties b/id.server/data/abnahme-test/conf/log4j.properties deleted file mode 100644 index 86aa9c994..000000000 --- a/id.server/data/abnahme-test/conf/log4j.properties +++ /dev/null @@ -1,41 +0,0 @@ -# -# Sample log4j configuration for the MOA-SPSS web service -# - -# commons-logging setup -org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory - -# Define log4j root loggers for the 'moa.spss.server' and 'iaik.server' -# logging hierarchies. -# All logging output is written to the 'stdout' and 'R' appenders. -# Add JDBC if you also want to write it to the database -log4j.rootLogger=info, stdout, R -log4j.logger.moa.spss.server=info -log4j.logger.iaik.server=info -log4j.moa=debug - -# Configure the 'stdout appender' to write logging output to the console -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n - -# Configure the rolling file appender 'R' to write logging output -# to the file 'moa-spss.log'. The file is rolled over every 1000KB, -# and a maximum history of 4 log files is being kept. -log4j.appender.R=org.apache.log4j.RollingFileAppender -log4j.appender.R.File=moa-spss.log -log4j.appender.R.MaxFileSize=1000KB -log4j.appender.R.MaxBackupIndex=4 -log4j.appender.R.layout=org.apache.log4j.PatternLayout -log4j.appender.R.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n - -# Configure the jdbc appender 'JDBC' to write logging output -# to the given PostgreSQL database -# a suitable table called 'spss_log' must have been created in the -# database using the command: -# create table spss_log (log_time timestamp, log_level varchar(5), log_msg varchar(256)) -log4j.appender.JDBC=org.apache.log4j.jdbc.JDBCAppender -log4j.appender.JDBC.driver=org.postgresql.Driver -log4j.appender.JDBC.URL=jdbc:postgresql://10.16.46.108/moa?user=moa&password=moatest -log4j.appender.JDBC.layout=org.apache.log4j.PatternLayout -log4j.appender.JDBC.sql=INSERT INTO spss_log (log_time, log_level, log_msg) VALUES ('%d{ yyyy-MM-dd HH:mm:ss.SSS}', '%5p', '%m') \ No newline at end of file diff --git a/id.server/data/abnahme-test/conf/moa-id/ConfigurationTest.xml b/id.server/data/abnahme-test/conf/moa-id/ConfigurationTest.xml deleted file mode 100644 index f2e23f2e2..000000000 --- a/id.server/data/abnahme-test/conf/moa-id/ConfigurationTest.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - file:/C:/Programme/ApacheGroup/abnahme/conf/moa-id/certs/server-certs - - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - - - - - - - - - - - - - - file:/C:/Programme/ApacheGroup/abnahme/conf/moa-id/oa/server-certs/tomcat - - - - - - - - - file:/home/moa/id/abnahme/conf/moa-id/oa/server-certs/tomcat - - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - - - diff --git a/id.server/data/abnahme-test/conf/moa/ConfigurationTest.xml b/id.server/data/abnahme-test/conf/moa/ConfigurationTest.xml deleted file mode 100644 index 82c45565d..000000000 --- a/id.server/data/abnahme-test/conf/moa/ConfigurationTest.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - - - - - - - - - - - - - HSM - - C=AT,OU=MOA,O=BRZ,CN=HSMRSAKEY - 1 - - - - - - - SWKeyModule1 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - - - - SWKeyModule2 - - CN=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 10 - - - - - - - SWKeyModule3 - - CN=IAIK ECDSA Test,OU=JavaSecurity,O=IAIK,C=AT - 68172 - - - - - - - SWKeyModule4 - - CN=IAIK DSA Test CA,OU=JavaSecurity,O=IAIK,C=AT - 761791 - - - - - - SWKeyModule1 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - SWKeyModule2 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - SWKeyModule3 - - CN=IAIK ECDSA Test,OU=JavaSecurity,O=IAIK,C=AT - 68172 - - - - SWKeyModule4 - - CN=IAIK DSA Test CA,OU=JavaSecurity,O=IAIK,C=AT - 761791 - - - - - - - - - - - - - CN=TestUser,OU=MOA,O=BRZ,C=AT - 12345678 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - - - - - - - - - diff --git a/id.server/data/abnahme-test/conf/moa/TrustProfile1/Buergerkarte01Root.cer b/id.server/data/abnahme-test/conf/moa/TrustProfile1/Buergerkarte01Root.cer deleted file mode 100644 index 18e6bc109..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/TrustProfile1/Buergerkarte01Root.cer and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/TrustProfile1/IAIK_TestRoot.cer b/id.server/data/abnahme-test/conf/moa/TrustProfile1/IAIK_TestRoot.cer deleted file mode 100644 index 1cdc15c6e..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/TrustProfile1/IAIK_TestRoot.cer and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/TrustProfile1/Max_Mustermann.cer b/id.server/data/abnahme-test/conf/moa/TrustProfile1/Max_Mustermann.cer deleted file mode 100644 index b5b39633d..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/TrustProfile1/Max_Mustermann.cer and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/TrustProfile1/TestPersonMOA1.cer b/id.server/data/abnahme-test/conf/moa/TrustProfile1/TestPersonMOA1.cer deleted file mode 100644 index 81f6fa658..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/TrustProfile1/TestPersonMOA1.cer and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/TrustProfile1/TestPersonMOA4.cer b/id.server/data/abnahme-test/conf/moa/TrustProfile1/TestPersonMOA4.cer deleted file mode 100644 index 99936caa8..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/TrustProfile1/TestPersonMOA4.cer and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/TrustProfile1/test-ee2003_normal_inkl_verwaltungs_oid.der b/id.server/data/abnahme-test/conf/moa/TrustProfile1/test-ee2003_normal_inkl_verwaltungs_oid.der deleted file mode 100644 index 3a3aa543d..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/TrustProfile1/test-ee2003_normal_inkl_verwaltungs_oid.der and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/TrustProfile2/Max_Mustermann.cer b/id.server/data/abnahme-test/conf/moa/TrustProfile2/Max_Mustermann.cer deleted file mode 100644 index b5b39633d..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/TrustProfile2/Max_Mustermann.cer and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/common/endorsed/xercesImpl.jar b/id.server/data/abnahme-test/conf/moa/common/endorsed/xercesImpl.jar deleted file mode 100644 index f25d73cd7..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/common/endorsed/xercesImpl.jar and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/common/endorsed/xmlParserAPIs.jar b/id.server/data/abnahme-test/conf/moa/common/endorsed/xmlParserAPIs.jar deleted file mode 100644 index c1fa1d645..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/common/endorsed/xmlParserAPIs.jar and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/keys/DSA.512.p12 b/id.server/data/abnahme-test/conf/moa/keys/DSA.512.p12 deleted file mode 100644 index 8f7a201ac..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/keys/DSA.512.p12 and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/keys/ecc(ego).p12 b/id.server/data/abnahme-test/conf/moa/keys/ecc(ego).p12 deleted file mode 100644 index f84e793c5..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/keys/ecc(ego).p12 and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/keys/normal-eeExpired.p12 b/id.server/data/abnahme-test/conf/moa/keys/normal-eeExpired.p12 deleted file mode 100644 index ff65f9fde..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/keys/normal-eeExpired.p12 and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/keys/sicher-demo(buergerkarte).p12 b/id.server/data/abnahme-test/conf/moa/keys/sicher-demo(buergerkarte).p12 deleted file mode 100644 index efaeb9b98..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/keys/sicher-demo(buergerkarte).p12 and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/keys/test-ee2003_normal(buergerkarte).p12 b/id.server/data/abnahme-test/conf/moa/keys/test-ee2003_normal(buergerkarte).p12 deleted file mode 100644 index efaeb9b98..000000000 Binary files a/id.server/data/abnahme-test/conf/moa/keys/test-ee2003_normal(buergerkarte).p12 and /dev/null differ diff --git a/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile1MOAID.xml b/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile1MOAID.xml deleted file mode 100644 index c4f5a52af..000000000 --- a/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile1MOAID.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    diff --git a/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile2MOAID.xml b/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile2MOAID.xml deleted file mode 100644 index dc4a97716..000000000 --- a/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile2MOAID.xml +++ /dev/null @@ -1,3 +0,0 @@ - - -id('refetsi')/etsi:QualifyingProperties/etsi:SignedProperties diff --git a/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile3MOAID.xml b/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile3MOAID.xml deleted file mode 100644 index 17c4d8d54..000000000 --- a/id.server/data/abnahme-test/conf/moa/profiles/TransformsInfoProfile3MOAID.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    diff --git a/id.server/data/abnahme-test/conf/moa/runAbnahme.bat b/id.server/data/abnahme-test/conf/moa/runAbnahme.bat deleted file mode 100644 index 8f635081c..000000000 --- a/id.server/data/abnahme-test/conf/moa/runAbnahme.bat +++ /dev/null @@ -1,12 +0,0 @@ -C: -cd\programme -cd apacheGroup -cd abnahme -rem set moa.id.configuration=C:\Programme\ApacheGroup\abnahme\conf\moa-id\ConfigurationTest.xml -set moa.spss.server.configuration=C:\Programme\ApacheGroup\abnahme\conf\moa\ConfigurationTest.xml -rem set CATALINA_OPTS=-Dmoa.id.configuration=C:\Programme\ApacheGroup\abnahme\conf\moa-id\ConfigurationTest.xml -Dlog4j.configuration=file:/C:\Programme\ApacheGroup\abnahme\conf\log4j.properties -Dmoa.spss.server.configuration=C:\Programme\ApacheGroup\abnahme\conf\moa\ConfigurationTest.xml -set MOA_ROOT=C:\Programme\ApacheGroup\abnahme\ -set CATALINA_OPTS=-Dmoa.spss.server.configuration=%MOA_ROOT%conf\moa\ConfigurationTest.xml -Dlog4j.configuration=file:/%MOA_ROOT%conf\moa\log4j.properties -Dmoa.id.configuration=%MOA_ROOT%conf\moa-id\ConfigurationTest.xml -set CATALINA_HOME=C:\Programme\ApacheGroup\abnahme - -call bin\catalina run \ No newline at end of file diff --git a/id.server/data/abnahme-test/conf/moa/server.xml b/id.server/data/abnahme-test/conf/moa/server.xml deleted file mode 100644 index 75afa9955..000000000 --- a/id.server/data/abnahme-test/conf/moa/server.xml +++ /dev/null @@ -1,423 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - factory - org.apache.catalina.users.MemoryUserDatabaseFactory - - - pathname - conf/tomcat-users.xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - usernamesa - password - driverClassName - org.hsql.jdbcDriver - url - jdbc:HypersonicSQL:database - - - - - mail.smtp.host - localhost - - - - - - - - - - - - - - - - - diff --git a/id.server/data/abnahme-test/conf/transforms/TransformsInfosHTML.xml b/id.server/data/abnahme-test/conf/transforms/TransformsInfosHTML.xml deleted file mode 100644 index e003297f4..000000000 --- a/id.server/data/abnahme-test/conf/transforms/TransformsInfosHTML.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - - - - - - - - - - - - - - - - -
    - Name: - - -
    - Zeit: - - -
    - Applikation: - - -
    - Geschäftsbereich: - - -
    - Anmeldeserver: - - -
    - - -
    -
    -
    - -
    - - text/html - -
    diff --git a/id.server/data/abnahme-test/ixsil/init/properties/algorithms.properties b/id.server/data/abnahme-test/ixsil/init/properties/algorithms.properties deleted file mode 100644 index 35a41cfdd..000000000 --- a/id.server/data/abnahme-test/ixsil/init/properties/algorithms.properties +++ /dev/null @@ -1,94 +0,0 @@ -# IXSIL algorithm properties -# -# This file contains the properties which IXSIL uses to maintain the available algorithms. - - - -#---------------------------------------------------------------------------------------------------------- -# Canonicalization algorithms -# -# The following properties (starting with "Canonicalization.") are associations between canonicalization -# algorithm URIs and their corresponding implementation classes. -# -# For instance, if you would like to specify the implementation class for the canonicalization algorithm -# with the identifying URI "http://www.w3.org/TR/2001/REC-xml-c14n-20010315", the name of the algorithm -# property is "Canonicalization.http://www.w3.org/TR/2001/REC-xml-c14n-20010315", i.e. the identifying URI, -# prepended by the canonicalization algorithm property identifier ("Canonicalization."). The value of the -# property is the fully qualified class name of the implementation for this algorithm, for instance the -# standard impl. shipped with IXSIL, "iaik.ixsil.algorithms.CanonicalizationAlgorithmImplCanonicalXML". -# -# PLEASE NOTE: The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -Canonicalization.http\://www.w3.org/TR/2001/REC-xml-c14n-20010315 = iaik.ixsil.algorithms.CanonicalizationAlgorithmImplCanonicalXML -Canonicalization.http\://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments = iaik.ixsil.algorithms.CanonicalizationAlgorithmImplCanonicalXMLWithComments -Canonicalization.http\://www.w3.org/2001/10/xml-exc-c14n# = iaik.ixsil.algorithms.CanonicalizationAlgorithmImplExclusiveCanonicalXML -Canonicalization.http\://www.w3.org/2001/10/xml-exc-c14n#WithComments = iaik.ixsil.algorithms.CanonicalizationAlgorithmImplExclusiveCanonicalXMLWithComments - -#---------------------------------------------------------------------------------------------------------- -# Signature algorithms -# -# The following properties (starting with "Signature.") are associations between signature algorithm URIs and -# their corresponding implementation classes. -# -# For instance, if you would like to specify the implementation class for the signature algorithm -# with the identifying URI "http://www.w3.org/2000/09/xmldsig#rsa-sha1", the name of the algorithm -# property is "Signature.http://www.w3.org/2000/09/xmldsig#rsa-sha1", i.e. the identifying URI, -# prepended by the signature algorithm property identifier ("Signature."). The value of the -# property is the fully qualified class name of the implementation for this algorithm, for instance the -# standard implementation shipped with IXSIL, "iaik.ixsil.algorithms.SignatureAlgorithmImplRSA". -# -# PLEASE NOTE: The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -Signature.http\://www.w3.org/2000/09/xmldsig#rsa-sha1 = iaik.ixsil.algorithms.SignatureAlgorithmImplRSA -Signature.http\://www.w3.org/2000/09/xmldsig#dsa-sha1 = iaik.ixsil.algorithms.SignatureAlgorithmImplDSA -Signature.http\://www.w3.org/2000/09/xmldsig#hmac-sha1 = iaik.ixsil.algorithms.SignatureAlgorithmImplHMAC - - - -#---------------------------------------------------------------------------------------------------------- -# Digest algorithms -# -# The following properties (starting with "Digest.") are associations between digest algorithm URIs and -# their corresponding implementation classes. -# -# For instance, if you would like to specify the implementation class for the digest algorithm -# with the identifying URI "http://www.w3.org/2000/09/xmldsig#sha1", the name of the algorithm -# property is "Digest.http://www.w3.org/2000/09/xmldsig#sha1", i.e. the identifying URI, -# prepended by the digest algorithm property identifier ("Digest."). The value of the -# property is the fully qualified class name of the implementation for this algorithm, for instance the -# standard implementation shipped with IXSIL, "iaik.ixsil.algorithms.DigestAlgorithmImplSHA1". -# -# PLEASE NOTE: The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -Digest.http\://www.w3.org/2000/09/xmldsig#sha1 = iaik.ixsil.algorithms.DigestAlgorithmImplSHA1 - - - -#---------------------------------------------------------------------------------------------------------- -# Transform algorithms -# -# The following properties (starting with "Transform.") are associations between digest algorithm URIs and -# their corresponding implementation classes. -# -# For instance, if you would like to specify the implementation class for the transform algorithm -# with the identifying URI "http://www.w3.org/2000/09/xmldsig#base64", the name of the algorithm -# property is "Transform.http://www.w3.org/2000/09/xmldsig#base64", i.e. the identifying URI, -# prepended by the transform algorithm property identifier ("Transform."). The value of the -# property is the fully qualified class name of the implementation for this algorithm, for instance the -# standard implementation shipped with IXSIL, "iaik.ixsil.algorithms.TransformImplBase64Decode". -# -# PLEASE NOTE: The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -Transform.http\://www.w3.org/TR/2001/REC-xml-c14n-20010315 = iaik.ixsil.algorithms.TransformImplCanonicalXML -Transform.http\://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments = iaik.ixsil.algorithms.TransformImplCanonicalXMLWithComments -Transform.http\://www.w3.org/2001/10/xml-exc-c14n# = iaik.ixsil.algorithms.TransformImplExclusiveCanonicalXML -Transform.http\://www.w3.org/2001/10/xml-exc-c14n#WithComments = iaik.ixsil.algorithms.TransformImplExclusiveCanonicalXMLWithComments -Transform.http\://www.w3.org/2000/09/xmldsig#base64 = iaik.ixsil.algorithms.TransformImplBase64Decode -Transform.http\://www.w3.org/TR/1999/REC-xpath-19991116 = iaik.ixsil.algorithms.TransformImplXPath -Transform.http\://www.w3.org/2000/09/xmldsig#enveloped-signature = iaik.ixsil.algorithms.TransformImplEnvelopedSignature -Transform.http\://www.w3.org/TR/1999/REC-xslt-19991116 = iaik.ixsil.algorithms.TransformImplXSLT -Transform.http\://www.w3.org/2002/06/xmldsig-filter2 = iaik.ixsil.algorithms.TransformImplXPath2 diff --git a/id.server/data/abnahme-test/ixsil/init/properties/init.properties b/id.server/data/abnahme-test/ixsil/init/properties/init.properties deleted file mode 100644 index a309959cc..000000000 --- a/id.server/data/abnahme-test/ixsil/init/properties/init.properties +++ /dev/null @@ -1,214 +0,0 @@ -# IXSIL init properties -# -# This file contains the basic initialization properties for IXSIL. - -#---------------------------------------------------------------------------------------------------------- -# Properties for localizing exeption messages - -# This property specifies the ISO language code, which is used to select the appropriate exception message -# file. Please see the documentation for Java class "java.util.RessourceBundle" for further information. - -IXSILException.ISOLanguageCode = "en" - - - -# This property specifies the ISO country code, which is used to select the appropriate exception message -# file. Please see the documentation for Java class "java.util.RessourceBundle" for further information. - -IXSILException.ISOCountryCode = "US" - - -#---------------------------------------------------------------------------------------------------------- -# Other property files - -# This property contains a URI specifying the (virtual) location of the IXSIL init properties file (i. e. -# this file). The URI MUST be absolute. -# -# The use of this property is optional. It is only needed by IXSIL, if the library will be initialized using -# the method IXSILInit.init(Properties, Properties, Properties). In this case it is used by IXSIL as the -# base URI for absolutizing other property URIs, such as "DOMUtils.SignatureSchema" (see below). -# -# PLEASE NOTE: Contrary to URIs under e.g. http or ftp scheme, URIs under file and jar scheme do not have an -# authority component. This means that the part following the scheme identifier starts with "/" -# (single slash character), and not with "//" (two slash characters). -# -# Example 1 (absolute URI under file scheme): "file:/c:/path1/path2/init.properties" -# Example 2 (absolute URI under jar scheme): "jar:/file:/c:/path1/path2/archive.jar!/init.properties" -# Example 3 (absolute URI under http scheme): "http://somewhere.org/path1/path2/init.properties" - -location.initProperties = file:data/abnahme/test/ixsil/init/properties/init.properties - - - -# This property contains a URI specifying the location of the IXSIL algorithm properties file. The URI can -# be absolute or relative. If a relative URI is used, it will be absolutized using this init property file's -# URI as the base. -# -# PLEASE NOTE: Contrary to URIs under e.g. http or ftp scheme, URIs under file and jar scheme do not have an -# authority component. This means that the part following the scheme identifier starts with "/" -# (single slash character), and not with "//" (two slash characters). -# -# Example 1 (absolute URI under file scheme): "file:/c:/path1/path2/algorithms.properties" -# Example 2 (absolute URI under jar scheme): "jar:/file:/c:/path1/path2/archive.jar!/algorithms.properties" -# Example 3 (absolute URI under http scheme): "http://somewhere.org/path1/path2/algorithms.properties" -# Example 4 (relative URI): "../otherpath/algorithms.properties" -# Example 5 (relative URI): "algorithms.properties" - -location.algorithmsProperties = file:data/abnahme/test/ixsil/init/properties/algorithms.properties - - - -# This property contains a URI specifying the location of the IXSIL keyManager properties file. The URI can -# be absolute or relative. If a relative URI is used, it will be absolutized using this init property file's -# URI as the base. -# -# PLEASE NOTE: Contrary to URIs under e.g. http or ftp scheme, URIs under file and jar scheme do not have an -# authority component. This means that the part following the scheme identifier starts with "/" -# (single slash character), and not with "//" (two slash characters). -# -# Example 1 (absolute URI under file scheme): "file:/c:/path1/path2/keyManager.properties" -# Example 2 (absolute URI under jar scheme): "jar:/file:/c:/path1/path2/archive.jar!/keyManager.properties" -# Example 3 (absolute URI under http scheme): "http://somewhere.org/path1/path2/keyManager.properties" -# Example 4 (relative URI): "../otherpath/keyManager.properties" -# Example 5 (relative URI): "keyManager.properties" - -location.keyManagerProperties = file:data/abnahme/test/ixsil/init/properties/keyManager.properties - - - -#---------------------------------------------------------------------------------------------------------- -# AlgorithmFactory properties - - - -This property specifies the extension class for the abstract class -iaik.ixsil.algorithms.AlgorithmFactory, which is instantiated at invokation of method -iaik.ixsil.algorithms.AlgorithmFactory.createFactory(). -Please specifiy the fully qualified java class name for the class to be instantiated. - -AlgorithmFactory.ImplementingClass = iaik.ixsil.algorithms.AlgorithmFactoryDefaultImpl - - - -#---------------------------------------------------------------------------------------------------------- -# VerifierKeyManager properties - -# This property specifies the implementation class for the interface -# iaik.ixsil.keyinfo.VerifierKeyManager, which is instantiated by IXSIL in the verification use case, if the -# signature algorithm does not know about the verification key, and if the XML signature bears a KeyInfo -# element which contains hints that can be used to deduce the verification key. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -VerifierKeyManager.ImplementingClass = iaik.ixsil.keyinfo.KeyManagerImpl - - - -#---------------------------------------------------------------------------------------------------------- -# XML namespace prefix properties - -# This property specifies the namespace prefix used for XML elements from the XML-Signature namespace. -# -# PLEASE NOTE: The prefix must not be empty. - -namespacePrefix.XMLSignature = dsig: - - - -# This property specifies the namespace prefix used for XML elements from the XML Schema instance namespace. -# -# PLEASE NOTE: The prefix must not be empty. - -namespacePrefix.XMLSchemaInstance = xsi: - - -#---------------------------------------------------------------------------------------------------------- -# DOMUtils properties - - - -# This property specifies the implementation class IXSIL should use for the interface -# iaik.ixsil.util.DOMUtilsInterface, which contains a couple of DOM utility methods, which IXSIL relies -# on. If you would like to employ a parser different from Apache Xerces, you must implement the -# DOMUtilsInterface and specify your implementation class using this property. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -DOMUtils.ImplementingClass = iaik.ixsil.util.DOMUtilsImpl - - - -# This property is used by the standard implementation class for the interface -# iaik.ixsil.util.DOMUtilsInterface, namely iaik.ixsil.util.DOMUtilsImpl, which ships with IXSIL. -# It specifies, wheter WARNINGS generated by the Apache Xerces parser should lead to a parser exception -# or not. - -DOMUtils.ErrorHandler.reportWarnings = true - - - -# This property is used by the standard implementation class for the interface -# iaik.ixsil.util.DOMUtilsInterface, namely iaik.ixsil.util.DOMUtilsImpl, which ships with IXSIL. -# It specifies, wheter ERRORS generated by the Apache Xerces parser should lead to a parser exception -# or not. - -DOMUtils.ErrorHandler.reportErrors = true - - - -# This property is used by the standard implementation class for the interface -# iaik.ixsil.util.DOMUtilsInterface, namely iaik.ixsil.util.DOMUtilsImpl, which ships with IXSIL. -# It specifies, wheter FATAL ERRORS generated by the Apache Xerces parser should lead to a parser -# exception or not. - -DOMUtils.ErrorHandler.reportFatalErrors = true - - - -# This property is used by the standard implementation class for the interface -# iaik.ixsil.util.DOMUtilsInterface, namely iaik.ixsil.util.DOMUtilsImpl, which ships with IXSIL. -# It specifies an URI for the location of the XML schema for an XML signature, which is used as the -# reference grammar in method iaik.ixsil.util.DOMUtilsImpl.schemaValidateSignatureElement. -# The URI can be absolute or relative. If the URI is relative, it will be absolutized using the URI for -# this init property file as the base. - -DOMUtils.SignatureSchema = ../schemas/Signature.xsd - - - -#---------------------------------------------------------------------------------------------------------- -# XPathUtils properties - -# This property specifies the implementation class IXSIL should use for the interface -# iaik.ixsil.util.XPathUtilsInterface, which contains a couple of XPath utility methods, which IXSIL relies -# on. If you would like to employ a XPath engine different from Apache Xalan, you must implement the -# XPathUtilsInterface and specify your implementation class using this property. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -XPathUtils.ImplementingClass = iaik.ixsil.util.XPathUtilsImpl - - - -#---------------------------------------------------------------------------------------------------------- -# CanonicalXMLSerializer properties - - - -# This property specifies the implementation class IXSIL should use for the interface -# iaik.ixsil.util.CanonicalXMLSerialierInterface. IXSIL relies on this interface to serialize XML according -# to "Canonical XML" (see http://www.w3.org/TR/2001/REC-xml-c14n-20010315). If you would like to employ an -# implemenation different from the standard implementation shipped with IXSIL, you must implement the -# CanonicalXMLSerialierInterface and specify your implementation class using this property. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -CanonicalXMLSerializer.CanonicalXMLImplementingClass = iaik.ixsil.util.CanonicalXMLSerializerImpl - - - -# This property specifies the implementation class IXSIL should use for the interface -# iaik.ixsil.util.ExclusiveCanonicalXMLSerialierInterface. IXSIL relies on this interface to serialize XML -# according to "Exclusive XML Canonicalization" (see http://www.w3.org/TR/2001/WD-xml-exc-c14n-20011120). -# If you would like to employ an implemenation different from the standard implementation shipped with -# IXSIL, you must implement the ExclusiveCanonicalXMLSerialierInterface and specify your implementation -# class using this property. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -CanonicalXMLSerializer.ExclusiveCanonicalXMLImplementingClass = iaik.ixsil.util.CanonicalXMLSerializerImpl diff --git a/id.server/data/abnahme-test/ixsil/init/properties/keyManager.properties b/id.server/data/abnahme-test/ixsil/init/properties/keyManager.properties deleted file mode 100644 index 24ece437a..000000000 --- a/id.server/data/abnahme-test/ixsil/init/properties/keyManager.properties +++ /dev/null @@ -1,74 +0,0 @@ -# IXSIL algorithm properties -# -# This file contains the properties which IXSIL uses in context of key management. - - - -#---------------------------------------------------------------------------------------------------------- -# -# The following properties are associations between the fully qualified XMLname of a "KeyInfo" subelement, -# as used in an XML signature to specify hints how the verifier can obtain the verification key, and that -# implementation class of the interface iaik.ixsil.keyinfo.KeyProviderInterface, which will manage -# subelements of that type. -# -# These properties are only of interest, if you are using the standard key manager shipped with IXISL -# (which is class iaik.ixsil.keyInfo.KeyManagerImpl). -# -# For instance, if you would like to specify the key provider implementation for "KeyValue" subelements, -# the property name is the fully qualified XML name for the "KeyValue" element, namely -# "http://www.w3.org/2000/09/xmldsig#:KeyValue". The value of the property is the fully qualified class -# name of the key provider implementation class, for instance the standard implementation which ships with -# IXSIL: "iaik.ixsil.keyinfo.KeyProviderImplKeyValue". -# -# PLEASE NOTE (I): A fully qualified name for an XML element consists of an URI indicating the namespace the -# element belongs to (e.g. "http://www.w3.org/2000/09/xmldsig#") and the local name of the -# element (e.g. "KeyValue"). Both components are seperated by a colon. -# -# PLEASE NOTE (II): The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -http\://www.w3.org/2000/09/xmldsig#\:KeyValue = iaik.ixsil.keyinfo.KeyProviderImplKeyValue -http\://www.w3.org/2000/09/xmldsig#\:X509Data = iaik.ixsil.keyinfo.x509.KeyProviderImplX509Data -http\://www.w3.org/2000/09/xmldsig#\:RetrievalMethod = iaik.ixsil.keyinfo.retrieval.KeyProviderImplRetrievalMethod - - - -#---------------------------------------------------------------------------------------------------------- -# -# The following properties specify the order in which the different types of "KeyInfo" subelements are used -# by the key manager to deduce the verification key. -# -# These properties are only of interest, if you are using the standard key manager shipped with IXISL -# (which is class iaik.ixsil.keyInfo.KeyManagerImpl). -# -# The properties are associations between a two digit number and the fully qualified XML name of a "KeyInfo" -# subelement. The lower the number, the more important is the associated "KeyInfo" sublement. Consider an -# example configuration: -# -# Subelement.01 = http://www.w3.org/2000/09/xmldsig#:KeyValue -# Subelement.02 = http://www.w3.org/2000/09/xmldsig#:X509Data -# -# In this configuration, the key manager first tries to use "KeyValue" subelements to deduce the -# verification key. Only if this does not succeed, the key manager uses "X509Data" subelements as a second -# chance. Of course you can specify more than only two different subelement types. -# -# PLEASE NOTE: A fully qualified name for an XML element consists of an URI indicating the namespace the -# element belongs to (e.g. "http://www.w3.org/2000/09/xmldsig#") and the local name of the -# element (e.g. "KeyValue"). Both components are seperated by a colon. - -Subelement.01 = http://www.w3.org/2000/09/xmldsig#:KeyValue -Subelement.02 = http://www.w3.org/2000/09/xmldsig#:X509Data -Subelement.03 = http://www.w3.org/2000/09/xmldsig#:RetrievalMethod - - - -#---------------------------------------------------------------------------------------------------------- -# -# The following property is used by standard implementation of the "X509Data" key provider, which ships -# with IXSIL, namely "KeyProviderImplX509Data". It specifies the implementation class for the interface -# iaik.ixsil.keyinfo.x509.X509TrustManagerInterface, which is to be instantiated as the backbone trust -# manager for this key provider. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -KeyProviderImplX509Data.X509TrustManagerDefaultImplementingClass = iaik.ixsil.keyinfo.x509.X509TrustManagerDummyImpl - diff --git a/id.server/data/abnahme-test/ixsil/init/schemas/Signature.xsd b/id.server/data/abnahme-test/ixsil/init/schemas/Signature.xsd deleted file mode 100644 index ed7719dfb..000000000 --- a/id.server/data/abnahme-test/ixsil/init/schemas/Signature.xsd +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - ]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/abnahme-test/ixsil/init/schemas/XMLSchema.dtd b/id.server/data/abnahme-test/ixsil/init/schemas/XMLSchema.dtd deleted file mode 100644 index c55a9a819..000000000 --- a/id.server/data/abnahme-test/ixsil/init/schemas/XMLSchema.dtd +++ /dev/null @@ -1,402 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%xs-datatypes; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/abnahme-test/ixsil/init/schemas/datatypes.dtd b/id.server/data/abnahme-test/ixsil/init/schemas/datatypes.dtd deleted file mode 100644 index 59bf31d52..000000000 --- a/id.server/data/abnahme-test/ixsil/init/schemas/datatypes.dtd +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A100/A101/htmlForm.html b/id.server/data/abnahme-test/xmldata/A100/A101/htmlForm.html deleted file mode 100644 index 5f3812dbe..000000000 --- a/id.server/data/abnahme-test/xmldata/A100/A101/htmlForm.html +++ /dev/null @@ -1,177 +0,0 @@ - - -MOA ID Auth Sample Login - customized - - -

    MOA ID Auth Sample Login - customized

    -
    - - - -
    -
    - - - Hier finden Sie weitere Informationen zur Überprüfung der Zertifikate. - -
    - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A100/A102/htmlForm.html b/id.server/data/abnahme-test/xmldata/A100/A102/htmlForm.html deleted file mode 100644 index 7ba249f98..000000000 --- a/id.server/data/abnahme-test/xmldata/A100/A102/htmlForm.html +++ /dev/null @@ -1,177 +0,0 @@ - - - -Auslesen der Personenbindung - - -
    - - - -
    -
    - - - -
    - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A100/A103/htmlForm.html b/id.server/data/abnahme-test/xmldata/A100/A103/htmlForm.html deleted file mode 100644 index 5f3812dbe..000000000 --- a/id.server/data/abnahme-test/xmldata/A100/A103/htmlForm.html +++ /dev/null @@ -1,177 +0,0 @@ - - -MOA ID Auth Sample Login - customized - - -

    MOA ID Auth Sample Login - customized

    -
    - - - -
    -
    - - - Hier finden Sie weitere Informationen zur Überprüfung der Zertifikate. - -
    - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A100/AuthTemplate.html b/id.server/data/abnahme-test/xmldata/A100/AuthTemplate.html deleted file mode 100644 index 2ecfe9cfd..000000000 --- a/id.server/data/abnahme-test/xmldata/A100/AuthTemplate.html +++ /dev/null @@ -1,30 +0,0 @@ - - -MOA ID Auth Sample Login - customized - - -

    MOA ID Auth Sample Login - customized

    -
    - - - -
    -
    - - - Hier finden Sie weitere Informationen zur Überprüfung der Zertifikate. - -
    - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A201/CreateXMLSignatureRequest.xml b/id.server/data/abnahme-test/xmldata/A200/A201/CreateXMLSignatureRequest.xml deleted file mode 100644 index 3877f0950..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A201/CreateXMLSignatureRequest.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - SecureSignatureKeypair - - - - - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - - - - - - - - - - - - - - - - -
    - Name: - - -
    - Zeit: - - -
    - Applikation: - - -
    - Geschäftsbereich: - - -
    - Anmeldeserver: - - -
    - - -
    -
    -
    - -
    - - text/html - -
    -
    - - - - - - https://localhost:8443/auth - - - gb - - - https://localhost:9443/ - - - - - /saml:Assertion - -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A254/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A254/InfoboxReadResponse.xml deleted file mode 100644 index f6b2aa57d..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A254/InfoboxReadResponse.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 000000000000 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A255/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A255/InfoboxReadResponse.xml deleted file mode 100644 index b38e902f2..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A255/InfoboxReadResponse.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 000000000000 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A256/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A256/InfoboxReadResponse.xml deleted file mode 100644 index ab5315d20..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A256/InfoboxReadResponse.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 000000000000 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - 000000000000 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A257/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A257/InfoboxReadResponse.xml deleted file mode 100644 index a980fabd3..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A257/InfoboxReadResponse.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 000000000000 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A258/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A258/InfoboxReadResponse.xml deleted file mode 100644 index 78f5ddd5c..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A258/InfoboxReadResponse.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A259/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A259/InfoboxReadResponse.xml deleted file mode 100644 index 764b08361..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A259/InfoboxReadResponse.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - - - - - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A260/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A260/InfoboxReadResponse.xml deleted file mode 100644 index 22ea67174..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A260/InfoboxReadResponse.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A261/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A261/InfoboxReadResponse.xml deleted file mode 100644 index e3ca1bf66..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A261/InfoboxReadResponse.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann2 - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A262/Configuration.xml b/id.server/data/abnahme-test/xmldata/A200/A262/Configuration.xml deleted file mode 100644 index 44b4f519b..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A262/Configuration.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile2 - - - TrustProfile2 - TransformsInfoProfile1MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - - - - - - - - - url:AcceptedServerCertificates - URL:toClientKeystoreOA - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - - - - - - - - - - - - - - - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A200/A262/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A262/InfoboxReadResponse.xml deleted file mode 100644 index e894f560e..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A262/InfoboxReadResponse.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 987654321098 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Monika - Bürger - - 1945-08-02 - - - - - - - - 5lEaWEjW+4/6Zcp4TCAx4KDwrhqNCnwSOlyWBgAvHZs57Sg2h3lATP2SJjujzMityxI/r5XFSjNl -D7BDml4hqy7P2Ro0z/EDKWCo+VMjZS2DKMUWoB4u+QOgovHXMcB/ko6N0MSwQxDxus7LrJ2aYT2G -naS1u6/zULjkn3rhOjM= - AQAB - - - - - - - ZObnb8BKSWDhmGsQhNGWSAboNH+nJPM109g8QlTi3KrLmtbVuuQWByZmRbgT4HfRFsnD8RvG2Lw3 -cC0G8UH/BeSo5LeJSZc5TUTbWm62kjywzGp4TTX0/K1bHp2cZ/lOIpfAI1tsGerWIoX7FRd79lc+ -8Osp1AsguEm/qQH6FTs= - AQAB - - - -not(ancestor-or-self::pr:Identification)N37kVznK95fiKaf1sWVHeFkbzwY=ancestor-or-self::dsig:ManifestRk9zppvNedEsGSx9CibYS4eu0jw=Hte006lAMycSR138EA/LGP/NBuaab4PzleCjl4ZvDTGKBPEzFKtVqrY+evG9aKWi -B/yw1L5DnIn9UOKqLouwZGBzK33nyAZdr+GWYtWKogbgEeNTLxT2LNoQHthfsTLr -g2Me//mQEqYdtMcTfmhls/qizjhgZXm16yaCWv2bIoc=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=0DHkFVM0QWLSexFR2MX0VavHHK8= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A200/A263/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/A200/A263/InfoboxReadResponse.xml deleted file mode 100644 index 9ad95af1f..000000000 --- a/id.server/data/abnahme-test/xmldata/A200/A263/InfoboxReadResponse.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHN -WW5RPGxVlPDz5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfv -HEcxHQOA6sa42C+dFKsKIvmP3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A301/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A301/AuthenticationData.xml deleted file mode 100644 index 03b1fbd3f..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A301/AuthenticationData.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - - - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A301/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A301/Configuration.xml deleted file mode 100644 index 39d9a864b..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A301/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A302/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A302/AuthenticationData.xml deleted file mode 100644 index db46fb127..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A302/AuthenticationData.xml +++ /dev/null @@ -1,121 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= - - - - - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A302/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A302/Configuration.xml deleted file mode 100644 index 804a27e92..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A302/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A303/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A303/AuthenticationData.xml deleted file mode 100644 index 12cfbb668..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A303/AuthenticationData.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - https://localhost:8443/auth - - - gb - - - https://localhost:9443/ - - - - - - - - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A303/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A303/Configuration.xml deleted file mode 100644 index 2067a40c7..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A303/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A304/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A304/AuthenticationData.xml deleted file mode 100644 index 7e05dbfe1..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A304/AuthenticationData.xml +++ /dev/null @@ -1,133 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - https://localhost:8443/auth - - - gb - - - https://localhost:9443/ - - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= - - - - - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A304/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A304/Configuration.xml deleted file mode 100644 index bc1bc17ce..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A304/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A305/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A305/AuthenticationData.xml deleted file mode 100644 index 124f7e5d0..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A305/AuthenticationData.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A305/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A305/Configuration.xml deleted file mode 100644 index 7a2ed2017..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A305/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A306/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A306/AuthenticationData.xml deleted file mode 100644 index 9b39890d1..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A306/AuthenticationData.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= - - - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A306/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A306/Configuration.xml deleted file mode 100644 index 3750de781..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A306/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A307/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A307/AuthenticationData.xml deleted file mode 100644 index 499a3908e..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A307/AuthenticationData.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - https://localhost:8443/auth - - - gb - - - https://localhost:9443/ - - - - - - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A307/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A307/Configuration.xml deleted file mode 100644 index 7400f791a..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A307/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A308/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A308/AuthenticationData.xml deleted file mode 100644 index 32b3d31f9..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A308/AuthenticationData.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - https://localhost:8443/auth - - - gb - - - https://localhost:9443/ - - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= - - - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A308/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A308/Configuration.xml deleted file mode 100644 index b6b42f267..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A308/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A309/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A309/AuthenticationData.xml deleted file mode 100644 index b3e27002e..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A309/AuthenticationData.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - - - - - Hermann - Muster - - 1968-10-22 - - - - false - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A309/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A309/Configuration.xml deleted file mode 100644 index 9e523773a..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A309/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=Isolde B\C3\BCrgerin,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - CN=Max Mustermann,O=Musterorganisation,STREET=Mustergasse 1,L=Wien,ST=Wien,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A309/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A309/CreateXMLSignatureResponse.xml deleted file mode 100644 index 184615e91..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A309/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - https://moatestlinux:18443/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    ue7o7gdb1tN1eNQ/PTK2zBa4tzc=
    DlzOL10xqFzEPMGWmenuvyqB3+c=
    Mx68y1JK5jtEyp10w/9p5FYq0Ro5JsjOHQREag5DAfMW5Mf+6qapTjvO+eDZXYub -Vjzph+QgxIhwfFQtrrM9M9ftuHWtD+HeVaexWNkApOBzijdTjZAS4lph4WM5wJ3M -/vUhCJzQzC1scg7xRdNGd+aszMtksWKJpPw4oI0PayE=MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/12003-04-25T10:36:37dL59VDpBsujcngd207z0ohPl1/U=CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1044289238331text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A310/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A310/AuthenticationData.xml deleted file mode 100644 index b3e27002e..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A310/AuthenticationData.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - - - - - Hermann - Muster - - 1968-10-22 - - - - false - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A310/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A310/Configuration.xml deleted file mode 100644 index 9e523773a..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A310/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=Isolde B\C3\BCrgerin,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - CN=Max Mustermann,O=Musterorganisation,STREET=Mustergasse 1,L=Wien,ST=Wien,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A310/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A310/CreateXMLSignatureResponse.xml deleted file mode 100644 index e004eb74c..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A310/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - https://moatestlinux:18443/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    ue7o7gdb1tN1eNQ/PTK2zBa4tzc=
    Q2VhPYhMbwz4beILYjMDmBsurLQ=
    lr5L9hxi1rvdm5vT9WpG8yYKv1TIjPrONJUv6O4lTUyC4E8L4nwx8mMFPd8Q7jNb -WmMmaDCl0uZYOATdu/x2t5wYOYreBUpka3J3wPTIJhMJQwaMMu3rHM3Ewn+1Wlsw -6VED3ZWKAmI+12Mto5RLbD5BU6757Tx42YuCkw9glZM=MIID5zCCA1SgAwIBAgIGAPR8iAdPMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDQxMTExNDIwNVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0bdQqA5YFf32 -OjaZo01tpAsP/Kgor6sWGLQj2uBrQDOAOymVkIPtv4C9XQ1tH8EUexgbYI1QpE9V -ODvoo49Bi6u9hYnlDFj+8EgQoDCmqFSy/jzwLVnRL7jwN96uAyU5WymEdPWgHRpT -6oDxYs36MJ7+iWQISA6nl3/QTI4wnJcCAwEAAaOCASwwggEoMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBTehKfLADylQ4B6DyYKvUG1+pHZzzAOBgcq -KAAKAQEBBAMBAf8wHwYDVR0jBBgwFoAUTCCwVgIM94gKloilFLRRzDq18r8wCQYF -Kw4DAh0FAAOBgQBw2mE3PxdtcSDwCTglkNt7ww4IGmWnUCYUiV8x/lcwWdXhcnRM -lsjmOYi0vFiV8ne6x8fI6WMQLmHQMTfra+tEBrsHOlhISz5F5VGVfj/w6DcTC2HH -wGaIkTqAu6GZ+bu8OpXYSIZEy4ZSMTWWnomses0LyrXqmWNWh1InVjAPiw==2003-04-25T10:36:39YrSnK0/o4nCtqxK1IpJF2Qy4ZQc=CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1050061309775text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A311/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A300/A311/AuthenticationData.xml deleted file mode 100644 index 8a66f40cf..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A311/AuthenticationData.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - - - - - Hermann - Muster - - 1968-10-22 - - - - false - - - Musterbehörde - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A311/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A311/Configuration.xml deleted file mode 100644 index 9e523773a..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A311/Configuration.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=Isolde B\C3\BCrgerin,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - CN=Max Mustermann,O=Musterorganisation,STREET=Mustergasse 1,L=Wien,ST=Wien,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A311/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A311/CreateXMLSignatureResponse.xml deleted file mode 100644 index f7346ad2b..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A311/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - https://moatestlinux:18443/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    ue7o7gdb1tN1eNQ/PTK2zBa4tzc=
    nSqJkplafvE6SpfL0JP5Tbanh3Y=
    V5m5I1QA+NXzhU64G/I1vT8LAoWqaoHm2Ck807U8SVG668NmjH4wrfTln+Shx0HD -+q4c2NAb6ZFzTUQ190RlRgvEM0cvtCSpn7/AcJaBd5WuUYPRLPEmP8ca4xhLGi1t -XZQCTpTLLnRI+5Yf5HJqc1lfs5Pkv9hQZ9W55eJgmiA=MIIDwTCCAy6gAwIBAgIVAOn21xTCfievvs3qbq8HRBHjXjNPMAkGBSsOAwIdBQAw -gZUxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAMTDElBSUsg -VGVzdCBDQTAeFw0wMjExMTUwOTQwNTBaFw0wMzEyMzEyMjU5MzBaMHkxCzAJBgNV -BAYTAkFUMQ0wCwYDVQQIEwRXaWVuMQ0wCwYDVQQHEwRXaWVuMRYwFAYDVQQJEw1N -dXN0ZXJnYXNzZSAxMRswGQYDVQQKExJNdXN0ZXJvcmdhbmlzYXRpb24xFzAVBgNV -BAMTDk1heCBNdXN0ZXJtYW5uMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDw -Dxgoc53OFRWuZcGRkuZYYHxTeM7tLoH+9eFpqtokWHruFNn49JNWNdU2PMPeXezO -6eYwz/214/EB/SvCx5ZRlLC7GikqUX0UyK/r36zq9Q5nOMFfSoG48hEIjzAUWnc4 -FIePYW7hdb0/nW+1CKVdpmsGHChJoN7SCiVvY0eyAQIDAQABo4IBLjCCASowDAYD -VR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwZwYDVR0gBGAwXjBcBgwrBgEEAZUS -AQIDAQEwTDBKBggrBgEFBQcCAjA+GjxUaGlzIGNlcnRpZmljYXRlIG1heSBiZSB1 -c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzIG9ubHkwLwYDVR0RBCgwJoEk -bWF4Lm11c3Rlcm1hbm5AbXVzdGVyb3JnYW5pc2F0aW9uLmF0MB0GA1UdDgQWBBTp -9tcUwn4nr77N6m6vB0MgXEvH5TAbBgcqKAAKAQEBBBAMDk11c3RlcmJlaMO2cmRl -MBMGA1UdJQQMMAoGCCsGAQUFBwMEMB8GA1UdIwQYMBaAFOtWHOnph3q+vzHzdX8q -/qzlQNOOMAkGBSsOAwIdBQADgYEALbC1Ibymb3DWwB+pEezrt87+r3xi+JGFxkt0 -tw0tOoe+ejSY8AhSuY3LseLdPNDnTtlg/GlkzijCFxBHPgUKhGokA91qIoV++fZt -3/pxjSVxl+elGDCx9WcrXB5L7m5mxSMgYGOZH2UUlFZQvtKXxU4KrXCXkQVTsg9g -RWizwj4=2003-04-25T10:36:40pMBCPXFi69dO65GgzApHN4TxtvM=CN=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1335699569126441074835341742398412708010421793615text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A355/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A355/CreateXMLSignatureResponse.xml deleted file mode 100644 index b9e0e0f9c..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A355/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A356/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A356/CreateXMLSignatureResponse.xml deleted file mode 100644 index 4ef49034c..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A356/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - http://localhost2:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A357/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A357/CreateXMLSignatureResponse.xml deleted file mode 100644 index 4fe3c4b2b..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A357/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A358/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A358/CreateXMLSignatureResponse.xml deleted file mode 100644 index 4736c5dc3..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A358/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A359/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A359/CreateXMLSignatureResponse.xml deleted file mode 100644 index 7664fbe33..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A359/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - noTarget - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A360/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A360/CreateXMLSignatureResponse.xml deleted file mode 100644 index a7ef7a637..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A360/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A361/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A361/CreateXMLSignatureResponse.xml deleted file mode 100644 index 4736c5dc3..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A361/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A362/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A362/CreateXMLSignatureResponse.xml deleted file mode 100644 index 6e8393033..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A362/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - WRONG - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A363/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A363/CreateXMLSignatureResponse.xml deleted file mode 100644 index 96032998a..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A363/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A364/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A364/CreateXMLSignatureResponse.xml deleted file mode 100644 index ba2749cda..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A364/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8081/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A300/A366/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A366/Configuration.xml deleted file mode 100644 index 9a358e434..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A366/Configuration.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile2 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - - - - - - - - - url:AcceptedServerCertificates - URL:toClientKeystoreOA - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A367/Configuration.xml b/id.server/data/abnahme-test/xmldata/A300/A367/Configuration.xml deleted file mode 100644 index 5aade8185..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A367/Configuration.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - - - - - - - - - url:AcceptedServerCertificates - URL:toClientKeystoreOA - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - - - diff --git a/id.server/data/abnahme-test/xmldata/A300/A367/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/A300/A367/CreateXMLSignatureResponse.xml deleted file mode 100644 index ec8cefe99..000000000 --- a/id.server/data/abnahme-test/xmldata/A300/A367/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - https://localhost:8443/moa-id-auth/ - - - gb - - - http://localhost:8080/moa-id-proxy/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - - - - - - - - - - - - - - - - -
    - Name: - - -
    - Zeit: - - -
    - Applikation: - - -
    - Geschäftsbereich: - - -
    - Anmeldeserver: - - -
    - - -
    -
    Vmmkctd+R7lkSKftZO1UnenfWi0=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesvfTksPSWSacTaSWnvybsm8iV80o=
    wIqspNC5KqReKNMNO7PIemxSKwGId1HIp5r6FFtuj099C304xR5fZoCoC2Zyk6di -bnoh+rRk9oZFeGoWvhb/JADGgtia7VUO4qc3suCNVpikRgiG5K8LXMGS3w+1wUFb -JIkDKLuDxmXApG+BEEQXmE07zfwAzRbVBmunpWnG/us=MIIFJTCCBA2gAwIBAgICGTkwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzI0MTlaFw0wNjAyMTAxMzI0MjBaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTEgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BMTEVMBMGA1UEBRMMMjI1NjUyMzkyMTA0 -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDmURpYSNb7j/plynhMIDHgoPCu -Go0KfBI6XJYGAC8dmzntKDaHeUBM/ZImO6PMyK3LEj+vlcVKM2UPsEOaXiGrLs/Z -GjTP8QMpYKj5UyNlLYMoxRagHi75A6Ci8dcxwH+Sjo3QxLBDEPG6zsusnZphPYad -pLW7r/NQuOSfeuE6MwIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECEp3ZWggbV5MMA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uMkBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAIuyADBvzJmE7yCCAilQrFl4U+HjMNF5NwbbUqjtVxCj7JliOFJBd -en46ekG8w57tLHOhg/5N9xdmObX2jgzGZy7uJC7eDnszWjvvfsFev87MwZFy3Pm/ -wdu1+7/+RLDcrOViDn1x2n/JDvkqZJ5WFor2R76wnBIESNeHOqDW9nXHP5F5ERLI -Ug3tVhIHCkxkBvHJkQOwMD+BhKGh/1jSBRloyrVD/5QUcbQE5wmOjv1I6LLOZRbq -eXk8cQhwGH+K6p0BdwQc6rg3CXFqTTzP4GuUhnxfJsYtKw7qAfVSf3VRqbeVHX4M -xDtbjTi15+0lWfB15L4jukJl10D9cFMsWA==2003-05-20T08:31:06ZA6PySg7S5iw8pJEX0i5lwp43lZY=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6457text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A400/A401/AuthenticationData.xml b/id.server/data/abnahme-test/xmldata/A400/A401/AuthenticationData.xml deleted file mode 100644 index 32b3d31f9..000000000 --- a/id.server/data/abnahme-test/xmldata/A400/A401/AuthenticationData.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - https://localhost:8443/auth - - - gb - - - https://localhost:9443/ - - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= - - - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A600/A601/GetAuthenticationDataWebServiceResponse.xml b/id.server/data/abnahme-test/xmldata/A600/A601/GetAuthenticationDataWebServiceResponse.xml deleted file mode 100644 index 8dd0f10d6..000000000 --- a/id.server/data/abnahme-test/xmldata/A600/A601/GetAuthenticationDataWebServiceResponse.xml +++ /dev/null @@ -1,136 +0,0 @@ - - Anfrage erfolgreich beantwortet - - - kp6hOq6LRAkLtrqm6EvDm6bMwJw= - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - https://localhost:8443/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= - - - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - true - - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A700/A701/AuthTemplate.html b/id.server/data/abnahme-test/xmldata/A700/A701/AuthTemplate.html deleted file mode 100644 index 2ecfe9cfd..000000000 --- a/id.server/data/abnahme-test/xmldata/A700/A701/AuthTemplate.html +++ /dev/null @@ -1,30 +0,0 @@ - - -MOA ID Auth Sample Login - customized - - -

    MOA ID Auth Sample Login - customized

    -
    - - - -
    -
    - - - Hier finden Sie weitere Informationen zur Überprüfung der Zertifikate. - -
    - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A700/A701/BKUSelectionTemplate.html b/id.server/data/abnahme-test/xmldata/A700/A701/BKUSelectionTemplate.html deleted file mode 100644 index 92b3f04cd..000000000 --- a/id.server/data/abnahme-test/xmldata/A700/A701/BKUSelectionTemplate.html +++ /dev/null @@ -1,14 +0,0 @@ - - -BKU Auswahl - customized - - -

    BKU Auswahl - customized

    -

    -

    - - - -

    - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A700/A701/SelectBKUForm.html b/id.server/data/abnahme-test/xmldata/A700/A701/SelectBKUForm.html deleted file mode 100644 index a473a689b..000000000 --- a/id.server/data/abnahme-test/xmldata/A700/A701/SelectBKUForm.html +++ /dev/null @@ -1,20 +0,0 @@ - - -BKU Auswahl - customized - - -

    BKU Auswahl - customized

    -

    -

    - - - -
    -

    - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A700/A702/SelectBKUForm.html b/id.server/data/abnahme-test/xmldata/A700/A702/SelectBKUForm.html deleted file mode 100644 index a213d9de0..000000000 --- a/id.server/data/abnahme-test/xmldata/A700/A702/SelectBKUForm.html +++ /dev/null @@ -1,20 +0,0 @@ - - - -Auswahl der Bürgerkartenumgebung - - -
    - - - -
    - - \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A700/A703/Configuration.xml b/id.server/data/abnahme-test/xmldata/A700/A703/Configuration.xml deleted file mode 100644 index f38dc9ee0..000000000 --- a/id.server/data/abnahme-test/xmldata/A700/A703/Configuration.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - - - file:data/abnahme-test/certs/ca-certs - - diff --git a/id.server/data/abnahme-test/xmldata/A700/A703/SelectBKUForm.html b/id.server/data/abnahme-test/xmldata/A700/A703/SelectBKUForm.html deleted file mode 100644 index 21e48a844..000000000 --- a/id.server/data/abnahme-test/xmldata/A700/A703/SelectBKUForm.html +++ /dev/null @@ -1 +0,0 @@ -https://auswahl.buergerkarte.at/auswahl?returnURI=https://localhost:8443/authStartAuthentication?MOASessionID=-1393563939984986204 \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/A700/Configuration.xml b/id.server/data/abnahme-test/xmldata/A700/Configuration.xml deleted file mode 100644 index 44cc09196..000000000 --- a/id.server/data/abnahme-test/xmldata/A700/Configuration.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - - - file:data/abnahme-test/certs/ca-certs - - diff --git a/id.server/data/abnahme-test/xmldata/A700/getBKUSelectTag.jsp b/id.server/data/abnahme-test/xmldata/A700/getBKUSelectTag.jsp deleted file mode 100644 index 028dbd348..000000000 --- a/id.server/data/abnahme-test/xmldata/A700/getBKUSelectTag.jsp +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/id.server/data/abnahme-test/xmldata/C000/C001/Configuration.xml b/id.server/data/abnahme-test/xmldata/C000/C001/Configuration.xml deleted file mode 100644 index e125e2c38..000000000 --- a/id.server/data/abnahme-test/xmldata/C000/C001/Configuration.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - http://AcceptedServerCertificates - - - - - - - - http://AcceptedServerCertificates - URLtoClientKeystoreAUTH - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - http://localhost:8080/truestedCACerts - - - - - diff --git a/id.server/data/abnahme-test/xmldata/C000/C002/Configuration.xml b/id.server/data/abnahme-test/xmldata/C000/C002/Configuration.xml deleted file mode 100644 index 7a75d85f8..000000000 --- a/id.server/data/abnahme-test/xmldata/C000/C002/Configuration.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - - - - - - diff --git a/id.server/data/abnahme-test/xmldata/C000/C003/Configuration.xml b/id.server/data/abnahme-test/xmldata/C000/C003/Configuration.xml deleted file mode 100644 index db84e7b12..000000000 --- a/id.server/data/abnahme-test/xmldata/C000/C003/Configuration.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - url:AcceptedServerCertificates - URL:toClientKeystoreOA - - - - diff --git a/id.server/data/abnahme-test/xmldata/C000/C051/ConfigurationC051.xml b/id.server/data/abnahme-test/xmldata/C000/C051/ConfigurationC051.xml deleted file mode 100644 index e3a364514..000000000 --- a/id.server/data/abnahme-test/xmldata/C000/C051/ConfigurationC051.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - url:AcceptedServerCertificates - URL:toClientKeystoreOA - - - - diff --git a/id.server/data/abnahme-test/xmldata/Configuration.xml b/id.server/data/abnahme-test/xmldata/Configuration.xml deleted file mode 100644 index e3f1bd8b4..000000000 --- a/id.server/data/abnahme-test/xmldata/Configuration.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - - - - - - - - - url:AcceptedServerCertificates - URL:toClientKeystoreOA - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - - - - - - - - - - - - - - - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - file:data/abnahme-test/certs/ca-certs - - - - diff --git a/id.server/data/abnahme-test/xmldata/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/CreateXMLSignatureResponse.xml deleted file mode 100644 index 5a4759b7a..000000000 --- a/id.server/data/abnahme-test/xmldata/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/InfoboxReadResponse.xml deleted file mode 100644 index a35b7f209..000000000 --- a/id.server/data/abnahme-test/xmldata/InfoboxReadResponse.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/L000/Configuration.xml b/id.server/data/abnahme-test/xmldata/L000/Configuration.xml deleted file mode 100644 index e3f1bd8b4..000000000 --- a/id.server/data/abnahme-test/xmldata/L000/Configuration.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - TransformsInfoProfile3MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - - serialNumber=790187461633,givenName=Testperson MOA4,SN=BRZ,CN=Testperson MOA4 BRZ,C=AT - - - - - - - - - - - - - - url:AcceptedServerCertificates - URL:toClientKeystoreOA - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - - - - - - - - - - - - - - - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - file:data/abnahme-test/certs/ca-certs - - - - diff --git a/id.server/data/abnahme-test/xmldata/L000/CreateXMLSignatureResponse.xml b/id.server/data/abnahme-test/xmldata/L000/CreateXMLSignatureResponse.xml deleted file mode 100644 index 0ef26ce2f..000000000 --- a/id.server/data/abnahme-test/xmldata/L000/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - - - https://localhost:8443/moa-id-auth/ - - - gb - - - http://10.16.126.28:9080/moa-id-proxy/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - - - - - - - - - - - - - - - - -
    - Name: - - -
    - Zeit: - - -
    - Applikation: - - -
    - Geschäftsbereich: - - -
    - Anmeldeserver: - - -
    - - -
    -
    bvM1wMyWDhJeTm6wYNIBeqEMGhc=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesSODqS1d8cJD301+Eq0jrCkRjSkI=
    GIWA7SDyFiDbbDxOxipEjm9lNJunrfHsLaSEaDUgzpghZ0ESdP8wkS9fBGXdErm8 -FiitoTNUquYLefUjl6i5lIpPp+FraX/6t2Oxda4N8KMamoBpffcxoiU069JOVAEL -ohZawwD4ezgeBJSTgwX7dmPCXjpNa1M8l1wm8FhCgqo=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-05-07T15:25:17ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/abnahme-test/xmldata/L000/InfoboxReadResponse.xml b/id.server/data/abnahme-test/xmldata/L000/InfoboxReadResponse.xml deleted file mode 100644 index a35b7f209..000000000 --- a/id.server/data/abnahme-test/xmldata/L000/InfoboxReadResponse.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/data/certs/TrustProfile1/A-Trust-Qual-01.cer b/id.server/data/certs/TrustProfile1/A-Trust-Qual-01.cer deleted file mode 100644 index f9f27442b..000000000 Binary files a/id.server/data/certs/TrustProfile1/A-Trust-Qual-01.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/A-Trust-nQual-01.cer b/id.server/data/certs/TrustProfile1/A-Trust-nQual-01.cer deleted file mode 100644 index 289fc2198..000000000 Binary files a/id.server/data/certs/TrustProfile1/A-Trust-nQual-01.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/Buergerkarte01Root.cer b/id.server/data/certs/TrustProfile1/Buergerkarte01Root.cer deleted file mode 100644 index 18e6bc109..000000000 Binary files a/id.server/data/certs/TrustProfile1/Buergerkarte01Root.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/C.CA.DS.cer b/id.server/data/certs/TrustProfile1/C.CA.DS.cer deleted file mode 100644 index fc5bd433b..000000000 Binary files a/id.server/data/certs/TrustProfile1/C.CA.DS.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/IAIKRoot.cer b/id.server/data/certs/TrustProfile1/IAIKRoot.cer deleted file mode 100644 index c0c60558a..000000000 Binary files a/id.server/data/certs/TrustProfile1/IAIKRoot.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/IAIKRootMusterbehoerde.cer b/id.server/data/certs/TrustProfile1/IAIKRootMusterbehoerde.cer deleted file mode 100644 index 21dc972b9..000000000 Binary files a/id.server/data/certs/TrustProfile1/IAIKRootMusterbehoerde.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/TestPersonMOA4.cer b/id.server/data/certs/TrustProfile1/TestPersonMOA4.cer deleted file mode 100644 index 99936caa8..000000000 Binary files a/id.server/data/certs/TrustProfile1/TestPersonMOA4.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer b/id.server/data/certs/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer deleted file mode 100644 index fc5bd433b..000000000 Binary files a/id.server/data/certs/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/a-sign-TEST-nQual-01.cer b/id.server/data/certs/TrustProfile1/a-sign-TEST-nQual-01.cer deleted file mode 100644 index 84518a6a8..000000000 Binary files a/id.server/data/certs/TrustProfile1/a-sign-TEST-nQual-01.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/ecdsaroot_der.cer b/id.server/data/certs/TrustProfile1/ecdsaroot_der.cer deleted file mode 100644 index dac166e9a..000000000 Binary files a/id.server/data/certs/TrustProfile1/ecdsaroot_der.cer and /dev/null differ diff --git a/id.server/data/certs/TrustProfile1/hsm.cer b/id.server/data/certs/TrustProfile1/hsm.cer deleted file mode 100644 index 278cb8fab..000000000 --- a/id.server/data/certs/TrustProfile1/hsm.cer +++ /dev/null @@ -1,13 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIB6TCCAVICAQEwDQYJKoZIhvcNAQEFBQAwPTESMBAGA1UEAxMJSFNNUlNBS0VZ -MQwwCgYDVQQKEwNCUloxDDAKBgNVBAsTA01PQTELMAkGA1UEBhMCQVQwHhcNMDMw -NDAzMTEwNjQ5WhcNMDQwNDAzMTEwNjQ5WjA9MRIwEAYDVQQDEwlIU01SU0FLRVkx -DDAKBgNVBAoTA0JSWjEMMAoGA1UECxMDTU9BMQswCQYDVQQGEwJBVDCBnzANBgkq -hkiG9w0BAQEFAAOBjQAwgYkCgYEA2nygG6QL8ksWZFNAUWcLcAkRR7WHck3PFu4z -ce2D/jeWk2pf3dC+49ZRkmJbKYclySx90BZFG6iSUkhI41eXbrRzIScFz15P9K4F -rSg8redcdysWY/WJ2ybW05PuK8jNooyc4yAGoSfiNv7GlDfAqsZpSXB2YFvd6erF -In5e7WECAwDL2zANBgkqhkiG9w0BAQUFAAOBgQCUhQ1YQg14ZtUGj1Zn1J5O3XXu -RZmckYjRbqMxpY3iim+yH9+eSrDcfESUeoYQHzOB+qfOx+kU33qkWBzvP1079EbC -v5eVi4mhJ6F/8xItuvroUtuQokiiEY8g8CSM1C124MLcJr0y90Nmb2q2cHhlBkw8 -s5uQpf4EtuqJAwMrcQ== ------END CERTIFICATE----- diff --git a/id.server/data/certs/TrustProfile1/moahsmcert.cer b/id.server/data/certs/TrustProfile1/moahsmcert.cer deleted file mode 100644 index 160390f35..000000000 --- a/id.server/data/certs/TrustProfile1/moahsmcert.cer +++ /dev/null @@ -1,13 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIB7zCCAVgCAQEwDQYJKoZIhvcNAQEFBQAwQDEVMBMGA1UEAxMMTU9BSFNNUlNB -S0VZMQwwCgYDVQQKEwNCUloxDDAKBgNVBAsTA01PQTELMAkGA1UEBhMCQVQwHhcN -MDMwNDA3MTQwNzM3WhcNMDQwNDA3MTQwNzM3WjBAMRUwEwYDVQQDEwxNT0FIU01S -U0FLRVkxDDAKBgNVBAoTA0JSWjEMMAoGA1UECxMDTU9BMQswCQYDVQQGEwJBVDCB -nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuQJeLj5quuES22ZlXY2W5C/JF/7a -WZM/EBj2hZff3i66IQYe3272E9p1utzIGvY3AfAlW0sKiOhZUpOnvFlAn+Bl86J2 -kE/mQMgVHd4fxb3onCNA+x/x5BdYVdx35il6iQy9xE0kpc01CMrUMMy0+GMcz4OR -ziJf0WHsi9JL1nECAwCYrzANBgkqhkiG9w0BAQUFAAOBgQCDpmYSMnkjfJ4JXwwc -Y6eqqiDBexZeVwNLjjJxwf5md4ZRiewwfY3aydcA8ffjcUh4/5XXdn5y2S2n8JEg -N2EuHHC+k/CE2JJJylkikltE+nawdfa6MukhQ0sPKjyJ+Nr2nXOwX6O2bveaTw9J -E2+9uU+Tuf4VG9HEHEL+IaU2tA== ------END CERTIFICATE----- diff --git a/id.server/data/certs/ca-certs/GTE CyberTrust Root.cer b/id.server/data/certs/ca-certs/GTE CyberTrust Root.cer deleted file mode 100644 index bcbddd2f3..000000000 Binary files a/id.server/data/certs/ca-certs/GTE CyberTrust Root.cer and /dev/null differ diff --git a/id.server/data/certs/ca-certs/TrustMark-WebServer-01.cer b/id.server/data/certs/ca-certs/TrustMark-WebServer-01.cer deleted file mode 100644 index 781d1e4f2..000000000 Binary files a/id.server/data/certs/ca-certs/TrustMark-WebServer-01.cer and /dev/null differ diff --git a/id.server/data/certs/ca-certs/VeriSignRSA Secure Server CA.cer b/id.server/data/certs/ca-certs/VeriSignRSA Secure Server CA.cer deleted file mode 100644 index b76137b1c..000000000 Binary files a/id.server/data/certs/ca-certs/VeriSignRSA Secure Server CA.cer and /dev/null differ diff --git a/id.server/data/certs/ca-certs/a-sign-corporate-light-01.cer b/id.server/data/certs/ca-certs/a-sign-corporate-light-01.cer deleted file mode 100644 index 6f97837a2..000000000 Binary files a/id.server/data/certs/ca-certs/a-sign-corporate-light-01.cer and /dev/null differ diff --git a/id.server/data/certs/ca-certs/intermediate.cer b/id.server/data/certs/ca-certs/intermediate.cer deleted file mode 100644 index c945fa97d..000000000 Binary files a/id.server/data/certs/ca-certs/intermediate.cer and /dev/null differ diff --git a/id.server/data/certs/ca-certs/root.cer b/id.server/data/certs/ca-certs/root.cer deleted file mode 100644 index dd22e761e..000000000 Binary files a/id.server/data/certs/ca-certs/root.cer and /dev/null differ diff --git a/id.server/data/certs/client-certs/key.pem b/id.server/data/certs/client-certs/key.pem deleted file mode 100644 index a326186c7..000000000 --- a/id.server/data/certs/client-certs/key.pem +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,FE45B3E14DF98B85 - -e4AS6U/QUW4/ZDMFdlDAVAsd5lKT7e83SWZXZePOjFXZDO+vXmiHp15uw/xrUiqA -R5jTMHOmxccdpnoSeEXFRApgpfMgixL8IUzec8xaScOOy1+pbSadWWq5bsnnF4fF -bztJiF5+2RXbNYe5DO32EuGpTOPZVIdWZkvgn5krPDs0EOJrGHC9SIAn+RNS7WDr -AgKytCjX/aRQ9lUuoT8eX4e2tzslQ/x8K+0zt0vQZWDSPLZTqJNioILWwUpVapqH -aC/8foQeWqHc1Dj9CoMZrUsS1Jwi/Hkc70cb1+3uH/DAaDng2gN4Qa2tpbvZhWHV -rIZYpxN0CBxe/pmSwUZeZQPVcgHniJYRondVIOCCGst2l9XunOTxGoNGE8B7A/im -FB/kondCVL7X+5gEjuAqjFTUrdQHbjCdDSwXLMAKDJEeY3NZhxsJlbXy2pcviUWz -k0CfGpT9yANDtNT37OfJM6OZSKjUmgeqNENyL2G3X5gjpLCRTUt4BUh5IpeW3uLu -f/wDAETyfDvHfyf2PAPSVcecDW+py7mFP87FKDrTb8e9fNleL3mNpdLaHFm7mHMf -imhEehxiGMRj7TVBvS+WuJp0bFYiyEh6f2cnhwP/iAFkJEx7VDslYhtt9LkDGm3t -1utow3jc/4t6IDV/rmyfYCoy9wbUymw3trGijjMT9H3L9bBekWXfiNTwOjfBa0G5 -meUUJ+BPnm1b5Y6I0nI5T1a7uJ0WeRL08NbJ26TDALBcV6l1IovgTKCtOofOcMBo -JexXOTvllSEsNQrEzFUkzobLg48FyV/mwrjuIXuxUFwvcqKaU6Pa4Q== ------END RSA PRIVATE KEY----- diff --git a/id.server/data/certs/client-certs/key2.pem b/id.server/data/certs/client-certs/key2.pem deleted file mode 100644 index 86c1d1d96..000000000 --- a/id.server/data/certs/client-certs/key2.pem +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,BE4627B155C4DAA7 - -Ja5FdI9jxs0+96ELq/INvD4LrSg4ELUr9Z12zBEc4mIGZRnmPgxpgKJUaWQy+atI -X/o+KS0HYSOHfnWiWQD4GFcjGDhs8vxTsPa6I+vtrnEvFByfOq/R8h7wdHAid14J -2E8MBVim/TxAi/2JG7yVguKkaUR/jP8uvoiTtMQvKe/NHzQywOmiACvpkX5a9G0t -kMZKZ23q2FuEYuNn7/9E09CWc4YDc7AwhUcuUAwZXGQTmLPWriSTUKgR88G7u2LQ -/dO0dqpJEtZIz0h7f+s46I6B7jyXNkShx8scS6YOOrdaq2xB6wC0cOAaNMc/kl7f -9msanW4fJbE/B0rrL6ChI8Mqlr+TJ8oFrBHt1z5wexPa9OGqBOUJmoywXEhp8WUY -oth8HZf/thJE3DppxgRHfDKgUiv8hCSRvaSFZ33Dx7qISPVBzbmk2CF69Ok05Sc3 -sHahRIA8X01mS8fFGL6fJPLT+xW4ARiP1NnVDMBUbFDg/g9GEMvAnxh9lWLysUv5 -6LMR01H6CVhOsbKfpUqIfqT6U9HmjF1vQGD1jp9KGi12Cu6Yf6Z6OcMBmR93rao3 -50GtG0HLbhuUPIrFMYe3Dl0TfPxLj/ieNvGFgueWE7Y92mw/XGn3wLoSVKAIRrYd -ZXh09mA3yARqY15UJWmR77WOrh4j1KybADF6F445+H64UtD1QQBHH4/K+ZJ1CUiE -V9d1F9DAnOeU3yYvRprZU/6nbqzR7dfivgln8PE8Ht2EZf9Rk/n2/ztgKBik37MF -WPthd+8Y+XKcjg2tZOENAxw7ikzjPIdHxFzxAnr9y5d4F6P5CSIjxw== ------END RSA PRIVATE KEY----- diff --git a/id.server/data/certs/client-certs/req.cer b/id.server/data/certs/client-certs/req.cer deleted file mode 100644 index 9f3f8116f..000000000 Binary files a/id.server/data/certs/client-certs/req.cer and /dev/null differ diff --git a/id.server/data/certs/client-certs/req.pem b/id.server/data/certs/client-certs/req.pem deleted file mode 100644 index db4a69057..000000000 --- a/id.server/data/certs/client-certs/req.pem +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIC5jCCAk+gAwIBAgIBADANBgkqhkiG9w0BAQQFADBcMQswCQYDVQQGEwJBVDET -MBEGA1UECBMKU29tZS1TdGF0ZTENMAsGA1UEChMEQlJaRzEMMAoGA1UECxMDTU9B -MRswGQYDVQQDExJBYm5haG1ldGVzdCBNT0EtSUQwHhcNMDMwNTA2MTU1NjMxWhcN -MDMwNjA1MTU1NjMxWjBcMQswCQYDVQQGEwJBVDETMBEGA1UECBMKU29tZS1TdGF0 -ZTENMAsGA1UEChMEQlJaRzEMMAoGA1UECxMDTU9BMRswGQYDVQQDExJBYm5haG1l -dGVzdCBNT0EtSUQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOJqhoQjXmkj -E7eX0mhX4p3vz/vlpSDcmFmOw7PJOKYF38eJpPR0IqZqrDeDUJyuPQzSluRy1A6d -kQBt93FVIND9LBd9yr6nh1bGIMppoJ/qKPHNk3bzEaW1ITgRx8ITc1jVOO2BIvVd -4KTnLcszRvgr/KpYqpjqHRn+Eh3JwVTBAgMBAAGjgbcwgbQwHQYDVR0OBBYEFI6P -2FnJlpDgTb/HFhIV3yczz7Q+MIGEBgNVHSMEfTB7gBSOj9hZyZaQ4E2/xxYSFd8n -M8+0PqFgpF4wXDELMAkGA1UEBhMCQVQxEzARBgNVBAgTClNvbWUtU3RhdGUxDTAL -BgNVBAoTBEJSWkcxDDAKBgNVBAsTA01PQTEbMBkGA1UEAxMSQWJuYWhtZXRlc3Qg -TU9BLUlEggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEAECbLNoxp -6B81lDvab7KVB2HcR+o7DFoejy5HjI+iQL/RoxA5L5t7giROCGXCzjb+0+pxt8fR -4yR66YmoxUC9kjfCxr70Wob+DrBy73yCnwpw2yndcRoYe3HmyoX0HvYPjnUm0IWt -BGAALnQn/En/ZDW0YEM5DtOsZPoZd8r49UE= ------END CERTIFICATE----- diff --git a/id.server/data/certs/client-certs/req2.pem b/id.server/data/certs/client-certs/req2.pem deleted file mode 100644 index 972c4a344..000000000 --- a/id.server/data/certs/client-certs/req2.pem +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIC7DCCAlWgAwIBAgIBADANBgkqhkiG9w0BAQQFADBeMQswCQYDVQQGEwJBVDET -MBEGA1UECBMKU29tZS1TdGF0ZTENMAsGA1UEChMEQlJaRzEMMAoGA1UECxMDTU9B -MR0wGwYDVQQDExRBYm5haG1ldGVzdCBNT0EtSUQgMjAeFw0wMzA1MDYxNzU2MDRa -Fw0wMzA2MDUxNzU2MDRaMF4xCzAJBgNVBAYTAkFUMRMwEQYDVQQIEwpTb21lLVN0 -YXRlMQ0wCwYDVQQKEwRCUlpHMQwwCgYDVQQLEwNNT0ExHTAbBgNVBAMTFEFibmFo -bWV0ZXN0IE1PQS1JRCAyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC+T1D5 -sxLxeVxkJ04nRj0iP7OnuAsQBvankGkPrWRo/Z8OusG2tKp0CEgIK+nqbRzElmnL -20ij7QKHNgUYAb/2tkMP1K2m6dr/fjBnJGle9lUCbIuzXndBgYy5+nBXVXERPo7k -rUcbnh3hXpa2dpySqV2qgIcNWQ1zsjsYTMKOKwIDAQABo4G5MIG2MB0GA1UdDgQW -BBS2az6C8gFXa9JjsC+7YVOz+kbQHTCBhgYDVR0jBH8wfYAUtms+gvIBV2vSY7Av -u2FTs/pG0B2hYqRgMF4xCzAJBgNVBAYTAkFUMRMwEQYDVQQIEwpTb21lLVN0YXRl -MQ0wCwYDVQQKEwRCUlpHMQwwCgYDVQQLEwNNT0ExHTAbBgNVBAMTFEFibmFobWV0 -ZXN0IE1PQS1JRCAyggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEA -EEeNYSW9gJrxX04z6G48A+DODPzEtZeyVUE/n/OOox9pHZ0ftOj7M4XdLj6QIrES -+cSo9UWFOkPrYj3TVuJ58LLvB3VqevNu8dq1Q0u7umiCofpuqX9rQ/hcfkVWrg3/ -EZdkckT+PRAZR88omVi5q0uU/CkG8o9+KUeqezmWMg8= ------END CERTIFICATE----- diff --git a/id.server/data/certs/keystores/client.keystore b/id.server/data/certs/keystores/client.keystore deleted file mode 100644 index 2304628f4..000000000 Binary files a/id.server/data/certs/keystores/client.keystore and /dev/null differ diff --git a/id.server/data/certs/keystores/client.p12 b/id.server/data/certs/keystores/client.p12 deleted file mode 100644 index de82e3d5e..000000000 Binary files a/id.server/data/certs/keystores/client.p12 and /dev/null differ diff --git a/id.server/data/certs/keystores/client2.p12 b/id.server/data/certs/keystores/client2.p12 deleted file mode 100644 index 5147f7f9c..000000000 Binary files a/id.server/data/certs/keystores/client2.p12 and /dev/null differ diff --git a/id.server/data/certs/keystores/server.keystore b/id.server/data/certs/keystores/server.keystore deleted file mode 100644 index 5ed848e3f..000000000 Binary files a/id.server/data/certs/keystores/server.keystore and /dev/null differ diff --git a/id.server/data/certs/keystores/testlinux.keystore b/id.server/data/certs/keystores/testlinux.keystore deleted file mode 100644 index 99e78638f..000000000 Binary files a/id.server/data/certs/keystores/testlinux.keystore and /dev/null differ diff --git a/id.server/data/certs/keystores/testlinux_plus_client.keystore b/id.server/data/certs/keystores/testlinux_plus_client.keystore deleted file mode 100644 index cc08a127b..000000000 Binary files a/id.server/data/certs/keystores/testlinux_plus_client.keystore and /dev/null differ diff --git a/id.server/data/certs/keystores/testlinux_rev.keystore b/id.server/data/certs/keystores/testlinux_rev.keystore deleted file mode 100644 index d7964e93d..000000000 Binary files a/id.server/data/certs/keystores/testlinux_rev.keystore and /dev/null differ diff --git a/id.server/data/certs/server-certs/a-trust.cer b/id.server/data/certs/server-certs/a-trust.cer deleted file mode 100644 index f87f82561..000000000 Binary files a/id.server/data/certs/server-certs/a-trust.cer and /dev/null differ diff --git a/id.server/data/certs/server-certs/baltimore.cer b/id.server/data/certs/server-certs/baltimore.cer deleted file mode 100644 index 514c65c51..000000000 Binary files a/id.server/data/certs/server-certs/baltimore.cer and /dev/null differ diff --git a/id.server/data/certs/server-certs/cio.cer b/id.server/data/certs/server-certs/cio.cer deleted file mode 100644 index 560425e95..000000000 Binary files a/id.server/data/certs/server-certs/cio.cer and /dev/null differ diff --git a/id.server/data/certs/server-certs/testlinux.crt b/id.server/data/certs/server-certs/testlinux.crt deleted file mode 100644 index db9201838..000000000 Binary files a/id.server/data/certs/server-certs/testlinux.crt and /dev/null differ diff --git a/id.server/data/certs/server-certs/testlinux_rev.crt b/id.server/data/certs/server-certs/testlinux_rev.crt deleted file mode 100644 index ac735db10..000000000 Binary files a/id.server/data/certs/server-certs/testlinux_rev.crt and /dev/null differ diff --git a/id.server/data/certs/server-certs/testwin.cer b/id.server/data/certs/server-certs/testwin.cer deleted file mode 100644 index ff2f369a8..000000000 Binary files a/id.server/data/certs/server-certs/testwin.cer and /dev/null differ diff --git a/id.server/data/certs/server-certs/testwin_rev.cer b/id.server/data/certs/server-certs/testwin_rev.cer deleted file mode 100644 index b899000f2..000000000 Binary files a/id.server/data/certs/server-certs/testwin_rev.cer and /dev/null differ diff --git a/id.server/data/certs/server-certs/tomcat-server.crt b/id.server/data/certs/server-certs/tomcat-server.crt deleted file mode 100644 index f7cca3e9e..000000000 Binary files a/id.server/data/certs/server-certs/tomcat-server.crt and /dev/null differ diff --git a/id.server/data/certs/server-certs/verisign.cer b/id.server/data/certs/server-certs/verisign.cer deleted file mode 100644 index 85f09ee4e..000000000 Binary files a/id.server/data/certs/server-certs/verisign.cer and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-id/SampleMOAIDConfiguration.xml b/id.server/data/deploy/conf/moa-id/SampleMOAIDConfiguration.xml deleted file mode 100644 index ec6203326..000000000 --- a/id.server/data/deploy/conf/moa-id/SampleMOAIDConfiguration.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - MOAIDBuergerkarteRoot - - - - MOAIDBuergerkarteRoot - - MOAIDTransformAuthBlock - - - - - CN=zmr,OU=BMI-IV-2,O=BMI,C=AT - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - file:conf/moa-id/certs/ca-certs - - - - - - - diff --git a/id.server/data/deploy/conf/moa-id/log4j.properties b/id.server/data/deploy/conf/moa-id/log4j.properties deleted file mode 100644 index eada826da..000000000 --- a/id.server/data/deploy/conf/moa-id/log4j.properties +++ /dev/null @@ -1,22 +0,0 @@ -# commons-logging setup -org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory - -# define log4j root loggers -log4j.rootLogger=info, stdout, R -log4j.logger.moa.spss.server=info -log4j.logger.iaik.server=info -log4j.logger.moa.id.auth=info -log4j.logger.moa.id.proxy=info - -# configure the stdout appender -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n - -# configure the rolling file appender (R) -log4j.appender.R=org.apache.log4j.RollingFileAppender -log4j.appender.R.File=logs/moa-id.log -log4j.appender.R.MaxFileSize=10000KB -log4j.appender.R.MaxBackupIndex=1 -log4j.appender.R.layout=org.apache.log4j.PatternLayout -log4j.appender.R.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n diff --git a/id.server/data/deploy/conf/moa-id/oa/SampleOAConfiguration.xml b/id.server/data/deploy/conf/moa-id/oa/SampleOAConfiguration.xml deleted file mode 100644 index 13d99f1c1..000000000 --- a/id.server/data/deploy/conf/moa-id/oa/SampleOAConfiguration.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - stateless - - MOAFamilyName - MOAGivenName - - diff --git a/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml b/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml deleted file mode 100644 index 541089ccb..000000000 --- a/id.server/data/deploy/conf/moa-id/transforms/TransformsInfoAuthBlock.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - - - - - - - - - - - - - - - - -
    - Name: - - -
    - Zeit: - - .., :: -
    - Applikation: - - -
    - Geschäftsbereich: - - -
    - Anmeldeserver: - - -
    - - -
    -
    -
    - -
    - - text/html - -
    diff --git a/id.server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml b/id.server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml deleted file mode 100644 index 900f41252..000000000 --- a/id.server/data/deploy/conf/moa-spss/SampleMOASPSSConfiguration.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - diff --git a/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F b/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F deleted file mode 100644 index 69de75609..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/9E0512DD61DA5949D1D8631C3F19D75F496C3733 b/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/9E0512DD61DA5949D1D8631C3F19D75F496C3733 deleted file mode 100644 index 289fc2198..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/9E0512DD61DA5949D1D8631C3F19D75F496C3733 and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/E6E6FC88719177C9B7421825757C5E47BCAC85F6 b/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/E6E6FC88719177C9B7421825757C5E47BCAC85F6 deleted file mode 100644 index b7d4b08a6..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/E6E6FC88719177C9B7421825757C5E47BCAC85F6 and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/F825578F8F5484DFB40F81867C392D6CB0012B92 b/id.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/F825578F8F5484DFB40F81867C392D6CB0012B92 deleted file mode 100644 index f9f27442b..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/F825578F8F5484DFB40F81867C392D6CB0012B92 and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml b/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml deleted file mode 100644 index 1d1a610b7..000000000 --- a/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:.., ::
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-Qual-01-SN0291.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-Qual-01-SN0291.cer deleted file mode 100644 index f9f27442b..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-Qual-01-SN0291.cer and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0213.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0213.cer deleted file mode 100644 index 289fc2198..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0213.cer and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0218.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0218.cer deleted file mode 100644 index 69de75609..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN0218.cer and /dev/null differ diff --git a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN6f.cer b/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN6f.cer deleted file mode 100644 index b7d4b08a6..000000000 Binary files a/id.server/data/deploy/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot/A-Trust-nQual-01-SN6f.cer and /dev/null differ diff --git a/id.server/data/deploy/tomcat/moa-id-env.bat b/id.server/data/deploy/tomcat/moa-id-env.bat deleted file mode 100644 index 319d18f88..000000000 --- a/id.server/data/deploy/tomcat/moa-id-env.bat +++ /dev/null @@ -1 +0,0 @@ -set CATALINA_OPTS=-Dmoa.id.configuration=%CATALINA_HOME%\conf\moa-id\SampleMOAIDConfiguration.xml -Dmoa.spss.server.configuration=%CATALINA_HOME%\conf\moa-spss\SampleMOASPSSConfiguration.xml -Dlog4j.configuration=file:%CATALINA_HOME%\conf\moa-id\log4j.properties diff --git a/id.server/data/deploy/tomcat/moa-id-env.sh b/id.server/data/deploy/tomcat/moa-id-env.sh deleted file mode 100644 index 9acfe56c0..000000000 --- a/id.server/data/deploy/tomcat/moa-id-env.sh +++ /dev/null @@ -1 +0,0 @@ -export CATALINA_OPTS="-Dmoa.id.configuration=$CATALINA_HOME/conf/moa-id/SampleMOAIDConfiguration.xml -Dmoa.spss.server.configuration=$CATALINA_HOME/conf/moa-spss/SampleMOASPSSConfiguration.xml -Dlog4j.configuration=file:$CATALINA_HOME/conf/moa-id/log4j.properties" diff --git a/id.server/data/deploy/tomcat/server.mod_jk.xml b/id.server/data/deploy/tomcat/server.mod_jk.xml deleted file mode 100644 index 61100b260..000000000 --- a/id.server/data/deploy/tomcat/server.mod_jk.xml +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/deploy/tomcat/server.xml b/id.server/data/deploy/tomcat/server.xml deleted file mode 100644 index c99136fa2..000000000 --- a/id.server/data/deploy/tomcat/server.xml +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/deploy/tomcat/uriworkermap.properties b/id.server/data/deploy/tomcat/uriworkermap.properties deleted file mode 100644 index daf0dca1a..000000000 --- a/id.server/data/deploy/tomcat/uriworkermap.properties +++ /dev/null @@ -1,7 +0,0 @@ -# a sample mod_jk uriworkermap.properties file for mapping -# MOA-ID-AUTH and MOA-ID-PROXY web service requests to workers -# -# omit the mappings you don't need - -/moa-id-auth/*=moaworker -/moa-id-proxy/*=moaworker \ No newline at end of file diff --git a/id.server/data/deploy/tomcat/workers.properties b/id.server/data/deploy/tomcat/workers.properties deleted file mode 100644 index 9350ddc77..000000000 --- a/id.server/data/deploy/tomcat/workers.properties +++ /dev/null @@ -1,6 +0,0 @@ -# a sample workers.properties file defining a single mod_jk worker - -worker.list=moaworker -worker.moaworker.type=ajp13 -worker.moaworker.host=localhost -worker.moaworker.port=8009 diff --git a/id.server/data/test/conf/ConfigurationTest.xml b/id.server/data/test/conf/ConfigurationTest.xml deleted file mode 100644 index 5c18e35cc..000000000 --- a/id.server/data/test/conf/ConfigurationTest.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - file:data/test/certs/server-certs - - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - - - - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - url:AcceptedServerCertificates - URL:toClientKeystoreOA - - - - - - - - file:data/test/certs/server-certs - - - - - - - - file:data/test/certs/server-certs - - - - - - - - file:data/test/certs/server-certs - - - - - - - - file:data/test/certs/server-certs - - - - - - - - url:AcceptedServerCertificates2 - URL:toClientKeystoreOA2 - - - - - - - - url:AcceptedServerCertificates3 - URL:toClientKeystoreOA3 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - file:c:/java/id.server/data/test/certs/ca-certs - - - - - diff --git a/id.server/data/test/conf/OAConfBasicAuth.xml b/id.server/data/test/conf/OAConfBasicAuth.xml deleted file mode 100644 index 61455f903..000000000 --- a/id.server/data/test/conf/OAConfBasicAuth.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - stateful - - MOAGivenName - MOAFamilyName - - diff --git a/id.server/data/test/conf/OAConfHeaderAuth.xml b/id.server/data/test/conf/OAConfHeaderAuth.xml deleted file mode 100644 index c92e055e9..000000000 --- a/id.server/data/test/conf/OAConfHeaderAuth.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - stateful - -
    -
    -
    -
    -
    - - diff --git a/id.server/data/test/conf/OAConfParamAuth.xml b/id.server/data/test/conf/OAConfParamAuth.xml deleted file mode 100644 index a70f6a6c0..000000000 --- a/id.server/data/test/conf/OAConfParamAuth.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - stateful - - - - - diff --git a/id.server/data/test/conf/log4j.properties b/id.server/data/test/conf/log4j.properties deleted file mode 100644 index 9a808f925..000000000 --- a/id.server/data/test/conf/log4j.properties +++ /dev/null @@ -1,10 +0,0 @@ -# commons-logging setup -org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory - -# define log4j root loggers -log4j.rootLogger=debug, stdout - -# configure the stdout appender -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n diff --git a/id.server/data/test/conf/transforms/TransformsInfosHTML.xml b/id.server/data/test/conf/transforms/TransformsInfosHTML.xml deleted file mode 100644 index e003297f4..000000000 --- a/id.server/data/test/conf/transforms/TransformsInfosHTML.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - - - - - - - - - - - - - - - - -
    - Name: - - -
    - Zeit: - - -
    - Applikation: - - -
    - Geschäftsbereich: - - -
    - Anmeldeserver: - - -
    - - -
    -
    -
    - -
    - - text/html - -
    diff --git a/id.server/data/test/ixsil/init/properties/algorithms.properties b/id.server/data/test/ixsil/init/properties/algorithms.properties deleted file mode 100644 index 35a41cfdd..000000000 --- a/id.server/data/test/ixsil/init/properties/algorithms.properties +++ /dev/null @@ -1,94 +0,0 @@ -# IXSIL algorithm properties -# -# This file contains the properties which IXSIL uses to maintain the available algorithms. - - - -#---------------------------------------------------------------------------------------------------------- -# Canonicalization algorithms -# -# The following properties (starting with "Canonicalization.") are associations between canonicalization -# algorithm URIs and their corresponding implementation classes. -# -# For instance, if you would like to specify the implementation class for the canonicalization algorithm -# with the identifying URI "http://www.w3.org/TR/2001/REC-xml-c14n-20010315", the name of the algorithm -# property is "Canonicalization.http://www.w3.org/TR/2001/REC-xml-c14n-20010315", i.e. the identifying URI, -# prepended by the canonicalization algorithm property identifier ("Canonicalization."). The value of the -# property is the fully qualified class name of the implementation for this algorithm, for instance the -# standard impl. shipped with IXSIL, "iaik.ixsil.algorithms.CanonicalizationAlgorithmImplCanonicalXML". -# -# PLEASE NOTE: The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -Canonicalization.http\://www.w3.org/TR/2001/REC-xml-c14n-20010315 = iaik.ixsil.algorithms.CanonicalizationAlgorithmImplCanonicalXML -Canonicalization.http\://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments = iaik.ixsil.algorithms.CanonicalizationAlgorithmImplCanonicalXMLWithComments -Canonicalization.http\://www.w3.org/2001/10/xml-exc-c14n# = iaik.ixsil.algorithms.CanonicalizationAlgorithmImplExclusiveCanonicalXML -Canonicalization.http\://www.w3.org/2001/10/xml-exc-c14n#WithComments = iaik.ixsil.algorithms.CanonicalizationAlgorithmImplExclusiveCanonicalXMLWithComments - -#---------------------------------------------------------------------------------------------------------- -# Signature algorithms -# -# The following properties (starting with "Signature.") are associations between signature algorithm URIs and -# their corresponding implementation classes. -# -# For instance, if you would like to specify the implementation class for the signature algorithm -# with the identifying URI "http://www.w3.org/2000/09/xmldsig#rsa-sha1", the name of the algorithm -# property is "Signature.http://www.w3.org/2000/09/xmldsig#rsa-sha1", i.e. the identifying URI, -# prepended by the signature algorithm property identifier ("Signature."). The value of the -# property is the fully qualified class name of the implementation for this algorithm, for instance the -# standard implementation shipped with IXSIL, "iaik.ixsil.algorithms.SignatureAlgorithmImplRSA". -# -# PLEASE NOTE: The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -Signature.http\://www.w3.org/2000/09/xmldsig#rsa-sha1 = iaik.ixsil.algorithms.SignatureAlgorithmImplRSA -Signature.http\://www.w3.org/2000/09/xmldsig#dsa-sha1 = iaik.ixsil.algorithms.SignatureAlgorithmImplDSA -Signature.http\://www.w3.org/2000/09/xmldsig#hmac-sha1 = iaik.ixsil.algorithms.SignatureAlgorithmImplHMAC - - - -#---------------------------------------------------------------------------------------------------------- -# Digest algorithms -# -# The following properties (starting with "Digest.") are associations between digest algorithm URIs and -# their corresponding implementation classes. -# -# For instance, if you would like to specify the implementation class for the digest algorithm -# with the identifying URI "http://www.w3.org/2000/09/xmldsig#sha1", the name of the algorithm -# property is "Digest.http://www.w3.org/2000/09/xmldsig#sha1", i.e. the identifying URI, -# prepended by the digest algorithm property identifier ("Digest."). The value of the -# property is the fully qualified class name of the implementation for this algorithm, for instance the -# standard implementation shipped with IXSIL, "iaik.ixsil.algorithms.DigestAlgorithmImplSHA1". -# -# PLEASE NOTE: The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -Digest.http\://www.w3.org/2000/09/xmldsig#sha1 = iaik.ixsil.algorithms.DigestAlgorithmImplSHA1 - - - -#---------------------------------------------------------------------------------------------------------- -# Transform algorithms -# -# The following properties (starting with "Transform.") are associations between digest algorithm URIs and -# their corresponding implementation classes. -# -# For instance, if you would like to specify the implementation class for the transform algorithm -# with the identifying URI "http://www.w3.org/2000/09/xmldsig#base64", the name of the algorithm -# property is "Transform.http://www.w3.org/2000/09/xmldsig#base64", i.e. the identifying URI, -# prepended by the transform algorithm property identifier ("Transform."). The value of the -# property is the fully qualified class name of the implementation for this algorithm, for instance the -# standard implementation shipped with IXSIL, "iaik.ixsil.algorithms.TransformImplBase64Decode". -# -# PLEASE NOTE: The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -Transform.http\://www.w3.org/TR/2001/REC-xml-c14n-20010315 = iaik.ixsil.algorithms.TransformImplCanonicalXML -Transform.http\://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments = iaik.ixsil.algorithms.TransformImplCanonicalXMLWithComments -Transform.http\://www.w3.org/2001/10/xml-exc-c14n# = iaik.ixsil.algorithms.TransformImplExclusiveCanonicalXML -Transform.http\://www.w3.org/2001/10/xml-exc-c14n#WithComments = iaik.ixsil.algorithms.TransformImplExclusiveCanonicalXMLWithComments -Transform.http\://www.w3.org/2000/09/xmldsig#base64 = iaik.ixsil.algorithms.TransformImplBase64Decode -Transform.http\://www.w3.org/TR/1999/REC-xpath-19991116 = iaik.ixsil.algorithms.TransformImplXPath -Transform.http\://www.w3.org/2000/09/xmldsig#enveloped-signature = iaik.ixsil.algorithms.TransformImplEnvelopedSignature -Transform.http\://www.w3.org/TR/1999/REC-xslt-19991116 = iaik.ixsil.algorithms.TransformImplXSLT -Transform.http\://www.w3.org/2002/06/xmldsig-filter2 = iaik.ixsil.algorithms.TransformImplXPath2 diff --git a/id.server/data/test/ixsil/init/properties/init.properties b/id.server/data/test/ixsil/init/properties/init.properties deleted file mode 100644 index a679a2635..000000000 --- a/id.server/data/test/ixsil/init/properties/init.properties +++ /dev/null @@ -1,214 +0,0 @@ -# IXSIL init properties -# -# This file contains the basic initialization properties for IXSIL. - -#---------------------------------------------------------------------------------------------------------- -# Properties for localizing exeption messages - -# This property specifies the ISO language code, which is used to select the appropriate exception message -# file. Please see the documentation for Java class "java.util.RessourceBundle" for further information. - -IXSILException.ISOLanguageCode = "en" - - - -# This property specifies the ISO country code, which is used to select the appropriate exception message -# file. Please see the documentation for Java class "java.util.RessourceBundle" for further information. - -IXSILException.ISOCountryCode = "US" - - -#---------------------------------------------------------------------------------------------------------- -# Other property files - -# This property contains a URI specifying the (virtual) location of the IXSIL init properties file (i. e. -# this file). The URI MUST be absolute. -# -# The use of this property is optional. It is only needed by IXSIL, if the library will be initialized using -# the method IXSILInit.init(Properties, Properties, Properties). In this case it is used by IXSIL as the -# base URI for absolutizing other property URIs, such as "DOMUtils.SignatureSchema" (see below). -# -# PLEASE NOTE: Contrary to URIs under e.g. http or ftp scheme, URIs under file and jar scheme do not have an -# authority component. This means that the part following the scheme identifier starts with "/" -# (single slash character), and not with "//" (two slash characters). -# -# Example 1 (absolute URI under file scheme): "file:/c:/path1/path2/init.properties" -# Example 2 (absolute URI under jar scheme): "jar:/file:/c:/path1/path2/archive.jar!/init.properties" -# Example 3 (absolute URI under http scheme): "http://somewhere.org/path1/path2/init.properties" - -location.initProperties = file:data/test/ixsil/init/properties/init.properties - - - -# This property contains a URI specifying the location of the IXSIL algorithm properties file. The URI can -# be absolute or relative. If a relative URI is used, it will be absolutized using this init property file's -# URI as the base. -# -# PLEASE NOTE: Contrary to URIs under e.g. http or ftp scheme, URIs under file and jar scheme do not have an -# authority component. This means that the part following the scheme identifier starts with "/" -# (single slash character), and not with "//" (two slash characters). -# -# Example 1 (absolute URI under file scheme): "file:/c:/path1/path2/algorithms.properties" -# Example 2 (absolute URI under jar scheme): "jar:/file:/c:/path1/path2/archive.jar!/algorithms.properties" -# Example 3 (absolute URI under http scheme): "http://somewhere.org/path1/path2/algorithms.properties" -# Example 4 (relative URI): "../otherpath/algorithms.properties" -# Example 5 (relative URI): "algorithms.properties" - -location.algorithmsProperties = file:data/test/ixsil/init/properties/algorithms.properties - - - -# This property contains a URI specifying the location of the IXSIL keyManager properties file. The URI can -# be absolute or relative. If a relative URI is used, it will be absolutized using this init property file's -# URI as the base. -# -# PLEASE NOTE: Contrary to URIs under e.g. http or ftp scheme, URIs under file and jar scheme do not have an -# authority component. This means that the part following the scheme identifier starts with "/" -# (single slash character), and not with "//" (two slash characters). -# -# Example 1 (absolute URI under file scheme): "file:/c:/path1/path2/keyManager.properties" -# Example 2 (absolute URI under jar scheme): "jar:/file:/c:/path1/path2/archive.jar!/keyManager.properties" -# Example 3 (absolute URI under http scheme): "http://somewhere.org/path1/path2/keyManager.properties" -# Example 4 (relative URI): "../otherpath/keyManager.properties" -# Example 5 (relative URI): "keyManager.properties" - -location.keyManagerProperties = file:data/test/ixsil/init/properties/keyManager.properties - - - -#---------------------------------------------------------------------------------------------------------- -# AlgorithmFactory properties - - - -This property specifies the extension class for the abstract class -iaik.ixsil.algorithms.AlgorithmFactory, which is instantiated at invokation of method -iaik.ixsil.algorithms.AlgorithmFactory.createFactory(). -Please specifiy the fully qualified java class name for the class to be instantiated. - -AlgorithmFactory.ImplementingClass = iaik.ixsil.algorithms.AlgorithmFactoryDefaultImpl - - - -#---------------------------------------------------------------------------------------------------------- -# VerifierKeyManager properties - -# This property specifies the implementation class for the interface -# iaik.ixsil.keyinfo.VerifierKeyManager, which is instantiated by IXSIL in the verification use case, if the -# signature algorithm does not know about the verification key, and if the XML signature bears a KeyInfo -# element which contains hints that can be used to deduce the verification key. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -VerifierKeyManager.ImplementingClass = iaik.ixsil.keyinfo.KeyManagerImpl - - - -#---------------------------------------------------------------------------------------------------------- -# XML namespace prefix properties - -# This property specifies the namespace prefix used for XML elements from the XML-Signature namespace. -# -# PLEASE NOTE: The prefix must not be empty. - -namespacePrefix.XMLSignature = dsig: - - - -# This property specifies the namespace prefix used for XML elements from the XML Schema instance namespace. -# -# PLEASE NOTE: The prefix must not be empty. - -namespacePrefix.XMLSchemaInstance = xsi: - - -#---------------------------------------------------------------------------------------------------------- -# DOMUtils properties - - - -# This property specifies the implementation class IXSIL should use for the interface -# iaik.ixsil.util.DOMUtilsInterface, which contains a couple of DOM utility methods, which IXSIL relies -# on. If you would like to employ a parser different from Apache Xerces, you must implement the -# DOMUtilsInterface and specify your implementation class using this property. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -DOMUtils.ImplementingClass = iaik.ixsil.util.DOMUtilsImpl - - - -# This property is used by the standard implementation class for the interface -# iaik.ixsil.util.DOMUtilsInterface, namely iaik.ixsil.util.DOMUtilsImpl, which ships with IXSIL. -# It specifies, wheter WARNINGS generated by the Apache Xerces parser should lead to a parser exception -# or not. - -DOMUtils.ErrorHandler.reportWarnings = true - - - -# This property is used by the standard implementation class for the interface -# iaik.ixsil.util.DOMUtilsInterface, namely iaik.ixsil.util.DOMUtilsImpl, which ships with IXSIL. -# It specifies, wheter ERRORS generated by the Apache Xerces parser should lead to a parser exception -# or not. - -DOMUtils.ErrorHandler.reportErrors = true - - - -# This property is used by the standard implementation class for the interface -# iaik.ixsil.util.DOMUtilsInterface, namely iaik.ixsil.util.DOMUtilsImpl, which ships with IXSIL. -# It specifies, wheter FATAL ERRORS generated by the Apache Xerces parser should lead to a parser -# exception or not. - -DOMUtils.ErrorHandler.reportFatalErrors = true - - - -# This property is used by the standard implementation class for the interface -# iaik.ixsil.util.DOMUtilsInterface, namely iaik.ixsil.util.DOMUtilsImpl, which ships with IXSIL. -# It specifies an URI for the location of the XML schema for an XML signature, which is used as the -# reference grammar in method iaik.ixsil.util.DOMUtilsImpl.schemaValidateSignatureElement. -# The URI can be absolute or relative. If the URI is relative, it will be absolutized using the URI for -# this init property file as the base. - -DOMUtils.SignatureSchema = ../schemas/Signature.xsd - - - -#---------------------------------------------------------------------------------------------------------- -# XPathUtils properties - -# This property specifies the implementation class IXSIL should use for the interface -# iaik.ixsil.util.XPathUtilsInterface, which contains a couple of XPath utility methods, which IXSIL relies -# on. If you would like to employ a XPath engine different from Apache Xalan, you must implement the -# XPathUtilsInterface and specify your implementation class using this property. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -XPathUtils.ImplementingClass = iaik.ixsil.util.XPathUtilsImpl - - - -#---------------------------------------------------------------------------------------------------------- -# CanonicalXMLSerializer properties - - - -# This property specifies the implementation class IXSIL should use for the interface -# iaik.ixsil.util.CanonicalXMLSerialierInterface. IXSIL relies on this interface to serialize XML according -# to "Canonical XML" (see http://www.w3.org/TR/2001/REC-xml-c14n-20010315). If you would like to employ an -# implemenation different from the standard implementation shipped with IXSIL, you must implement the -# CanonicalXMLSerialierInterface and specify your implementation class using this property. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -CanonicalXMLSerializer.CanonicalXMLImplementingClass = iaik.ixsil.util.CanonicalXMLSerializerImpl - - - -# This property specifies the implementation class IXSIL should use for the interface -# iaik.ixsil.util.ExclusiveCanonicalXMLSerialierInterface. IXSIL relies on this interface to serialize XML -# according to "Exclusive XML Canonicalization" (see http://www.w3.org/TR/2001/WD-xml-exc-c14n-20011120). -# If you would like to employ an implemenation different from the standard implementation shipped with -# IXSIL, you must implement the ExclusiveCanonicalXMLSerialierInterface and specify your implementation -# class using this property. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -CanonicalXMLSerializer.ExclusiveCanonicalXMLImplementingClass = iaik.ixsil.util.CanonicalXMLSerializerImpl diff --git a/id.server/data/test/ixsil/init/properties/keyManager.properties b/id.server/data/test/ixsil/init/properties/keyManager.properties deleted file mode 100644 index 24ece437a..000000000 --- a/id.server/data/test/ixsil/init/properties/keyManager.properties +++ /dev/null @@ -1,74 +0,0 @@ -# IXSIL algorithm properties -# -# This file contains the properties which IXSIL uses in context of key management. - - - -#---------------------------------------------------------------------------------------------------------- -# -# The following properties are associations between the fully qualified XMLname of a "KeyInfo" subelement, -# as used in an XML signature to specify hints how the verifier can obtain the verification key, and that -# implementation class of the interface iaik.ixsil.keyinfo.KeyProviderInterface, which will manage -# subelements of that type. -# -# These properties are only of interest, if you are using the standard key manager shipped with IXISL -# (which is class iaik.ixsil.keyInfo.KeyManagerImpl). -# -# For instance, if you would like to specify the key provider implementation for "KeyValue" subelements, -# the property name is the fully qualified XML name for the "KeyValue" element, namely -# "http://www.w3.org/2000/09/xmldsig#:KeyValue". The value of the property is the fully qualified class -# name of the key provider implementation class, for instance the standard implementation which ships with -# IXSIL: "iaik.ixsil.keyinfo.KeyProviderImplKeyValue". -# -# PLEASE NOTE (I): A fully qualified name for an XML element consists of an URI indicating the namespace the -# element belongs to (e.g. "http://www.w3.org/2000/09/xmldsig#") and the local name of the -# element (e.g. "KeyValue"). Both components are seperated by a colon. -# -# PLEASE NOTE (II): The colon character (":") must be escaped by a leading backslash, if it appears in the -# property name. - -http\://www.w3.org/2000/09/xmldsig#\:KeyValue = iaik.ixsil.keyinfo.KeyProviderImplKeyValue -http\://www.w3.org/2000/09/xmldsig#\:X509Data = iaik.ixsil.keyinfo.x509.KeyProviderImplX509Data -http\://www.w3.org/2000/09/xmldsig#\:RetrievalMethod = iaik.ixsil.keyinfo.retrieval.KeyProviderImplRetrievalMethod - - - -#---------------------------------------------------------------------------------------------------------- -# -# The following properties specify the order in which the different types of "KeyInfo" subelements are used -# by the key manager to deduce the verification key. -# -# These properties are only of interest, if you are using the standard key manager shipped with IXISL -# (which is class iaik.ixsil.keyInfo.KeyManagerImpl). -# -# The properties are associations between a two digit number and the fully qualified XML name of a "KeyInfo" -# subelement. The lower the number, the more important is the associated "KeyInfo" sublement. Consider an -# example configuration: -# -# Subelement.01 = http://www.w3.org/2000/09/xmldsig#:KeyValue -# Subelement.02 = http://www.w3.org/2000/09/xmldsig#:X509Data -# -# In this configuration, the key manager first tries to use "KeyValue" subelements to deduce the -# verification key. Only if this does not succeed, the key manager uses "X509Data" subelements as a second -# chance. Of course you can specify more than only two different subelement types. -# -# PLEASE NOTE: A fully qualified name for an XML element consists of an URI indicating the namespace the -# element belongs to (e.g. "http://www.w3.org/2000/09/xmldsig#") and the local name of the -# element (e.g. "KeyValue"). Both components are seperated by a colon. - -Subelement.01 = http://www.w3.org/2000/09/xmldsig#:KeyValue -Subelement.02 = http://www.w3.org/2000/09/xmldsig#:X509Data -Subelement.03 = http://www.w3.org/2000/09/xmldsig#:RetrievalMethod - - - -#---------------------------------------------------------------------------------------------------------- -# -# The following property is used by standard implementation of the "X509Data" key provider, which ships -# with IXSIL, namely "KeyProviderImplX509Data". It specifies the implementation class for the interface -# iaik.ixsil.keyinfo.x509.X509TrustManagerInterface, which is to be instantiated as the backbone trust -# manager for this key provider. -# Please specifiy the fully qualified java class name for the class to be instantiated. - -KeyProviderImplX509Data.X509TrustManagerDefaultImplementingClass = iaik.ixsil.keyinfo.x509.X509TrustManagerDummyImpl - diff --git a/id.server/data/test/ixsil/init/schemas/Signature.xsd b/id.server/data/test/ixsil/init/schemas/Signature.xsd deleted file mode 100644 index 7867883f9..000000000 --- a/id.server/data/test/ixsil/init/schemas/Signature.xsd +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - ]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/test/ixsil/init/schemas/XMLSchema.dtd b/id.server/data/test/ixsil/init/schemas/XMLSchema.dtd deleted file mode 100644 index 678cfc8dd..000000000 --- a/id.server/data/test/ixsil/init/schemas/XMLSchema.dtd +++ /dev/null @@ -1,402 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%xs-datatypes; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/test/ixsil/init/schemas/datatypes.dtd b/id.server/data/test/ixsil/init/schemas/datatypes.dtd deleted file mode 100644 index 8e48553be..000000000 --- a/id.server/data/test/ixsil/init/schemas/datatypes.dtd +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/data/test/xmldata/ErrorResponse.xml b/id.server/data/test/xmldata/ErrorResponse.xml deleted file mode 100644 index db70c2560..000000000 --- a/id.server/data/test/xmldata/ErrorResponse.xml +++ /dev/null @@ -1,4 +0,0 @@ - - 29002 - Ein unerwarteter Fehler ist aufgetreten. Die Verarbeitung wurde abgebrochen. Fehler:null - \ No newline at end of file diff --git a/id.server/data/test/xmldata/GetIdentityLinkForm.html b/id.server/data/test/xmldata/GetIdentityLinkForm.html deleted file mode 100644 index b7828e598..000000000 --- a/id.server/data/test/xmldata/GetIdentityLinkForm.html +++ /dev/null @@ -1,20 +0,0 @@ - - - -Auslesen der Personenbindung - - - -
    - - - -
    - - \ No newline at end of file diff --git a/id.server/data/test/xmldata/standard/AuthenticationDataAssertion.xml b/id.server/data/test/xmldata/standard/AuthenticationDataAssertion.xml deleted file mode 100644 index 2cfa65c96..000000000 --- a/id.server/data/test/xmldata/standard/AuthenticationDataAssertion.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - MTk2OC0xMC0yMmdi - - http://reference.e-government.gv.at/namespace/moa/20020822#cm - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn pIpdAwR9sw5xnIvTySc= - AQAB - - - - - - - - - - - - not(ancestor-or-self::pr:Identification) - - - - - s7TfoZrYo36OMdlxGxuIfAw/wr8= - - - - - ancestor-or-self::dsig:Manifest - - - - dO+RSn4xLHT3cuq8uopFtZyUBqo= - - - MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz 5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP 3mZkRYWJDxxsVzI7E+Y= - - - MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 +UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 Btxup/kgjGMnnS7C - MIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia 2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv 7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ik - MIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB /wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 kFfp23o/juVtJNw= - - - - - - - - - - BqzfCB7dNg4G3u4YaxpD1tALdKI= - - - - - - - - - - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - false - - - diff --git a/id.server/data/test/xmldata/standard/CreateXMLSignatureRequest.xml b/id.server/data/test/xmldata/standard/CreateXMLSignatureRequest.xml deleted file mode 100644 index 4a5f02dcd..000000000 --- a/id.server/data/test/xmldata/standard/CreateXMLSignatureRequest.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - SecureSignatureKeypair - - - - - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -

    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    -
    -
    - - text/html - -
    - - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - http://localhost:9080/login.html - - - - - /saml:Assertion - -
    \ No newline at end of file diff --git a/id.server/data/test/xmldata/standard/CreateXMLSignatureResponse.xml b/id.server/data/test/xmldata/standard/CreateXMLSignatureResponse.xml deleted file mode 100644 index 5a4759b7a..000000000 --- a/id.server/data/test/xmldata/standard/CreateXMLSignatureResponse.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n -FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 -YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    \ No newline at end of file diff --git a/id.server/data/test/xmldata/standard/VerifyXMLSignaterResponse.xml b/id.server/data/test/xmldata/standard/VerifyXMLSignaterResponse.xml deleted file mode 100644 index 9b8fa743f..000000000 --- a/id.server/data/test/xmldata/standard/VerifyXMLSignaterResponse.xml +++ /dev/null @@ -1,2 +0,0 @@ - -CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium für öffentliche Leistung und Sport,C=AT0CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=ATMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB /wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 kFfp23o/juVtJNw=BMOLS-IKTPFZlcmlmeVhNTFNpZ25hdHVyZVJlcXVlc3QgeG1sbnM9Imh0dHA6Ly9yZWZlcmVu Y2UuZS1nb3Zlcm5tZW50Lmd2LmF0L25hbWVzcGFjZS9tb2EvMjAwMjA4MjIjIiB4 bWxuczpkc2lnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj4g IDxWZXJpZnlTaWduYXR1cmVJbmZvPiAgICA8VmVyaWZ5U2lnbmF0dXJlRW52aXJv bm1lbnQ+ICAgICAgPFhNTENvbnRlbnQgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHNh bWw6QXNzZXJ0aW9uIHhtbG5zOnByPSJodHRwOi8vcmVmZXJlbmNlLmUtZ292ZXJu bWVudC5ndi5hdC9uYW1lc3BhY2UvcGVyc29uZGF0YS8yMDAyMDIyOCMiIHhtbG5z OnNhbWw9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjEuMDphc3NlcnRpb24iIHht bG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFu Y2UiIEFzc2VydGlvbklEPSJ6bXIuYm1pLmd2LmF0LUFzc2VydGlvbklELTIwMDMt MDItMTJUMjA6Mjg6MzQuNDc0IiBJc3N1ZUluc3RhbnQ9IjIwMDMtMDItMTJUMjA6 Mjg6MzQuNDc0IiBJc3N1ZXI9Imh0dHA6Ly96bXIuYm1pLmd2LmF0L3ptcmEvbmFt ZXMjSXNzdWVyIiBNYWpvclZlcnNpb249IjEiIE1pbm9yVmVyc2lvbj0iMCI+CiAg PHNhbWw6QXR0cmlidXRlU3RhdGVtZW50PgogICAgPHNhbWw6U3ViamVjdD4KICAg ICAgPHNhbWw6U3ViamVjdENvbmZpcm1hdGlvbj4KICAgICAgICA8c2FtbDpDb25m aXJtYXRpb25NZXRob2Q+dXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4wOmNtOnNl bmRlci12b3VjaGVzPC9zYW1sOkNvbmZpcm1hdGlvbk1ldGhvZD4KICAgICAgICA8 c2FtbDpTdWJqZWN0Q29uZmlybWF0aW9uRGF0YT4KICAgICAgICAgIDxwcjpQZXJz b24geHNpOnR5cGU9InByOlBoeXNpY2FsUGVyc29uVHlwZSI+CiAgICAgICAgICAg IAogICAgICAgICAgICA8cHI6TmFtZT4KICAgICAgICAgICAgICA8cHI6R2l2ZW5O YW1lPkhlcm1hbm48L3ByOkdpdmVuTmFtZT4KICAgICAgICAgICAgICA8cHI6RmFt aWx5TmFtZSBwcmltYXJ5PSJ1bmRlZmluZWQiPk11c3RlcjwvcHI6RmFtaWx5TmFt ZT4KICAgICAgICAgICAgPC9wcjpOYW1lPgogICAgICAgICAgICA8cHI6RGF0ZU9m QmlydGg+MTk2OC0xMC0yMjwvcHI6RGF0ZU9mQmlydGg+CiAgICAgICAgICA8L3By OlBlcnNvbj4KICAgICAgICA8L3NhbWw6U3ViamVjdENvbmZpcm1hdGlvbkRhdGE+ CiAgICAgIDwvc2FtbDpTdWJqZWN0Q29uZmlybWF0aW9uPgogICAgPC9zYW1sOlN1 YmplY3Q+CiAgICA8c2FtbDpBdHRyaWJ1dGUgQXR0cmlidXRlTmFtZT0iQ2l0aXpl blB1YmxpY0tleSIgQXR0cmlidXRlTmFtZXNwYWNlPSJodHRwOi8vd3d3LmJ1ZXJn ZXJrYXJ0ZS5hdC9uYW1lc3BhY2VzL3BlcnNvbmVuYmluZHVuZy8yMDAyMDUwNiMi PgogICAgICA8c2FtbDpBdHRyaWJ1dGVWYWx1ZT4KICAgICAgICA8ZHNpZzpSU0FL ZXlWYWx1ZT4KICAgICAgICAgIDxkc2lnOk1vZHVsdXM+MHYxRnRmN1dYZ29leHgw Sm8vR3JsRXhIT0huUUlFUTVGRlNqcHRMUmQ1Qk4xbVpZUmcyUzlLZk9NYkhTQ3Np UG04QXdqQUV3RTVFTSBBNlAxOFovWXlUSXVQN2ZOR3pja2JCNVBZSWdOTUhMOC9U WUpoSEE4Q2phbXNCckVmWURYaXZFOGlBdkFMZzVJOVJNTFpBRG16TDdhIGYyZGFZ WXVPOGR5Y1F3M3hnNlU9PC9kc2lnOk1vZHVsdXM+CiAgICAgICAgICA8ZHNpZzpF eHBvbmVudD5BUUFCPC9kc2lnOkV4cG9uZW50PgogICAgICAgIDwvZHNpZzpSU0FL ZXlWYWx1ZT4KICAgICAgPC9zYW1sOkF0dHJpYnV0ZVZhbHVlPgogICAgPC9zYW1s OkF0dHJpYnV0ZT4KICAgIDxzYW1sOkF0dHJpYnV0ZSBBdHRyaWJ1dGVOYW1lPSJD aXRpemVuUHVibGljS2V5IiBBdHRyaWJ1dGVOYW1lc3BhY2U9Imh0dHA6Ly93d3cu YnVlcmdlcmthcnRlLmF0L25hbWVzcGFjZXMvcGVyc29uZW5iaW5kdW5nLzIwMDIw NTA2IyI+CiAgICAgIDxzYW1sOkF0dHJpYnV0ZVZhbHVlPgogICAgICAgIDxkc2ln OlJTQUtleVZhbHVlPgogICAgICAgICAgPGRzaWc6TW9kdWx1cz5pMnFhNTZYNGZw WWVYcUZMWEFjUWxqR1UzK0RXblZnTnJBeEk5Z24yYk1lRld0TFhFMlNGYTZxdmw5 RXltVWwwbm9CbEZuMHE5RFdwIEFzeWVMblJoekNBWEplU3hpd3NVRWxvT3ZjUUNW MERmVzJVVnEwWTliVmxKOEtpZkoyQVMrNUJ4WjIxbWtjL1ZZeDVRejZFWWpQcm4g cElwZEF3UjlzdzV4bkl2VHlTYz08L2RzaWc6TW9kdWx1cz4KICAgICAgICAgIDxk c2lnOkV4cG9uZW50PkFRQUI8L2RzaWc6RXhwb25lbnQ+CiAgICAgICAgPC9kc2ln OlJTQUtleVZhbHVlPgogICAgICA8L3NhbWw6QXR0cmlidXRlVmFsdWU+CiAgICA8 L3NhbWw6QXR0cmlidXRlPjwvc2FtbDpBdHRyaWJ1dGVTdGF0ZW1lbnQ+Cjwvc2Ft bDpBc3NlcnRpb24+PC9YTUxDb250ZW50PiAgICA8L1ZlcmlmeVNpZ25hdHVyZUVu dmlyb25tZW50PiAgICA8VmVyaWZ5U2lnbmF0dXJlTG9jYXRpb24+Ly9kc2lnOlNp Z25hdHVyZTwvVmVyaWZ5U2lnbmF0dXJlTG9jYXRpb24+ICA8L1ZlcmlmeVNpZ25h dHVyZUluZm8+ICA8UmV0dXJuSGFzaElucHV0RGF0YT48L1JldHVybkhhc2hJbnB1 dERhdGE+ICA8VHJ1c3RQcm9maWxlSUQ+VHJ1c3RQcm9maWxlMTwvVHJ1c3RQcm9m aWxlSUQ+PC9WZXJpZnlYTUxTaWduYXR1cmVSZXF1ZXN0Pg==PGRzaWc6TWFuaWZlc3QgeG1sbnM9Imh0dHA6Ly9yZWZlcmVuY2UuZS1nb3Zlcm5t ZW50Lmd2LmF0L25hbWVzcGFjZS9tb2EvMjAwMjA4MjIjIiB4bWxuczpkc2lnPSJo dHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIiB4bWxuczpwcj0iaHR0 cDovL3JlZmVyZW5jZS5lLWdvdmVybm1lbnQuZ3YuYXQvbmFtZXNwYWNlL3BlcnNv bmRhdGEvMjAwMjAyMjgjIiB4bWxuczpzYW1sPSJ1cm46b2FzaXM6bmFtZXM6dGM6 U0FNTDoxLjA6YXNzZXJ0aW9uIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3Jn LzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWw6c3BhY2U9InByZXNlcnZlIj48 ZHNpZzpSZWZlcmVuY2UgVVJJPSIiPjxkc2lnOlRyYW5zZm9ybXM+PGRzaWc6VHJh bnNmb3JtIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxk c2lnI2VudmVsb3BlZC1zaWduYXR1cmUiPjwvZHNpZzpUcmFuc2Zvcm0+PC9kc2ln OlRyYW5zZm9ybXM+PGRzaWc6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDov L3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI3NoYTEiPjwvZHNpZzpEaWdlc3RN ZXRob2Q+PGRzaWc6RGlnZXN0VmFsdWU+QnF6ZkNCN2ROZzRHM3U0WWF4cEQxdEFM ZEtJPTwvZHNpZzpEaWdlc3RWYWx1ZT48L2RzaWc6UmVmZXJlbmNlPjwvZHNpZzpN YW5pZmVzdD4=1111 \ No newline at end of file diff --git a/id.server/data/test/xmldata/testperson1/InfoboxReadResponse.xml b/id.server/data/test/xmldata/testperson1/InfoboxReadResponse.xml deleted file mode 100644 index a35b7f209..000000000 --- a/id.server/data/test/xmldata/testperson1/InfoboxReadResponse.xml +++ /dev/null @@ -1,97 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= \ No newline at end of file diff --git a/id.server/doc/Architektur ID.vsd b/id.server/doc/Architektur ID.vsd deleted file mode 100644 index d4678007a..000000000 Binary files a/id.server/doc/Architektur ID.vsd and /dev/null differ diff --git a/id.server/doc/CIO X509ext-20030218.pdf b/id.server/doc/CIO X509ext-20030218.pdf deleted file mode 100644 index a0fd67e3b..000000000 Binary files a/id.server/doc/CIO X509ext-20030218.pdf and /dev/null differ diff --git a/id.server/doc/MOA ID 1.x.wsdl b/id.server/doc/MOA ID 1.x.wsdl deleted file mode 100644 index 06daae8f1..000000000 --- a/id.server/doc/MOA ID 1.x.wsdl +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/doc/MOA-ID Feinspezifikation.doc b/id.server/doc/MOA-ID Feinspezifikation.doc deleted file mode 100644 index fa0009aa6..000000000 Binary files a/id.server/doc/MOA-ID Feinspezifikation.doc and /dev/null differ diff --git a/id.server/doc/MOA-ID Testfalldokumentation.doc b/id.server/doc/MOA-ID Testfalldokumentation.doc deleted file mode 100644 index 1b3241ca7..000000000 Binary files a/id.server/doc/MOA-ID Testfalldokumentation.doc and /dev/null differ diff --git a/id.server/doc/MOA-ID-1.1-20030630.pdf b/id.server/doc/MOA-ID-1.1-20030630.pdf deleted file mode 100644 index 8e5afb53f..000000000 Binary files a/id.server/doc/MOA-ID-1.1-20030630.pdf and /dev/null differ diff --git a/id.server/doc/MOA-ID-Configuration-1.1.xsd b/id.server/doc/MOA-ID-Configuration-1.1.xsd deleted file mode 100644 index 50c77a401..000000000 --- a/id.server/doc/MOA-ID-Configuration-1.1.xsd +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - enthält Parameter der Authentisierungs-Komponente - - - - - enthält Konfigurationsparameter der Proxy-Komponente - - - - - - enthält Parameter für die Kommunikation zw. Proxykomponente und Authenttisierungskomponente - - - - - - enthält Parameter für die SOAP-Verbindung von der Proxy-Komponente zur Auth-Komponente (vgl. AuthComponent/MOA-SP/ConnectionParameter) - - - - - - - - - - - enthält Parameter für die OA - - - - - - - - - - - - spezifiziert den Algorithmus ("pkix" oder "chaining") für die Zertifikatspfadvalidierung - - - - - - ein vom SystemDefaultMode abweichender ChiningMode kann für jeden TrustAnchor gesetzt werden - - - - - - - - - - - - - - - - verweist auf ein Verzeichnis, das vertrauenswürdige CA (Zwischen-CA, Wurzel-CA) Zertifikate enthält. - - - - - - - - - - - - - - - - - - - - - - - - enthält Parameter für die Kommunikation mit dem Security-Layer - - - - - - das Attribut filename verweist auf eine Datei mit globalem Element TransformsInfo vom Typ sl10:TransformsInfo; diese TransformsInfo werden in den CreateXMLSignatureRequest für die Signatur des AUTH-Blocks inkludiert - - - - - - - - - - - enthält Konfiguratiosnparameter für die Kommunikation mit dem MOA SP Modul - - - - - - enthält Parameter für die SOAP-Verbindung von der AUTH-Komponente zu MOA-SP; das Attribut URL enthält den Endpunkt des Server; wird das Schema "https" verwendet müssen die Kind-Elemente angegeben werden; wird das Schema "http" verwendet dürfen keine Kind-Elemente angegeben werden; wird das Element nicht verwendet dann wird MOA-SP über das API aufgerufen - - - - - enthält Parameter für die Überprüfung der Personenbindung - - - - - - - - - - enthält Parameter für die Überprüfung des AUTH-Blocks - - - - - - - - - - - - - - enthält Informationen über akzeptierte Signers des IdentityLinks - - - - - - akzeptierte Signer des IdentityLinks werden per X509SubjectName (Kodierung nach RFC 2253) identifiziert - - - - - - - - - - - - - enthält Parameter über die OA, die die Authentisierungs-Komponente betreffen - - - - - - - - - - enthält Parameter über die OA, die die Proxy-Komponente betreffen - - - - - - enthält Parameter über die OA, die die Proxy-Komponente betreffen - - - - - - - - - - - - - - - - URL zu einem Verzeichnis, das akzeptierte Server-Zertifikate der TLS-Verbindung enthält (keine CA-Zertifikate) - - - - - - - - - - - - URL zu einem KeyStore, der den privaten Schlüssel, der für die TLS-Client-Authentisierung verwendetwird, enthält - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/doc/api-doc/allclasses-frame.html b/id.server/doc/api-doc/allclasses-frame.html deleted file mode 100644 index 114c4b426..000000000 --- a/id.server/doc/api-doc/allclasses-frame.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - -All Classes - - - - - -All Classes -
    - - - - - -
    AuthenticationData -
    -AuthenticationException -
    -AuthenticationServer -
    -ConnectionBuilder -
    -LoginParameterResolver -
    -OAConfiguration -
    -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/AuthenticationException.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/AuthenticationException.html deleted file mode 100644 index 313defcbc..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/AuthenticationException.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -MOA ID API: Class AuthenticationException - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.id -
    -Class AuthenticationException

    -
    -at.gv.egovernment.moa.id.AuthenticationException
    -
    -
    -
    -
    public class AuthenticationException
    - -

    -Exception thrown during handling of AuthenticationSession -

    -


    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    AuthenticationException(String messageId, - Object[] parameters) - -
    -          Constructor for AuthenticationException.
    -  - - - -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -AuthenticationException

    -
    -public AuthenticationException(String messageId,
    -                               Object[] parameters)
    -
    -
    Constructor for AuthenticationException.
    -
    Parameters:
    messageId -  
    -
    -
    - - - - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/auth/AuthenticationServer.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/auth/AuthenticationServer.html deleted file mode 100644 index 7aaad7c68..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/auth/AuthenticationServer.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -MOA ID API: Class AuthenticationServer - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.id.auth -
    -Class AuthenticationServer

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.id.auth.AuthenticationServer
    -
    -
    -
    -
    public class AuthenticationServer
    extends Object
    - -

    -API for MOA ID Authentication Service.
    - AuthenticationSession is stored in a session store and retrieved - by giving the session ID. -

    -


    - -

    - - - - - - - - - - -
    -Field Summary
    -  - - - - - - - - - - -
    -Constructor Summary
    AuthenticationServer() - -
    -          Constructor for AuthenticationServer.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - AuthenticationDatagetAuthenticationData(String samlArtifact) - -
    -          Retrieves AuthenticationData indexed by the SAML artifact. -
    -static AuthenticationServergetInstance() - -
    -          Returns the single instance of AuthenticationServer.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, -equals, -finalize, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
    -  -

    - - - - - - - - -
    -Field Detail
    - - - - - - - - -
    -Constructor Detail
    - -

    -AuthenticationServer

    -
    -public AuthenticationServer()
    -
    -
    Constructor for AuthenticationServer.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static AuthenticationServer getInstance()
    -
    -
    Returns the single instance of AuthenticationServer.
    -
    Returns:
    the single instance of AuthenticationServer
    -
    -
    -
    - -

    -getAuthenticationData

    -
    -public AuthenticationData getAuthenticationData(String samlArtifact)
    -                                         throws AuthenticationException
    -
    -
    Retrieves AuthenticationData indexed by the SAML artifact. - The AuthenticationData is deleted from the store upon end of this call.
    -
    Returns:
    AuthenticationData
    -
    -
    -
    - - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/auth/class-use/AuthenticationServer.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/auth/class-use/AuthenticationServer.html deleted file mode 100644 index ece0242d9..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/auth/class-use/AuthenticationServer.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -MOA ID API: Uses of Class at.gv.egovernment.moa.id.auth.AuthenticationServer - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.id.auth.AuthenticationServer

    -
    - - - - - -
    -Uses of AuthenticationServer in at.gv.egovernment.moa.id.auth
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.id.auth that return AuthenticationServer
    -static AuthenticationServerAuthenticationServer.getInstance() - -
    -          Returns the single instance of AuthenticationServer.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/class-use/AuthenticationException.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/class-use/AuthenticationException.html deleted file mode 100644 index 96ff7f4af..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/class-use/AuthenticationException.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - -MOA ID API: Uses of Class at.gv.egovernment.moa.id.AuthenticationException - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.id.AuthenticationException

    -
    - - - - - -
    -Uses of AuthenticationException in at.gv.egovernment.moa.id.auth
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.id.auth that throw AuthenticationException
    - StringAuthenticationServer.selectBKU(String authURL, - String target, - String oaURL, - String bkuSelectionTemplateURL, - String templateURL) - -
    -          Processes request to select a BKU. -
    - StringAuthenticationServer.startAuthentication(String authURL, - String target, - String oaURL, - String templateURL, - String bkuURL, - String sessionID) - -
    -          Processes the beginning of an authentication session. -
    - StringAuthenticationServer.verifyIdentityLink(String sessionID, - String xmlInfoboxReadResponse) - -
    -          Processes an <InfoboxReadResponse> sent by the - security layer implementation.
    - - Validates given <InfoboxReadResponse> - Parses identity link enclosed in <InfoboxReadResponse> - Verifies identity link by calling the MOA SP component - Checks certificate authority of identity link - Stores identity link in the session - Creates an authentication block to be signed by the user - Creates and returns a <CreateXMLSignatureRequest> - containg the authentication block, meant to be returned to the - security layer implementation -
    - StringAuthenticationServer.verifyAuthenticationBlock(String sessionID, - String xmlCreateXMLSignatureReadResponse) - -
    -          Processes a <CreateXMLSignatureResponse> sent by the - security layer implementation.
    - - Validates given <CreateXMLSignatureResponse> - Parses <CreateXMLSignatureResponse> for error codes - Parses authentication block enclosed in - <CreateXMLSignatureResponse> - Verifies authentication block by calling the MOA SP component - Creates authentication data - Creates a corresponding SAML artifact - Stores authentication data in the authentication data store - indexed by the SAML artifact - Deletes authentication session - Returns the SAML artifact, encoded BASE64 -
    - AuthenticationDataAuthenticationServer.getAuthenticationData(String samlArtifact) - -
    -          Retrieves AuthenticationData indexed by the SAML artifact. -
    -static at.gv.egovernment.moa.id.auth.data.AuthenticationSessionAuthenticationServer.getSession(String id) - -
    -          Retrieves a session from the session store.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/config/proxy/OAConfiguration.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/config/proxy/OAConfiguration.html deleted file mode 100644 index ec020b79d..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/config/proxy/OAConfiguration.html +++ /dev/null @@ -1,526 +0,0 @@ - - - - - - -MOA ID API: Class OAConfiguration - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.id.config.proxy -
    -Class OAConfiguration

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.id.config.proxy.OAConfiguration
    -
    -
    -
    -
    public class OAConfiguration
    extends Object
    - -

    -Holds configuration data concerning an online application for use by the MOA-ID Proxy component. - These include the login type (stateful or stateless), the HTTP authentication type, - and information needed to add authentication parameters or headers for a URL connection - to the remote online application. -

    -

    -
    See Also:
    MOAIDConfiguration-1.1.xsd, element Configuration
    -
    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static StringBASIC_AUTH - -
    -           
    -static StringHEADER_AUTH - -
    -           
    -static StringLOGINTYPE_STATEFUL - -
    -           
    -static StringLOGINTYPE_STATELESS - -
    -           
    -static StringPARAM_AUTH - -
    -           
    -  - - - - - - - - - - -
    -Constructor Summary
    OAConfiguration() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetAuthType() - -
    -          Returns the authType.
    - StringgetBasicAuthPasswordMapping() - -
    -          Returns the basicAuthPasswordMapping.
    - StringgetBasicAuthUserIDMapping() - -
    -          Returns the basicAuthUserIDMapping.
    - MapgetHeaderAuthMapping() - -
    -          Returns the headerAuthMapping.
    - StringgetLoginType() - -
    -          Returns the loginType.
    - MapgetParamAuthMapping() - -
    -          Returns the paramAuthMapping.
    - voidsetAuthType(String authLoginType) - -
    -          Sets the authType.
    - voidsetBasicAuthPasswordMapping(String basicAuthPassword) - -
    -          Sets the basicAuthPasswordMapping.
    - voidsetBasicAuthUserIDMapping(String basicAuthUserID) - -
    -          Sets the basicAuthUserIDMapping.
    - voidsetHeaderAuthMapping(HashMap headerAuth) - -
    -          Sets the headerAuthMapping.
    - voidsetLoginType(String loginType) - -
    -          Sets the loginType.
    - voidsetParamAuthMapping(HashMap paramAuth) - -
    -          Sets the paramAuthMapping.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, -equals, -finalize, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -LOGINTYPE_STATEFUL

    -
    -public static final String LOGINTYPE_STATEFUL
    -
    -
    -
    - -

    -LOGINTYPE_STATELESS

    -
    -public static final String LOGINTYPE_STATELESS
    -
    -
    -
    - -

    -BASIC_AUTH

    -
    -public static final String BASIC_AUTH
    -
    -
    -
    - -

    -HEADER_AUTH

    -
    -public static final String HEADER_AUTH
    -
    -
    -
    - -

    -PARAM_AUTH

    -
    -public static final String PARAM_AUTH
    -
    -
    - - - - - - - - -
    -Constructor Detail
    - -

    -OAConfiguration

    -
    -public OAConfiguration()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getBasicAuthPasswordMapping

    -
    -public String getBasicAuthPasswordMapping()
    -
    -
    Returns the basicAuthPasswordMapping.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getBasicAuthUserIDMapping

    -
    -public String getBasicAuthUserIDMapping()
    -
    -
    Returns the basicAuthUserIDMapping.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getHeaderAuthMapping

    -
    -public Map getHeaderAuthMapping()
    -
    -
    Returns the headerAuthMapping.
    -
    Returns:
    HashMap
    -
    -
    -
    - -

    -getLoginType

    -
    -public String getLoginType()
    -
    -
    Returns the loginType.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getParamAuthMapping

    -
    -public Map getParamAuthMapping()
    -
    -
    Returns the paramAuthMapping.
    -
    Returns:
    HashMap
    -
    -
    -
    - -

    -setBasicAuthPasswordMapping

    -
    -public void setBasicAuthPasswordMapping(String basicAuthPassword)
    -
    -
    Sets the basicAuthPasswordMapping.
    -
    Parameters:
    basicAuthPasswordMapping - The basicAuthPasswordMapping to set
    -
    -
    -
    - -

    -setBasicAuthUserIDMapping

    -
    -public void setBasicAuthUserIDMapping(String basicAuthUserID)
    -
    -
    Sets the basicAuthUserIDMapping.
    -
    Parameters:
    basicAuthUserIDMapping - The basicAuthUserIDMapping to set
    -
    -
    -
    - -

    -setHeaderAuthMapping

    -
    -public void setHeaderAuthMapping(HashMap headerAuth)
    -
    -
    Sets the headerAuthMapping.
    -
    Parameters:
    headerAuthMapping - The headerAuthMapping to set
    -
    -
    -
    - -

    -setLoginType

    -
    -public void setLoginType(String loginType)
    -
    -
    Sets the loginType.
    -
    Parameters:
    loginType - The loginType to set
    -
    -
    -
    - -

    -setParamAuthMapping

    -
    -public void setParamAuthMapping(HashMap paramAuth)
    -
    -
    Sets the paramAuthMapping.
    -
    Parameters:
    paramAuthMapping - The paramAuthMapping to set
    -
    -
    -
    - -

    -getAuthType

    -
    -public String getAuthType()
    -
    -
    Returns the authType.
    -
    Returns:
    String
    -
    -
    -
    - -

    -setAuthType

    -
    -public void setAuthType(String authLoginType)
    -
    -
    Sets the authType.
    -
    Parameters:
    authType - The authType to set
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/config/proxy/class-use/OAConfiguration.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/config/proxy/class-use/OAConfiguration.html deleted file mode 100644 index c41742f7a..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/config/proxy/class-use/OAConfiguration.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -MOA ID API: Uses of Class at.gv.egovernment.moa.id.config.proxy.OAConfiguration - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.id.config.proxy.OAConfiguration

    -
    - - - - - -
    -Uses of OAConfiguration in at.gv.egovernment.moa.id.proxy
    -  -

    - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.id.proxy with parameters of type OAConfiguration
    - MapLoginParameterResolver.getAuthenticationHeaders(OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress) - -
    -          Returns authentication headers to be added to a URLConnection.
    - MapLoginParameterResolver.getAuthenticationParameters(OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress) - -
    -          Returns request parameters to be added to a URLConnection.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/data/AuthenticationData.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/data/AuthenticationData.html deleted file mode 100644 index 0a0906e25..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/data/AuthenticationData.html +++ /dev/null @@ -1,751 +0,0 @@ - - - - - - -MOA ID API: Class AuthenticationData - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.id.data -
    -Class AuthenticationData

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.id.data.AuthenticationData
    -
    -
    -
    -
    public class AuthenticationData
    extends Object
    - -

    -Encapsulates authentication data contained in a <saml:Assertion>. -

    -


    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    AuthenticationData() - -
    -          Constructor for AuthenticationData.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetAssertionID() - -
    -          Returns the assertionID.
    - StringgetDateOfBirth() - -
    -          Returns the dateOfBirth.
    - StringgetFamilyName() - -
    -          Returns the familyName.
    - StringgetGivenName() - -
    -          Returns the givenName.
    - StringgetIdentificationValue() - -
    -          Returns the identificationValue.
    - StringgetIssueInstant() - -
    -          Returns the issueInstant.
    - StringgetIssuer() - -
    -          Returns the issuer.
    - intgetMajorVersion() - -
    -          Returns the majorVersion.
    - intgetMinorVersion() - -
    -          Returns the minorVersion.
    - StringgetPublicAuthorityCode() - -
    -          Returns the publicAuthorityCode.
    - StringgetSamlAssertion() - -
    -          Returns the samlAssertion.
    - DategetTimestamp() - -
    -          Returns the timestamp.
    - StringgetVPK() - -
    -          Returns the vpk.
    - booleanisPublicAuthority() - -
    -          Returns the publicAuthority.
    - booleanisQualifiedCertificate() - -
    -          Returns the qualifiedCertificate.
    - voidsetAssertionID(String assertionID) - -
    -          Sets the assertionID.
    - voidsetDateOfBirth(String dateOfBirth) - -
    -          Sets the dateOfBirth.
    - voidsetFamilyName(String gamilyName) - -
    -          Sets the familyName.
    - voidsetGivenName(String givenName) - -
    -          Sets the givenName.
    - voidsetIdentificationValue(String identificationValue) - -
    -          Sets the identificationValue.
    - voidsetIssueInstant(String issueInstant) - -
    -          Sets the issueInstant.
    - voidsetIssuer(String issuer) - -
    -          Sets the issuer.
    - voidsetMajorVersion(int majorVersion) - -
    -          Sets the majorVersion.
    - voidsetMinorVersion(int minorVersion) - -
    -          Sets the minorVersion.
    - voidsetPublicAuthority(boolean publicAuthority) - -
    -          Sets the publicAuthority.
    - voidsetPublicAuthorityCode(String publicAuthorityIdentification) - -
    -          Sets the publicAuthorityCode.
    - voidsetQualifiedCertificate(boolean qualifiedCertificate) - -
    -          Sets the qualifiedCertificate.
    - voidsetSamlAssertion(String samlAssertion) - -
    -          Sets the samlAssertion.
    - voidsetVPK(String vpk) - -
    -          Sets the vpk.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, -equals, -finalize, -getClass, -hashCode, -notify, -notifyAll, -toString, -wait, -wait, -wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -AuthenticationData

    -
    -public AuthenticationData()
    -
    -
    Constructor for AuthenticationData.
    - - - - - - - - -
    -Method Detail
    - -

    -getMinorVersion

    -
    -public int getMinorVersion()
    -
    -
    Returns the minorVersion.
    -
    Returns:
    int
    -
    -
    -
    - -

    -isPublicAuthority

    -
    -public boolean isPublicAuthority()
    -
    -
    Returns the publicAuthority.
    -
    Returns:
    boolean
    -
    -
    -
    - -

    -getPublicAuthorityCode

    -
    -public String getPublicAuthorityCode()
    -
    -
    Returns the publicAuthorityCode.
    -
    Returns:
    String
    -
    -
    -
    - -

    -isQualifiedCertificate

    -
    -public boolean isQualifiedCertificate()
    -
    -
    Returns the qualifiedCertificate.
    -
    Returns:
    boolean
    -
    -
    -
    - -

    -getVPK

    -
    -public String getVPK()
    -
    -
    Returns the vpk.
    -
    Returns:
    String
    -
    -
    -
    - -

    -setMinorVersion

    -
    -public void setMinorVersion(int minorVersion)
    -
    -
    Sets the minorVersion.
    -
    Parameters:
    minorVersion - The minorVersion to set
    -
    -
    -
    - -

    -setPublicAuthority

    -
    -public void setPublicAuthority(boolean publicAuthority)
    -
    -
    Sets the publicAuthority.
    -
    Parameters:
    publicAuthority - The publicAuthority to set
    -
    -
    -
    - -

    -setPublicAuthorityCode

    -
    -public void setPublicAuthorityCode(String publicAuthorityIdentification)
    -
    -
    Sets the publicAuthorityCode.
    -
    Parameters:
    publicAuthorityCode - The publicAuthorityCode to set
    -
    -
    -
    - -

    -setQualifiedCertificate

    -
    -public void setQualifiedCertificate(boolean qualifiedCertificate)
    -
    -
    Sets the qualifiedCertificate.
    -
    Parameters:
    qualifiedCertificate - The qualifiedCertificate to set
    -
    -
    -
    - -

    -setVPK

    -
    -public void setVPK(String vpk)
    -
    -
    Sets the vpk.
    -
    Parameters:
    vpk - The vpk to set
    -
    -
    -
    - -

    -getAssertionID

    -
    -public String getAssertionID()
    -
    -
    Returns the assertionID.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getDateOfBirth

    -
    -public String getDateOfBirth()
    -
    -
    Returns the dateOfBirth.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getFamilyName

    -
    -public String getFamilyName()
    -
    -
    Returns the familyName.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getGivenName

    -
    -public String getGivenName()
    -
    -
    Returns the givenName.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getIdentificationValue

    -
    -public String getIdentificationValue()
    -
    -
    Returns the identificationValue.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getIssueInstant

    -
    -public String getIssueInstant()
    -
    -
    Returns the issueInstant.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getIssuer

    -
    -public String getIssuer()
    -
    -
    Returns the issuer.
    -
    Returns:
    String
    -
    -
    -
    - -

    -getMajorVersion

    -
    -public int getMajorVersion()
    -
    -
    Returns the majorVersion.
    -
    Returns:
    int
    -
    -
    -
    - -

    -setAssertionID

    -
    -public void setAssertionID(String assertionID)
    -
    -
    Sets the assertionID.
    -
    Parameters:
    assertionID - The assertionID to set
    -
    -
    -
    - -

    -setDateOfBirth

    -
    -public void setDateOfBirth(String dateOfBirth)
    -
    -
    Sets the dateOfBirth.
    -
    Parameters:
    dateOfBirth - The dateOfBirth to set
    -
    -
    -
    - -

    -setFamilyName

    -
    -public void setFamilyName(String gamilyName)
    -
    -
    Sets the familyName.
    -
    Parameters:
    familyName - The familyName to set
    -
    -
    -
    - -

    -setGivenName

    -
    -public void setGivenName(String givenName)
    -
    -
    Sets the givenName.
    -
    Parameters:
    givenName - The givenName to set
    -
    -
    -
    - -

    -setIdentificationValue

    -
    -public void setIdentificationValue(String identificationValue)
    -
    -
    Sets the identificationValue.
    -
    Parameters:
    identificationValue - The identificationValue to set
    -
    -
    -
    - -

    -setIssueInstant

    -
    -public void setIssueInstant(String issueInstant)
    -
    -
    Sets the issueInstant.
    -
    Parameters:
    issueInstant - The issueInstant to set
    -
    -
    -
    - -

    -setIssuer

    -
    -public void setIssuer(String issuer)
    -
    -
    Sets the issuer.
    -
    Parameters:
    issuer - The issuer to set
    -
    -
    -
    - -

    -setMajorVersion

    -
    -public void setMajorVersion(int majorVersion)
    -
    -
    Sets the majorVersion.
    -
    Parameters:
    majorVersion - The majorVersion to set
    -
    -
    -
    - -

    -getSamlAssertion

    -
    -public String getSamlAssertion()
    -
    -
    Returns the samlAssertion.
    -
    Returns:
    String
    -
    -
    -
    - -

    -setSamlAssertion

    -
    -public void setSamlAssertion(String samlAssertion)
    -
    -
    Sets the samlAssertion.
    -
    Parameters:
    samlAssertion - The samlAssertion to set
    -
    -
    -
    - -

    -getTimestamp

    -
    -public Date getTimestamp()
    -
    -
    Returns the timestamp.
    -
    Returns:
    Date
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/data/class-use/AuthenticationData.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/data/class-use/AuthenticationData.html deleted file mode 100644 index 1822504b5..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/data/class-use/AuthenticationData.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -MOA ID API: Uses of Class at.gv.egovernment.moa.id.data.AuthenticationData - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.id.data.AuthenticationData

    -
    - - - - - -
    -Uses of AuthenticationData in at.gv.egovernment.moa.id.auth
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.id.auth that return AuthenticationData
    - AuthenticationDataAuthenticationServer.getAuthenticationData(String samlArtifact) - -
    -          Retrieves AuthenticationData indexed by the SAML artifact. -
    -  -

    - - - - - -
    -Uses of AuthenticationData in at.gv.egovernment.moa.id.proxy
    -  -

    - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.id.proxy with parameters of type AuthenticationData
    - MapLoginParameterResolver.getAuthenticationHeaders(OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress) - -
    -          Returns authentication headers to be added to a URLConnection.
    - MapLoginParameterResolver.getAuthenticationParameters(OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress) - -
    -          Returns request parameters to be added to a URLConnection.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/ConnectionBuilder.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/ConnectionBuilder.html deleted file mode 100644 index 7d9bcef1d..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/ConnectionBuilder.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - -MOA ID API: Interface ConnectionBuilder - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.id.proxy -
    -Interface ConnectionBuilder

    -
    -
    -
    public interface ConnectionBuilder
    - -

    -Builder for URLConnection objects used to forward requests - to the remote online application. -

    -


    - -

    - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - HttpURLConnectionbuildConnection(javax.servlet.http.HttpServletRequest request, - String publicURLPrefix, - String realURLPrefix, - javax.net.ssl.SSLSocketFactory sslSocketFactory) - -
    -          Builds an HttpURLConnection to a URL which is derived - from an HttpServletRequest URL, by substitution of a - public URL prefix for the real URL prefix.
    - The HttpURLConnection has been created by URL.openConnection(), but - it has not yet been connected to by URLConnection.connect().
    - The field settings of the HttpURLConnection are: - - allowUserInteraction = false - doInput = true - doOutput = true - requestMethod = request.getMethod() - useCaches = false -
    -  -

    - - - - - - - - - - - - - - -
    -Method Detail
    - -

    -buildConnection

    -
    -public HttpURLConnection buildConnection(javax.servlet.http.HttpServletRequest request,
    -                                         String publicURLPrefix,
    -                                         String realURLPrefix,
    -                                         javax.net.ssl.SSLSocketFactory sslSocketFactory)
    -                                  throws IOException
    -
    -
    Builds an HttpURLConnection to a URL which is derived - from an HttpServletRequest URL, by substitution of a - public URL prefix for the real URL prefix.
    - The HttpURLConnection has been created by URL.openConnection(), but - it has not yet been connected to by URLConnection.connect().
    - The field settings of the HttpURLConnection are: -
      -
    • allowUserInteraction = false
    • -
    • doInput = true
    • -
    • doOutput = true
    • -
    • requestMethod = request.getMethod()
    • -
    • useCaches = false
    • -
    -
    Parameters:
    request - the incoming request which shall be forwarded
    publicURLPrefix - the public URL prefix to be substituted by the real URL prefix
    realURLPrefix - the URL prefix to substitute the public URL prefix
    sslSocketFactory - factory to be used for creating an SSL socket in case - of a URL for scheme "https:"; -
    if null, the default SSL socket factory would be used
    Returns:
    a URLConnection created by URL.openConnection(), connecting to - the requested URL with publicURLPrefix substituted by realURLPrefix
    Throws:
    IOException - if an I/O exception occurs during opening the connection
    See Also:
    URL.openConnection(), -com.sun.net.ssl.HttpsURLConnection#getDefaultSSLSocketFactory()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.html deleted file mode 100644 index 717ab1ee6..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - -MOA ID API: Interface LoginParameterResolver - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.id.proxy -
    -Interface LoginParameterResolver

    -
    -
    -
    public interface LoginParameterResolver
    - -

    -Determines authentication parameters and headers to be added to a URLConnection - to the remote online application. - Utilizes OAConfiguration and AuthenticationData. -

    -


    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static StringMOABKZ - -
    -           
    -static StringMOADateOfBirth - -
    -           
    -static StringMOAFamilyName - -
    -           
    -static StringMOAGivenName - -
    -          Constants used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType, - naming predicates used by the LoginParameterResolver.
    -static StringMOAIPAddress - -
    -           
    -static StringMOAPublicAuthority - -
    -           
    -static StringMOAQualifiedCertificate - -
    -           
    -static StringMOAVPK - -
    -           
    -static StringMOAZMRZahl - -
    -           
    -  - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - MapgetAuthenticationHeaders(OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress) - -
    -          Returns authentication headers to be added to a URLConnection.
    - MapgetAuthenticationParameters(OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress) - -
    -          Returns request parameters to be added to a URLConnection.
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -MOAGivenName

    -
    -public static final String MOAGivenName
    -
    -
    Constants used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType, - naming predicates used by the LoginParameterResolver.
    -
    - -

    -MOAFamilyName

    -
    -public static final String MOAFamilyName
    -
    -
    -
    - -

    -MOADateOfBirth

    -
    -public static final String MOADateOfBirth
    -
    -
    -
    - -

    -MOAVPK

    -
    -public static final String MOAVPK
    -
    -
    -
    - -

    -MOAPublicAuthority

    -
    -public static final String MOAPublicAuthority
    -
    -
    -
    - -

    -MOABKZ

    -
    -public static final String MOABKZ
    -
    -
    -
    - -

    -MOAQualifiedCertificate

    -
    -public static final String MOAQualifiedCertificate
    -
    -
    -
    - -

    -MOAZMRZahl

    -
    -public static final String MOAZMRZahl
    -
    -
    -
    - -

    -MOAIPAddress

    -
    -public static final String MOAIPAddress
    -
    -
    - - - - - - - - - - - -
    -Method Detail
    - -

    -getAuthenticationHeaders

    -
    -public Map getAuthenticationHeaders(OAConfiguration oaConf,
    -                                    AuthenticationData authData,
    -                                    String clientIPAddress)
    -
    -
    Returns authentication headers to be added to a URLConnection.
    -
    Parameters:
    authConf - configuration data
    authData - authentication data
    clientIPAddress - client IP address
    Returns:
    A map, the keys being header names and values being corresponding header values. -
    In case of authentication type "basic-auth", header fields - username and password. -
    In case of authentication type "header-auth", header fields - derived from parameter mapping and authentication data provided. -
    Otherwise, an empty map.
    -
    -
    -
    - -

    -getAuthenticationParameters

    -
    -public Map getAuthenticationParameters(OAConfiguration oaConf,
    -                                       AuthenticationData authData,
    -                                       String clientIPAddress)
    -
    -
    Returns request parameters to be added to a URLConnection.
    -
    Parameters:
    authConf - configuration data
    authData - authentication data
    clientIPAddress - client IP address
    Returns:
    A map, the keys being parameter names and values being corresponding parameter values. -
    In case of authentication type "param-auth", parameters - derived from parameter mapping and authentication data provided. -
    Otherwise, an empty map.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/class-use/ConnectionBuilder.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/class-use/ConnectionBuilder.html deleted file mode 100644 index c40b34e9f..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/class-use/ConnectionBuilder.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - -MOA ID API: Uses of Interface at.gv.egovernment.moa.id.proxy.ConnectionBuilder - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Interface
    at.gv.egovernment.moa.id.proxy.ConnectionBuilder

    -
    -No usage of at.gv.egovernment.moa.id.proxy.ConnectionBuilder -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/class-use/LoginParameterResolver.html b/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/class-use/LoginParameterResolver.html deleted file mode 100644 index 9bad43a2a..000000000 --- a/id.server/doc/api-doc/at/gv/egovernment/moa/id/proxy/class-use/LoginParameterResolver.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - -MOA ID API: Uses of Interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Interface
    at.gv.egovernment.moa.id.proxy.LoginParameterResolver

    -
    -No usage of at.gv.egovernment.moa.id.proxy.LoginParameterResolver -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/deprecated-list.html b/id.server/doc/api-doc/deprecated-list.html deleted file mode 100644 index 78f7d881f..000000000 --- a/id.server/doc/api-doc/deprecated-list.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - -MOA ID API: Deprecated List - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Deprecated API

    -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/help-doc.html b/id.server/doc/api-doc/help-doc.html deleted file mode 100644 index 79438069d..000000000 --- a/id.server/doc/api-doc/help-doc.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -MOA ID API: API Help - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -How This API Document Is Organized

    -
    -This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

    -Package

    -
    - -

    -Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

      -
    • Interfaces (italic)
    • Classes
    • Exceptions
    • Errors
    -
    -

    -Class/Interface

    -
    - -

    -Each class, interface, inner class and inner interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      -
    • Class inheritance diagram
    • Direct Subclasses
    • All Known Subinterfaces
    • All Known Implementing Classes
    • Class/interface declaration
    • Class/interface description -

      -

    • Inner Class Summary
    • Field Summary
    • Constructor Summary
    • Method Summary -

      -

    • Field Detail
    • Constructor Detail
    • Method Detail
    -Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
    -

    -Use

    -
    -Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
    -

    -Tree (Class Hierarchy)

    -
    -There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    -
    -

    -Deprecated API

    -
    -The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
    -

    -Index

    -
    -The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
    -

    -Prev/Next

    -These links take you to the next or previous class, interface, package, or related page.

    -Frames/No Frames

    -These links show and hide the HTML frames. All pages are available with or without frames. -

    -

    -Serialized Form

    -Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

    - - -This help file applies to API documentation generated using the standard doclet. - -
    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/index-all.html b/id.server/doc/api-doc/index-all.html deleted file mode 100644 index a66b0252e..000000000 --- a/id.server/doc/api-doc/index-all.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - -MOA ID API: Index - - - - - - - - - - - - - - - - - -
    - -
    - - -A B C G H I L M O P R S V
    -

    -A

    -
    -
    AuthenticationData - class at.gv.egovernment.moa.id.data.AuthenticationData.
    Encapsulates authentication data contained in a <saml:Assertion>.
    AuthenticationData() - -Constructor for class at.gv.egovernment.moa.id.data.AuthenticationData -
    Constructor for AuthenticationData. -
    AuthenticationException - class at.gv.egovernment.moa.id.AuthenticationException.
    Exception thrown during handling of AuthenticationSession
    AuthenticationException(String, Object[]) - -Constructor for class at.gv.egovernment.moa.id.AuthenticationException -
    Constructor for AuthenticationException. -
    AuthenticationServer - class at.gv.egovernment.moa.id.auth.AuthenticationServer.
    API for MOA ID Authentication Service.
    - AuthenticationSession is stored in a session store and retrieved - by giving the session ID.
    AuthenticationServer() - -Constructor for class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Constructor for AuthenticationServer. -
    -
    -

    -B

    -
    -
    BASIC_AUTH - -Static variable in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
      -
    buildConnection(HttpServletRequest, String, String, SSLSocketFactory) - -Method in interface at.gv.egovernment.moa.id.proxy.ConnectionBuilder -
    Builds an HttpURLConnection to a URL which is derived - from an HttpServletRequest URL, by substitution of a - public URL prefix for the real URL prefix.
    - The HttpURLConnection has been created by URL.openConnection(), but - it has not yet been connected to by URLConnection.connect().
    - The field settings of the HttpURLConnection are: - - allowUserInteraction = false - doInput = true - doOutput = true - requestMethod = request.getMethod() - useCaches = false - -
    -
    -

    -C

    -
    -
    cleanup() - -Method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Cleans up expired session and authentication data stores. -
    ConnectionBuilder - interface at.gv.egovernment.moa.id.proxy.ConnectionBuilder.
    Builder for URLConnection objects used to forward requests - to the remote online application.
    -
    -

    -G

    -
    -
    getAssertionID() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the assertionID. -
    getAuthenticationData(String) - -Method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Retrieves AuthenticationData indexed by the SAML artifact. - -
    getAuthenticationHeaders(OAConfiguration, AuthenticationData, String) - -Method in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
    Returns authentication headers to be added to a URLConnection. -
    getAuthenticationParameters(OAConfiguration, AuthenticationData, String) - -Method in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
    Returns request parameters to be added to a URLConnection. -
    getAuthType() - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Returns the authType. -
    getBasicAuthPasswordMapping() - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Returns the basicAuthPasswordMapping. -
    getBasicAuthUserIDMapping() - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Returns the basicAuthUserIDMapping. -
    getDateOfBirth() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the dateOfBirth. -
    getFamilyName() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the familyName. -
    getGivenName() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the givenName. -
    getHeaderAuthMapping() - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Returns the headerAuthMapping. -
    getIdentificationValue() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the identificationValue. -
    getInstance() - -Static method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Returns the single instance of AuthenticationServer. -
    getIssueInstant() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the issueInstant. -
    getIssuer() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the issuer. -
    getLoginType() - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Returns the loginType. -
    getMajorVersion() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the majorVersion. -
    getMinorVersion() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the minorVersion. -
    getParamAuthMapping() - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Returns the paramAuthMapping. -
    getPublicAuthorityCode() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the publicAuthorityCode. -
    getSamlAssertion() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the samlAssertion. -
    getSession(String) - -Static method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Retrieves a session from the session store. -
    getTimestamp() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the timestamp. -
    getVPK() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the vpk. -
    -
    -

    -H

    -
    -
    HEADER_AUTH - -Static variable in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
      -
    -
    -

    -I

    -
    -
    isPublicAuthority() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the publicAuthority. -
    isQualifiedCertificate() - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Returns the qualifiedCertificate. -
    -
    -

    -L

    -
    -
    LoginParameterResolver - interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver.
    Determines authentication parameters and headers to be added to a URLConnection - to the remote online application. -
    LOGINTYPE_STATEFUL - -Static variable in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
      -
    LOGINTYPE_STATELESS - -Static variable in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
      -
    -
    -

    -M

    -
    -
    MOABKZ - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
      -
    MOADateOfBirth - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
      -
    MOAFamilyName - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
      -
    MOAGivenName - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
    Constants used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType, - naming predicates used by the LoginParameterResolver. -
    MOAIPAddress - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
      -
    MOAPublicAuthority - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
      -
    MOAQualifiedCertificate - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
      -
    MOAVPK - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
      -
    MOAZMRZahl - -Static variable in interface at.gv.egovernment.moa.id.proxy.LoginParameterResolver -
      -
    -
    -

    -O

    -
    -
    OAConfiguration - class at.gv.egovernment.moa.id.config.proxy.OAConfiguration.
    Holds configuration data concerning an online application for use by the MOA-ID Proxy component. -
    OAConfiguration() - -Constructor for class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
      -
    -
    -

    -P

    -
    -
    PARAM_AUTH - -Static variable in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
      -
    -
    -

    -R

    -
    -
    REQ_START_AUTHENTICATION - -Static variable in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Request name at.gv.egovernment.moa.id.auth.servlet.StartAuthenticationServlet is mapped to -
    REQ_VERIFY_AUTH_BLOCK - -Static variable in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Request name at.gv.egovernment.moa.id.auth.servlet.VerifyAuthenticationBlockServlet is mapped to -
    REQ_VERIFY_IDENTITY_LINK - -Static variable in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Request name at.gv.egovernment.moa.id.auth.servlet.VerifyIdentityLinkServlet is mapped to -
    -
    -

    -S

    -
    -
    selectBKU(String, String, String, String, String) - -Method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Processes request to select a BKU. - -
    setAssertionID(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the assertionID. -
    setAuthType(String) - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Sets the authType. -
    setBasicAuthPasswordMapping(String) - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Sets the basicAuthPasswordMapping. -
    setBasicAuthUserIDMapping(String) - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Sets the basicAuthUserIDMapping. -
    setDateOfBirth(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the dateOfBirth. -
    setFamilyName(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the familyName. -
    setGivenName(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the givenName. -
    setHeaderAuthMapping(HashMap) - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Sets the headerAuthMapping. -
    setIdentificationValue(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the identificationValue. -
    setIssueInstant(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the issueInstant. -
    setIssuer(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the issuer. -
    setLoginType(String) - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Sets the loginType. -
    setMajorVersion(int) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the majorVersion. -
    setMinorVersion(int) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the minorVersion. -
    setParamAuthMapping(HashMap) - -Method in class at.gv.egovernment.moa.id.config.proxy.OAConfiguration -
    Sets the paramAuthMapping. -
    setPublicAuthority(boolean) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the publicAuthority. -
    setPublicAuthorityCode(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the publicAuthorityCode. -
    setQualifiedCertificate(boolean) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the qualifiedCertificate. -
    setSamlAssertion(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the samlAssertion. -
    setSecondsAuthDataTimeOut(long) - -Method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Sets the authDataTimeOut. -
    setSecondsSessionTimeOut(long) - -Method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Sets the sessionTimeOut. -
    setVPK(String) - -Method in class at.gv.egovernment.moa.id.data.AuthenticationData -
    Sets the vpk. -
    startAuthentication(String, String, String, String, String, String) - -Method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Processes the beginning of an authentication session. - -
    -
    -

    -V

    -
    -
    verifyAuthenticationBlock(String, String) - -Method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Processes a <CreateXMLSignatureResponse> sent by the - security layer implementation.
    - - Validates given <CreateXMLSignatureResponse> - Parses <CreateXMLSignatureResponse> for error codes - Parses authentication block enclosed in - <CreateXMLSignatureResponse> - Verifies authentication block by calling the MOA SP component - Creates authentication data - Creates a corresponding SAML artifact - Stores authentication data in the authentication data store - indexed by the SAML artifact - Deletes authentication session - Returns the SAML artifact, encoded BASE64 - -
    verifyIdentityLink(String, String) - -Method in class at.gv.egovernment.moa.id.auth.AuthenticationServer -
    Processes an <InfoboxReadResponse> sent by the - security layer implementation.
    - - Validates given <InfoboxReadResponse> - Parses identity link enclosed in <InfoboxReadResponse> - Verifies identity link by calling the MOA SP component - Checks certificate authority of identity link - Stores identity link in the session - Creates an authentication block to be signed by the user - Creates and returns a <CreateXMLSignatureRequest> - containg the authentication block, meant to be returned to the - security layer implementation - -
    -
    -A B C G H I L M O P R S V - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/index.html b/id.server/doc/api-doc/index.html deleted file mode 100644 index 7eb5deff7..000000000 --- a/id.server/doc/api-doc/index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - -MOA ID API - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to <A HREF="at/gv/egovernment/moa/id/data/AuthenticationData.html">Non-frame version.</A> - diff --git a/id.server/doc/api-doc/overview-tree.html b/id.server/doc/api-doc/overview-tree.html deleted file mode 100644 index bcd54df75..000000000 --- a/id.server/doc/api-doc/overview-tree.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - -MOA ID API: Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For All Packages

    -
    -

    -Class Hierarchy -

    - -

    -Interface Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/package-list b/id.server/doc/api-doc/package-list deleted file mode 100644 index e69de29bb..000000000 diff --git a/id.server/doc/api-doc/packages.html b/id.server/doc/api-doc/packages.html deleted file mode 100644 index f5dd01736..000000000 --- a/id.server/doc/api-doc/packages.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA ID API - - - - - -
    - -
    - -
    -
    -The front page has been renamed.Please see: -
    -          Frame version -
    -          Non-frame version.
    - - - diff --git a/id.server/doc/api-doc/serialized-form.html b/id.server/doc/api-doc/serialized-form.html deleted file mode 100644 index 09311e7c2..000000000 --- a/id.server/doc/api-doc/serialized-form.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - -Serialized Form - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Serialized Form

    -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/id.server/doc/api-doc/stylesheet.css b/id.server/doc/api-doc/stylesheet.css deleted file mode 100644 index 74a3534ae..000000000 --- a/id.server/doc/api-doc/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Table colors */ -#TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -#TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -#TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -#FrameTitleFont { font-size: normal; font-family: normal } -#FrameHeadingFont { font-size: normal; font-family: normal } -#FrameItemFont { font-size: normal; font-family: normal } - -/* Example of smaller, sans-serif font in frames */ -/* #FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ - -/* Navigation bar fonts and colors */ -#NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */ -#NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */ -#NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -#NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -#NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -#NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} - diff --git a/id.server/doc/bku-auswahl.20030408.pdf b/id.server/doc/bku-auswahl.20030408.pdf deleted file mode 100644 index 39efe315f..000000000 Binary files a/id.server/doc/bku-auswahl.20030408.pdf and /dev/null differ diff --git a/id.server/doc/cs-sstc-schema-assertion-01.xsd b/id.server/doc/cs-sstc-schema-assertion-01.xsd deleted file mode 100644 index 8bc5af147..000000000 --- a/id.server/doc/cs-sstc-schema-assertion-01.xsd +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - Document identifier: cs-sstc-schema-assertion-01 - Location: http://www.oasis-open.org/committees/security/docs/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/doc/cs-sstc-schema-protocol-01.xsd b/id.server/doc/cs-sstc-schema-protocol-01.xsd deleted file mode 100644 index ecad05b0f..000000000 --- a/id.server/doc/cs-sstc-schema-protocol-01.xsd +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - Document identifier: cs-sstc-schema-protocol-01 - Location: http://www.oasis-open.org/committees/security/docs/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/doc/moa-id.htm b/id.server/doc/moa-id.htm deleted file mode 100644 index 74018a5ab..000000000 --- a/id.server/doc/moa-id.htm +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/id.server/doc/moa_id/examples/BKUSelectionTemplate.html b/id.server/doc/moa_id/examples/BKUSelectionTemplate.html deleted file mode 100644 index 11c9352d2..000000000 --- a/id.server/doc/moa_id/examples/BKUSelectionTemplate.html +++ /dev/null @@ -1,4 +0,0 @@ -
    - - - diff --git a/id.server/doc/moa_id/examples/ChainingModes.txt b/id.server/doc/moa_id/examples/ChainingModes.txt deleted file mode 100644 index 820b60d06..000000000 --- a/id.server/doc/moa_id/examples/ChainingModes.txt +++ /dev/null @@ -1,6 +0,0 @@ - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - diff --git a/id.server/doc/moa_id/examples/IdentityLinkSigners.txt b/id.server/doc/moa_id/examples/IdentityLinkSigners.txt deleted file mode 100644 index faed15030..000000000 --- a/id.server/doc/moa_id/examples/IdentityLinkSigners.txt +++ /dev/null @@ -1,3 +0,0 @@ - - CN=zmr,OU=BMI-IV-2,O=BMI,C=AT - diff --git a/id.server/doc/moa_id/examples/LoginServletExample.txt b/id.server/doc/moa_id/examples/LoginServletExample.txt deleted file mode 100644 index e085e4126..000000000 --- a/id.server/doc/moa_id/examples/LoginServletExample.txt +++ /dev/null @@ -1,171 +0,0 @@ -import java.io.IOException; -import java.util.Vector; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.servlet.http.HttpSession; -import javax.xml.namespace.QName; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.rpc.Call; -import javax.xml.rpc.Service; -import javax.xml.rpc.ServiceFactory; - -import org.apache.axis.message.SOAPBodyElement; -import org.apache.xml.serialize.LineSeparator; -import org.apache.xml.serialize.OutputFormat; -import org.apache.xml.serialize.XMLSerializer; -import org.jaxen.JaxenException; -import org.jaxen.SimpleNamespaceContext; -import org.jaxen.dom.DOMXPath; -import org.w3c.dom.Attr; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - -/** - * Beispiel für ein Login-Servlet, das von MOA-ID-AUTH über einen Redirect aufgerufen wird. - * Es werden demonstriert: - * - Parameterübergabe von MOA-ID-AUTH - * - Aufruf des MOA-ID-AUTH Web Service zum Abholen der Anmeldedaten über das Apache Axis Framework - * - Parsen der Anmeldedaten mittels der XPath Engine "Jaxen" - * - Speichern der Anmeldedaten in der HTTPSession - * - Redirect auf die eigentliche Startseite der OA - * - * @author Paul Ivancsics - */ -public class LoginServletExample extends HttpServlet { - - // Web Service QName und Endpoint - private static final QName SERVICE_QNAME = new QName("GetAuthenticationData"); - private static final String ENDPOINT = - "http://localhost:8080/moa-id-auth/services/GetAuthenticationData"; - // NamespaceContext für Jaxen - private static SimpleNamespaceContext NS_CONTEXT; - static { - NS_CONTEXT = new SimpleNamespaceContext(); - NS_CONTEXT.addNamespace("saml", "urn:oasis:names:tc:SAML:1.0:assertion"); - NS_CONTEXT.addNamespace("samlp", "urn:oasis:names:tc:SAML:1.0:protocol"); - NS_CONTEXT.addNamespace("pr", "http://reference.e-government.gv.at/namespace/persondata/20020228#"); - } - - /** - * Servlet wird von MOA-ID-AUTH nach erfolgter Authentisierung über ein Redirect aufgerufen. - */ - protected void doGet(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException { - - // Parameter "Target" und "SAMLArtifact" aus dem Redirect von MOA-ID-AUTH lesen - String target = req.getParameter("Target"); - String samlArtifact = req.getParameter("SAMLArtifact"); - - try { - // DOMBuilder instanzieren - DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - factory.setNamespaceAware(true); - DocumentBuilder builder = factory.newDocumentBuilder(); - - // zusammenstellen und in einen DOM-Baum umwandeln - String samlRequest = - "" - + samlArtifact - + ""; - Document root_request = builder.parse(samlRequest); - - // Neues SOAPBodyElement anlegen und mit dem DOM-Baum füllen - SOAPBodyElement body = new SOAPBodyElement(root_request.getDocumentElement()); - SOAPBodyElement[] params = new SOAPBodyElement[] { body }; - - // AXIS-Service für Aufruf von MOA-ID-AUTH instanzieren - Service service = ServiceFactory.newInstance().createService(SERVICE_QNAME); - - // Axis-Call erzeugen und mit Endpoint verknüpfen - Call call = service.createCall(); - call.setTargetEndpointAddress(ENDPOINT); - - // Call aufrufen und die Antwort speichern - System.out.println("Calling MOA-ID-AUTH ..."); - Vector responses = (Vector) call.invoke(params); - - // erstes BodyElement auslesen - SOAPBodyElement response = (SOAPBodyElement) responses.get(0); - - // als DOM-Baum holen - Document responseDocument = response.getAsDocument(); - Element samlResponse = responseDocument.getDocumentElement(); - - // auf System.out ausgeben - System.out.println("Response received:"); - OutputFormat format = new OutputFormat((Document) responseDocument); - format.setLineSeparator(LineSeparator.Windows); - format.setIndenting(true); - format.setLineWidth(0); - XMLSerializer serializer = new XMLSerializer(System.out, format); - serializer.asDOMSerializer(); - serializer.serialize(responseDocument); - - // auslesen - Attr statusCodeAttr = (Attr)getNode(samlResponse, "/samlp:Response/samlp:Status/samlp:StatusCode/@Value"); - String samlStatusCode = statusCodeAttr.getValue(); - System.out.println("StatusCode: " + samlStatusCode); - - // auslesen - if ("samlp:Success".equals(samlStatusCode)) { - Element samlAssertion = (Element)getNode(samlResponse, "/samlp:Response/saml:Assertion"); - - // FamilyName aus der parsen - Node familyNameNode = getNode(samlAssertion, "//saml:AttributeStatement/saml:Attribute[@AttributeName=\"PersonData\"]/saml:AttributeValue/pr:Person/pr:Name/pr:FamilyName"); - String familyName = getText(familyNameNode); - System.out.println("Family name: " + familyName); - - // weitere Anmeldedaten aus der parsen - // ... - - // Anmeldedaten und Target in der HTTPSession speichern - HttpSession session = req.getSession(); - session.setAttribute("UserFamilyName", familyName); - session.setAttribute("Geschaeftsbereich", target); - - // weitere Anmeldedaten in der HTTPSession speichern - // ... - - // Redirect auf die eigentliche Startseite - resp.sendRedirect("/index.jsp"); - } - } - catch (Exception ex) { - ex.printStackTrace(); - } - } - /** Returns the first node matching an XPath expression. */ - private static Node getNode(Node contextNode, String xpathExpression) throws JaxenException { - DOMXPath xpath = new DOMXPath(xpathExpression); - xpath.setNamespaceContext(NS_CONTEXT); - return (Node) xpath.selectSingleNode(contextNode); - } - /** Returns the text that a node contains. */ - public static String getText(Node node) { - if (!node.hasChildNodes()) { - return ""; - } - - StringBuffer result = new StringBuffer(); - NodeList list = node.getChildNodes(); - for (int i = 0; i < list.getLength(); i++) { - Node subnode = list.item(i); - if (subnode.getNodeType() == Node.TEXT_NODE) { - result.append(subnode.getNodeValue()); - } else if (subnode.getNodeType() == Node.CDATA_SECTION_NODE) { - result.append(subnode.getNodeValue()); - } else if (subnode.getNodeType() == Node.ENTITY_REFERENCE_NODE) { - // Recurse into the subtree for text - // (and ignore comments) - result.append(getText(subnode)); - } - } - return result.toString(); - } -} diff --git a/id.server/doc/moa_id/examples/Template.html b/id.server/doc/moa_id/examples/Template.html deleted file mode 100644 index 97e54c6af..000000000 --- a/id.server/doc/moa_id/examples/Template.html +++ /dev/null @@ -1,23 +0,0 @@ -
    - - - -
    -
    - - - Hier finden Sie weitere Informationen zur Überprüfung der Zertifikate.
    - -
    \ No newline at end of file diff --git a/id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt b/id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt deleted file mode 100644 index 396d0faea..000000000 --- a/id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - - - - - - - - - - - - - - - - -
    - Name: - - -
    - Zeit: - - .., :: -
    - Applikation: - - -
    - Geschäftsbereich: - - -
    - Anmeldeserver: - - -
    - - -
    -
    -
    - -
    - - text/html - -
    diff --git a/id.server/doc/moa_id/examples/conf/MOA-ID-Configuration.xml b/id.server/doc/moa_id/examples/conf/MOA-ID-Configuration.xml deleted file mode 100644 index 6ce00228c..000000000 --- a/id.server/doc/moa_id/examples/conf/MOA-ID-Configuration.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - file:/home/moa/id/jakarta-tomcat-4.1.18/conf/moa-id/certs/server-certs - file:/c:/ - - - TrustProfile1 - - - TrustProfile1 - TransformsInfoProfile1MOAID - - - - CN=Test Signaturdienst Personenbindung,OU=Zentrales Melderegister,O=Bundesministerium f\C3\BCr Inneres,C=AT - - - - - - http://www.altova.com - http://www.altova.com - - - - - - - - file:/home/moa/id/jakarta-tomcat-4.1.18/conf/moa-id/oa/server-certs/tomcat - URL:toClientKeystoreOA - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - - diff --git a/id.server/doc/moa_id/examples/conf/OAConfBasicAuth.xml b/id.server/doc/moa_id/examples/conf/OAConfBasicAuth.xml deleted file mode 100644 index 0e4508036..000000000 --- a/id.server/doc/moa_id/examples/conf/OAConfBasicAuth.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - stateful - - MOAFamilyName - MOADateOfBirth - - - - \ No newline at end of file diff --git a/id.server/doc/moa_id/examples/conf/OAConfHeaderAuth.xml b/id.server/doc/moa_id/examples/conf/OAConfHeaderAuth.xml deleted file mode 100644 index c1a1964bf..000000000 --- a/id.server/doc/moa_id/examples/conf/OAConfHeaderAuth.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - stateful - - - - - - - - - \ No newline at end of file diff --git a/id.server/doc/moa_id/examples/conf/OAConfParamAuth.xml b/id.server/doc/moa_id/examples/conf/OAConfParamAuth.xml deleted file mode 100644 index 18e0a109c..000000000 --- a/id.server/doc/moa_id/examples/conf/OAConfParamAuth.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - stateful - - - - - - - - - \ No newline at end of file diff --git a/id.server/doc/moa_id/examples/moa-id-env-linux.txt b/id.server/doc/moa_id/examples/moa-id-env-linux.txt deleted file mode 100644 index 995d0b4d4..000000000 --- a/id.server/doc/moa_id/examples/moa-id-env-linux.txt +++ /dev/null @@ -1 +0,0 @@ -export CATALINA_OPTS="-Dmoa.id.configuration=/home/moa/jakarta-tomcat-4.1.18/conf/moa-id/MOAIDConfiguration.xml -Dlog4j.configuration=file:/home/moa/jakarta-tomcat-4.1.18/conf/moa-id/log4j.properties" diff --git a/id.server/doc/moa_id/examples/moa-id-env-windows.txt b/id.server/doc/moa_id/examples/moa-id-env-windows.txt deleted file mode 100644 index 109c196cf..000000000 --- a/id.server/doc/moa_id/examples/moa-id-env-windows.txt +++ /dev/null @@ -1 +0,0 @@ -set CATALINA_OPTS=-Dmoa.id.configuration=c:\jakarta-tomcat-4.1.18\conf\moa-id\MOAIDConfiguration.xml -Dlog4j.configuration=file:c:\jakarta-tomcat-4.1.18\conf\moa-id\log4j.properties diff --git a/id.server/doc/moa_id/faqs.htm b/id.server/doc/moa_id/faqs.htm deleted file mode 100644 index ed386e11e..000000000 --- a/id.server/doc/moa_id/faqs.htm +++ /dev/null @@ -1,109 +0,0 @@ - - - FAQs - Häufig gestellte Fragen - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    FAQs

    - -
    - -
    -
    FAQs - Häufig gestellte Fragen
    - -

    Lokal installiertes MOA-ID und Microsoft Internet Explorer

    -

    -Aufgrund eines Fehlers in Microsofts Internet Explorer kann es beim Testen eines lokal installierten Tomcat mit den MOA-ID-Modulen zu Fehlern kommen, da ein Redirect von der Auth-Komponente zur Proxy-Komponente nicht ausgeführt wird. -

    -

    -Als Workaround empfiehlt es sich, zum lokalen Testen einen alternativen Browser wie Opera, Mozilla oder Netscape zu verwenden, da diese Probleme dort nicht auftreten. -

    -
    -

    Lokale Proxy-Komponente und HTTPS

    -

    -Wenn die Proxy-Komponente lokal läuft und per TLS/SSL aufgerufen wird, kommt es zu einer Fehlermeldung. -

    -

    -Workaround: Wenn in der Konfiguration statt 'localhost' der eigene Rechnername verwendet wird, funktioniert die Proxy-Komponente wie gewohnt.
    -Zum Herausfinden des Rechnernamens wechselt man unter Windows auf die Kommandozeile und kann mittels 'ipconfig /all' den Rechnernamen herausfinden. -Unix/Linux-Anwender sehen bspw. mittels 'cat' in der Datei /etc/hosts nach, der Texteintrag hinter der eigenen IP-Adresse spezifiziert den Rechnernamen. -

    -
    -

    Tomcat und starke Verschlüsselung (>100 Bit)

    -

    -Serverseitig kann keine starke Verschlüsselung (seitens Tomcat) erzwungen werden. -

    -

    -Als Workaround empfiehlt es sich, einen Web-Server wie Apache oder den Microsoft Internet-Information-Server für das SSL-Handling vorzuschalten und dort in der jeweiligen Konfiguration starke Verschlüsselung zu erzwingen. -

    -
    -
    - - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/id.server/doc/moa_id/id-admin.htm b/id.server/doc/moa_id/id-admin.htm deleted file mode 100644 index 718f0cd03..000000000 --- a/id.server/doc/moa_id/id-admin.htm +++ /dev/null @@ -1,283 +0,0 @@ - - - MOA ID-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-ID

    -
    - Übersicht
    - - - -
    - -
    -
    -
    MOA ID-Administration v.1.1
    -

    -Die Komponenten des Moduls Identifikation (MOA-ID), MOA-ID-AUTH und MOA-ID-PROXY, sind als plattformunabhängige Webapplikationen ausgelegt. -MOA-ID-AUTH ist die Basiskomponente des Moduls, und MOA-ID-PROXY ist eine optionale Zusatzkomponente. -Für den Betrieb dieser Webapplikationen wird eine Java Virtual Machine und ein Java Servlet Container vorausgesetzt. -

    -Dieses Handbuch beschreibt die Installation und Konfiguration von MOA-ID-AUTH und von MOA-ID-PROXY, und die Einrichtung der Systemumgebungen. -

    -
    -
    - - - -
    - - - -
    -

     

    -
    -

    Übersicht

    -
    -Für den Betrieb von MOA-ID-AUTH sind unterschiedliche Szenarien möglich, die unterschiedliche Möglichkeiten bieten und die Installation unterschiedlicher Software- und Hardware-Komponenten erfordern. Dieser Abschnitt gibt einen kurzen Überblick über die notwendige Basis-Installation und optionale weitere Konfigurationsmöglichkeiten. -
    -
    -
    - -
    - - - -
    -

     

    -
    -
    Basis-Installation von MOA-ID-AUTH
    -

    -Die Basis-Installation stellt einerseits die minimalen Anforderungen für den Betrieb von MOA-ID-AUTH dar, andererseits dient sie als Ausgangspunkt für weitere (optionale) Konfigurations-Möglichkeiten. -

    -Folgende Software ist Voraussetzung für die Basis-Installation: - -

      -
    • JDK 1.3.1 oder JDK 1.4.1
    • -
    • Tomcat 4.1.18
    • -
    • MOA-ID-AUTH 1.0
    • -
    • MOA SP/SS 1.0 (entweder als WebService oder direkt als interne Bibliothek)
    • -
    -
    -Um möglichen Versionskonflikten aus dem Weg zu gehen sollten stets die neuesten Versionen von MOA-ID als auch von MOA-SP/SS verwendet werden.
    -In diesem Betriebs-Szenario wird MOA-ID-AUTH in Tomcat deployt. Tomcat fungiert gleichzeitig als HTTP- und HTTPS-Endpunkt für MOA-ID-AUTH. Beide Protokolle werden direkt in Tomcat konfiguriert. -

    -Die Webapplikation verwendet Log4j als Logging Toolkit. -
    -
    -
    - -
    - - - -
    -

     

    -
    -

    Basis-Installation von MOA-ID-PROXY (optional)

    -
    -Einer Online-Applikation, für die MOA-ID-AUTH die Authentisierung übernimmt, kann die Komponente MOA-ID-PROXY vorgeschaltet werden. Diese Komponente übernimmt die Anmeldedaten von MOA-ID-AUTH, führt die Anmeldung an der Online Applikation durch und schleust in der Folge Daten an die Online-Applikation und Daten an den Benutzer durch. - -Die Basis-Installation von MOA-ID-PROXY geschieht im Wesentlichen analog zur Basis-Installation von MOA-ID-AUTH. -

    -MOA-ID-AUTH und MOA-ID-PROXY können in verschiedenen Konstellationen zum Einsatz gebracht werden: -
      -
    • auf verschiedenen Rechnern
    • -
    • auf ein und demselben Rechner in verschiedenen Java Servlet Containern
    • -
    • auf ein und demselben Rechner in ein und demselben Java Servlet Container
    • -
    -


    -Ausgehend von der Basis-Installation können die optionalen Konfigurationen, die in den nachfolgenden Abschnitten beschrieben werden, unabhängig und in beliebiger Kombination aufgesetzt werden. -
    -
    -
    - -
    - - - -
    -

     

    -
    -

    Konfiguration mit vorgeschaltetem Webserver (optional)

    -
    -Den MOA ID Webapplikationen kann jeweils optional ein Webserver vorgeschaltet sein. Unter Microsoft Windows ist das im Regelfall der Microsoft Internet Information Server (MS IIS), auf Unix-Systemen kommt üblicherweise der Apache Webserver zum Einsatz. -

    - Folgende Software ist unter Windows Voraussetzung: -
    -
      -
    • MS IIS 5.0
    • -
    • Jakarta mod_jk 1.2.2
    • -
    -
    Folgende Software ist unter Unix/Linux Voraussetzung:
    -
      -
    • Apache Webserver 2.0.x mit mod_SSL
    • -
    • Jakarta mod_jk 1.2.2
    • -
    -
    In diesem Fall übernimmt der vorgeschaltete Webserver die Funktion des HTTP- und HTTPS-Endpunktes. Beide Protokolle werden im Webserver konfiguriert. -

    -Mittels mod_jk werden die Webservice-Aufrufe, die im vorgeschalteten Webserver eintreffen, an Tomcat weiter geleitet, bzw. die Antwort von Tomcat wieder an den Webserver zurück übermittelt. -
    -
    -
    - -
    - - - -
    -

     

    -
    -

    Konfiguration mit PostgreSQL (optional)

    -
    -Das MOA ID Webservice kann eine PostgreSQL Datenbank nutzen, um: -
    -
      -
    • Log-Meldungen zu speichern
    • -
    -
    Für den Zugriff auf PostgreSQL ist die Installation folgender Software Voraussetzung:
    -
      -
    • PostgreSQL 7.3
    • -
    -
    -
    - -
    - - - -
    -

     

    -
    -

    Zusammenfassung

    -
    -Notwendig für den Betrieb von MOA ID ist eine Basis-Installation. Weitere optionale Konfigurationen können unabhängig und in beliebiger Kombination miteinander durchgeführt werden, um eine bessere Integration der MOA ID Webapplikationen in die vorhandene Betriebs-Infrastruktur zu erreichen. -
    -
    -

    - - - -
    - - - -
    -

     

    -
    -

    Referenzierte Software

    -
    -Die Versionsangaben beziehen sich auf die Versionen, mit denen die MOA ID Webapplikationen entwickelt und getestet wurde. Geringfügig andere Software-Versionen stellen üblicherweise kein Problem dar. -
    -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    KomponenteVersion
    JDK 1.3.1_07  
    JDK 1.4.1 
    Tomcat 4.1.18 
    MOA-ID-AUTH 1.0 
    MOA-ID-PROXY 1.0 
    MOA-SPSS 1.0 
    Apache Webserver 1.3.23  
    Microsoft Internet Information Server 5.0  
    mod_SSL (*) 
    Jakarta mod_jk 1.2.2 
    Jakarta Log4j 1.2.7 
    PostgreSQL 7.3 
    -
    -

    - -
    -(*) passend zur Version des Apache Webservers -
    -
    -

    - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/id.server/doc/moa_id/id-admin_1.htm b/id.server/doc/moa_id/id-admin_1.htm deleted file mode 100644 index f56338747..000000000 --- a/id.server/doc/moa_id/id-admin_1.htm +++ /dev/null @@ -1,400 +0,0 @@ - - - MOA ID-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-ID

    - -
    - Basis-Installation
    - - -
    - -

    - -
    -

    Basis-Installation v.1.1

    -Bei der Basis-Installation von MOA-ID-AUTH und von MOA-ID-PROXY ist grundsätzlich gleichartig vorzugehen. -Unterschiede sind in der Installationsanweisung angeführt. -
    -

    Vorbereitung

    -
    -Installation des JDK
    -Installieren Sie das JDK 1.3.1 oder JDK 1.4.1 in ein beliebiges Verzeichnis. Das Wurzelverzeichnis der JDK-Installation wird im weiteren Verlauf als $JAVA_HOME bezeichnet. -

    -Installation von Tomcat
    -Installieren Sie Tomcat in ein Verzeichnis, das keine Leerzeichen im Pfadnamen enthält. Das Wurzelverzeichnis der Tomcat-Installation wird im weiteren Verlauf als $CATALINA_HOME bezeichnet. Hinweis: Tomcat wird in einer Distribution für JDKs ab Version 1.2 und in einer Distribution speziell für JDK 1.4 ausgeliefert. Installieren Sie die zur Version Ihres JDK passende Tomcat-Version. -

    -Entpacken der MOA ID Webapplikation
    -Entpacken Sie die ausgelieferten Dateien der Webapplikation (moa-id-auth-x.y.zip oder moa-id-proxy-x.y.zip; ersetzen Sie x.y durch die Releasenummer von MOA-ID-AUTH bzw. MOA-ID-PROXY) in ein beliebiges Verzeichnis. Diese Verzeichnisse werden im weiteren Verlauf als $MOA_ID_INST_AUTH bzw. $MOA_ID_INST_PROXY bezeichnet. -

    -Installation der IAIK JCE, des IAIK LDAP Protocol Handlers und von JSSE (JDK 1.3.1)
    -Da Java in der Version 1.3.1 ohne Unterstützung für Kryptographie, LDAP und SSL ausgeliefert wird, müssen diese Funktionalitäten nachträglich installiert werden. Es stehen hierfür zwei Möglichkeiten zur Verfügung:
    -1. Installation innerhalb des JDK 1.3.1:
    -Die Dateien aus dem Verzeichnis $MOA_ID_INST_AUTH/ext13 (oder $MOA_ID_INST_PROXY/ext13) müssen in das Verzeichnis $JAVA_HOME/jre/lib/ext kopiert werden. Anschließend steht eine Unterstützung für Kryptographie und SSL jeder Java-Anwendung die dieses JDK verwendet zur Verfügung.
    -2. Installation ausschließlich für Applikationen innerhalb von Tomcat:
    -Um die o.g. Unterstützung nur Tomcat-Anwendungen zu ermöglichen, können die Dateien aus dem Verzeichnis $MOA_ID_INST_AUTH/ext13 (oder $MOA_ID_INST_PROXY/ext13) in ein beliebiges Verzeichnis kopiert werden. Im Folgenden wird dieses Verzeichnis $MOA_ID_EXT genannt. Anschließend muss der Tomcat-Klassenpfad angepasst werden:
    -Für Windows-Betriebssysteme ist dafür die Datei $CATALINA_HOME\bin\setclasspath.bat anzupassen:
    -Hinter 'set CLASSPATH=%JAVA_HOME%\lib\tools.jar' müssen nun jeweils mit Semikolon getrennt, die Dateien aus $MOA_ID_EXT inklusive der vollständigen Pfadangaben angefügt werden.
    -Anschließend sieht diese Zeile beispielsweise folgendermaßen aus: -
    -	set CLASSPATH=%JAVA_HOME%\lib\tools.jar;
    -		      $MOA_ID_EXT\iaik_jce_full.jar;
    -		      $MOA_ID_EXT\iaik_ldap.jar;
    -		      $MOA_ID_EXT\jcert.jar;
    -		      $MOA_ID_EXT\jnet.jar;
    -		      $MOA_ID_EXT\jsse.jar 
    -
    -($MOA_ID_EXT ist durch den tatsächlichen Pfad zu ersetzen)
    -Unix/Linux-Anwender verfahren analog mit der Datei $CATALINA_HOME/bin/setclasspath.sh wobei ';' durch ':' zu ersetzen ist.

    -Installation der IAIK JCE und des IAIK LDAP Protocol Handlers (JDK 1.4.1)
    -Die Dateien aus dem Verzeichnis $MOA_ID_INST_AUTH/ext14 (oder $MOA_ID_INST_PROXY/ext14) müssen in das Verzeichnis $JAVA_HOME/jre/lib/ext kopiert werden. Anschließend steht eine Unterstützung für Kryptographie und SSL jeder Java-Anwendung die dieses JDK verwendet zur Verfügung.
    -Zusätzlich müssen die so genannten "Unlimited Strength Jurisdiction Policy Files 1.4.1" heruntergeladen, entpackt und ins Verzeichnis $JAVA_HOME/jre/lib/security kopiert werden. Der Download für diese Dateien findet sich am unteren Ende der Download-Seite für das JDK 1.4.1 in der Sektion "Other Downloads". -
    - -
    - -
    - - -
    -

     

    -
    -

    -
    -
    -

    Konfiguration von Tomcat

    -
    -Minimale Konfiguration
    -Die zentrale Konfigurations-Datei von Tomcat ist $CATALINA_HOME/conf/server.xml. Tomcat wird grundsätzlich mit -einer funktionierenden Default-Konfiguration ausgeliefert, die jedoch einiges an Ballast enthält und viele Ports -offen lässt. Die Datei $MOA_ID_INST_AUTH/tomcat/server.xml (bzw. $MOA_ID_INST_PROXY/tomcat/server.xml) enthält eine minimale -Tomcat-Konfiguration, die je einen Connector für HTTP und für HTTPS freischaltet.

    -SSL
    -Für den sicheren Betrieb von MOA-ID-AUTH ist die Verwendung von SSL Voraussetzung, sofern nicht ein vorgelagerter WebServer (Apache oder IIS) das SSL-Handling übernimmt. -Ebenso kann SSL auch für MOA-ID-PROXY verwendet werden. -Das Dokument Tomcat SSL Configuration HOW-TO gibt einen guten Überblick über die Konfiguration von SSL in Tomcat. Da die für SSL notwendigen Bibliotheken bereits im Abschnitt "Vorbereitung" eingebunden wurden, sind nur noch folgende Schritte notwendig: -
    -
      -
    • Erstellung eines Server-Keystores, welches den privaten Schlüssel des Servers sowie das Server-Zertifikat enthält, -z.B. mit dem Java Keytool.
      -Hinweis: Standardmäßig wird beim Erzeugen eines neuen Keystores im Home-Verzeichnis des Benutzers die Datei ".keystore" angelegt. Möchte man den Dateinamen und Pfad ändern, kann man das dem SSL-Connector in $CATALINA_HOME/conf/server.xml durch hinzufügen des Attributes keystoreFile="NAME DES KEYSTORES" im Element <Factory> bekannt machen. Das zum Keystore gehörende Passwort übergibt man Tomcat mittels des Attributes keystorePass= "PASSWORT DES KEYSTORES" im Element <Factory>.
    • -
    • Erstellung eines Keystores mit vertrauenswürdigen Client-Zertifikaten, z.B. mit dem Java Keytool (nur, wenn SSL Client-Authentisierung verwendet werden soll)
    • -
    • Falls eine Client-Authentisierung gewünscht ist, muss die Konfiguration des SSL-Connectors in $CATALINA_HOME/conf/server.xml angepasst werden.
    • -
    - -
    -MOA Administrator
    -Der Aufruf der URL für die dynamische Konfiguration von MOA-ID-AUTH ist durch eine Passwort-Abfrage geschützt, und kann nur von Benutzern aufgerufen werden, die der Benutzer-Rolle moa-admin zugeordnet werden können.
    -Um diese Benutzer-Rolle und einen oder mehrere Benutzer einzurichten, müssen in der Datei $CATALINA_HOME/conf/tomcat-users.xml unter dem Element <tomcat-users> sinngemäß folgende Einträge hinzugefügt werden: -
    -<role rolename="moa-admin"/>
    -<user username="moa" password="moa" roles="moa-admin"/>
    -
    -
    -
    - -
    - - -
    -

     

    -
    -

    -
    -
    -

    Deployment von MOA-ID-AUTH in Tomcat

    -
    -Um MOA-ID-AUTH in Tomcat für den Ablauf vorzubereiten, sind folgende Schritte notwendig:
    -
      -
    • Die Datei $MOA_ID_INST_AUTH/moa-id-auth.war wird ins Verzeichnis $CATALINA_HOME/webapps kopiert. Dort wird sie beim ersten Start von Tomcat automatisch ins Verzeichnis $CATALINA_HOME/webapps/moa-id-auth entpackt.
    • -
    • Die MOA-ID Konfigurationsdatei und die zugehörigen Verzeichnisse "certs" und "transforms" werden in ein beliebiges Verzeichnis im Filesystem kopiert (z.B. $CATALINA_HOME/conf/moa-id).
      In $MOA_ID_INST_AUTH/conf/moa-id befindet sich eine funktionsfähige Konfiguration, die als Ausgangspunkt für die Konfiguration von MOA-ID-AUTH dienen kann.
    • -
    • Die endorsed Libraries für Tomcat müssen aus dem Verzeichnis $MOA_ID_INST_AUTH/endorsed in das Tomcat-Verzeichnis $CATALINA_HOME/common/endorsed kopieren werden. Folgende Libraries sind für das Deployment im endorsed Verzeichnis vorgesehen: -
        -
      • Xerces-J-2.0.2 (bestehend aus xercesImpl.jar und xmlParserAPIs.jar)
      • -
      -Eventuell vorhandene Dateien mit dem gleichen Namen müssen ersetzt werden. -
    • -
    • Folgende Java System Properties sind zu setzen:
      -
        -
      • moa.id.configuration=Name der MOA ID Konfigurationsdatei. Eine beispielhafte MOA ID Konfiguration ist in $MOA_ID_INST_AUTH/conf/moa-id/ SampleMOAIDConfiguration.xml enthalten.
      • -
      • log4j.configuration=URL der Log4j Konfigurationsdatei. Eine beispielhafte Log4j-Konfiguration ist in $MOA_ID_INST_AUTH/conf/moa-id/log4j.properties enthalten.
      • -
      • javax.net.ssl.trustStore=Name des Truststores für vertrauenswürdige SSL Client-Zertifikate (optional; nur, wenn SSL Client-Authentisierung durchgeführt werden soll).
      • -
      -Diese Java System-Properties werden Tomcat über die Umgebungsvariable CATALINA_OPTS mitgeteilt -(siehe Beispiele für Windows und für Linux). -
    -
    -
    - - -
    - - -
    -

     

    -
    -

    -
    -
    -

    Deployment von MOA-ID-PROXY in Tomcat

    -
    -Um MOA-ID-PROXY in Tomcat für den Ablauf vorzubereiten, sind folgende Schritte notwendig:
    -
      -
    • Die Datei $MOA_ID_INST_PROXY/moa-id-proxy.war wird in ein beliebiges Verzeichnis (bspw. $CATALINA_HOME) kopiert. HINWEIS: Das Verzeichnis darf NICHT $CATALINA_HOME/webapps sein!
      - Anschliessend muss in der Datei $CATALINA_HOME/conf/server.xml der Tomcat-Root-Context auf diese Datei gesetzt werden: wenn das war-file sich in $CATALINA_HOME befindet, geschieht dies mit dem Einfügen von folgendem Element innerhalb von <Server>...<Service>...<Engine>...<Host>:
    • -
      <Context path="" docBase="../moa-id-proxy.war" debug="0"/>
      -Anmerkung: Der Root-Context von Tomcat ist normalerweise auskommentiert.

      -
    • Die MOA-ID Konfigurationsdatei und die zugehörigen Verzeichnisse "certs" und "oa" werden in ein beliebiges Verzeichnis im Filesystem kopiert (z.B. $CATALINA_HOME/ conf/moa-id).
      -In $MOA_ID_INST_PROXY/conf/moa-id befindet sich eine funktionsfähige Konfiguration, die als Ausgangspunkt für die Konfiguration von MOA-ID-PROXY dienen kann.
    • -
    • Die endorsed Libraries für Tomcat müssen aus dem Verzeichnis $MOA_ID_INST_PROXY/endorsed in das Tomcat-Verzeichnis $CATALINA_HOME/common/endorsed kopiert werden. Folgende Libraries sind für das Deployment im endorsed Verzeichnis vorgesehen: -
        -
      • Xerces-J-2.0.2 (bestehend aus xercesImpl.jar und xmlParserAPIs.jar)
      • -
      -Eventuell vorhandene Dateien mit dem gleichen Namen müssen ersetzt werden. -
    • -
    • Folgende Java System Properties sind zu setzen:
      -
        -
      • moa.id.configuration=Name der MOA ID Konfigurationsdatei. Eine beispielhafte MOA ID Konfiguration ist in $MOA_ID_INST_AUTH/conf/moa-id/ SampleMOAIDConfiguration.xml enthalten.
      • -
      • log4j.configuration=URL der Log4j Konfigurationsdatei. Eine beispielhafte Log4j-Konfiguration ist in $MOA_ID_INST_AUTH/conf/moa-id/log4j.properties enthalten.
      • -
      • javax.net.ssl.trustStore=Name des Truststores für vertrauenswürdige SSL Client-Zertifikate (optional; nur, wenn SSL Client-Authentisierung durchgeführt werden soll).
      • -
      -Diese Java System-Properties werden Tomcat über die Umgebungsvariable CATALINA_OPTS mitgeteilt -(siehe Beispiele für Windows und für Linux). -
    -
    -
    - -
    - - -
    -

     

    -
    -

    -
    -
    -

    Starten und Stoppen von Tomcat

    -
    -Nach dem Deployment und der Konfiguration kann Tomcat aus seinem Wurzelverzeichnis mit
    -
    -    bin\catalina start (unter Windows) oder 
    -    bin/catalina.sh start (unter Unix/Linux) 
    -
    -gestartet werden. Das Stoppen von Tomcat erfolgt analog mit
    -
    -    bin\catalina stop  (unter Windows) oder 
    -    bin/catalina.sh stop (unter Unix/Linux) 
    -
    -Ein erfolgreicher Startvorgang von MOA-ID-AUTH ist an folgender Log-Meldung ersichtlich:
    -
    -    INFO | 08 13:33:38,497 | main | 
    -    	MOA ID Authentisierung wurde 
    -    	erfolgreich gestartet
    -
    -Analog bei MOA-ID-PROXY:
    -
    -    INFO | 08 13:35:49,876 | main | 
    -    	MOA ID Proxy wurde erfolgreich gestartet
    -
    - -Nach dem erfolgreichen Starten von Tomcat steht MOA-ID-AUTH unter der URL -
    -http(s)://host:port/moa-id-auth/StartAuthentication    
    -
    -zur Verfügung. Der WebService ist unter -
    -http(s)://host:port/moa-id-auth/services/GetAuthenticationData  
    -
    -erreichbar. Die Verfügbarkeit der Anwendung kann überprüft werden, indem die URLs mit einem Web-Browser aufgerufen werden.
    -
    -
    -Dynamische Konfigurations-Updates
    -Dynamische Konfigurations-Updates können für MOA-ID-AUTH durch den Aufruf der URL http://hostname:port/moa-id-auth/ConfigurationUpdate (z.B. durch Eingabe in einem Browser) durchgeführt werden. Analog wird die Konfiguration von MOA-ID-PROXY mittels http://hostname:port/ConfigurationUpdate aktualisiert.

    -Hinweis: Konfigurationsänderungen für die Online-Applikationen betreffen grundsätzlich sowohl die Auth- als auch die Proxy-Komponente. -Wenn bspw. das publicURLPrefix der OA geändert wird, muss sowohl für die Auth- als auch für die Proxy-Komponente ein ConfigurationUpdate durchgeführt werden.

    -Konnte MOA-ID-AUTH bzw. MOA-ID-PROXY nicht ordnungsgemäß konfiguriert und gestartet werden, geht das aus der Log-Meldung hervor:
    -
    -FATAL | 03 13:19:06,924 | main | Fehler 
    -	beim Starten des Service MOA ID Authentisierung
    -
    -bzw. -
    -FATAL | 03 13:19:06,924 | main | Fehler 
    -	beim Starten des Service MOA ID Proxy
    -
    -In diesem Fall geben die WARN bzw. ERROR Log-Meldungen unmittelbar davor Aufschluss über den genaueren Grund.
    -
    -
    - - -
    - - -
    -

     

    -
    -

    -
    -
    -
    -

    Logging

    -
    -Die MOA ID Webapplikation verwendet Jakarta Log4j für die Ausgabe von Log-Meldungen am Bildschirm bzw. in Log-Dateien. Log4j bietet zahlreiche Konfigurationsmöglichkeiten, die ausführlich im Log4j Handbuch beschrieben sind. Unter anderem gibt es die Möglichkeit, folgende Einstellungen vorzunehmen:
    -
      -
    • Das verwendete Log-Level (DEBUG, INFO, WARN, ERROR, FATAL).
    • -
    • Name und maximale Größe der Log-Datei(en).
    • -
    • Das Aussehen der Log-Einträge.
    • -
    -Es werden folgende Log-Hierarchien verwendet: -
    -
      -
    • moa.id.auth für alle Log-Meldungen aus dem MOA-ID-AUTH Modul
    • -
    • moa.id.proxy für alle Log-Meldungen aus dem MOA-ID-PROXY Modul
    • -
    • moa.spss.server für alle Log-Meldungen aus dem MOA-SPSS Modul
    • -
    • iaik.server für alle Log-Meldungen aus den IAIK Kryptographie-Modulen
    • -
    -
    -Als Ausgangspunkt für die Logging-Konfiguration liegt die Datei $MOA_ID_INST_AUTH/conf/moa-id/log4j.properties (bzw. $MOA_ID_INST_PROXY/conf/moa-id/log4j.properties) bei. -Wird diese Datei als Logging-Konfiguration verwendet, so werden alle Log-Meldungen sowohl in die Konsole, als auch in die Datei $CATALINA_HOME/logs/moa-id.log geschrieben. -

    -Format der Log-Meldungen
    -Anhand einer konkreten Log-Meldung wird das Format der MOA ID Log-Meldungen erläutert: -
    -    INFO | 09 08:23:59,385 | Thread-8 | 
    -    	Anmeldedaten zu MOASession -5468974113772848113 
    -    	angelegt, SAML Artifakt 
    -    	AAF/BrdRfnMaQVGIbP/Gf9OwDUwwsXChb7nuT+VXQzOoHbV
    -
    - -Der Wert INFO besagt, dass die Log-Meldung im Log-Level INFO entstanden ist. Folgende Log-Levels existieren:
    -
      -
    • DEBUG: Log-Meldungen im Log-Level DEBUG geben Auskunft über die innere Arbeitsweise des Systems. Sie sind hauptsächlich für Entwickler interessant.
    • -
    • INFO: Diese Log-Meldungen geben informative Status-Informationen über den Ablauf der Webapplikation, wie z.B., dass eine neue Anfrage eingelangt ist.
    • -
    • WARN: Bei der Ausführung einer Operation sind leichte Fehler aufgetreten. Der Ablauf der Webapplikation ist nicht weiter beeinträchtigt.
    • -
    • ERROR: Die Ausführung einer Operation musste abgebrochen werden. Die Webapplikation ist davon nicht beeinträchtigt.
    • -
    • FATAL: Es ist ein Fehler aufgetreten, der den weiteren Betrieb der Webapplikation nicht mehr sinnvoll macht.
    • -
    -Der nächste Wert 09 08:23:59,385, gibt den Zeitpunkt an, an dem die Log-Meldung generiert wurde (in diesem Fall den 9. Tag im aktuellen Monat, sowie die genaue Uhrzeit).
    -Der Rest der Zeile einer Log-Meldung ist der eigentliche Text, mit dem das System bestimmte Informationen anzeigt. Im Fehlerfall ist häufig ein Java Stack-Trace angefügt, der eine genauere Ursachen-Forschung ermöglicht. -

    - - -Wichtige Log-Meldungen
    -Neben den im Abschnitt "Starten und Stoppen von Tomcat" beschriebenen Log-Meldungen, die anzeigen, ob die Webapplikation -ordnungsgemäß gestartet wurde, geben nachfolgenden Log-Meldungen Aufschluss über die Abarbeitung von Anfragen. -Die Annahme einer Anfrage wird beispielsweise angezeigt durch: -
    -
    -    INFO | 09 08:37:17,663 | Thread-9 | 
    -      MOASession 6576509775379152205 angelegt  
    -     	
    -    INFO | 09 08:37:20,828 | Thread-9 | 
    -      Anmeldedaten zu MOASession 6576509775379152205 
    -      angelegt, SAML Artifakt 
    -      AAF/BrdRfnMaQVGIbP/Gf9OwDUwwsXChb7nuT+VXQzOoHbV
    -    
    -
    - -
    -Die 1. Log-Meldung besagt, dass sich ein Benutzer an MOA-ID-AUTH angemeldet und eine eindeutige SessionID zugewiesen bekommen hat.
    -Die 2. Log-Meldung informiert darüber, dass die Anmeldedaten des Benutzers unter dem angezeigten SAML Artifakt abgeholt werden können.
    -
    -Wenn nun versucht wird, eine Transaktion mit einer ungültigen SessionID fortzusetzen erhält man folgende Log-Meldung:
    -
    -    ERROR | 09 09:34:27,105 | Thread-8 | 
    -	at.gv.egovernment.moa.id.AuthenticationException: 
    -	MOASessionID ist unbekannt 
    -	(MOASessionID=-8650403497547200032)
    -
    -
    -In diesem Fall gibt der mitgeloggte Stacktrace Auskunft über die Art des Fehlers. Der Aufrufer der MOA ID Webapplikation bekommt einen Fehlercode sowie eine kurze Beschreibung des Fehlers als Antwort zurück. -

    -Die Tatsächlich übertragenen Anfragen bzw. Antworten werden aus Effizienzgründen nur im Log-Level DEBUG angezeigt. -
    -
    -

    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/id.server/doc/moa_id/id-admin_2.htm b/id.server/doc/moa_id/id-admin_2.htm deleted file mode 100644 index b4e22a36b..000000000 --- a/id.server/doc/moa_id/id-admin_2.htm +++ /dev/null @@ -1,623 +0,0 @@ - - - MOA ID-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-ID

    - - -
    - Konfiguration
    - -
    - -

    - - -
    -
    Konfiguration von MOA ID v.1.1
    - -
    -

    Konfiguration von MOA ID v.1.1

    -

    -Die Konfiguration von MOA ID wird mittels einer XML-basierten Konfigurationsdatei, die dem Schema -MOA-ID-Configuration-1.1.xsd entspricht, durchgeführt. -

    -Der Ort der Konfigurationsdatei wird im Abschnitt Deployment der Web-Applikation -in Tomcat beschrieben. -

    -Die folgenden Abschnitte erläutern das Format der Konfigurationsdatei. -MOA-ID-Configuration.xml zeigt ein Beispiel -für eine umfassende Konfigurationsdatei. -

    -Enthält die Konfigurationsdatei relative Pfadangaben, werden diese relativ zum Verzeichnis, in dem Tomcat gestartet wurde, interpretiert. - -
    -

    -ConnectionParameter
    -Das Element ConnectionParameter enthält Parameter, die MOA-ID für den Aufbau von Verbindungen zu anderen Komponenten -benötigt. Dieses Element tritt mehrfach in der Konfigurationsdatei auf und wird daher vorab detailliert beschrieben. -

    -Das Attribut URL enthält die URL der Komponente zu der die Verbindung aufgebaut werden soll. -Wird das Schema https verwendet, können die Kind-Elemente AcceptedServerCertificates -und ClientKeyStore angegeben werden. Wird das Schema http verwendet müssen keine Kind-Elemente -angegeben werden bzw. werden diese nicht ausgewertet. Andere Schemas werden nicht unterstützt. -

    -Wird die Verbindung über TLS aufgebaut und erfordert der TLS-Server eine Client-Authentisierung -mittels Zertifikate, dann muss das Kind-Element ClientKeyStore spezifiziert werden, und es muss -eine URL enthalten, die einen PKCS#12-Keystore mittels URL-Schema 'file:' referenziert. -Diesem Keystore wird der private Schlüssel für die TLS-Client-Authentisierung entnommen. -Das Passwort zum Lesen des privaten Schlüssels wird im Attribut ClientKeyStore/@password konfiguriert.
    -Aufgrund der Tatsache, dass starke Verschlüsselung eine Voraussetzung für MOA-ID darstellt, werden clientseitig nur die folgenden Cipher Suites unterstützt:
    -

      -
    • SSL_RSA_WITH_RC4_128_SHA
    • -
    • SSL_RSA_WITH_RC4_128_MD5
    • -
    • SSL_RSA_WITH_3DES_EDE_CBC_SHA
    • -
    -Im Kind-Element AcceptedServerCertificates kann ein Verzeichnisname angegeben werden, in dem die -akzeptierten Zertifikate der TLS-Verbindung hinterlegt sind. Dieses Verzeichnis wird mittels URL-Schema 'file:' referenziert. In diesem Verzeichnis werden nur Serverzertifikate -abgelegt. Fehlt dieser Parameter wird lediglich überprüft ob ein Zertifikatspfad zu den im Element <TrustedCACertificates> angegebenen Zertifikaten erstellt werden kann. Falls dies nicht möglich ist, kommt es zu einem Fehlerfall. -

    - - -
    -

    -AuthComponent
    -AuthComponent enthält Parameter, die nur die MOA-ID Authentisierungskomponente betreffen. -Das Element ist optional und muss nicht verwendet werden, wenn auf dem Server keine MOA-ID Authentisierungskomponente -installiert wird. -

    -Das Element AuthComponent hat vier Kind-Element: -

      -
    • BKUSelection (optional)
    • -
    • SecurityLayer
    • -
    • MOA-SP
    • -
    • IdentityLinkSigners
    • -
    -

    - -
    -

    -AuthComponent/BKUSelection
    -Das optionale Element BKUSelection enthält Parameter zur Nutzung eines Auswahldienstes für eine -Bürgerkartenumgebung (BKU). Wird das Element nicht angegeben, dann wird die lokale Bürgerkartenumgebung -auf http://localhost:3495/http-security-layer-request verwendet. -

    -Das Attribut BKUSelectionAlternative gibt an welche Alternative zur BKU-Auswahl verwendet werden soll. MOA-ID -unterstützt die Werte HTMLComplete (vollständige HTML-Auswahl) und HTMLSelect (HTML-Code für Auswahl) -["Auswahl von Bürgerkartenumge-bungen", Arno Hollosi]. -

    -Das Kind-Element ConnectionParameter spezifiziert die Verbindung zum Auswahldienst (siehe -ConnectionParameter), jedoch kann das Kind-Element ClientKeyStore -nicht angegeben werden. -

    - -
    -

    -AuthComponent/SecurityLayer
    -Das Element SecurityLayer enthält Parameter zur Nutzung des Security-Layers. -

    -Das Kind-Element TransformsInfo spezifiziert eine Transformation, die für die Erstellung der Signatur -des AUTH-Blocks als Parameter in den CreateXMLSignatureRequest des Security-Layers integriert werden muss. -Mehrere unterschiedliche Implementierungen des Security-Layer können durch die Angabe mehrerer TransformsInfo-Elemente unterstützt werden. -

    -Das Attribut TransformsInfo/@filename verweist auf eine Datei, die das globale Element TransformsInfo vom Typ -TransformsInfo enthält. Das Encoding dieser Datei muss (anders als im Beispiel) UTF-8 sein. -

    -Beispiel für eine TransformsInfo-Datei -

    - -
    -

    -AuthComponent/MOA-SP
    -Das Element MOA-SP enthält Parameter zur Nutzung von MOA-SP. MOA-SP wird für die überprüfung der Signatur -der Personenbindung und des AUTH-Blocks verwendet. -

    -Wird das Kind-Element ConnectionParameter angegeben, dann wird MOA-SP über das Webservice angesprochen, andernfalls -wird MOA-SP über das API angesprochen. -

    -Das Kind-Element VerifyIdentityLink/TrustProfileID spezifiziert eine TrustProfileID, die für den -VerifyXMLSignatureRequest zur überprüfung der Signatur der Personenbindung verwendet werden muss. -

    -Die Kind-Elemente VerifyAuthBlock/TrustProfileID und VerifyAuthBlock/VerifyTransformsInfoProfileID -spezifizieren eine TrustProfileID und eine ID für ein Transformationsprofil, die für den -VerifyXMLSignatureRequest zur überprüfung der Signatur des Auth-Blocks verwendet werden müssen. -

    - -
    -

    -AuthComponent/IdentityLinkSigners
    -Dieses Element gibt an von welchen Signatoren die Signatur des IdentityLink erstellt werden musste -damit der IdentityLink akzeptiert wird. Für jeden Signator muss der X509SubjectName nach RFC 2253 -spezifiziert werden. -

    -Beispiel -

    -

    - -
    -

    -ProxyComponent
    -ProxyComponent enthält Parameter, die nur die MOA-ID Proxykomponente betreffen. -Das Element ist optional und muss nicht verwendet werden, wenn auf dem Server keine MOA-ID Proxykomponente -installiert wird. -

    -Das Element ProxyComponent hat nur das Kind-Element AuthComponent, das die Verbindung zur -Authentisierungs-komponente beschreibt. -

    -Baut die Proxykomponente die Verbindung zur Authentisierungs-komponente -über ein Webservice auf, dann muss das Element ConnectionParameter spezifiziert werden. -

    -Baut die Proxykomponente die Verbindung zur Authentisierungs-komponente -über das API auf, dann wird das Element ConnectionParameter nicht spezifiziert. -

    - -
    -

    -OnlineApplication
    -Für jede Online-Applikation, die über MOA-ID authentisiert wird, gibt es ein Element OnlineApplication. -Die Parameter betreffen teils die MOA-ID Authentisierungskomponente, teils die MOA-ID Proxykomponente, teils beide. -

    -Das Attribut OnlineApplication/@publicURLPrefix entspricht dem URL-Präfix der nach außen sichtbaren -Domäne der Online-Applikation, welcher von der MOA-ID Proxykomponente durch den URL-Präfix der wirklichen -Domäne (Attribut OnlineApplication/ProxyComponent/ConnectionParameter/@URL) ersetzt wird. -Es dient als Schlüssel zum Auffinden der Konfigurationsparameter zur Online-Applikation. -

    -Das Element OnlineApplication hat optional zwei Kind-Elemente: AuthComponent und ProxyComponent. -

    - -
    -

    -OnlineApplication/AuthComponent
    -Das Element OnlineApplication/AuthComponent muss verwendet werden wenn auf dem Server die Authentisierungskomponente -installiert wird. Es enthält Parameter, die das Verhalten der Authentisierungskomponente bezüglich der Online-Applikation -konfiguriert. -

    -Das Attribut provideZMRZahl bestimmt, ob die ZMR-Zahl in den Anmeldedaten aufscheint. -Analog steuern die Attribute provideAUTHBlock und provideIdentityLink, ob die Anmeldedaten -den Auth-Block bzw. die Personenbindung enthalten. Alle Attribute sind optional und haben den Default-Wert false. -

    -

    - -
    -

    -OnlineApplication/ProxyComponent
    -Das Element OnlineApplication/ProxyComponent muss verwendet werden wenn auf dem Server die Proxykomponente -installiert wird. -

    -Das optionale Attribut configFileURL verweist auf eine Konfigurationsdatei die dem Schema -MOA-ID-Configuration-1.1.xsd entspricht mit Dokument-Element -Configuration.
    -Default-Wert: http://<realURLPrefix>/MOAConfig.xml -
    (<realURLPrefix> entspricht dem Wert von OnlineApplication/ProxyComponent/ConnectionParameter/@URL) -

    -Das optionale Attribut sessionTimeOut legt das Timeout einer Benutzersession in der -Proxykomponente in Sekunden fest.
    -Default-Wert: 3600 -

    -Im optionalen Attribut loginParameterResolverImpl kann der Klassenname eines -zu verwendenden LoginParameterResolver angegeben werden, welcher die Defaultimplementierung ersetzt. -

    -Im optionalen Attribut connectionBuilderImpl kann der Klassenname eines zu verwendenden -ConnectionBuilder angegeben werden, welcher die Defaultimplementierung ersetzt. -

    -Im Kind-Element ConnectionParameter ist konfiguriert, wie MOA-ID-PROXY zur Online-Applikation verbindet. -

    - -
    -

    -ChainingModes
    -Das Element ChainingModes definiert, ob bei der Zertifikatspfad-überprüfung das Kettenmodell -("chaining") oder das Modell nach PKIX RFC 3280 ("pkix") verwendet werden soll. -

    -Das Attribut systemDefaultMode spezifiziert das Modell, das im Standardfall verwendet werden soll. -

    -Mit dem Kind-Element TrustAnchor kann für jeden Trust Anchor ein abweichendes Modell spezifiziert werden. -Ein Trust Anchor ist ein Zertifikat, das in TrustedCACertificates spezifiziert ist. -Ein Trust Anchor wird durch den Typ <dsig:X509IssuerSerialType> spezifiziert. -Das für diesen Trust Anchor gültige Modell wird durch das Attribut mode spezifiziert. -

    -Gültige Werte für die Attribute systemDefaultMode und mode sind "chaining" und "pkix". -

    -Beispiel -

    - -
    -

    -TrustedCACertificates
    -Das Element TrustedCACertificates enthält eine URL, die auf ein Verzeichnis verweist, das jene Zertifikate -enthält, die als vertrauenswürdig betrachtet werden. Diese URL muss mittels URL-Schema 'file:' referenziert werden. Im Zuge der Überprüfung der TLS-Serverzertifikate wird die -Zertifikatspfaderstellung an einem dieser Zertifikate beendet. -

    - -
    -

    -GenericConfiguration
    -Das Element GenericConfiguration ermöglicht das Setzen von Namen-Werte Paaren mittels der Attribute -name und value. Die folgende Liste spezifiziert -

      -
    • gültige Werte für das name-Attribut,
    • -
    • eine Beschreibung
    • -
    • gültige Werte für das value-Attribut und (falls vorhanden)
    • -
    • den Default-Wert für das value-Attribut.
    • -
    - - - - -
    name: DirectoryCertStoreParameters.RootDir
    -Gibt den Pfadnamen zu einem Verzeichnis an, das als Zertifikatsspeicher im Zuge der TLS-Server-Zertifikatsüberprüfung -verwendet wird.
    -
    -value:
    -Gültige Werte: Name eines gültigen Verzeichnisses
    -Dieser Parameter muss angegeben werden. -
    - - - - -
    name: AuthenticationSession.TimeOut
    -Gibt die Zeitspanne in Sekunden vom Beginn der Authentisierung bis zum Anlegen der Anmeldedaten an. -Wird die Angegebene Zeitspanne überschritten wird der Anmeldevorgang abgebrochen. -
    -
    -value:
    -Gültige Werte: positive Ganzzahlen
    -Default-Wert: 120 -
    - - - - -
    name: AuthenticationData.TimeOut
    -Gibt die Zeitspanne in Sekunden an, für die die Anmeldedaten in der Authentisierungskomponente zum Abholen -durch die Proxykomponente oder eine nachfolgende Applikation bereitstehen. Nach Ablauf dieser Zeitspanne werden die Anmeldedaten gelöscht.
    -
    -value:
    -Gültige Werte: positive Ganzzahlen
    -Default-Wert: 600 -
    - - - - -
    name: TrustManager.RevocationChecking
    -Für die TLS-Server-Authentisierung dürfen nur Server-Zertifikate verwendet werden, die eine CRLDP-Extension enthalten (andernfalls kann von MOA-ID keine CRL-überprüfung durchgeführt werden). -
    Soll das RevocationChecking generell ausgeschaltet werden, ist dieses Attribut anzugeben und auf "false" zu setzen. -
    -
    -value:
    -Gültige Werte: true, false
    -Default-Wert: true -
    - - -
    - - -

    -
    - - - -
    -

     

    -
    -

    -
    -
    -

    Konfiguration der Online-Applikation

    -
    -Die Konfiguration der OA beschreibt die Art und Weise, wie die Proxykomponente die Anmeldung an der Online-Applikation -durchführt. -

    -Der Name der Konfigurationsdatei wird in der Konfiguration von MOA-ID als Wert des Attributs -configFileURL des Elements MOA-IDConfiguration/OnlineApplication/ProxyComponent hinterlegt. -
    Ist dieses Attribut nicht gesetzt, dann wird die Datei von http://<realURLPrefix>/MOAConfig.xml geladen, -wobei <realURLPrefix> dem Konfigurationswert OnlineApplication/ProxyComponent/ConnectionParameter/@URL entspricht. -

    -Die Konfigurationsdatei ist eine XML-Datei, die dem Schema -MOA-ID-Configuration-1.1.xsd mit dem Wurzelelement -Configuration entspricht. -
    - -
    -

    -LoginType
    -Das Element LoginType gibt an, ob die Online-Applikation ein einmaliges Login erwartet (stateful), -oder ob die Login-Parameter bei jedem Request mitgegeben werden müssen (stateless). Im Fall einer stateful -Online-Applikation werden die in der HTTP-Session der Proxykomponente gespeicherten Anmeldedaten nur für den Aufruf -des Login-Scripts verwendet. Unmittelbar nach dem Aufruf werden sie gelöscht. -
    -Default-Wert: stateful -

    -
    - -
    -

    -ParamAuth
    -Konfiguriert die übergabe der Authentisierungs-Parameter an die Online-Applikation mittels URL-Parametern. Das Element -kann ein oder mehrere Kind-Elemente <Parameter> beinhalten. -

    -
    - -
    -

    -ParamAuth/Parameter
    -Das Element <Paramter> enthält die Attribute Name und Value. -

    -Das Attribut Name beschreibt den Namen des Parameters und ist ein frei zu wählender String. -

    -Das Attribut Value beschreibt den Inhalt des Parameters und kann einen der durch MOAAuthDataType beschriebenen -Werte annehmen. Gültige Werte von MOAAuthDataType sind: -

      -
    • MOAGivenName - der Vorname des Benutzers, wie in der Personenbindung enthalten -
    • MOAFamilyName - der Nachname des Benutzers, wie in der Personenbindung enthalten -
    • MOADateOfBirth - das Geburtsdatum des Benutzers, wie in der Personenbindung enthalten -
    • MOAVPK - die verfahrensspezifische Personenkennzeichnung des Benutzers, wie von der -Authentisierungskomponente berechnet -
    • MOAPublicAuthority - wird durch true ersetzt, falls der Benutzer mit einem Zertifikat signierte, -welches eine Behördenerweiterung beinhaltet. Andernfalls wird false gesetzt -
    • MOABKZ - das Behördenkennzeichen (nur sinnvoll, wenn MOAPublicAuthority den Wert true -ergibt) -
    • MOAQualifiedCertificate - wird durch true ersetzt, falls das Zertifikat des Benutzers -qualifiziert ist, andernfalls wird false gesetzt -
    • MOAZMRZahl - die ZMR-Zahl des Benutzers; diese ist nur dann verfügbar, wenn die Online-Applikation -die ZMR-Zahl bekommen darf (und daher in der Personenbindung enthalten ist) -
    • MOAIPAddress - IP-Adresse des Client des Benutzers. -
    - -Anhand der <Parameter>-Elemente wird der Request für den Login-Vorgang (für stateful Online-Applikationen) -folgendermaßen zusammenge-stellt:
    -
    -GET https://<login-url>?
    -  <p1.name=p1.resolvedValue>&
    -  <p2.name=p2.resolvedValue>...
    -
    -

    -Die <login-url> ergibt sich aus dem Parameter OA des Aufrufs von MOA-ID-AUTH, -zusammen mit der Konfiguration von OnlineApplication/@publicURLPrefix und von OnlineApplication/ProxyComponent/ConnectionParameter/@URL. -
    Der Wert resolvedValue wird in MOA-ID-PROXY je nach Wert des Platzhalters eingesetzt. -

    -
    -
    -

    -BasicAuth
    -Das Element BasicAuth konfiguriert die übergabe der Authentisierungs-Parameter an die Online-Appliktion -mittels HTTP Basic Authentication. Es enthält zwei Kind-Elemente. -

    -Das Element UserID gibt die UserId des zu authentisierenden Benutzers an und kann einen der durch -MOAAuthDataType beschriebenen Werte annehmen. -

    -Das Element Password gibt das Passwort des zu authentisierenden Benutzers an und kann einen der durch -MOAAuthDataType beschriebenen Werte annehmen. -

    -
    - -
    -

    -HeaderAuth
    -Das Element HeaderAuth konfiguriert die übergabe der Authentisierungs-Parameter an die Online-Applikation -in HTTP Request Headern. Das Element kann ein oder mehrere Kind-Elemente <Header> beinhalten. -

    -
    - - -
    - - -
    - - - -
    -

     

    -
    -

    -
    -
    -

    Konfiguration von MOA-SP

    -
    - -

    -MOA-ID überprüft die Signaturen der Personenbindung und des AUTH-Blocks mit dem VerifyXMLSignatureRequest -von MOA-SP. Dazu muss MOA-SP wie unten beschreiben konfiguriert werden. -

    -Ein Auszug einer beispielhaften MOA-SP Konfigurationsdatei, die diese Konfigurationsparameter enthält ist in -$MOA_ID_INST_AUTH/conf/moa-spss/ SampleMOASPSSConfiguration.xml enthalten. - -

    - -
    -

    -VerifyTransformsInfoProfile
    -Der Request zum überprüfen der Signatur des AUTH-Blocks verwendet ein vordefiniertes VerifyTransformsInfoProfile. -Die im Request verwendete Profil-ID wird in der MOA-ID Konfigurationsdatei -im Element /MOA-IDConfiguration/ AuthComponent/MOA-SP/VerifyAuthBlock/ VerifyTransformsInfoProfileID definiert. -Entsprechend muss am MOA-SP Server ein VerifyTransformsInfoProfile mit gleichlautender ID definiert werden. Die -Profiledefinition selbst ist in der Auslieferung von MOA-ID in $MOA_ID_INST_AUTH/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml -enthalten. Diese Profildefinition muss unverändert übernommen werden. -

    -
    - -
    -

    -TrustProfile
    -Die Requests zur überprüfung der Signatur verwenden vordefinierte TrustProfile. -Die im Request verwendete Profil-IDs werden in der MOA-ID Konfigurationsdatei -in den Elementen /MOA-IDConfiguration/AuthComponent/MOA-SP/VerifyIdentityLink/ TrustProfileID und -/MOA-IDConfiguration/AuthComponent/MOA-SP/VerifyAuthBlock/TrustProfileID definiert. Diese beiden Elemente -können unterschiedliche oder identische TrustProfileIDs enthalten. -Am MOA-SP Server müssen TrustProfile mit gleichlautender ID definiert werden. -Die Auslieferung von MOA-ID enthält das Verzeichnis $MOA_ID_INST_AUTH/conf/moa-spss/trustprofiles/MOAIDBuergerkarteRoot, -das als TrustProfile verwendet werden kann. Weitere Zertifikate können als vertrauenswürdig hinzugefügt werden. -

    -
    - -
    -

    -Certstore
    -Zum Aufbau eines Zertifikatspfades können benötigte Zertifikate aus einem Zertifikatsspeicher verwendet werden. -Die Auslieferung von MOA-ID enthält das Verzeichnis $MOA_ID_INST_AUTH/conf/moa-spss/certstore, das als initialer -Zertifikatsspeicher verwendet werden kann. -

    -
    - -
    -
    - - -
    - - - -
    -

     

    -
    -

    -
    -
    -

    Änderung der Konfiguration während des Betriebs

    -
    -Der Inhalt dieser Konfiguration, bzw. jene Teile, auf die indirekt verwiesen wird, können während des laufenden -Betriebes des MOA-Servers geändert werden. Der Server selbst wird durch den Aufruf einer URL -(im Applikationskontext von MOA ID) dazu veranlasst, die geänderte Konfiguration neu einzulesen. -Im Falle einer fehlerhaften neuen Konfiguration wird die ursprüngliche Konfiguration beibehalten. -
    - - -
    -

    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/id.server/doc/moa_id/id-admin_3.htm b/id.server/doc/moa_id/id-admin_3.htm deleted file mode 100644 index 92d13aa6a..000000000 --- a/id.server/doc/moa_id/id-admin_3.htm +++ /dev/null @@ -1,187 +0,0 @@ - - - MOA ID-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    -
    MOA-ID

    - - - -
    - Optionale
        Komponenten
    -
    - -
    -
    -Optionale
    Komponenten

    -IIS
    -Apache
    -PostgreSQL
    -
    -
    -

    Konfiguration der optionalen Komponenten

    -

    Konfiguration des Microsoft Internet Information Server (optional)

    -
    -Vor MOA-ID-AUTH oder MOA-ID-PROXY kann optional ein MS IIS vorgeschaltet sein. In diesem Fall übernimmt der MS IIS die HTTP bzw. HTTPS-Kommunikation mit dem Aufrufer des Webservices. Die Kommunikation zwischen MS IIS und dem in Tomcat deployten Webservice wird durch Jakarta mod_jk durchgeführt.

    -Konfiguration von Jakarta mod_jk im MS IIS
    -Für die Kommunikation des MS IIS mit dem im Tomcat deployten Webservice wird das ISAPI-Modul von Jakarta mod_jk im MS IIS installiert und konfiguriert. Eine detaillierte Installations- und Konfigurationsanleitung gibt das mod_jk IIS HowTo. Beispiele für workers.properties und uriworkermap.properties Dateien liegen im ausgelieferten moa-id-auth-x.y.zip bzw. moa-id-proxy-x.y.zip, Verzeichnis tomcat bei. -

    -Konfiguration von Tomcat
    -Damit Tomcat die Aufrufe, die von MS IIS mittels Jakarta mod_jk weiterleitet, entgegennehmen kann, muss in $CATALINA_HOME/conf/server.xml der AJP 1.3 Connector aktiviert werden. Im Gegenzug können die Connectoren für HTTP und HTTPS deaktiviert werden. Das geschieht am einfachsten durch ein- bzw. auskommentieren der entsprechenden Connector Konfigurations-Elemente in dieser Datei. -

    -
    -
    -Konfiguration von SSL
    -Die Dokumentation zum Einrichten von SSL auf dem MS IIS steht nach Installation des IIS unter http://localhost/iisHelp/ bzw. online zur Verfügung. -
    -
    -

    - - -
    - - - -
    -

     

    -
    -

    -
    -
    -

    Konfiguration des Apache Webservers (optional)

    -
    -Vor MOA-ID-AUTH oder MOA-ID-PROXY kann ein Apache Webserver vorgeschaltet sein. Das Prinzip funktioniert wie bei MS IIS, auch hier wird Jakarta mod_jk für die Kommunikation zwischen Webserver und Tomcat eingesetzt. -

    -Konfiguration von Jakarta mod_jk im Apache Webserver
    - Um MOA-ID-AUTH oder MOA-ID-PROXY hinter einem Apache Webserver zu betreiben, ist die Konfiguration des Apache-Moduls mod_jk erforderlich. Eine detaillierte Installations- und Konfigurationsanleitung gibt das mod_jk Apache HowTo. Ein Beispiel für eine workers.properties Datei liegt im Verzeichnis $MOA_SPSS_INST/conf/moa bei.
    -Um MOA-ID-AUTH oder MOA-ID-PROXY dem Apache Webserver bekannt zu machen, muss folgender Eintrag in die Apache Konfigurationsdatei gemacht werden: -
    -    JkMount /moa-id-auth/* moaworker
    -
    -oder für die Proxy-Komponente -
    -    JkMount /* moaworker
    -
    - -

    -Konfiguration von Tomcat
    -Die Konfiguration von Tomcat ist analog wie im Abschnitt über den MS IIS durchzuführen. -

    - -Konfiguration von SSL mit mod_SSL
    -Apache kann in Verbindung mit mod_SSL als SSL-Endpunkt für das MOA-ID-AUTH Webservice fungieren. In diesem Fall entfällt die SSL-Konfiguration in Tomcat, da Apache und Tomcat auch im Fall von SSL Daten via mod_jk austauschen. Eine detaillierte Installations- und Konfigurationsanleitung von mod_SSL gibt die Online-Dokumentation. -

    -Bei der Verwendung von Client-Authentisierung muss darauf geachtet werden, dass mod_ssl die HTTP-Header mit den Informationen über das Client-Zertifikat exportiert. Dies wird durch Angabe der Option
    -
    -    SSLOptions +ExportCertData +StdEnvVars
    -
    -in der Apache-Konfiguration erreicht.
    -Weiters muss Jakarta mod_jk angewiesen werden, die SSL Schlüssellänge zu exportieren. Dies geschieht mit der Direktive: -
    -    JkOptions +ForwardKeySize 
    -              +ForwardURICompat 
    -              -ForwardDirectories
    -
    -
    -
    -

    - - -
    - - - -
    -

     

    -
    -

    Konfiguration von PostgreSQL

    -
    -MOA-ID-AUTH bzw. MOA-ID-PROXY kann PostgreSQL zum Abspeichern von Log-Meldungen verwenden. Hierfür wird eine installierte und konfigurierte Datenbank vorausgesetzt. Eine detaillierte Übersicht über die Installation und Konfiguration von PostgreSQL gibt die Online-Dokumentation.

    -Logging
    -Für das Logging in eine PostgreSQL Datenbank mittels Jakarta Log4j muss zunächst eine Tabelle für die Log-Meldungen angelegt werden. Dies kann mit folgendem SQL-Statement erreicht werden: -
    -    create table spss_log 
    -      (log_time timestamp, 
    -       log_level varchar(5), 
    -       log_msg varchar(256));
    -
    -Um das Logging in die Datenbank Log4j bekannt zu machen, muss die Log4j-Konfiguration adaptiert werden. Die Datei $MOA_SPSS_INST/conf/moa/log4.properties enthält bereits eine beispielhafte Jakarta Log4j-Konfiguration für das Logging in eine PostgreSQL Datenbank, die standardmäßig ausgeschaltet ist. Hinweis: Bei Tests hat sich das Logging in eine Datenbank mit Jakarta Log4j als Performance-Engpaß herausgestellt. Es wird deshalb empfohlen, auf dieses Feature zu verzichten. -

    -
    - -
    -

    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/id.server/doc/moa_id/id-anwendung.htm b/id.server/doc/moa_id/id-anwendung.htm deleted file mode 100644 index 6e33f40e8..000000000 --- a/id.server/doc/moa_id/id-anwendung.htm +++ /dev/null @@ -1,104 +0,0 @@ - - - MOA ID-Anwendung - - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-ID

    -
    - Übersicht
    - - -
    - -
    -
    -
    MOA ID-Anwendung
    -

    -MOA-ID führt für eine Online-Applikation (OA) die Benutzeridentifizierung und -authentisierung mit Hilfe der Bürgerkarte durch. -

    -

    Übersicht

    -Um diese Funktionalität verfügbar zu machen, ist folgendermaßen vorzugehen:
    -

    -
      -
    • Die OA muss als Webapplikation installiert werden.
    • -
    • MOA-ID-AUTH muss als Webapplikation installiert und für die OA konfiguriert werden.
    • -
    • MOA-ID-AUTH wird durch einen Verweis von einer Webseite aufgerufen. -Diese Webseite kann z.B. Teil eines Portals sein.
    • -
    • Nach erfolgter Authentisierung holt die OA die bereitgestellten Anmeldedaten zum Bürger von MOA-ID-AUTH ab. -Dies kann unter Mithilfe der Webapplikation MOA-ID-PROXY geschehen, die für diesen Zweck installiert und für die OA konfiguriert werden muss.
    • -
    -
    -
    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - diff --git a/id.server/doc/moa_id/id-anwendung_1.htm b/id.server/doc/moa_id/id-anwendung_1.htm deleted file mode 100644 index 81c4ecc9e..000000000 --- a/id.server/doc/moa_id/id-anwendung_1.htm +++ /dev/null @@ -1,182 +0,0 @@ - - - MOA ID-Anwendung - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - - -
    -
    MOA-ID

    - - - -
    - -

    -
    -

    Aufruf von MOA-ID-AUTH

    -
    MOA-ID-AUTH wird immer durch eine andere (verweisende) Webseite aufgerufen. Diese Webseite kann z.B. Teil eines Portals sein. -Der Aufruf erfolgt durch einen Verweis der Form:
    -
    <a href="https://<moa-id-server-und-pfad>/
    -StartAuthentication?Target=<geschäftsbereich>
    -&OA=<oa-url>&Template=<template-url>">
    - - - - - - - - - - - - - - -
    <moa-id-server-und-pfad>Server und Pfad, wo MOA-ID-AUTH installiert ist
    Target=<geschäftsbereich>Angabe, für welches Verfahren der Benutzer authentisiert werden soll (siehe TODO: Link auf Verzeichnis der Geschäftsbereich)
    OA=<oa-url>Webseite, auf die der Browser nach erfolgter Authentisierung weitergeleitet werden soll
    Template=<template-url>optional; HTML-Vorlage für der Anmeldeseite von MOA-ID-AUTH, über die der Bürger den Authentisierungsvorgang startet. Über diesen Parameter kann das Aussehen der Anmeldeseite an das Aussehen der Online-Applikation angepasst werden.
    -

    - -
    -Template

    -Ein Template für die Anmeldeseite von MOA-ID-AUTH kann aus folgender Grundstruktur aufgebaut werden:
    -
    -<form name="CustomizedForm" action="<BKU>" method="post">
    - <input type="hidden"
    -        name="XMLRequest"
    -        value="<XMLRequest>"/>
    - <input type="hidden"
    -        name="DataURL"
    -        value="<DataURL>"/>
    - <input type="submit" value="Bürgerkarte lesen"/>
    -</form>
    -<form name="CustomizedInfoForm"
    - action="<BKU>"
    - method="post">
    - <input type="hidden"
    -        name="XMLRequest"
    -        value="<CertInfoXMLRequest>"/>
    - <input type="hidden"
    -        name="DataURL"
    -        value="<CertInfoDataURL>"/>
    -Hier finden Sie weitere Informationen 
    -zur Überprüfung der Zertifikate.<br/>
    - <input type="submit" value="Weitere Info"/>
    -</form>
    -
    - -
    Innerhalb dieser <form>-Elemente können Texte, Beschriftungen und Styles modifiziert werden, -und es können zusätzliche Elemente darin aufgenommen werden. -

    -Die vorgegebene Grundstruktur ist aber in jedem Fall einzuhalten, und es müssen die speziellen -Tags <BKU> (kommt 2x vor), <XMLRequest>, <DataURL>, <CertInfoXMLRequest> und <CertInfoDataURL> -darin enthalten sein. -
    -

    - -
    -BKU-Auswahl

    -MOA-ID-AUTH bietet die Möglichkeit, die Bürgerkartenumgebung (BKU) auszuwählen, über die in weiterer Folge die Bürgerkarte ausgelesen wird. Der Aufruf erfolgt dann durch einen Verweis der Form:
    -
    <a href="https://<moa-id-server-und-pfad>/
    -SelectBKU?Target=<geschäftsbereich>
    -&OA=<oa-url>&Template=<template-url>
    -&BKUSelectionTemplate=<bku-template-url>">
    - - - - - -
    BKUSelectionTemplate= <bku-template-url>optional; HTML-Vorlage für der BKU-Auswahlseite von MOA-ID-AUTH. -Über diesen Parameter kann das Aussehen der BKU-Auswahlseite an das Aussehen der Online-Applikation angepasst werden.
    -

    - -
    -BKUSelectionTemplate

    -Ein Template für die BKU-Auswahl von MOA-ID-AUTH kann aus folgender Grundstruktur aufgebaut werden:
    -
    -<form name="CustomizedForm" method="post" action="<StartAuth>">
    - <BKUSelect>
    - <input type="submit" value="Auswählen"/>
    -</form>
    -
    -
    Innerhalb dieser <form>-Elemente können Texte, Beschriftungen und Styles modifiziert werden, -und es können zusätzliche Elemente darin aufgenommen werden. -

    -Auch dabei ist die vorgegebene Grundstruktur einzuhalten, die speziellen Tags <StartAuth> und <BKUSelect> sind verpflichtend. -
    -

    - - -
    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - diff --git a/id.server/doc/moa_id/id-anwendung_2.htm b/id.server/doc/moa_id/id-anwendung_2.htm deleted file mode 100644 index 1ffeb4c08..000000000 --- a/id.server/doc/moa_id/id-anwendung_2.htm +++ /dev/null @@ -1,249 +0,0 @@ - - - MOA ID-Anwendung - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - - -
    -
    MOA-ID

    - - - -
    - -

    -
    -Abfragearten: -
    -Web Service
    -MOA-ID-PROXY
    -
    -
    -

    Abfrage der Anmeldedaten von MOA-ID-AUTH

    -
    Nach erfolgter Authentisierung stehen in MOA-ID-AUTH Anmeldedaten zum Abholen bereit, -und MOA-ID-AUTH veranlasst einen Redirect zur Online-Applikation (OA). -

    -In diesem Redirect werden der Geschäftsbereich und ein SAML-Artifact als Parameter übergeben. -
    -
    <a href="https://<oa-url>
    -?Target=<geschäftsbereich>
    -&SAMLArtifact=<saml-artifact>">
    - - - - - -
    <oa-url>URL, der beim Aufruf von MOA-ID-AUTH als Parameter "OA" übergeben wurde
    Target=<geschäftsbereich>Parameter, der beim Aufruf von MOA-ID-AUTH übergeben wurde
    SAMLArtifact=<saml-artifact>SAML-Artifact, das von MOA-ID-AUTH zu den Anmeldedaten erstellt wurde. -Mithilfe dieses SAML-Artifacts kann die OA die Anmeldedaten von MOA-ID-AUTH abholen.
    -

    -
    Grundsätzlich stehen einer OA mehrere Arten zum Abholen der Anmeldedaten von MOA-ID-AUTH zur Verfügung:
    -
      -
    1. Die Applikation ruft selbst das MOA-ID-AUTH Web Service auf. -
      Die Implementierung dieser Variante wird empfohlen, insbesondere für Online-Applikationen, die neu erstellt werden. -
    2. -
    3. Es wird die MOA-ID-PROXY Webapplikation eingesetzt, um die Anmeldedaten abzuholen und an die OA zu übergeben. -
      Aus Sicht von MOA-ID-PROXY ist bedeutsam, ob die OA die Anmeldedaten nach Abarbeitung des HTTP-Requests behält. -
        -
      • Stateful OA: MOA-ID-PROXY übergibt einmalig die Anmeldedaten an die OA, und die OA speichert die Anmeldedaten, typischerweise unter Einsatz von Cookies.
      • -
      • Stateless OA: MOA-ID-PROXY übergibt die Anmeldedaten bei jedem HTTP-Request vom Browser des Bürgers an die OA.
      • -
      -Diese Variante ist vorzuziehen, wenn -
        -
      • für die Plattform, auf der die OA aufbaut, Web Service-Schnittstellen nicht verfügbar sind
      • -
      • das nötige Web Service-Know How nicht zur Verfügung steht
      • -
      • die Implementierung von Variante 1 zu aufwändig wäre
      • -
      • eine Anpassung der OA aus bestimmten Gründen nicht möglich ist
      • -
      -
    4. -
    -
    - - - -
    - - - -
    -

     

    -
    -

    -
    -
    -

    Aufruf des MOA-ID-AUTH Web Service

    -
    Das MOA-ID-AUTH Web Service wird über einen <samlp:Request> aufgerufen. -Der <samlp:Request> enthält in einem <samlp:AssertionArtifact> das von MOA-ID-AUTH übergebene SAML-Artifact. -

    -MOA-ID-AUTH liefert als Antwort einen <samlp:Response>. Die Anmeldedaten sind im <samlp:Response> in Form einer <saml:Assertion> enthalten. -

    -SAML 1.0 Protocol Schema -
    -SAML 1.0 Assertion Schema -
    -Der detaillierte Aufbau der <saml:Assertion> zu den Anmeldedaten ist in der Spezifikation MOA-ID 1.1 beschrieben. -

    -

    Beispiel LoginServletExample

    -Das Abholen der Anmeldedaten durch Aufruf des Web Service von MOA-ID-AUTH wird anhand eines beispielhaften Java Servlet gezeigt. -Das LoginServletExample wird in einer Stateful OA von MOA-ID-AUTH nach erfolgter Authentisierung über Redirect aufgerufen. -

    -Das Beispiel demonstriert insgesamt die Integration von MOA-ID-AUTH in die OA: -
    -
      -
    • Parameterübergabe von MOA-ID-AUTH an die OA
    • -
    • Aufruf des MOA-ID-AUTH Web Service mittels des SOAP Frameworks "Apache AXIS"
    • -
    • Parsen der Anmeldedaten mittels der XPath Engine "Jaxen"
    • -
    • Speichern der Anmeldedaten in der HTTPSession
    • -
    • Redirect auf die eigentliche Startseite der OA
    • -
    - - -Voraussetzungen
    -
    Die folgende Liste enthält die für das Beispiel erforderlichen Java-Bibliotheken. Die angeführten Versionsnummern bezeichnen jene Versionen dieser Java-Bibliotheken, mit denen das Beispiel getestet wurde.
    -
    - - - - - - - - - - - - - - - - - - - - - - -
    Java-BibliothekVersionBemerkung
    JDK1.3 bzw. 1.4.1Java Development Kit
    Xerces
    XML Parser
    2.0.2+nicht nötig wenn JDK 1.4 oder höher verwendet wird
    - Download: xml.apache.org/xerces2-j
    AXIS
    SOAP Framework
    1.0+Download: xml.apache.org/axis
    Jaxen XPath Engine1.0+Download: http://jaxen.sourceforge.net
    JSSE1.0.3+wenn eine SSL Verbindung verwendet wird, nicht nötig ab JDK 1.4
    Download: java.sun.com/products/jsse
    Servlet API2.3+Download: java.sun.com/products/servlet
    -
    -Code
    -LoginServletExample - -
    - -
    - - - -
    - - -
    -

     

    -
    -

    -
    -
    -

    Einsatz von MOA-ID-PROXY zum Abfragen der Anmeldedaten von MOA-ID-AUTH

    -
    -Anstatt den Aufruf des MOA-ID-AUTH Web Service in der OA zu implementieren, kann die MOA-ID-PROXY Webapplikation eingesetzt werden, um dies für die OA zu erledigen. MOA-ID-PROXY muss für die OA konfiguriert werden, so wie in MOA-ID-Administration beschrieben. -

    -Bei der Konfiguration ist speziell zu beachten: -

    -Konfigurationsdatei zur OA
    -Der LoginType (stateful oder stateless) ist gemäß dem Applikationstyp zu setzen. -

    -Die Übergabe der Anmeldedaten ist in Form und Inhalt zu konfigurieren. -
    -
      -
    • BasicAuth: HTTP Basic Authentication (Beispiel)
    • -
    • ParamAuth: Übergabe über Requestparameter (Beispiel)
    • -
    • HeaderAuth: Übergabe über Requestheader (Beispiel)
    • -
    - -
    -LoginParameterResolver
    -Das Übergabe der Anmeldedaten an die OA über Request Parameter oder Header geschieht in einer Standardimplementierung des Interface -
    at.gv.egovernment.moa.proxy.LoginParameterResolver
    -Falls die Erfordernisse der OA mittels Konfiguration nicht abgedeckt werden können, -so kann eine maßgeschneiderte Implementierung von LoginParameterResolver erstellt und zusammen mit MOA-ID-PROXY zum Einsatz gebracht werden -(siehe API). -

    -ConnectionBuilder -Das Herstellen einer URL-Verbindung von MOA-ID-PROXY zur OA geschieht einer Standardimplementierung des Interface -
    at.gv.egovernment.moa.proxy.ConnectionBuilder 
    -Falls nötig, kann eine maßgeschneiderte Implementierung von ConnectionBuilder erstellt und zusammen mit MOA-ID-PROXY zum Einsatz gebracht werden -(siehe API). -
    -
    - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - diff --git a/id.server/doc/moa_id/links.htm b/id.server/doc/moa_id/links.htm deleted file mode 100644 index c5a9b7113..000000000 --- a/id.server/doc/moa_id/links.htm +++ /dev/null @@ -1,141 +0,0 @@ - - - MOA Grundlagen - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA Links

    - - - - -
    - -
    - -
    -
    MOA Links
    - -
    - - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/id.server/doc/moa_id/moa-id-ablauf.jpg b/id.server/doc/moa_id/moa-id-ablauf.jpg deleted file mode 100644 index 0585664f4..000000000 Binary files a/id.server/doc/moa_id/moa-id-ablauf.jpg and /dev/null differ diff --git a/id.server/doc/moa_id/moa.htm b/id.server/doc/moa_id/moa.htm deleted file mode 100644 index 4ffab01d5..000000000 --- a/id.server/doc/moa_id/moa.htm +++ /dev/null @@ -1,247 +0,0 @@ - - - MOA Module fuer Online Applikationen - - - - - - - - - -
    - - - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - - - -
    -
    MOA-ID

    -
    - Allgemein
    - - - - - -
    - -
    -
    -
    -
    - -
    Allgemein v.1.1
    -

    -Dieses Dokument enthält die Dokumentation für das Modul
    -

      -
    • MOA-ID (Identifikation)
    • -

    -
    - -
    - - - -
    -

     

    -
    -
    -
    -
    -Das Modul Identifikation stellt Online-Applikationen Funktionalität zur Verfügung zu stellen, damit diese -eine Benutzer-Identifikation und -Authentisierung mit Hilfe der Bürgerkarte und deren Signaturfunktion -realisieren können. -

    -Das Modul besteht aus zwei Komponenten: -
      -
    • Die Authentisierungskomponente (MOA-ID-AUTH) führt die eigentliche Authentisierung des Benutzers durch und übergibt der -Proxykomponente die Anmeldedaten.
    • -
    • Die Proxykomponente (MOA-ID-PROXY) übernimmt die Anmeldedaten von der Authentisierungskomponente, -führt die Anmeldung an der Online Applikation durch und schleust in der Folge Daten an die Online-Applikation -und Daten an den Benutzer durch.
    • -
    -Diese beiden Komponenten können auf unterschiedlichen Rechnern -oder auf dem gleichen Rechner eingesetzt werden. -

    -Die Funktionalität und der Aufbau der Schnittstelle zu MOA-ID ist in der -Spezifikation Version 1.1 detailliert beschrieben. -

    -Für den Betrieb von MOA-ID ist der Einsatz von MOA-Signaturprüfung (MOA-SP) erforderlich. -
    - -

    -
    Ablauf einer Anmeldung
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    1Der Benutzer verbindet sich zu einem Web-Portal, über das die verfügbaren Online-Applikationen (OA) erreichbar -sind. Jeder Link zu einer OA verweist auf die Authentisierungs-komponente. -
    2Der Benutzer verbindet sich mit MOA-ID-AUTH, die die Authentisierung des -Benutzers durchführt:
    2.1MOA-ID-AUTH bietet dem Benutzer optional eine Auswahl von verfügbaren Bürgerkartenumgebungen (engl. Bezeichnung: Security-Layer) an.
    2.2MOA-ID-AUTH erzeugt eine HTML-Seite mit einem <InfoboxReadRequest> - zum Auslesen der Personenbindung. Diese HTML-Seite wird an den Browser geschickt.
    2.3Der Browser schickt den <InfoboxReadRequest> an den ausgewählten Security-Layer. Der Security-Layer liest die -Personenbindung von der Bürgerkarte und sendet diese an MOA-ID-AUTH, die die Signatur der Personenbindung durch -einen Aufruf von MOA-SP überprüft. -
    2.4MOA-ID-AUTH erstellt den AUTH-Block. Der AUTH-Block enthält -
      -
    • Vor- und Nachname aus der Personenbindung,
    • -
    • URL von MOA-ID-AUTH,
    • -
    • URL und Geschäftsbereich der Online-Applikation,
    • -
    • die aktuelle Zeit.
    • -
    -Anschließend wird -eine XML Antwortseite, die das Kommando zum Signieren (<CreateXMLSignatureRequest>) des generierten -AUTH-Blocks enthält, an den ausgewählten Security-Layer gesendet.
    2.5Der Request wird vom Security-Layer verarbeitet. Die signierten Daten werden an -MOA-ID-AUTH zurückgesendet.
    2.6MOA-ID-AUTH überprüft den signierten AUTH-Block und legt für den Benutzer die Anmeldedaten -an. Die Anmeldedaten enthalten -
      -
    • die verfahrensspezifische Personenkennzeichnung (VPK),
    • -
    • den signierten AUTH-Block (optional),
    • -
    • die Personenbindung (optional),
    • -
    • die PersonData-Struktur aus der Personenbindung (optional),
    • -
    • die Information, ob die Signatur des AUTH-Blocks mit einem qualifiziertem Zertifikat erfolgte,
    • -
    • Informationen zur Behörde, falls die Signatur mit einem Behördenzertifikat erzeugt wurde.
    • -
    -
    2.7Ist der obige Authentisierungsvorgang erfolgreich, dann wird eine Redirect-Seite -zum Browser gesendet.
    3Der Browser führt das Redirect zur Proxykomponente durch. Als Parameter wird das von MOA-ID-AUTH -erzeugte SAML-Artifact übergeben.
    4Die Proxykomponente verwendet dieses eindeutige SAML-Artifact, um die Anmeldedaten -von MOA-ID-AUTH zu erhal-ten. Danach werden die Anmeldedaten in MOA-ID-AUTH gelöscht.
    5MOA-ID-PROXY liest die Konfigurationsdatei der zugehörigen Online-Applikation, die beschreibt, wie die Anmeldedaten -an die nachfolgende Applikation übergeben werden müssen, und meldet den Benutzer bei der Applikation an.
    6Ist die betreffende OA als stateless konfiguriert, so werden in weiterer Folge die Antworten der OA -an den Benutzer weitergeleitet und die Anfragen des Benutzers an die OA weitergeleitet.
    - - -
    -

    - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/id.server/doc/moa_images/east.gif b/id.server/doc/moa_images/east.gif deleted file mode 100644 index e76117cb0..000000000 Binary files a/id.server/doc/moa_images/east.gif and /dev/null differ diff --git a/id.server/doc/moa_images/idle.gif b/id.server/doc/moa_images/idle.gif deleted file mode 100644 index 28b8148e5..000000000 Binary files a/id.server/doc/moa_images/idle.gif and /dev/null differ diff --git a/id.server/doc/moa_images/moa_diagramm1.jpg b/id.server/doc/moa_images/moa_diagramm1.jpg deleted file mode 100644 index 776331fb8..000000000 Binary files a/id.server/doc/moa_images/moa_diagramm1.jpg and /dev/null differ diff --git a/id.server/doc/moa_images/moa_thema.gif b/id.server/doc/moa_images/moa_thema.gif deleted file mode 100644 index f59075528..000000000 Binary files a/id.server/doc/moa_images/moa_thema.gif and /dev/null differ diff --git a/id.server/doc/moa_images/north.gif b/id.server/doc/moa_images/north.gif deleted file mode 100644 index b4316b5d7..000000000 Binary files a/id.server/doc/moa_images/north.gif and /dev/null differ diff --git a/id.server/doc/moa_images/pfeil.gif b/id.server/doc/moa_images/pfeil.gif deleted file mode 100644 index e4eeb1740..000000000 Binary files a/id.server/doc/moa_images/pfeil.gif and /dev/null differ diff --git a/id.server/doc/moa_images/print.gif b/id.server/doc/moa_images/print.gif deleted file mode 100644 index b8e59144e..000000000 Binary files a/id.server/doc/moa_images/print.gif and /dev/null differ diff --git a/id.server/doc/moa_images/select.gif b/id.server/doc/moa_images/select.gif deleted file mode 100644 index 59a1694c5..000000000 Binary files a/id.server/doc/moa_images/select.gif and /dev/null differ diff --git a/id.server/doc/moa_images/south.gif b/id.server/doc/moa_images/south.gif deleted file mode 100644 index c70ab3e97..000000000 Binary files a/id.server/doc/moa_images/south.gif and /dev/null differ diff --git a/id.server/doc/moa_images/transdot.gif b/id.server/doc/moa_images/transdot.gif deleted file mode 100644 index e31aba280..000000000 Binary files a/id.server/doc/moa_images/transdot.gif and /dev/null differ diff --git a/id.server/doc/moa_images/west.gif b/id.server/doc/moa_images/west.gif deleted file mode 100644 index 135698ee7..000000000 Binary files a/id.server/doc/moa_images/west.gif and /dev/null differ diff --git a/id.server/html/auth/WEB-INF/server-config.wsdd b/id.server/html/auth/WEB-INF/server-config.wsdd deleted file mode 100644 index 0344f24f9..000000000 --- a/id.server/html/auth/WEB-INF/server-config.wsdd +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - urn:oasis:names:tc:SAML:1.0:protocol - - - /resources/wsdl/MOA-SP-SS-1.0-20020829.wsdl - - - - - - - - - - - - - - diff --git a/id.server/html/auth/WEB-INF/web.xml b/id.server/html/auth/WEB-INF/web.xml deleted file mode 100644 index 9f713408c..000000000 --- a/id.server/html/auth/WEB-INF/web.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - MOA ID Auth - MOA ID Authentication Service - - SelectBKU - SelectBKU - Select Bürgerkartenartenumgebung - at.gv.egovernment.moa.id.auth.servlet.SelectBKUServlet - - - StartAuthentication - StartAuthentication - Start authentication process - at.gv.egovernment.moa.id.auth.servlet.StartAuthenticationServlet - 0 - - - VerifyIdentityLink - VerifyIdentityLink - Verify identity link coming from security layer - at.gv.egovernment.moa.id.auth.servlet.VerifyIdentityLinkServlet - - - VerifyAuthBlock - VerifyAuthBlock - Verify AUTH block coming from security layer - at.gv.egovernment.moa.id.auth.servlet.VerifyAuthenticationBlockServlet - - - ConfigurationUpdate - ConfigurationUpdate - Update MOA-ID Auth configuration from the configuration file - at.gv.egovernment.moa.id.auth.servlet.ConfigurationServlet - - - AxisServlet - Apache-Axis Servlet - - org.apache.axis.transport.http.AxisServlet - - - - SelectBKU - /SelectBKU - - - StartAuthentication - /StartAuthentication - - - VerifyIdentityLink - /VerifyIdentityLink - - - VerifyAuthBlock - /VerifyAuthBlock - - - ConfigurationUpdate - /ConfigurationUpdate - - - AxisServlet - /services/* - - - 30 - - - 500 - /errorpage.jsp - - - - ConfigurationUpdate - /ConfigurationUpdate - - - moa-admin - - - - BASIC - UserDatabase - - diff --git a/id.server/html/auth/errorpage.jsp b/id.server/html/auth/errorpage.jsp deleted file mode 100644 index a5b05d60e..000000000 --- a/id.server/html/auth/errorpage.jsp +++ /dev/null @@ -1,33 +0,0 @@ - - - -Fehler - -<% Throwable exceptionThrown = (Throwable)request.getAttribute("ExceptionThrown"); - String errorMessage = (String)request.getAttribute("ErrorMessage"); - String wrongParameters = (String)request.getAttribute("WrongParameters"); -%> - - -

    Fehler bei der Anmeldung

    -

    Bei der Anmeldung ist ein Fehler aufgetreten.

    -<% if (errorMessage != null) { %> -

    <%=errorMessage%>

    -<% } %> -<% if (exceptionThrown != null) { %> -

    <%=exceptionThrown.getMessage()%>

    -<% } %> -<% if (wrongParameters != null) { %> -

    Die Angabe der Parameter ist unvollständig.
    - Beispiele für korrekte Links zur MOA-ID Authentisierung sind: -

    -

    -<a href="https://<MOA-URL>/StartAuthentication?Target=<Geschäftsbereich>&OA=<OA-URL>&Template=<Template-URL>"> -

    -

    -<a href="https://<MOA-URL>/SelectBKU?Target=<Geschäftsbereich>&OA=<OA-URL>&Template=<Template-URL>&BKUSelectionTemplate=<BKU-Template-URL>"> -

    -

    Die Angabe der Parameter "Template" und "BKUSelectionTemplate" ist optional.

    -<% } %> - - \ No newline at end of file diff --git a/id.server/html/auth/index.jsp b/id.server/html/auth/index.jsp deleted file mode 100644 index cb9dde3d9..000000000 --- a/id.server/html/auth/index.jsp +++ /dev/null @@ -1,40 +0,0 @@ - - -MOA ID Auth Sample Login - - -<% - String urlPath = - request.getScheme() + "://" - + request.getServerName() + ":" + request.getServerPort() - + request.getContextPath() + "/"; - String params = - "Target=gb&" + - "OA=https://10.16.126.28:9443/moa-id-proxy/index.jsp"; - String urlStartAuth = - urlPath + - "StartAuthentication?" + - params; - String templateParam = - "&Template=http://10.16.46.108:18080/oa/AuthTemplate.jsp"; - String urlStartAuthCustom = - urlStartAuth + - templateParam; - String urlSelectBKU = - urlPath + - "SelectBKU?" + - params; - String urlSelectBKUCustom = - urlSelectBKU + - templateParam + - "&BKUSelectionTemplate=http://10.16.46.108:18080/oa/BKUSelectionTemplate.jsp"; -%> -Log in to sample application -
    -Log in to sample application using custom form -
    -Choose BKU (HTMLComplete or HTMLSelect) and log in -
    -Choose BKU (HTMLSelect) using custom form and log in - - \ No newline at end of file diff --git a/id.server/html/proxy/WEB-INF/web.xml b/id.server/html/proxy/WEB-INF/web.xml deleted file mode 100644 index 9145a48d6..000000000 --- a/id.server/html/proxy/WEB-INF/web.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - MOA ID Proxy - MOA ID Proxy Service - - Proxy - Proxy - Forwards requests to the online application - at.gv.egovernment.moa.id.proxy.servlet.ProxyServlet - 0 - - - ConfigurationUpdate - ConfigurationUpdate - Update MOA-ID Proxy configuration from the configuration file - at.gv.egovernment.moa.id.proxy.servlet.ConfigurationServlet - - - ConfigurationUpdate - /ConfigurationUpdate - - - Proxy - /* - - - 30 - - - - ConfigurationUpdate - /ConfigurationUpdate - - - moa-admin - - - - BASIC - UserDatabase - - diff --git a/id.server/javadoc.xml b/id.server/javadoc.xml deleted file mode 100644 index c16b52819..000000000 --- a/id.server/javadoc.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/id.server/lib/axis-1.1rc2/axis.jar b/id.server/lib/axis-1.1rc2/axis.jar deleted file mode 100644 index 445ff8134..000000000 Binary files a/id.server/lib/axis-1.1rc2/axis.jar and /dev/null differ diff --git a/id.server/lib/axis-1.1rc2/commons-discovery.jar b/id.server/lib/axis-1.1rc2/commons-discovery.jar deleted file mode 100644 index 9dcd95038..000000000 Binary files a/id.server/lib/axis-1.1rc2/commons-discovery.jar and /dev/null differ diff --git a/id.server/lib/axis-1.1rc2/jaxrpc.jar b/id.server/lib/axis-1.1rc2/jaxrpc.jar deleted file mode 100644 index dcf9c3ac1..000000000 Binary files a/id.server/lib/axis-1.1rc2/jaxrpc.jar and /dev/null differ diff --git a/id.server/lib/axis-1.1rc2/saaj.jar b/id.server/lib/axis-1.1rc2/saaj.jar deleted file mode 100644 index 839f81879..000000000 Binary files a/id.server/lib/axis-1.1rc2/saaj.jar and /dev/null differ diff --git a/id.server/lib/axis-1.1rc2/wsdl4j.jar b/id.server/lib/axis-1.1rc2/wsdl4j.jar deleted file mode 100644 index de45fea68..000000000 Binary files a/id.server/lib/axis-1.1rc2/wsdl4j.jar and /dev/null differ diff --git a/id.server/lib/commons-logging-1.0.2/commons-logging-api.jar b/id.server/lib/commons-logging-1.0.2/commons-logging-api.jar deleted file mode 100644 index d6ad90330..000000000 Binary files a/id.server/lib/commons-logging-1.0.2/commons-logging-api.jar and /dev/null differ diff --git a/id.server/lib/commons-logging-1.0.2/commons-logging.jar b/id.server/lib/commons-logging-1.0.2/commons-logging.jar deleted file mode 100644 index aca1e4132..000000000 Binary files a/id.server/lib/commons-logging-1.0.2/commons-logging.jar and /dev/null differ diff --git a/id.server/lib/iaik-moa-1.06/iaik-moa-full.jar b/id.server/lib/iaik-moa-1.06/iaik-moa-full.jar deleted file mode 100644 index 343875e6d..000000000 Binary files a/id.server/lib/iaik-moa-1.06/iaik-moa-full.jar and /dev/null differ diff --git a/id.server/lib/iaik-moa-1.06/iaik_X509TrustManager.jar b/id.server/lib/iaik-moa-1.06/iaik_X509TrustManager.jar deleted file mode 100644 index 952d0a781..000000000 Binary files a/id.server/lib/iaik-moa-1.06/iaik_X509TrustManager.jar and /dev/null differ diff --git a/id.server/lib/iaik-moa-1.06/iaik_ecc.jar b/id.server/lib/iaik-moa-1.06/iaik_ecc.jar deleted file mode 100644 index 8c528a215..000000000 Binary files a/id.server/lib/iaik-moa-1.06/iaik_ecc.jar and /dev/null differ diff --git a/id.server/lib/iaik-moa-1.06/iaik_jce_full.jar b/id.server/lib/iaik-moa-1.06/iaik_jce_full.jar deleted file mode 100644 index 8d0f093e6..000000000 Binary files a/id.server/lib/iaik-moa-1.06/iaik_jce_full.jar and /dev/null differ diff --git a/id.server/lib/iaik-moa-1.06/iaik_ldap.jar b/id.server/lib/iaik-moa-1.06/iaik_ldap.jar deleted file mode 100644 index afe683ed0..000000000 Binary files a/id.server/lib/iaik-moa-1.06/iaik_ldap.jar and /dev/null differ diff --git a/id.server/lib/iaik-moa-1.06/ixsil.jar b/id.server/lib/iaik-moa-1.06/ixsil.jar deleted file mode 100644 index d60a0a39d..000000000 Binary files a/id.server/lib/iaik-moa-1.06/ixsil.jar and /dev/null differ diff --git a/id.server/lib/jaxen-1.0/jaxen-core.jar b/id.server/lib/jaxen-1.0/jaxen-core.jar deleted file mode 100644 index e52bf679c..000000000 Binary files a/id.server/lib/jaxen-1.0/jaxen-core.jar and /dev/null differ diff --git a/id.server/lib/jaxen-1.0/jaxen-dom.jar b/id.server/lib/jaxen-1.0/jaxen-dom.jar deleted file mode 100644 index 1a9926357..000000000 Binary files a/id.server/lib/jaxen-1.0/jaxen-dom.jar and /dev/null differ diff --git a/id.server/lib/jaxen-1.0/saxpath.jar b/id.server/lib/jaxen-1.0/saxpath.jar deleted file mode 100644 index 2b43955ba..000000000 Binary files a/id.server/lib/jaxen-1.0/saxpath.jar and /dev/null differ diff --git a/id.server/lib/jaxp-1.2_01/dom.jar b/id.server/lib/jaxp-1.2_01/dom.jar deleted file mode 100644 index f91f80a8b..000000000 Binary files a/id.server/lib/jaxp-1.2_01/dom.jar and /dev/null differ diff --git a/id.server/lib/jaxp-1.2_01/jaxp-api.jar b/id.server/lib/jaxp-1.2_01/jaxp-api.jar deleted file mode 100644 index 7a3295ee6..000000000 Binary files a/id.server/lib/jaxp-1.2_01/jaxp-api.jar and /dev/null differ diff --git a/id.server/lib/jaxp-1.2_01/sax.jar b/id.server/lib/jaxp-1.2_01/sax.jar deleted file mode 100644 index 9ffb844e5..000000000 Binary files a/id.server/lib/jaxp-1.2_01/sax.jar and /dev/null differ diff --git a/id.server/lib/jsse-1.0.3_01/jcert.jar b/id.server/lib/jsse-1.0.3_01/jcert.jar deleted file mode 100644 index d33134214..000000000 Binary files a/id.server/lib/jsse-1.0.3_01/jcert.jar and /dev/null differ diff --git a/id.server/lib/jsse-1.0.3_01/jnet.jar b/id.server/lib/jsse-1.0.3_01/jnet.jar deleted file mode 100644 index e1d340093..000000000 Binary files a/id.server/lib/jsse-1.0.3_01/jnet.jar and /dev/null differ diff --git a/id.server/lib/jsse-1.0.3_01/jsse.jar b/id.server/lib/jsse-1.0.3_01/jsse.jar deleted file mode 100644 index 123188c5e..000000000 Binary files a/id.server/lib/jsse-1.0.3_01/jsse.jar and /dev/null differ diff --git a/id.server/lib/junit-3.8.1/junit.jar b/id.server/lib/junit-3.8.1/junit.jar deleted file mode 100644 index 674d71e89..000000000 Binary files a/id.server/lib/junit-3.8.1/junit.jar and /dev/null differ diff --git a/id.server/lib/log4j-1.2.7/log4j-1.2.7.jar b/id.server/lib/log4j-1.2.7/log4j-1.2.7.jar deleted file mode 100644 index 1595a56ef..000000000 Binary files a/id.server/lib/log4j-1.2.7/log4j-1.2.7.jar and /dev/null differ diff --git a/id.server/lib/moa-spss-1.0.8a/moa-common.jar b/id.server/lib/moa-spss-1.0.8a/moa-common.jar deleted file mode 100644 index ce59f8c26..000000000 Binary files a/id.server/lib/moa-spss-1.0.8a/moa-common.jar and /dev/null differ diff --git a/id.server/lib/moa-spss-1.0.8a/moa-spss.jar b/id.server/lib/moa-spss-1.0.8a/moa-spss.jar deleted file mode 100644 index efd525f46..000000000 Binary files a/id.server/lib/moa-spss-1.0.8a/moa-spss.jar and /dev/null differ diff --git a/id.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar b/id.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar deleted file mode 100644 index 8bf46dd8e..000000000 Binary files a/id.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar and /dev/null differ diff --git a/id.server/lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip b/id.server/lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip deleted file mode 100644 index c450772ea..000000000 Binary files a/id.server/lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip and /dev/null differ diff --git a/id.server/lib/xalan-j-2.2/bsf.jar b/id.server/lib/xalan-j-2.2/bsf.jar deleted file mode 100644 index 19036c1bc..000000000 Binary files a/id.server/lib/xalan-j-2.2/bsf.jar and /dev/null differ diff --git a/id.server/lib/xalan-j-2.2/xalan.jar b/id.server/lib/xalan-j-2.2/xalan.jar deleted file mode 100644 index 8dd6dca25..000000000 Binary files a/id.server/lib/xalan-j-2.2/xalan.jar and /dev/null differ diff --git a/id.server/lib/xerces-j-2.0.2/xercesImpl.jar b/id.server/lib/xerces-j-2.0.2/xercesImpl.jar deleted file mode 100644 index f25d73cd7..000000000 Binary files a/id.server/lib/xerces-j-2.0.2/xercesImpl.jar and /dev/null differ diff --git a/id.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar b/id.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar deleted file mode 100644 index c1fa1d645..000000000 Binary files a/id.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar and /dev/null differ diff --git a/id.server/res/META-INF/services/org.apache.axis.components.net.SecureSocketFactory b/id.server/res/META-INF/services/org.apache.axis.components.net.SecureSocketFactory deleted file mode 100644 index c4547e804..000000000 --- a/id.server/res/META-INF/services/org.apache.axis.components.net.SecureSocketFactory +++ /dev/null @@ -1 +0,0 @@ -at.gv.egovernment.moa.id.util.AxisSecureSocketFactory diff --git a/id.server/res/resources/properties/id_messages_de.properties b/id.server/res/resources/properties/id_messages_de.properties deleted file mode 100644 index 4c27031b5..000000000 --- a/id.server/res/resources/properties/id_messages_de.properties +++ /dev/null @@ -1,101 +0,0 @@ -# This file contains exception messages in the standard Java properties -# format. The messages may contain formatting patterns as definied in the -# java.text.MessageFormat class. - -# -# Error messages: the key corresponds to the error code -# - -# status messages included in of GetAuthenticationDataService -1200=Anfrage erfolgreich beantwortet -1201=Fehlerhaftes Requestformat: mehr als 1 Request übergeben -1202=Fehlerhaftes Requestformat: kein SAML-Artifakt übergeben -1203=Fehlerhaftes Requestformat: mehr als 1 SAML-Artifakt übergeben -1204=Fehlerhaftes Requestformat -1205=Fehler beim Abholen der Anmeldedaten, fehlerhaftes SAML-Artifakt Format (SAML-Artifakt={0}): {1} -1206=Fehler beim Abholen der Anmeldedaten, unbekanntes SAML-Artifakt (SAML-Artifakt={0}) -1207=Zeitüberschreitung beim Abholen der Anmeldedaten (SAML-Artifakt={0}) -1299=Interner Server-Fehler - -auth.00=Anmeldung an dieser Applikation wird nicht unterstützt (URL={0}) -auth.01=Die Anmeldung ist bereits im Gange (MOASessionID={0}) -auth.02=MOASessionID ist unbekannt (MOASessionID={0}) -auth.03=Fehler beim Abholen des URL "{0}": {1} -auth.04=Fehler beim Auslesen der Resource "{0}": {1} -auth.05=Fehlender Parameter "{1}" beim Aufruf von "{0}" -auth.06=Fehler beim Speichern der Anmeldedaten, fehlerhaftes SAML-Artifact Format (SAML-Artifact={0}) -auth.07=Aufruf muss über "https:" erfolgen -auth.08=In der Bürgerkartenumgebung ist ein Fehler aufgetreten:
    Fehlercode {0}: {1} - -init.00=MOA ID Authentisierung wurde erfolgreich gestartet -init.01=Fehler beim Aktivieren des IAIK-JCE/JSSE/JDK1.3 Workaround: SSL ist möglicherweise nicht verfügbar -init.02=Fehler beim Starten des Service MOA ID Authentisierung - -config.00=MOA ID Konfiguration erfolgreich geladen -config.01=Umgebungsvariable "moa.id.configuration" nicht gesetzt -config.02=Nicht klassifizierter Fehler in der Konfiguration (siehe Log-Datei für Details) -config.03=Fehler beim Einlesen der Konfiguration -config.04=Fehler beim Lesen der MOA ID Konfiguration; es wird weiterhin die ursprüngliche Konfiguration verwendet -config.05=Fehlerhafter Wert für "{0}" in der MOA ID Konfiguration -config.06=Doppelter Eintrag in der Konfiguration für die Online-Applikation gefunden: {0} -config.07=Klasse {0} kann nicht instanziert werden -config.08=Fehlender Wert für "{0}" in der MOA ID Konfiguration -config.09=Fehler beim Erstellen von X509IssuerSerial (IssuerName={0}, SerialNumber={1}) -config.10=Fehler in der MOA SPSS Konfiguration: {0} - -parser.00=Leichter Fehler beim Parsen: {0} -parser.01=Fehler beim Parsen: {0} -parser.02=Schwerer Fehler beim Parsen: {0} - -builder.00=Fehler beim Aufbau der Struktur "{0}": {1} -builder.01=Fehlerhaftes Template: Kennung "{0}" fehlt - -service.00=Fehler beim Aufruf des Web Service: {0} -service.01=Fehler beim Aufruf des Web Service: kein Endpoint -service.02=Fehler beim Aufruf des Web Service, Status {0}: {1} -service.03=Fehler beim Aufruf des SPSS-API: {0} - -cleaner.00=AuthenticationSessionCleaner wurde gestartet -cleaner.01=Fehler im AuthenticationSessionCleaner -cleaner.02=MOASession {0} ist abgelaufen -cleaner.03=Anmeldedaten zu SAML-Artifakt {0} sind abgelaufen - -proxy.00=MOA ID Proxy wurde erfolgreich gestartet -proxy.01=Unbekannter URL {0}, erwarteter URL auf {1} -proxy.02=Unbekannter URL {0} -proxy.04=URL {0} : {1} -proxy.05=Fehler beim Aufbauen der SSLSocketFactory für {0} : {1} -proxy.06=Fehler beim Starten des Service MOA ID Proxy -proxy.07=Sie sind nicht angemeldet. Melden Sie sich erneut an. -proxy.08=Kein URL-Mapping in der HttpSession verfügbar (URL {0}) -proxy.09=Fehler beim Aufruf des MOA-ID Auth API: {0} -proxy.10=Fehler beim Weiterleiten (MOA-ID Proxy) -proxy.11=Beim Weiterleiten des Request ist ein Fehler aufgetreten. -proxy.12=Fehler bei der Anmeldung.
    Eine Anmeldung an der Anwendung {0} war nicht möglich.
    Prüfen Sie bitte ihre Berechtigung. - -validator.00=Kein SAML:Assertion Objekt gefunden {0} -validator.01=Im Subject kommt mehr als ein Element des Typs PhysicalPersonType vor {0} -validator.02=Das verwendete Schlüsselformat eines öffentlichen Schlüssels ist unbekannt {0} -validator.03=Der Namespace eines öffentlichen Schlüssels ist ungültig {0} -validator.04=Es wurde ein SAML:Attribut ohne öffentlichen Schlüssel gefunden {0} -validator.05=Es wurde keine DSIG:Signature gefunden {0} - -validator.06=Die Signatur ist ungültig -validator.07=Das Zertifikat der Personenbindung ist ungültig -validator.08=Das Manifest ist ungültig -validator.09=Die öffentlichen Schlüssel des Identitiy Link stimmen nicht mit dem retournierten Zertifikat überein - -validator.10=Anzahl der URLs zur Authentisierungskomponente ungültig {0} -validator.11="Geschäftsbereich" wurde nicht in den SAML-Attributen gefunden {0} -validator.12=Der Namespace des SAML-Attributs "Geschäftsbereich" ist ungültig {0} -validator.13=Das Target des 'Geschäftsbereichs' ist ungültig {0} -validator.14="OA" wurde nicht in den SAML-Attributen gefunden {0} -validator.15=Der Namespace des SAML-Attributs "OA" ist ungültig {0} -validator.16=Die vorkonfigurierte URL der OnlineApplikation ist fehlerhaft {0} - -validator.17= Der SubjectDN-Name des von MOA-SP retournierten Zertifikats ist ungültig {0} -validator.18= Der SubjectDN-Name des von MOA-SP retournierten Zertifikats ist nicht als gültiger SubjectDN-Name für eine Personenbindung konfiguriert. {0} wurde NICHT in der Konfiguration gefunden - -validator.19=Das verwendete Zertifikat zum Signieren ist ungültig - -ssl.01=Validierung des SSL-Server-Endzertifikates hat fehlgeschlagen \ No newline at end of file diff --git a/id.server/res/resources/wsdl/MOA-ID-1.0.wsdl b/id.server/res/resources/wsdl/MOA-ID-1.0.wsdl deleted file mode 100644 index 5751b3e58..000000000 --- a/id.server/res/resources/wsdl/MOA-ID-1.0.wsdl +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/id.server/res/resources/xmldata/CertInfoDsigSignature.xml b/id.server/res/resources/xmldata/CertInfoDsigSignature.xml deleted file mode 100644 index bf35dc73f..000000000 --- a/id.server/res/resources/xmldata/CertInfoDsigSignature.xml +++ /dev/null @@ -1,139 +0,0 @@ -id('signed-data')/node()C0hW5jQojphweuFzPb+CNkHwhe4=id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesBdsc7wAfyMyZ21ChcF+tRh3D7sU=lCz3hDQMbqRMmCieG3fQFax3f8JX86gDi7mf4h03J7vlJjSOJQ4Wh/3Kd81ntKuh -qFphj2cEhQYX08e6SeaU+7H7qdRa+xFRDRGav8L5x5xCUQT2SV+2/hx0C7UuJt+p -tewtbqVAcNxgKPlBuIzyXGOrBdiinp1KftEQoVCpPCI=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU -MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt -IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU -LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu -Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT -AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox -GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz -MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 -edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ -t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ -Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw -JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB -BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv -b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et -c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq -KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv -Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg -ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw -ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl -bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u -bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE -GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B -AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 -Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL -PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf -+5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW -KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 -Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA== - -Ãœberprüfung des Namen des Anmelde-Servers - - -

    Prüfung der Identität des MOA-ID Servers

    - -Bevor Sie sich in den folgenden Schritten an eine Online-Applikation anmelden, -wird empfohlen den Namen des Anmelde-Servers zu überprüfen. -Zu diesem Zweck identifiziert Ihr Webbrowser den Anmelde-Server mit Hilfe eines Zertifikates. -Ihre Aufgabe ist es zu überprüfen, ob das Server-Zertifikat von einem Unternehmen ausgestellt -wurde, dem Sie vertrauen. -

    -Die folgenden Absätze beschreiben, wie Sie diese Überprüfung durchführen können. -Führen Sie jene Arbeitsschritte durch, die für den von Ihnen verwendeten Webbrowser zutreffend sind. -

    -

    Microsoft Internet Explorer 6.0

    - -
      -
    1. Öffnen Sie (durch Doppel-Klicken) das Symbol mit dem gelben Vorhangschloß am unteren Rand des Browsers.
    2. -
    3. Selektieren Sie im nun geöffnetem Fenster "Zertifikat" den Karteireiter "Zertifizierungspfad".
    4. -
    5. Öffnen Sie (durch Doppel-Klicken) das an oberster Stelle gereihte Zertifikat.
    6. -
    7. Überprüfen Sie ob als Aussteller dieses Zertifikat (Karteireiter "Details", Eintrag "Aussteller") -ein Unternehmen aufscheint, dem Sie vertrauen den Namen des Anmelde-Servers zu überprüfen.
    8. -
    9. Überprüfen Sie, ob dieses Zertifikat authentisch vom angegebene Unternehmen stammt. Dazu können Sie den -Fingerabdruck (Karteireiter "Details", unterster Eintrag) des Zertifikats überprüfen. Am Ende dieses Dokuments ist -eine von der IKT-Stabsstelle überprüfte Liste von Zertifikaten und deren Fingerabdruck aufgelistet. -Überprüfen Sie ob das von Ihnen zu überprüfende Zertifikat -in dieser Liste enthalten ist und der Fingerabruck mit dem Wert in der Liste übereinstimmt. -
        -
      • Ist Ihr zu prüfendes Zertifikat in der Liste enthalten und stimmt der Wert des Fingerabdrucks mit dem Wert -in der Liste überein, dann ist das Zertifikat authentisch und der Anmeldevorgang kann fortgesetzt werden.
      • -
      • Ist Ihr zu prüfendes Zertifikat in der Liste enthalten aber stimmt der Wert des Fingerabdrucks nicht mit dem Wert -in der Liste überein, dann ist das Zertifikat nicht authentisch und der Anmeldevorgang muss abgebrochen werden.
      • -
      • Ist Ihr zu prüfendes Zertifikat nicht in der Liste enthalten müssen Sie eine andere verlässliche Quelle für den -Vergleich des Fingerabdrucks finden. Sofern das Zertifikat authentisch ist, kann der Anmeldevorgang fortgesetzt werden.
      • -
    10. -
    11. Ist das in Schritt 3. geöffnete Zertifikat nicht im Internet Explorer installiert erscheint das Zertifikat mit -einem roten Kreuz. Sie können das Zertifikat installieren, indem Sie die Schaltfläche "Zertifikat installieren ..." -(Karteireiter "Allgemein") aktivieren. In der Folge werden alle von dieser Zertifizierungsstelle ausgestellten Zertifikate -vom Internet Explorer als vertrauenswürdig erkannt.
    12. -
    -

    Netscape Navigator 7.0

    -
      -
    1. Öffnen Sie (durch Klicken) das Symbol mit dem Vorhangschloss am rechten, unteren Rand des Browsers
    2. -
    3. Aktivieren Sie die Schaltfläche "Anzeigen"
    4. -
    5. Selektieren Sie im nun geöffnetem Fenster "Zertifikatsanzeige" den Karteireiter "Detail".
    6. -
    7. Aktivieren Sie (durch Klicken) das an oberster Stelle gereihte Zertifikat.
    8. -
    9. Überprüfen Sie ob als Aussteller dieses Zertifikat (Eintrag "Aussteller") -ein Unternehmen aufscheint, dem Sie vertrauen den Namen des Anmelde-Servers zu überprüfen.
    10. -
    11. Überprüfen Sie, ob dieses Zertifikat authentisch vom angegebene Unternehmen stammt. Dazu können Sie den -Fingerabdruck des Zertifikats überprüfen. Am Ende dieses Dokuments ist -eine von der IKT-Stabsstelle überprüfte Liste von Zertifikaten und deren Fingerabdruck aufgelistet. -Überprüfen Sie ob das von Ihnen zu überprüfende Zertifikat -in dieser Liste enthalten ist und der Fingerabruck mit dem Wert in der Liste übereinstimmt. -
        -
      • Ist Ihr zu prüfendes Zertifikat in der Liste enthalten und stimmt der Wert des Fingerabdrucks mit dem Wert -in der Liste überein, dann ist das Zertifikat authentisch und der Anmeldevorgang kann fortgesetzt werden.
      • -
      • Ist Ihr zu prüfendes Zertifikat in der Liste enthalten aber stimmt der Wert des Fingerabdrucks nicht mit dem Wert -in der Liste überein, dann ist das Zertifikat nicht authentisch und der Anmeldevorgang muss abgebrochen werden.
      • -
      • Ist Ihr zu prüfendes Zertifikat nicht in der Liste enthalten müssen Sie eine andere verlässliche Quelle für den -Vergleich des Fingerabdrucks finden. Sofern das Zertifikat authentisch ist, kann der Anmeldevorgang fortgesetzt werden.
      • -
    12. -
    13. Ist das Aussteller-Zertifikat nicht im Netscape Navigator installiert können Sie das Zertifikat installieren, -indem Sie die "*.cer" Datei mit Netscape Navigator öffnen. In der Folge werden alle von dieser Zertifizierungsstelle -ausgestellten Zertifikate vom Internet Explorer als vertrauenswürdig erkannt.
    14. -
    - -

    Zertifikate und ihr Fingerabdruck

    - - - - - - - - - - - -
    AusstellerCN=A-Trust-nQual-01,OU=A-Trust-nQual-01,O=A-Trust,C=AT
    Seriennummer111 (0x6f)
    FingerabdruckSHA-1: e6 e6 fc 88 71 91 77 c9 b7 42 18 25 75 7c 5e 47 bc ac 85 f6
    - -

    - - - - - - - - - - -
    AusstellerCN=A-Trust-nQual-01,OU=A-Trust-nQual-01,O=A-Trust,C=AT
    Seriennummer531 (0x213)
    FingerabdruckSHA-1: 9e 05 12 dd 61 da 59 49 d1 d8 63 1c 3f 19 d7 5f 49 6c 37 33
    - -

    - - - - - - - - - - -
    AusstellerCN=A-Trust-nQual-01,OU=A-Trust-nQual-01,O=A-Trust,C=AT
    Seriennummer536 (0x0218)
    FingerabdruckSHA-1: 0f 5a 03 42 f5 cd 44 87 99 c3 c6 d1 78 60 7e 3f 2b 5b cb 8f
    - - -2003-05-06T07:09:50ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html \ No newline at end of file diff --git a/id.server/res/resources/xmldata/CertInfoVerifyXMLSignatureRequest.xml b/id.server/res/resources/xmldata/CertInfoVerifyXMLSignatureRequest.xml deleted file mode 100644 index 1966d2ca2..000000000 --- a/id.server/res/resources/xmldata/CertInfoVerifyXMLSignatureRequest.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - //dsig:Signature - - diff --git a/id.server/src/at/gv/egovernment/moa/id/AuthenticationException.java b/id.server/src/at/gv/egovernment/moa/id/AuthenticationException.java deleted file mode 100644 index 96a5e0673..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/AuthenticationException.java +++ /dev/null @@ -1,31 +0,0 @@ -package at.gv.egovernment.moa.id; - - -/** - * Exception thrown during handling of AuthenticationSession - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationException extends MOAIDException { - - /** - * Constructor for AuthenticationException. - * @param messageId - */ - public AuthenticationException(String messageId, Object[] parameters) { - super(messageId, parameters, null); - } - /** - * Constructor for AuthenticationException. - * @param messageId - * @param parameters - * @param wrapped - */ - public AuthenticationException( - String messageId, - Object[] parameters, - Throwable wrapped) { - super(messageId, parameters, wrapped); - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/BuildException.java b/id.server/src/at/gv/egovernment/moa/id/BuildException.java deleted file mode 100644 index 785dce7a3..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/BuildException.java +++ /dev/null @@ -1,34 +0,0 @@ -package at.gv.egovernment.moa.id; - - -/** - * Exception thrown while building an XML or HTML structure. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class BuildException extends MOAIDException { - - /** - * Constructor for BuildException. - * @param messageId - * @param parameters - */ - public BuildException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Constructor for BuildException. - * @param messageId - * @param parameters - * @param wrapped - */ - public BuildException( - String messageId, - Object[] parameters, - Throwable wrapped) { - super(messageId, parameters, wrapped); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/MOAIDException.java b/id.server/src/at/gv/egovernment/moa/id/MOAIDException.java deleted file mode 100644 index bce2c4778..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/MOAIDException.java +++ /dev/null @@ -1,159 +0,0 @@ -package at.gv.egovernment.moa.id; - -import java.io.PrintStream; -import java.io.PrintWriter; - -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; - -import org.w3c.dom.DOMImplementation; -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.util.Constants; - -/** - * Base class of technical MOA exceptions. - * - * Technical exceptions are exceptions that originate from system failure (e.g., - * a database connection fails, a component is not available, etc.) - * - * @author Patrick Peck, Ivancsics Paul - * @version $Id$ - */ -public class MOAIDException extends Exception { - /** message ID */ - private String messageId; - /** wrapped exception */ - private Throwable wrapped; - - /** - * Create a new MOAIDException. - * - * @param messageId The identifier of the message associated with this - * exception. - * @param parameters Additional message parameters. - */ - public MOAIDException(String messageId, Object[] parameters) { - super(MOAIDMessageProvider.getInstance().getMessage(messageId, parameters)); - this.messageId = messageId; - } - - /** - * Create a new MOAIDException. - * - * @param messageId The identifier of the message associated with this - * MOAIDException. - * @param parameters Additional message parameters. - * @param wrapped The exception wrapped by this - * MOAIDException. - */ - public MOAIDException( - String messageId, - Object[] parameters, - Throwable wrapped) { - - super(MOAIDMessageProvider.getInstance().getMessage(messageId, parameters)); - this.messageId = messageId; - this.wrapped = wrapped; - } - - /** - * Print a stack trace of this exception to System.err. - * - * @see java.lang.Throwable#printStackTrace() - */ - public void printStackTrace() { - printStackTrace(System.err); - } - - /** - * Print a stack trace of this exception, including the wrapped exception. - * - * @param s The stream to write the stack trace to. - * @see java.lang.Throwable#printStackTrace(java.io.PrintStream) - */ - public void printStackTrace(PrintStream s) { - if (getWrapped() == null) - super.printStackTrace(s); - else { - s.print("Root exception: "); - getWrapped().printStackTrace(s); - } - } - - /** - * Print a stack trace of this exception, including the wrapped exception. - * - * @param s The stream to write the stacktrace to. - * @see java.lang.Throwable#printStackTrace(java.io.PrintWriter) - */ - public void printStackTrace(PrintWriter s) { - if (getWrapped() == null) - super.printStackTrace(s); - else { - s.print("Root exception: "); - getWrapped().printStackTrace(s); - } - } - - /** - * @return message ID - */ - public String getMessageId() { - return messageId; - } - - /** - * @return wrapped exception - */ - public Throwable getWrapped() { - return wrapped; - } - - /** - * Convert this MOAIDException to an ErrorResponse - * element from the MOA namespace. - * - * @return An ErrorResponse element, containing the subelements - * ErrorCode and Info required by the MOA schema. - */ - public Element toErrorResponse() { - DocumentBuilder builder; - DOMImplementation impl; - Document doc; - Element errorResponse; - Element errorCode; - Element info; - - // create a new document - try { - builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); - impl = builder.getDOMImplementation(); - } catch (ParserConfigurationException e) { - return null; - } - - // build the ErrorResponse element - doc = impl.createDocument(Constants.MOA_NS_URI, "ErrorResponse", null); - errorResponse = doc.getDocumentElement(); - - // add MOA namespace declaration - errorResponse.setAttributeNS( - Constants.XMLNS_NS_URI, - "xmlns", - Constants.MOA_NS_URI); - - // build the child elements - errorCode = doc.createElementNS(Constants.MOA_NS_URI, "ErrorCode"); - errorCode.appendChild(doc.createTextNode(messageId)); - info = doc.createElementNS(Constants.MOA_NS_URI, "Info"); - info.appendChild(doc.createTextNode(toString())); - errorResponse.appendChild(errorCode); - errorResponse.appendChild(info); - return errorResponse; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/ParseException.java b/id.server/src/at/gv/egovernment/moa/id/ParseException.java deleted file mode 100644 index a5e0088d9..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/ParseException.java +++ /dev/null @@ -1,34 +0,0 @@ -package at.gv.egovernment.moa.id; - - -/** - * Exception thrown while parsing an XML structure. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class ParseException extends MOAIDException { - - /** - * Constructor for ParseException. - * @param messageId - * @param parameters - */ - public ParseException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Constructor for ParseException. - * @param messageId - * @param parameters - * @param wrapped - */ - public ParseException( - String messageId, - Object[] parameters, - Throwable wrapped) { - super(messageId, parameters, wrapped); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/ServiceException.java b/id.server/src/at/gv/egovernment/moa/id/ServiceException.java deleted file mode 100644 index 9e6ab2361..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/ServiceException.java +++ /dev/null @@ -1,34 +0,0 @@ -package at.gv.egovernment.moa.id; - - -/** - * Exception thrown while calling the MOA-SPSS web service. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class ServiceException extends MOAIDException { - - /** - * Constructor for ServiceException. - * @param messageId - * @param parameters - */ - public ServiceException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Constructor for ServiceException. - * @param messageId - * @param parameters - * @param wrapped - */ - public ServiceException( - String messageId, - Object[] parameters, - Throwable wrapped) { - super(messageId, parameters, wrapped); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java b/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java deleted file mode 100644 index e9d9c7175..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java +++ /dev/null @@ -1,648 +0,0 @@ -package at.gv.egovernment.moa.id.auth; - -import iaik.pki.PKIException; - -import java.io.IOException; -import java.security.GeneralSecurityException; -import java.util.Calendar; -import java.util.Date; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.Map; -import java.util.Set; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.id.ServiceException; -import at.gv.egovernment.moa.id.auth.builder.AuthenticationBlockAssertionBuilder; -import at.gv.egovernment.moa.id.auth.builder.AuthenticationDataAssertionBuilder; -import at.gv.egovernment.moa.id.auth.builder.CertInfoVerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.builder.CreateXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.builder.DataURLBuilder; -import at.gv.egovernment.moa.id.auth.builder.GetIdentityLinkFormBuilder; -import at.gv.egovernment.moa.id.auth.builder.InfoboxReadRequestBuilder; -import at.gv.egovernment.moa.id.auth.builder.PersonDataBuilder; -import at.gv.egovernment.moa.id.auth.builder.SAMLArtifactBuilder; -import at.gv.egovernment.moa.id.auth.builder.SelectBKUFormBuilder; -import at.gv.egovernment.moa.id.auth.builder.VPKBuilder; -import at.gv.egovernment.moa.id.auth.builder.VerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.data.AuthenticationSession; -import at.gv.egovernment.moa.id.auth.data.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.data.VerifyXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.invoke.SignatureVerificationInvoker; -import at.gv.egovernment.moa.id.auth.parser.CreateXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; -import at.gv.egovernment.moa.id.auth.parser.SAMLArtifactParser; -import at.gv.egovernment.moa.id.auth.parser.VerifyXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.servlet.AuthServlet; -import at.gv.egovernment.moa.id.auth.validator.CreateXMLSignatureResponseValidator; -import at.gv.egovernment.moa.id.auth.validator.IdentityLinkValidator; -import at.gv.egovernment.moa.id.auth.validator.ValidateException; -import at.gv.egovernment.moa.id.auth.validator.VerifyXMLSignatureResponseValidator; -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.config.auth.OAAuthParameter; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.id.util.Random; -import at.gv.egovernment.moa.id.util.SSLUtils; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.DateTimeUtils; -import at.gv.egovernment.moa.util.FileUtils; - -/** - * API for MOA ID Authentication Service.
    - * {@link AuthenticationSession} is stored in a session store and retrieved - * by giving the session ID. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationServer implements MOAIDAuthConstants { - - /** single instance */ - private static AuthenticationServer instance; - /** session data store (session ID -> AuthenticationSession) */ - private static Map sessionStore = new HashMap(); - /** authentication data store (assertion handle -> AuthenticationData) */ - private static Map authenticationDataStore = new HashMap(); - /** - * time out in milliseconds used by {@link cleanup} for session store - */ - private long sessionTimeOut = 10*60*1000; // default 10 minutes - /** - * time out in milliseconds used by {@link cleanup} for authentication data store - */ - private long authDataTimeOut = 2*60*1000; // default 2 minutes - - /** - * Returns the single instance of AuthenticationServer. - * - * @return the single instance of AuthenticationServer - */ - public static AuthenticationServer getInstance() { - if (instance == null) - instance = new AuthenticationServer(); - return instance; - } - /** - * Constructor for AuthenticationServer. - */ - public AuthenticationServer() { - super(); - } - /** - * Processes request to select a BKU. - *
    Processing depends on value of {@link AuthConfigurationProvider#getBKUSelectionType}. - *
    For bkuSelectionType==HTMLComplete, a returnURI for the - * "BKU Auswahl" service is returned. - *
    For bkuSelectionType==HTMLSelect, an HTML form for BKU selection is returned. - * @param authURL base URL of MOA-ID Auth component - * @param target "Geschäftsbereich" - * @param oaURL online application URL requested - * @param bkuSelectionTemplateURL template for BKU selection form to be used - * in case of HTMLSelect; may be null - * @param templateURL URL providing an HTML template for the HTML form to be used - * for call startAuthentication - * @return for bkuSelectionType==HTMLComplete, the returnURI for the - * "BKU Auswahl" service; - * for bkuSelectionType==HTMLSelect, an HTML form for BKU selection - * @throws WrongParametersException upon missing parameters - * @throws AuthenticationException when the configured BKU selection service cannot be reached, - * and when the given bkuSelectionTemplateURL cannot be reached - * @throws ConfigurationException on missing configuration data - * @throws BuildException while building the HTML form - */ - public String selectBKU( - String authURL, String target, String oaURL, String bkuSelectionTemplateURL, String templateURL) - throws WrongParametersException, AuthenticationException, ConfigurationException, BuildException { - - if (isEmpty(authURL)) - throw new WrongParametersException("StartAuthentication", "AuthURL"); - if (isEmpty(target)) - throw new WrongParametersException("StartAuthentication", PARAM_TARGET); - if (isEmpty(oaURL)) - throw new WrongParametersException("StartAuthentication", PARAM_OA); - if (! authURL.startsWith("https:")) - throw new AuthenticationException("auth.07", null); - ConnectionParameter bkuConnParam = AuthConfigurationProvider.getInstance().getBKUConnectionParameter(); - if (bkuConnParam == null) - throw new ConfigurationException("config.08", new Object[] {"BKUSelection/ConnectionParameter"}); - OAAuthParameter oaParam = - AuthConfigurationProvider.getInstance().getOnlineApplicationParameter(oaURL); - if (oaParam == null) - throw new AuthenticationException("auth.00", new Object[] {oaURL}); - AuthenticationSession session = newSession(); - Logger.info("MOASession " + session.getSessionID() + " angelegt"); - session.setTarget(target); - session.setOAURLRequested(oaURL); - session.setPublicOAURLPrefix(oaParam.getPublicURLPrefix()); - session.setAuthURL(authURL); - session.setTemplateURL(templateURL); - String returnURL = new DataURLBuilder().buildDataURL(authURL, REQ_START_AUTHENTICATION, session.getSessionID()); - String bkuSelectionType = AuthConfigurationProvider.getInstance().getBKUSelectionType(); - if (bkuSelectionType.equals(AuthConfigurationProvider.BKU_SELECTION_TYPE_HTMLCOMPLETE)) { - // bkuSelectionType==HTMLComplete - String redirectURL = bkuConnParam.getUrl() + "?" + AuthServlet.PARAM_RETURN + "=" + returnURL; - return redirectURL; - } - else { - // bkuSelectionType==HTMLSelect - String bkuSelectTag; - try { - bkuSelectTag = readBKUSelectTag(AuthConfigurationProvider.getInstance(), bkuConnParam); - } - catch (Throwable ex) { - throw new AuthenticationException("auth.03", new Object[] {bkuConnParam.getUrl(), ex.toString()}, ex); - } - String bkuSelectionTemplate = null; - if (bkuSelectionTemplateURL != null) { - try { - bkuSelectionTemplate = new String(FileUtils.readURL(bkuSelectionTemplateURL)); - } - catch (IOException ex) { - throw new AuthenticationException("auth.03", new Object[] {bkuSelectionTemplateURL, ex.toString()}, ex); - } - } - String htmlForm = new SelectBKUFormBuilder().build(bkuSelectionTemplate, returnURL, bkuSelectTag); - return htmlForm; - } - } - /** - * Method readBKUSelectTag. - * @param conf the ConfigurationProvider - * @param connParam the ConnectionParameter for that connection - * @return String - * @throws ConfigurationException on config-errors - * @throws PKIException on PKI errors - * @throws IOException on any data error - * @throws GeneralSecurityException on security errors - */ - private String readBKUSelectTag(ConfigurationProvider conf, ConnectionParameter connParam) - throws ConfigurationException, PKIException, IOException, GeneralSecurityException { - - if (connParam.isHTTPSURL()) - return new String(SSLUtils.readHttpsURL(conf, connParam)); - else - return new String(FileUtils.readURL(connParam.getUrl())); - } - /** - * Processes the beginning of an authentication session. - *

      - *
    • Starts an authentication session
    • - *
    • Creates an <InfoboxReadRequest>
    • - *
    • Creates an HTML form for querying the identity link from the - * security layer implementation. - *
      Form parameters include - *
        - *
      • the <InfoboxReadRequest>
      • - *
      • the data URL where the security layer implementation sends it response to
      • - *
      - *
    - * @param authURL URL of the servlet to be used as data URL - * @param target "Geschäftsbereich" of the online application requested - * @param oaURL online application URL requested - * @param bkuURL URL of the "Bürgerkartenumgebung" to be used; - * may be null; in this case, the default location will be used - * @param templateURL URL providing an HTML template for the HTML form generated - * @return HTML form - * @throws AuthenticationException - * @see GetIdentityLinkFormBuilder - * @see InfoboxReadRequestBuilder - */ - public String startAuthentication( - String authURL, String target, String oaURL, String templateURL, String bkuURL, String sessionID) - throws WrongParametersException, AuthenticationException, ConfigurationException, BuildException { - - if (isEmpty(sessionID)) { - if (isEmpty(authURL)) - throw new WrongParametersException("StartAuthentication", "AuthURL"); - if (! authURL.startsWith("https:")) - throw new AuthenticationException("auth.07", null); - if (isEmpty(target)) - throw new WrongParametersException("StartAuthentication", PARAM_TARGET); - if (isEmpty(oaURL)) - throw new WrongParametersException("StartAuthentication", PARAM_OA); - } - AuthenticationSession session; - if (sessionID != null) - session = getSession(sessionID); - else { - OAAuthParameter oaParam = - AuthConfigurationProvider.getInstance().getOnlineApplicationParameter(oaURL); - if (oaParam == null) - throw new AuthenticationException("auth.00", new Object[] {oaURL}); - session = newSession(); - Logger.info("MOASession " + session.getSessionID() + " angelegt"); - session.setTarget(target); - session.setOAURLRequested(oaURL); - session.setPublicOAURLPrefix(oaParam.getPublicURLPrefix()); - session.setAuthURL(authURL); - session.setTemplateURL(templateURL); - } - String infoboxReadRequest = new InfoboxReadRequestBuilder().build(); - String dataURL = new DataURLBuilder().buildDataURL( - session.getAuthURL(), REQ_VERIFY_IDENTITY_LINK, session.getSessionID()); - String template = null; - if (session.getTemplateURL() != null) { - try { - template = new String(FileUtils.readURL(session.getTemplateURL())); - } - catch (IOException ex) { - throw new AuthenticationException("auth.03", new Object[] {session.getTemplateURL(), ex.toString()}, ex); - } - } - String certInfoRequest = new CertInfoVerifyXMLSignatureRequestBuilder().build(); - String certInfoDataURL = new DataURLBuilder().buildDataURL( - session.getAuthURL(), REQ_START_AUTHENTICATION, session.getSessionID()); - String htmlForm = new GetIdentityLinkFormBuilder().build( - template, bkuURL, infoboxReadRequest, dataURL, certInfoRequest, certInfoDataURL); - return htmlForm; - } - /** - * Processes an <InfoboxReadResponse> sent by the - * security layer implementation.
    - *
      - *
    • Validates given <InfoboxReadResponse>
    • - *
    • Parses identity link enclosed in <InfoboxReadResponse>
    • - *
    • Verifies identity link by calling the MOA SP component
    • - *
    • Checks certificate authority of identity link
    • - *
    • Stores identity link in the session
    • - *
    • Creates an authentication block to be signed by the user
    • - *
    • Creates and returns a <CreateXMLSignatureRequest> - * containg the authentication block, meant to be returned to the - * security layer implementation
    • - *
    - * - * @param sessionID ID of associated authentication session data - * @param xmlInfoboxReadResponse String representation of the - * <InfoboxReadResponse> - * @return String representation of the <CreateXMLSignatureRequest> - */ - public String verifyIdentityLink (String sessionID, String xmlInfoboxReadResponse) - throws AuthenticationException, ParseException, ConfigurationException, ValidateException, ServiceException, WrongParametersException { - - if (isEmpty(sessionID)) - throw new WrongParametersException("VerifyAuthenticationBlock", PARAM_SESSIONID); - if (isEmpty(xmlInfoboxReadResponse)) - throw new WrongParametersException("VerifyAuthenticationBlock", PARAM_XMLRESPONSE); - AuthenticationSession session = getSession(sessionID); - if (session.getTimestampIdentityLink() != null) - throw new AuthenticationException("auth.01", new Object[] {sessionID}); - session.setTimestampIdentityLink(); - AuthConfigurationProvider authConf = AuthConfigurationProvider.getInstance(); - // parses the - IdentityLink identityLink = new InfoboxReadResponseParser(xmlInfoboxReadResponse). - parseIdentityLink(); - // validates the identity link - IdentityLinkValidator.getInstance().validate(identityLink); - // builds a for a call of MOA-SP - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build( - identityLink, authConf.getMoaSpIdentityLinkTrustProfileID()); - // debug output - debugOutputXMLFile("VerifyIdentityLinkRequest.xml", domVerifyXMLSignatureRequest); - // invokes the call - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker(). - verifyXMLSignature(domVerifyXMLSignatureRequest); - // parses the - VerifyXMLSignatureResponse verifyXMLSignatureResponse = - new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse).parseData(); - // debug output - debugOutputXMLFile("VerifyIdentityLinkResponse.xml", domVerifyXMLSignatureResponse); - // validates the - VerifyXMLSignatureResponseValidator.getInstance().validate( - verifyXMLSignatureResponse, - authConf.getIdentityLinkX509SubjectNames(), - VerifyXMLSignatureResponseValidator.CHECK_IDENTITY_LINK); - - session.setIdentityLink(identityLink); - // builds the AUTH-block - String authBlock = buildAuthenticationBlock(session); - session.setAuthBlock(authBlock); - // builds the - String[] transformInfos = authConf.getTransformsInfos(); - String createXMLSignatureRequest = new CreateXMLSignatureRequestBuilder(). - build(authBlock, transformInfos); - return createXMLSignatureRequest; - } - /** - * Builds an authentication block <saml:Assertion> from given session data. - * @param session authentication session - * @return <saml:Assertion> as a String - */ - private String buildAuthenticationBlock(AuthenticationSession session) { - IdentityLink identityLink = session.getIdentityLink(); - String issuer = identityLink.getGivenName() + " " + identityLink.getFamilyName(); - String issueInstant = DateTimeUtils.buildDateTime(Calendar.getInstance()); - String authURL = session.getAuthURL(); - String target = session.getTarget(); - String oaURL = session.getPublicOAURLPrefix(); - String authBlock = new AuthenticationBlockAssertionBuilder(). - build(issuer, issueInstant, authURL, target, oaURL); - return authBlock; - } - /** - * Processes a <CreateXMLSignatureResponse> sent by the - * security layer implementation.
    - *
      - *
    • Validates given <CreateXMLSignatureResponse>
    • - *
    • Parses <CreateXMLSignatureResponse> for error codes
    • - *
    • Parses authentication block enclosed in - * <CreateXMLSignatureResponse>
    • - *
    • Verifies authentication block by calling the MOA SP component
    • - *
    • Creates authentication data
    • - *
    • Creates a corresponding SAML artifact
    • - *
    • Stores authentication data in the authentication data store - * indexed by the SAML artifact
    • - *
    • Deletes authentication session
    • - *
    • Returns the SAML artifact, encoded BASE64
    • - *
    - * - * @param sessionID session ID of the running authentication session - * @param xmlCreateXMLSignatureReadResponse String representation of the - * <CreateXMLSignatureResponse> - * @return SAML artifact needed for retrieving authentication data, encoded BASE64 - */ - public String verifyAuthenticationBlock( - String sessionID, String xmlCreateXMLSignatureReadResponse) - throws AuthenticationException, BuildException, ParseException, ConfigurationException, ServiceException, ValidateException, WrongParametersException { - - if (isEmpty(sessionID)) - throw new WrongParametersException("VerifyAuthenticationBlock", PARAM_SESSIONID); - if (isEmpty(xmlCreateXMLSignatureReadResponse)) - throw new WrongParametersException("VerifyAuthenticationBlock", PARAM_XMLRESPONSE); - AuthenticationSession session = getSession(sessionID); - AuthConfigurationProvider authConf = AuthConfigurationProvider.getInstance(); - // parses - CreateXMLSignatureResponse csresp = - new CreateXMLSignatureResponseParser(xmlCreateXMLSignatureReadResponse).parseResponse(); - // validates - new CreateXMLSignatureResponseValidator().validate(csresp, session.getTarget(), session.getPublicOAURLPrefix()); - // builds a for a MOA-SPSS call - String[] vtids = authConf.getMoaSpAuthBlockVerifyTransformsInfoIDs(); - String tpid = authConf.getMoaSpAuthBlockTrustProfileID(); - Element domVsreq = new VerifyXMLSignatureRequestBuilder().build(csresp, vtids, tpid); - // debug output - AuthenticationServer.debugOutputXMLFile("VerifyAuthenticationBlockRequest.xml", domVsreq); - // invokes the call - Element domVsresp = new SignatureVerificationInvoker().verifyXMLSignature(domVsreq); - // parses the - VerifyXMLSignatureResponse vsresp = new VerifyXMLSignatureResponseParser(domVsresp).parseData(); - // debug output - AuthenticationServer.debugOutputXMLFile("VerifyAuthenticationBlockResponse.xml", domVsresp); - // validates the - VerifyXMLSignatureResponseValidator.getInstance().validate( - vsresp, null,VerifyXMLSignatureResponseValidator.CHECK_AUTH_BLOCK); - // compares the public keys from the identityLink with the AuthBlock - VerifyXMLSignatureResponseValidator.getInstance().validateCertificate(vsresp, session.getIdentityLink()); - - // builds authentication data and stores it together with a SAML artifact - AuthenticationData authData = buildAuthenticationData(session, vsresp); - String samlArtifact = new SAMLArtifactBuilder().build(session.getAuthURL(), session.getSessionID()); - storeAuthenticationData(samlArtifact, authData); - // invalidates the authentication session - sessionStore.remove(sessionID); - Logger.info("Anmeldedaten zu MOASession " + sessionID + " angelegt, SAML Artifakt " + samlArtifact); - return samlArtifact; - } - /** - * Builds the AuthenticationData object together with the - * corresponding <saml:Assertion> - * @param session authentication session - * @param verifyXMLSigResp VerifyXMLSignatureResponse from MOA-SP - * @return AuthenticationData object - * @throws ConfigurationException while accessing configuration data - * @throws BuildException while building the <saml:Assertion> - */ - private AuthenticationData buildAuthenticationData( - AuthenticationSession session, - VerifyXMLSignatureResponse verifyXMLSigResp) - throws ConfigurationException, BuildException { - - IdentityLink identityLink = session.getIdentityLink(); - AuthenticationData authData = new AuthenticationData(); - authData.setMajorVersion(1); - authData.setMinorVersion(0); - authData.setAssertionID(Random.nextRandom()); - authData.setIssuer(session.getAuthURL()); - authData.setIssueInstant(DateTimeUtils.buildDateTime(Calendar.getInstance())); - String vpkBase64 = new VPKBuilder().buildVPK( - identityLink.getIdentificationValue(), identityLink.getDateOfBirth(), session.getTarget()); - authData.setVPK(vpkBase64); - authData.setGivenName(identityLink.getGivenName()); - authData.setFamilyName(identityLink.getFamilyName()); - authData.setDateOfBirth(identityLink.getDateOfBirth()); - authData.setQualifiedCertificate(verifyXMLSigResp.isQualifiedCertificate()); - authData.setPublicAuthority(verifyXMLSigResp.isPublicAuthority()); - authData.setPublicAuthorityCode(verifyXMLSigResp.getPublicAuthorityCode()); - OAAuthParameter oaParam = - AuthConfigurationProvider.getInstance().getOnlineApplicationParameter( - session.getPublicOAURLPrefix()); - String prPerson = new PersonDataBuilder().build( - identityLink, oaParam.getProvideZMRZahl()); - - try { - String ilAssertion = - oaParam.getProvideIdentityLink() ? DOMUtils.serializeNode(identityLink.getSamlAssertion()) : ""; - String authBlock = oaParam.getProvideAuthBlock() ? session.getAuthBlock() : ""; - String samlAssertion = new AuthenticationDataAssertionBuilder().build( - authData, prPerson, authBlock, ilAssertion); - authData.setSamlAssertion(samlAssertion); - return authData; - } - catch (Throwable ex) { - throw new BuildException( - "builder.00", - new Object[] { "AuthenticationData", ex.toString() }, - ex); - } - } - /** - * Retrieves AuthenticationData indexed by the SAML artifact. - * The AuthenticationData is deleted from the store upon end of this call. - * - * @return AuthenticationData - */ - public AuthenticationData getAuthenticationData(String samlArtifact) throws AuthenticationException { - String assertionHandle; - try { - assertionHandle = new SAMLArtifactParser(samlArtifact).parseAssertionHandle(); - } - catch (ParseException ex) { - throw new AuthenticationException("1205", new Object[] {samlArtifact, ex.toString()}); - } - AuthenticationData authData = null; - synchronized (authenticationDataStore) { - authData = (AuthenticationData)authenticationDataStore.get(assertionHandle); - if (authData == null) { - Logger.error("Assertion not found for SAML Artifact: " + samlArtifact); - throw new AuthenticationException("1206", new Object[] {samlArtifact}); - } - authenticationDataStore.remove(assertionHandle); - } - long now = new Date().getTime(); - if (now - authData.getTimestamp().getTime() > authDataTimeOut) - throw new AuthenticationException("1207", new Object[] {samlArtifact}); - Logger.debug("Assertion delivered for SAML Artifact: " + samlArtifact); - return authData; - } - /** - * Stores authentication data indexed by the assertion handle contained in the - * given saml artifact. - * @param samlArtifact SAML artifact - * @param authData authentication data - * @throws AuthenticationException when SAML artifact is invalid - */ - private void storeAuthenticationData(String samlArtifact, AuthenticationData authData) - throws AuthenticationException { - - try { - SAMLArtifactParser parser = new SAMLArtifactParser(samlArtifact); - // check type code 0x0001 - byte[] typeCode = parser.parseTypeCode(); - if (typeCode[0] != 0 || typeCode[1] != 1) - throw new AuthenticationException("auth.06", new Object[] {samlArtifact}); - String assertionHandle = parser.parseAssertionHandle(); - synchronized(authenticationDataStore) { - Logger.debug("Assertion stored for SAML Artifact: " + samlArtifact); - authenticationDataStore.put(assertionHandle, authData); - } - } - catch (AuthenticationException ex) { - throw ex; - } - catch (Throwable ex) { - throw new AuthenticationException("auth.06", new Object[] {samlArtifact}); - } - } - /** - * Creates a new session and puts it into the session store. - * - * @param id Session ID - * @return AuthenticationSession created - * @exception AuthenticationException - * thrown when an AuthenticationSession is running - * already for the given session ID - */ - private static AuthenticationSession newSession() throws AuthenticationException { - String sessionID = Random.nextRandom(); - AuthenticationSession newSession = new AuthenticationSession(sessionID); - synchronized (sessionStore) { - AuthenticationSession session = (AuthenticationSession)sessionStore.get(sessionID); - if (session != null) - throw new AuthenticationException("auth.01", new Object[] { sessionID }); - sessionStore.put(sessionID, newSession); - } - return newSession; - } - /** - * Retrieves a session from the session store. - * - * @param id session ID - * @return AuthenticationSession stored with given session ID, - * null if session ID unknown - */ - public static AuthenticationSession getSession(String id) throws AuthenticationException { - AuthenticationSession session = (AuthenticationSession)sessionStore.get(id); - if (session == null) - throw new AuthenticationException("auth.02", new Object[] { id }); - return session; - } - /** - * Cleans up expired session and authentication data stores. - */ - public void cleanup() { - long now = new Date().getTime(); - synchronized(sessionStore) { - Set keys = new HashSet(sessionStore.keySet()); - for (Iterator iter = keys.iterator(); iter.hasNext(); ) { - String sessionID = (String) iter.next(); - AuthenticationSession session = (AuthenticationSession) sessionStore.get(sessionID); - if (now - session.getTimestampStart().getTime() > sessionTimeOut) { - Logger.info(MOAIDMessageProvider.getInstance().getMessage("cleaner.02", new Object[] {sessionID})); - sessionStore.remove(sessionID); - } - } - } - synchronized(authenticationDataStore) { - Set keys = new HashSet(authenticationDataStore.keySet()); - for (Iterator iter = keys.iterator(); iter.hasNext(); ) { - String samlArtifact = (String) iter.next(); - AuthenticationData authData = (AuthenticationData) authenticationDataStore.get(samlArtifact); - if (now - authData.getTimestamp().getTime() > authDataTimeOut) { - Logger.info(MOAIDMessageProvider.getInstance().getMessage("cleaner.03", new Object[] {samlArtifact})); - authenticationDataStore.remove(samlArtifact); - } - } - } - } - - /** - * Sets the sessionTimeOut. - * @param sessionTimeOut time out in seconds - */ - public void setSecondsSessionTimeOut(long seconds) { - sessionTimeOut = 1000 * seconds; - } - /** - * Sets the authDataTimeOut. - * @param authDataTimeOut time out in seconds - */ - public void setSecondsAuthDataTimeOut(long seconds) { - authDataTimeOut = 1000 * seconds; - } - - /** - * Checks a parameter. - * @param param parameter - * @return true if the parameter is null or empty - */ - private boolean isEmpty(String param) { - return param == null || param.length() == 0; - } - - /** - * Writes an XML structure to file for debugging purposes, encoding UTF-8. - * - * @param filename file name - * @param rootElem root element in DOM tree - */ - public static void debugOutputXMLFile(String filename, Element rootElem) { - if (Logger.isDebugEnabled(DEBUG_OUTPUT_HIERARCHY)) { - try { - String xmlString = new String(DOMUtils.serializeNode(rootElem)); - debugOutputXMLFile(filename, xmlString); - } - catch (Exception ex) { - ex.printStackTrace(); - } - } - } - /** - * Writes an XML structure to file for debugging purposes, encoding UTF-8. - * - * @param filename file name - * @param xmlString XML string - */ - public static void debugOutputXMLFile(String filename, String xmlString) { - if (Logger.isDebugEnabled(DEBUG_OUTPUT_HIERARCHY)) { - try { - java.io.OutputStream fout = new java.io.FileOutputStream(filename); - byte[] xmlData = xmlString.getBytes("UTF-8"); - fout.write(xmlData); - fout.close(); - } - catch (Exception ex) { - ex.printStackTrace(); - } - } - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationSessionCleaner.java b/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationSessionCleaner.java deleted file mode 100644 index 7e5ed6ec7..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationSessionCleaner.java +++ /dev/null @@ -1,52 +0,0 @@ -package at.gv.egovernment.moa.id.auth; - -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.logging.Logger; - -/** - * Thread cleaning the AuthenticationServer session store - * and authentication data store from garbage. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationSessionCleaner implements Runnable { - - /** interval the AuthenticationSessionCleaner is run in */ - private static final long SESSION_CLEANUP_INTERVAL = 30 * 60; // 30 min - - /** - * Runs the thread. Cleans the AuthenticationServer session store - * and authentication data store from garbage, then sleeps for given interval, and restarts. - */ - public void run() { - while (true) { - try { - Logger.debug("AuthenticationSessionCleaner run"); - AuthenticationServer.getInstance().cleanup(); - } - catch (Exception e) { - Logger.error(MOAIDMessageProvider.getInstance().getMessage("cleaner.01", null), e); - } - try { - Thread.sleep(SESSION_CLEANUP_INTERVAL * 1000); - } - catch (InterruptedException e) { - } - } - } - - /** - * start the sessionCleaner - */ - public static void start() { - // start the session cleanup thread - Thread sessionCleaner = - new Thread(new AuthenticationSessionCleaner()); - sessionCleaner.setName("SessionCleaner"); - sessionCleaner.setDaemon(true); - sessionCleaner.setPriority(Thread.MIN_PRIORITY); - sessionCleaner.start(); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthConstants.java b/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthConstants.java deleted file mode 100644 index ddba20049..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthConstants.java +++ /dev/null @@ -1,53 +0,0 @@ -package at.gv.egovernment.moa.id.auth; - -/** - * Constants used throughout moa-id-auth component. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public interface MOAIDAuthConstants { - - /** servlet parameter "Target" */ - public static final String PARAM_TARGET = "Target"; - /** servlet parameter "OA" */ - public static final String PARAM_OA = "OA"; - /** servlet parameter "bkuURI" */ - public static final String PARAM_BKU = "bkuURI"; - /** servlet parameter "BKUSelectionTemplate" */ - public static final String PARAM_BKUTEMPLATE = "BKUSelectionTemplate"; - /** servlet parameter "returnURI" */ - public static final String PARAM_RETURN = "returnURI"; - /** servlet parameter "Template" */ - public static final String PARAM_TEMPLATE = "Template"; - /** servlet parameter "MOASessionID" */ - public static final String PARAM_SESSIONID = "MOASessionID"; - /** servlet parameter "XMLResponse" */ - public static final String PARAM_XMLRESPONSE = "XMLResponse"; - /** servlet parameter "SAMLArtifact" */ - public static final String PARAM_SAMLARTIFACT = "SAMLArtifact"; - /** Request name {@link at.gv.egovernment.moa.id.auth.servlet.StartAuthenticationServlet} is mapped to */ - public static final String REQ_START_AUTHENTICATION = "StartAuthentication"; - /** Request name {@link at.gv.egovernment.moa.id.auth.servlet.VerifyIdentityLinkServlet} is mapped to */ - public static final String REQ_VERIFY_IDENTITY_LINK = "VerifyIdentityLink"; - /** Request name {@link at.gv.egovernment.moa.id.auth.servlet.VerifyAuthenticationBlockServlet} is mapped to */ - public static final String REQ_VERIFY_AUTH_BLOCK = "VerifyAuthBlock"; - /** Logging hierarchy used for controlling debug output of XML structures to files */ - public static final String DEBUG_OUTPUT_HIERARCHY = "moa.id.auth"; - /** Header Name for controlling the caching mechanism of the browser */ - public static final String HEADER_EXPIRES = "Expires"; - /** Header Value for controlling the caching mechanism of the browser */ - public static final String HEADER_VALUE_EXPIRES = "Sat, 6 May 1995 12:00:00 GMT"; - /** Header Name for controlling the caching mechanism of the browser */ - public static final String HEADER_PRAGMA = "Pragma"; - /** Header Value for controlling the caching mechanism of the browser */ - public static final String HEADER_VALUE_PRAGMA = "no-cache"; - /** Header Name for controlling the caching mechanism of the browser */ - public static final String HEADER_CACHE_CONTROL = "Cache-control"; - /** Header Value for controlling the caching mechanism of the browser */ - public static final String HEADER_VALUE_CACHE_CONTROL = "no-store, no-cache, must-revalidate"; - /** Header Value for controlling the caching mechanism of the browser */ - public static final String HEADER_VALUE_CACHE_CONTROL_IE = "post-check=0, pre-check=0"; - - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java b/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java deleted file mode 100644 index f9bec8b76..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java +++ /dev/null @@ -1,118 +0,0 @@ -package at.gv.egovernment.moa.id.auth; - -import iaik.pki.PKIException; -import iaik.pki.jsse.IAIKX509TrustManager; - -import java.security.GeneralSecurityException; - -import java.io.IOException; - -import javax.net.ssl.SSLSocketFactory; - -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.iaik.config.LoggerConfigImpl; -import at.gv.egovernment.moa.id.util.AxisSecureSocketFactory; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.id.util.SSLUtils; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator; - -/** - * Web application initializer - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class MOAIDAuthInitializer { - - /** a boolean identifying if the MOAIDAuthInitializer has been startet */ - public static boolean initialized = false; - - - - /** - * Initializes the web application components which need initialization: - * logging, JSSE, MOA-ID Auth configuration, Axis, session cleaner. - */ - public static void initialize() - throws ConfigurationException, PKIException, IOException, GeneralSecurityException { - if (initialized) - return; - initialized=true; - Logger.setHierarchy("moa.id.auth"); - // Restricts TLS cipher suites - System.setProperty("https.cipherSuites", "SSL_RSA_WITH_RC4_128_SHA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_3DES_EDE_CBC_SHA"); - // load some jsse classes so that the integrity of the jars can be verified - // before the iaik jce is installed as the security provider - // this workaround is only needed when sun jsse is used in conjunction with - // iaik-jce (on jdk1.3) - ClassLoader cl = MOAIDAuthInitializer.class.getClassLoader(); - try { - cl.loadClass("javax.security.cert.Certificate"); // from jcert.jar - } - catch (ClassNotFoundException e) { - Logger.warn(MOAIDMessageProvider.getInstance().getMessage("init.01", null), e); - } - - // Initializes SSLSocketFactory store - SSLUtils.initialize(); - - // Loads the configuration - AuthConfigurationProvider authConf = AuthConfigurationProvider.reload(); - ConnectionParameter moaSPConnParam = authConf.getMoaSpConnectionParameter(); - - // If MOA-SP API calls: loads MOA-SP configuration and configures IAIK - if (moaSPConnParam == null) { - try { - LoggingContextManager.getInstance().setLoggingContext( - new LoggingContext("startup")); - ConfigurationProvider config = ConfigurationProvider.getInstance(); - new IaikConfigurator().configure(config); - } - catch (at.gv.egovernment.moa.spss.server.config.ConfigurationException ex) { - throw new ConfigurationException("config.10", new Object[] { ex.toString() }, ex); - } - } - - // Initializes IAIKX509TrustManager logging - String log4jConfigURL = System.getProperty("log4j.configuration"); - if (log4jConfigURL != null) { - IAIKX509TrustManager.initLog(new LoggerConfigImpl(log4jConfigURL)); - } - - // Initializes the Axis secure socket factory for use in calling the MOA-SP web service - if (moaSPConnParam != null && moaSPConnParam.isHTTPSURL()) { - SSLSocketFactory ssf = SSLUtils.getSSLSocketFactory(authConf, moaSPConnParam); - AxisSecureSocketFactory.initialize(ssf); - } - - // sets the authentication session and authentication data time outs - String param = authConf.getGenericConfigurationParameter(AuthConfigurationProvider.AUTH_SESSION_TIMEOUT_PROPERTY); - if (param != null) { - long sessionTimeOut = 0; - try { sessionTimeOut = new Long(param).longValue(); } - catch (NumberFormatException ex) { - Logger.error(MOAIDMessageProvider.getInstance().getMessage("config.05", new Object[] {AuthConfigurationProvider.AUTH_SESSION_TIMEOUT_PROPERTY})); - } - if (sessionTimeOut > 0) - AuthenticationServer.getInstance().setSecondsSessionTimeOut(sessionTimeOut); - } - param = authConf.getGenericConfigurationParameter(AuthConfigurationProvider.AUTH_DATA_TIMEOUT_PROPERTY); - if (param != null) { - long authDataTimeOut = 0; - try { authDataTimeOut = new Long(param).longValue(); } - catch (NumberFormatException ex) { - Logger.error(MOAIDMessageProvider.getInstance().getMessage("config.05", new Object[] {AuthConfigurationProvider.AUTH_DATA_TIMEOUT_PROPERTY})); - } - if (authDataTimeOut > 0) - AuthenticationServer.getInstance().setSecondsAuthDataTimeOut(authDataTimeOut); - } - - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/WrongParametersException.java b/id.server/src/at/gv/egovernment/moa/id/auth/WrongParametersException.java deleted file mode 100644 index 3ce2798ea..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/WrongParametersException.java +++ /dev/null @@ -1,21 +0,0 @@ -package at.gv.egovernment.moa.id.auth; - -import at.gv.egovernment.moa.id.MOAIDException; - -/** - * Exception thrown when the AuthenticationServer API is - * called with wrong parameters provided. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class WrongParametersException extends MOAIDException { - - /** - * Constructor - */ - public WrongParametersException(String call, String parameter) { - super("auth.05", new Object[] {call, parameter}); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java deleted file mode 100644 index 4babf948c..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import java.text.MessageFormat; - -import at.gv.egovernment.moa.util.Constants; - -/** - * Builder for the authentication block <saml:Assertion> - * to be included in a <CreateXMLSignatureResponse>. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationBlockAssertionBuilder implements Constants { - /** private static String nl contains the NewLine representation in Java*/ - private static String nl = "\n"; - /** private static String AUTH_BLOCK contains an XML-Auth-Block-Template */ - private static String AUTH_BLOCK = - "" + nl + - " " + nl + - " " + nl + - " {2}" + nl + - " " + nl + - " " + nl + - " {3}" + nl + - " " + nl + - " " + nl + - " {4}" + nl + - " " + nl + - " " + nl + - ""; - - /** - * Constructor for AuthenticationBlockAssertionBuilder. - */ - public AuthenticationBlockAssertionBuilder() { - super(); - } - /** - * Builds the authentication block <saml:Assertion>. - * - * @param issuer authentication block issuer; "GivenName FamilyName" - * @param issueInstant current timestamp - * @param authURL URL of MOA-ID authentication component - * @param target "Geschäftsbereich" - * @param oaURL public URL of online application requested - * @return String representation of authentication block - * <saml:Assertion> built - */ - public String build(String issuer, String issueInstant, String authURL, String target, String oaURL) { - String assertion = MessageFormat.format( - AUTH_BLOCK, new Object[] { issuer, issueInstant, authURL, target, oaURL }); - return assertion; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataAssertionBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataAssertionBuilder.java deleted file mode 100644 index fd7cb1a9d..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationDataAssertionBuilder.java +++ /dev/null @@ -1,114 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import java.text.MessageFormat; - -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.util.Constants; - -/** - * Builder for the authentication data <saml:Assertion> - * to be provided by the MOA ID Auth component. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationDataAssertionBuilder implements Constants { - /** private static String NL contains the NewLine representation in Java*/ - private static final String NL = "\n"; - /** - * XML template for the <saml:Assertion> to be built - */ - private static final String AUTH_DATA = - "" + NL + - "" + NL + - " " + NL + - " " + NL + - " {3}" + NL + - " " + NL + - " " + MOA_NS_URI + "cm" + NL + - " {4}{5}" + NL + - " " + NL + - " " + NL + - " " + NL + - " {6}" + NL + - " " + NL + - " " + NL + - " {7}" + NL + - " " + NL + - "{8}" + - " " + NL + - ""; - /** - * XML template for the <saml:Attribute> named "isPublicAuthority", - * to be inserted into the <saml:Assertion> - */ - private static final String PUBLIC_AUTHORITY_ATT = - " " + NL + - " {0}" + NL + - " " + NL; - - /** - * Constructor for AuthenticationDataAssertionBuilder. - */ - public AuthenticationDataAssertionBuilder() { - super(); - } - - /** - * Builds the authentication data <saml:Assertion>. - * - * @param authData the AuthenticationData to build the - * <saml:Assertion> from - * @param xmlPersonData lt;pr:Person> element as a String - * @param xmlAuthBlock authentication block to be included in a - * lt;saml:SubjectConfirmationData> element; may include - * the "ZMR-Zahl" or not; may be empty - * @param xmlIdentityLink the IdentityLink - * @return the <saml:Assertion> - * @throws BuildException if an error occurs during the build process - */ - public String build( - AuthenticationData authData, - String xmlPersonData, - String xmlAuthBlock, - String xmlIdentityLink) throws BuildException { - - String isQualifiedCertificate = authData.isQualifiedCertificate() ? "true" : "false"; - String publicAuthorityAttribute = ""; - if (authData.isPublicAuthority()) { - String publicAuthorityIdentification = authData.getPublicAuthorityCode(); - if (publicAuthorityIdentification == null) - publicAuthorityIdentification = "True"; - publicAuthorityAttribute = MessageFormat.format( - PUBLIC_AUTHORITY_ATT, new Object[] { publicAuthorityIdentification }); - } - - String assertion = MessageFormat.format(AUTH_DATA, new Object[] { - authData.getAssertionID(), - authData.getIssuer(), - authData.getIssueInstant(), - authData.getVPK(), - removeXMLDeclaration(xmlAuthBlock), - removeXMLDeclaration(xmlIdentityLink), - removeXMLDeclaration(xmlPersonData), - isQualifiedCertificate, - publicAuthorityAttribute}); - return assertion; - } - - /** - * Removes the XML declaration from an XML expression. - * @param xmlString XML expression as String - * @return XML expression, XML declaration removed - */ - private String removeXMLDeclaration(String xmlString) { - if (xmlString.startsWith("<VerifyXMLSignatureRequest> structure - * used for presenting certificate information in the secure viewer of the security layer implementation. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class CertInfoVerifyXMLSignatureRequestBuilder extends Builder { - - /** special tag in the VerifyXMLRequest template to be substituted for a <dsig:Signature> */ - private static final String SIGNATURE_TAG = ""; - - /** - * Constructor - */ - public CertInfoVerifyXMLSignatureRequestBuilder() { - super(); - } - /** - * Builds the <VerifyXMLSignatureRequest> structure. - * @return the XML structure - * @throws BuildException - */ - public String build() throws BuildException { - String resCertInfoRequest = "resources/xmldata/CertInfoVerifyXMLSignatureRequest.xml"; - String resDsigSignature = "resources/xmldata/CertInfoDsigSignature.xml"; - String certInfoRequest; - try { - certInfoRequest = FileUtils.readResource(resCertInfoRequest, "UTF-8"); - } - catch (IOException ex) { - throw new BuildException("auth.04", new Object[] {resCertInfoRequest, ex.toString()}); - } - try { - String dsigSignature = FileUtils.readResource(resDsigSignature, "UTF-8"); - certInfoRequest = replaceTag(certInfoRequest, SIGNATURE_TAG, dsigSignature); - return certInfoRequest; - } - catch (IOException ex) { - throw new BuildException("auth.04", new Object[] {resDsigSignature, ex.toString()}); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java deleted file mode 100644 index 8693c71a9..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import java.text.MessageFormat; - -import at.gv.egovernment.moa.util.Constants; - -/** - * Builder for the <CreateXMLSignatureRequest> structure - * used for requesting a signature under the authentication block from the - * security layer implementation. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class CreateXMLSignatureRequestBuilder implements Constants { - /** private static String nl contains the NewLine representation in Java*/ - private static final String nl = "\n"; - /** - * XML template for the <moa:CreateXMLSignatureRequest> to be built - */ - private static final String CREATE_XML_SIGNATURE_REQUEST = - "" + nl + - "" + nl + - " SecureSignatureKeypair" + nl + - " " + nl + - " " + nl + - "{1}" + - " " + nl + - " " + nl + - " " + nl + - " {0}" + nl + - " " + nl + - " /saml:Assertion" + nl + - " " + nl + - ""; - - /** - * Constructor for CreateXMLSignatureRequestBuilder. - */ - public CreateXMLSignatureRequestBuilder() { - super(); - } - - /** - * Builds the <CreateXMLSignatureRequest>. - * - * @param authBlock String representation of XML authentication block - * @return String representation of <CreateXMLSignatureRequest> - */ - public String build(String authBlock, String[] dsigTransformInfos) { - String dsigTransformInfosString = ""; - for (int i = 0; i < dsigTransformInfos.length; i++) - dsigTransformInfosString += dsigTransformInfos[i]; - String request = MessageFormat.format( - CREATE_XML_SIGNATURE_REQUEST, new Object[] { authBlock, dsigTransformInfosString }); - return request; - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/DataURLBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/DataURLBuilder.java deleted file mode 100644 index 575149d9e..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/DataURLBuilder.java +++ /dev/null @@ -1,55 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import at.gv.egovernment.moa.id.auth.servlet.AuthServlet; - -/** - * Builds a DataURL parameter meant for the security layer implementation - * to respond to. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class DataURLBuilder { - - /** - * Constructor for DataURLBuilder. - */ - public DataURLBuilder() { - super(); - } - - /** - * Constructs a data URL for VerifyIdentityLink or VerifyAuthenticationBlock, - * including the MOASessionID as a parameter. - * - * @param authBaseURL base URL (context path) of the MOA ID Authentication component, - * including a trailing '/' - * @param authServletName request part of the data URL - * @param sessionID sessionID to be included in the dataURL - * @return String - */ - public String buildDataURL(String authBaseURL, String authServletName, String sessionID) { - String dataURL = authBaseURL + authServletName; - dataURL = addParameter(dataURL, AuthServlet.PARAM_SESSIONID, sessionID); - return dataURL; - } - - /** - * Method addParameter. - * @param urlString represents the url - * @param paramname is the parameter to be added - * @param value is the value of that parameter - * @return String - */ - private String addParameter(String urlString, String paramname, String value) { - String url = urlString; - if (paramname != null) { - if (url.indexOf("?") < 0) - url += "?"; - else - url += "&"; - url += paramname + "=" + value; - } - return url; - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilder.java deleted file mode 100644 index 8391fdd62..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilder.java +++ /dev/null @@ -1,137 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import java.io.IOException; -import java.io.StringReader; -import java.io.StringWriter; - -import at.gv.egovernment.moa.id.BuildException; - -/** - * Builder for HTML form requesting the security layer implementation - * to get the identity link from smartcard by a <InfoboxReadRequest>. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class GetIdentityLinkFormBuilder extends Builder { - /** private static String NL contains the NewLine representation in Java*/ - private static final String nl = "\n"; - /** special tag in the HTML template to be substituted for the BKU URL */ - private static final String BKU_TAG = ""; - /** special tag in the HTML template to be substituted for the XML request */ - private static final String XMLREQUEST_TAG = ""; - /** special tag in the HTML template to be substituted for the data URL */ - private static final String DATAURL_TAG = ""; - /** special tag in the HTML template to be substituted for certificate info XML request */ - private static final String CERTINFO_XMLREQUEST_TAG = ""; - /** special tag in the HTML template to be substituted for the certificate info data URL */ - private static final String CERTINFO_DATAURL_TAG = ""; - - /** default BKU URL */ - private static final String DEFAULT_BKU = "http://localhost:3495/http-security-layer-request"; - /** default HTML template */ - private static final String DEFAULT_HTML_TEMPLATE = - "" + nl + - "" + nl + - "" + nl + - "Auslesen der Personenbindung" + nl + - "" + nl + - "" + nl + - "
    " + nl + - " " + nl + - " " + nl + - " " + nl + - "
    " + nl + - "
    " + nl + - " " + nl + - " " + nl + - " " + nl + - "
    " + nl + - "" + nl + - ""; - - /** - * Constructor for GetIdentityLinkFormBuilder. - */ - public GetIdentityLinkFormBuilder() { - super(); - } - /** - * Builds the HTML form, including XML Request and data URL as parameters. - * - * @param htmlTemplate template to be used for the HTML form; - * may be null, in this case a default layout will be produced - * @param xmlRequest XML Request to be sent as a parameter in the form - * @param bkuURL URL of the "Bürgerkartenumgebung" the form will be submitted to; - * may be null, in this case the default URL will be used - * @param dataURL DataURL to be sent as a parameter in the form - */ - public String build( - String htmlTemplate, String bkuURL, String xmlRequest, String dataURL, String certInfoXMLRequest, String certInfoDataURL) - throws BuildException { - - String htmlForm = htmlTemplate == null ? DEFAULT_HTML_TEMPLATE : htmlTemplate; - String bku = bkuURL == null ? DEFAULT_BKU : bkuURL; - htmlForm = replaceTag(htmlForm, BKU_TAG, bku); - htmlForm = replaceTag(htmlForm, XMLREQUEST_TAG, encodeParameter(xmlRequest)); - htmlForm = replaceTag(htmlForm, DATAURL_TAG, dataURL); - htmlForm = replaceTag(htmlForm, BKU_TAG, bku); - htmlForm = replaceTag(htmlForm, CERTINFO_XMLREQUEST_TAG, encodeParameter(certInfoXMLRequest)); - htmlForm = replaceTag(htmlForm, CERTINFO_DATAURL_TAG, certInfoDataURL); - return htmlForm; - } - /** - * Encodes a string for inclusion as a parameter in the form. - * Double quotes are substituted by "&quot;". - * @param s the string to be encoded - * @return the string encoded - * @throws BuildException on any exception encountered - */ - public static String encodeParameter(String s) throws BuildException { - StringReader in = new StringReader(s); - StringWriter out = new StringWriter(); - try { - for (int ch = in.read(); ch >= 0; ch = in.read()) { - if (ch == '"') - out.write("""); - else if (ch == '<') - out.write("<"); - else if (ch == '>') - out.write(">"); - else if (ch == 'ä') - out.write("ä"); - else if (ch == 'ö') - out.write("ö"); - else if (ch == 'ü') - out.write("ü"); - else if (ch == 'Ä') - out.write("Ä"); - else if (ch == 'Ö') - out.write("Ö"); - else if (ch == 'Ü') - out.write("Ü"); - else if (ch == 'ß') - out.write("ß"); - else - out.write(ch); - } - } - catch (IOException ex) { - throw new BuildException("builder.00", new Object[] {"GetIdentityLinkForm", ex.toString()}); - } - return out.toString(); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxReadRequestBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxReadRequestBuilder.java deleted file mode 100644 index d3e100671..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxReadRequestBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import at.gv.egovernment.moa.util.Constants; - -/** - * Builder for the <InfoboxReadRequest> structure - * used for requesting the identity link from the security layer implementation. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class InfoboxReadRequestBuilder implements Constants { - - /** - * XML template for the <sl10:InfoboxReadRequest> to be built - */ - String INFOBOX_READ_REQUEST = - "" + - "" + - "IdentityLink" + - "" + - ""; - - /** - * Constructor for InfoboxReadRequestBuilder. - */ - public InfoboxReadRequestBuilder() { - } - /** - * Builds an <InfoboxReadRequest>. - * - * @return <InfoboxReadRequest> as String - */ - public String build() { - String request = INFOBOX_READ_REQUEST; - return request; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/PersonDataBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/PersonDataBuilder.java deleted file mode 100644 index 85ec1cb7f..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/PersonDataBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import org.w3c.dom.Element; -import org.w3c.dom.Node; - -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Builder for the lt;pr:Person> element to be inserted - * in the authentication data lt;saml:Assertion>. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class PersonDataBuilder { - - /** - * Constructor for PersonDataBuilder. - */ - public PersonDataBuilder() { - super(); - } - /** - * Builds the <pr:Person> element.
    - * Utilizes the parsed <prPerson> from the identity link - * and the information regarding inclusion of "ZMR-Zahl" in the - * <pr:Person> data. - * - * @param identityLink IdentityLink containing the - * attribute prPerson - * @param provideZMRZahl true if "ZMR-Zahl" is to be included; - * false otherwise - * @return the <pr:Person> element as a String - * @throws BuildException on any error - */ - public String build(IdentityLink identityLink, boolean provideZMRZahl) - throws BuildException { - - try { - Element prPerson = (Element)identityLink.getPrPerson().cloneNode(true); - if (! provideZMRZahl) { - Node prIdentification = XPathUtils.selectSingleNode(prPerson, "pr:Identification"); - prPerson.removeChild(prIdentification); - } - String xmlString = DOMUtils.serializeNode(prPerson); - return xmlString; - } - catch (Exception ex) { - throw new BuildException( - "builder.00", - new Object[] {"PersonData", ex.toString()}, - ex); - } - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLArtifactBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLArtifactBuilder.java deleted file mode 100644 index 27e19e830..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLArtifactBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import java.io.ByteArrayOutputStream; -import java.security.MessageDigest; - -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.util.Base64Utils; - -/** - * Builder for the SAML artifact, as defined in the - * Browser/Artifact profile of SAML. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLArtifactBuilder { - - /** - * Constructor for SAMLArtifactBuilder. - */ - public SAMLArtifactBuilder() { - super(); - } - - /** - * Builds the SAML artifact, encoded BASE64. - *
      - *
    • TypeCode: 0x0001.
    • - *
    • SourceID: SHA-1 hash of the authURL
    • - *
    • AssertionHandle: SHA-1 hash of the MOASessionID
    • - *
    - * @param authURL URL auf the MOA-ID Auth component to be used for construction - * of SourceID - * @param sessionID MOASessionID to be used for construction - * of AssertionHandle - * @return the 42-byte SAML artifact, encoded BASE64 - */ - public String build(String authURL, String sessionID) throws BuildException { - try { - MessageDigest md = MessageDigest.getInstance("SHA-1"); - byte[] sourceID = md.digest(authURL.getBytes()); - byte[] assertionHandle = md.digest(sessionID.getBytes()); - ByteArrayOutputStream out = new ByteArrayOutputStream(42); - out.write(0); - out.write(1); - out.write(sourceID, 0, 20); - out.write(assertionHandle, 0, 20); - byte[] samlArtifact = out.toByteArray(); - String samlArtifactBase64 = Base64Utils.encode(samlArtifact); - return samlArtifactBase64; - } - catch (Throwable ex) { - throw new BuildException( - "builder.00", - new Object[] {"SAML Artifact, MOASessionID=" + sessionID, ex.toString()}, - ex); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java deleted file mode 100644 index a4fb5579e..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java +++ /dev/null @@ -1,100 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import java.text.MessageFormat; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.*; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; - -/** - * Builder for the lt;samlp:Response> used for passing - * result and status information from the GetAuthenticationData - * web service. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLResponseBuilder implements Constants { - /** XML - Template for samlp:Response */ - private static final String RESPONSE = - "" + - "" + - " " + - " " + - " {4}" + - " " + - " {5}" + - " " + - " {6}" + - ""; - /** XML - Template for samlp:StatusCode */ - private static final String SUB_STATUS_CODE = - ""; - - /** - * Constructor for SAMLResponseBuilder. - */ - public SAMLResponseBuilder() { - super(); - } - /** - * Builds the SAML response. - * @param responseID response ID - * @param inResponseTo request ID of lt;samlp:Request> responded to - * @param issueInstant current timestamp - * @param statusCode status code - * @param subStatusCode sub-status code refining the status code; may be null - * @param statusMessage status message - * @param samlAssertion SAML assertion representing authentication data - * @return SAML response as a DOM element - */ - public Element build( - String responseID, - String inResponseTo, - String issueInstant, - String statusCode, - String subStatusCode, - String statusMessage, - String samlAssertion) - throws BuildException { - - try { - String xmlSubStatusCode = - subStatusCode == null ? - "" : - MessageFormat.format(SUB_STATUS_CODE, new Object[] {subStatusCode}); - String xmlResponse = MessageFormat.format(RESPONSE, new Object[] { - responseID, - inResponseTo, - issueInstant, - statusCode, - xmlSubStatusCode, - statusMessage, - removeXMLDeclaration(samlAssertion) }); - Element domResponse = DOMUtils.parseDocument(xmlResponse, true, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - return domResponse; - } - catch (Throwable ex) { - throw new BuildException( - "builder.00", - new Object[] { "samlp:Response", ex.toString() }, - ex); - } - } - /** - * Removes the XML declaration from an XML expression. - * @param xmlString XML expression as String - * @return XML expression, XML declaration removed - */ - private String removeXMLDeclaration(String xmlString) { - if (xmlString.startsWith(""; - /** special tag in the HTML template to be substituted for the <select;gt; tag - * containing the BKU selection options */ - private static final String SELECT_TAG = ""; - /** - * Template for the default html-code to be returned as security-layer-selection to be built - */ - private static final String DEFAULT_HTML_TEMPLATE = - "" + nl + - "" + nl + - "" + nl + - "Auswahl der Bürgerkartenumgebung" + nl + - "" + nl + - "" + nl + - "
    " + nl + - SELECT_TAG + nl + - " " + nl + - "
    " + nl + - "" + nl + - ""; - - /** - * Constructor - */ - public SelectBKUFormBuilder() { - super(); - } - /** - * Method build. Builds the form - * @param htmlTemplate to be used - * @param startAuthenticationURL the url where the startAuthenticationServlet can be found - * @param bkuSelectTag if a special bku should be used - * @return String - * @throws BuildException on any error - */ - public String build(String htmlTemplate, String startAuthenticationURL, String bkuSelectTag) - throws BuildException { - - String htmlForm = htmlTemplate == null ? DEFAULT_HTML_TEMPLATE : htmlTemplate; - htmlForm = replaceTag(htmlForm, ACTION_TAG, startAuthenticationURL); - htmlForm = replaceTag(htmlForm, SELECT_TAG, bkuSelectTag); - return htmlForm; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/VPKBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/VPKBuilder.java deleted file mode 100644 index c18156a01..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/VPKBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import java.security.MessageDigest; - -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.util.Base64Utils; - -/** - * Builder for the VPK, as defined in - * "Ableitung f¨r die verfahrensspezifische Personenkennzeichnung" - * version 1.0.1 from "reference.e-government.gv.at". - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class VPKBuilder { - - /** - * Builds the VPK from given parameters. - * @param identificationValue "ZMR-Zahl" - * @param dateOfBirth "Geburtsdatum" - * @param target "Verfahrensname"; will be transformed to lower case - * @return VPK in a BASE64 encoding - * @throws BuildException while building the VPK - */ - public String buildVPK(String identificationValue, String dateOfBirth, String target) - throws BuildException { - - if (identificationValue == null || identificationValue.length() == 0 - || dateOfBirth == null || dateOfBirth.length() == 0 - || target == null || target.length() == 0) - throw new BuildException( - "builder.00", - new Object[] {"VPK", - "Unvollständige Parameterangaben: identificationValue=" + identificationValue + - ",dateOfBirth=" + dateOfBirth + ",target=" + target}); - String basisbegriff = identificationValue + "+" + dateOfBirth + "+" + target.toLowerCase(); - try { - MessageDigest md = MessageDigest.getInstance("SHA-1"); - byte[] hash = md.digest(basisbegriff.getBytes()); - String hashBase64 = Base64Utils.encode(hash); - return hashBase64; - } - catch (Exception ex) { - throw new BuildException( - "builder.00", - new Object[] {"VPK", ex.toString()}, - ex); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java deleted file mode 100644 index 863162fd9..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java +++ /dev/null @@ -1,203 +0,0 @@ -package at.gv.egovernment.moa.id.auth.builder; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.*; -import at.gv.egovernment.moa.id.auth.data.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Builder for the <VerifyXMLSignatureRequestBuilder> structure - * used for sending the DSIG-Signature of the Security Layer card for validating to MOA-SP. - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class VerifyXMLSignatureRequestBuilder { - /** The MOA-Prefix */ - private static final String MOA = Constants.MOA_PREFIX + ":"; - /** the request as string */ - private String request; - /** the request as DOM-Element */ - private Element reqElem; - - /** - * Constructor for VerifyXMLSignatureRequestBuilder. - */ - public VerifyXMLSignatureRequestBuilder() {} - /** - * Builds a <VerifyXMLSignatureRequest> - * from an IdentityLink with a known trustProfileID which - * has to exist in MOA-SP - * @param idl - The IdentityLink - * @param trustProfileID - a preconfigured TrustProfile at MOA-SP - * @return Element - The complete request as Dom-Element - * @throws ParseException - */ - public Element build(IdentityLink idl, String trustProfileID) throws ParseException - { //samlAssertionObject - request = - "" - + "" - + " " - + " " - + " " - + " " - + " //dsig:Signature" - + " " - + " " // True bei CreateXMLSig Überprüfung - +" " + " " - // Profile ID für create (alle auslesen aus IDCOnfig VerifyAuthBlock) - +" " + " " - - // Testweise ReturnReferenceInputData = False - - +" " - + " " - + trustProfileID - + "" - + ""; - - try { - InputStream s = new ByteArrayInputStream(request.getBytes("UTF-8")); - reqElem = DOMUtils.parseXmlValidating(s); - - String CONTENT_XPATH = - "//" - + MOA - + "VerifyXMLSignatureRequest/" - + MOA - + "VerifySignatureInfo/" - + MOA - + "VerifySignatureEnvironment/" - + MOA - + "XMLContent"; - - Element insertTo = - (Element) XPathUtils.selectSingleNode(reqElem, CONTENT_XPATH); - insertTo.appendChild( - insertTo.getOwnerDocument().importNode(idl.getSamlAssertion(), true)); - - String SIGN_MANI_CHECK_PARAMS_XPATH = - "//" - + MOA - + "VerifyXMLSignatureRequest/" - + MOA - + "SignatureManifestCheckParams"; - insertTo = - (Element) XPathUtils.selectSingleNode( - reqElem, - SIGN_MANI_CHECK_PARAMS_XPATH); - insertTo.removeChild( - (Element) XPathUtils.selectSingleNode( - reqElem, - SIGN_MANI_CHECK_PARAMS_XPATH + "/" + MOA + "ReferenceInfo")); - Element[] dsigTransforms = idl.getDsigReferenceTransforms(); - for (int i = 0; i < 1; i++) //dsigTransforms.length; i++) - { - Element refInfo = - insertTo.getOwnerDocument().createElementNS( - Constants.MOA_NS_URI, - "ReferenceInfo"); - insertTo.appendChild(refInfo); - Element verifyTransformsInfoProfile = - insertTo.getOwnerDocument().createElementNS( - Constants.MOA_NS_URI, - "VerifyTransformsInfoProfile"); - refInfo.appendChild(verifyTransformsInfoProfile); - verifyTransformsInfoProfile.appendChild( - insertTo.getOwnerDocument().importNode(dsigTransforms[i], true)); - } - } - catch (Throwable t) { - throw new ParseException( //"VerifyXMLSignatureRequest (IdentityLink)"); - "builder.00", - new Object[] { "VerifyXMLSignatureRequest (IdentityLink)" }, - t); - } - - return reqElem; - } - - /** - * Builds a <VerifyXMLSignatureRequest> - * from an IdentityLink with a known trustProfileID which - * has to exist in MOA-SP - * @param idl - The IdentityLink - * @param trustProfileID - a preconfigured TrustProfile at MOA-SP - * @return Element - The complete request as Dom-Element - * @throws ParseException - */ - public Element build( - CreateXMLSignatureResponse csr, - String[] verifyTransformsInfoProfileID, - String trustProfileID) - throws ParseException { //samlAssertionObject - request = - "" - + "" - + " " - + " " - + " " - + " " - + " //dsig:Signature" - + " " - + " " - + " "; - - for (int i = 0; i < verifyTransformsInfoProfileID.length; i++) { - request += " " + - verifyTransformsInfoProfileID[i] + - ""; - // Profile ID für create (auslesen aus IDCOnfig VerifyAuthBlock ODER per String übergeben....) - - } - - request += " " - + " " - // Testweise ReturnReferenceInputData = False - +" " - + " " - + trustProfileID - + "" - + ""; - - try { - // Build a DOM-Tree of the obove String - InputStream s = new ByteArrayInputStream(request.getBytes("UTF-8")); - reqElem = DOMUtils.parseXmlValidating(s); - //Insert the SAML-Assertion-Object - String CONTENT_XPATH = - "//" - + MOA - + "VerifyXMLSignatureRequest/" - + MOA - + "VerifySignatureInfo/" - + MOA - + "VerifySignatureEnvironment/" - + MOA - + "XMLContent"; - - Element insertTo = - (Element) XPathUtils.selectSingleNode(reqElem, CONTENT_XPATH); - insertTo.appendChild( - insertTo.getOwnerDocument().importNode(csr.getSamlAssertion(), true)); - - } - catch (Throwable t) { - throw new ParseException( - "builder.00", - new Object[] { "VerifyXMLSignatureRequest" }, - t); - } - - return reqElem; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/data/AuthenticationSession.java b/id.server/src/at/gv/egovernment/moa/id/auth/data/AuthenticationSession.java deleted file mode 100644 index ba4a9e367..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/data/AuthenticationSession.java +++ /dev/null @@ -1,220 +0,0 @@ -package at.gv.egovernment.moa.id.auth.data; - -import java.util.Date; - - -/** - * Session data to be stored between AuthenticationServer API calls. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationSession { - /** - * session ID - */ - private String sessionID; - /** - * "Geschäftsbereich" the online application belongs to - */ - private String target; - /** - * public online application URL requested - */ - private String oaURLRequested; - /** - * public online application URL prefix - */ - private String oaPublicURLPrefix; - /** - * URL of MOA ID authentication component - */ - private String authURL; - /** - * HTML template URL - */ - private String templateURL; - /** - * identity link read from smartcard - */ - private IdentityLink identityLink; - /** - * authentication block to be signed by the user - */ - private String authBlock; - /** - * timestamp logging when authentication session has been created - */ - private Date timestampStart; - /** - * timestamp logging when identity link has been received - */ - private Date timestampIdentityLink; - - /** - * Constructor for AuthenticationSession. - * - * @param id Session ID - */ - public AuthenticationSession(String id) { - sessionID = id; - setTimestampStart(); - } - - /** - * Returns the identityLink. - * @return IdentityLink - */ - public IdentityLink getIdentityLink() { - return identityLink; - } - - /** - * Returns the sessionID. - * @return String - */ - public String getSessionID() { - return sessionID; - } - - /** - * Sets the identityLink. - * @param identityLink The identityLink to set - */ - public void setIdentityLink(IdentityLink identityLink) { - this.identityLink = identityLink; - } - - /** - * Sets the sessionID. - * @param sessionID The sessionID to set - */ - public void setSessionID(String sessionId) { - this.sessionID = sessionId; - } - - /** - * Returns the oaURLRequested. - * @return String - */ - public String getOAURLRequested() { - return oaURLRequested; - } - - /** - * Returns the oaURLRequested. - * @return String - */ - public String getPublicOAURLPrefix() { - return oaPublicURLPrefix; - } - - /** - * Returns the target. - * @return String - */ - public String getTarget() { - return target; - } - - /** - * Sets the oaURLRequested. - * @param oaURLRequested The oaURLRequested to set - */ - public void setOAURLRequested(String url) { - this.oaURLRequested = url; - } - - /** - * Sets the oaPublicURLPrefix - * @param url The oaPublicURLPrefix to set - */ - public void setPublicOAURLPrefix(String url) { - this.oaPublicURLPrefix = url; - } - - /** - * Sets the target. - * @param target The target to set - */ - public void setTarget(String target) { - this.target = target; - } - - /** - * Returns the authURL. - * @return String - */ - public String getAuthURL() { - return authURL; - } - - /** - * Sets the authURL. - * @param authURL The authURL to set - */ - public void setAuthURL(String authURL) { - this.authURL = authURL; - } - - /** - * Returns the authBlock. - * @return String - */ - public String getAuthBlock() { - return authBlock; - } - - /** - * Sets the authBlock. - * @param authBlock The authBlock to set - */ - public void setAuthBlock(String authBlock) { - this.authBlock = authBlock; - } - - /** - * Returns the timestampIdentityLink. - * @return Date - */ - public Date getTimestampIdentityLink() { - return timestampIdentityLink; - } - - /** - * Returns the timestampStart. - * @return Date - */ - public Date getTimestampStart() { - return timestampStart; - } - - /** - * Sets the current date as timestampIdentityLink. - */ - public void setTimestampIdentityLink() { - timestampIdentityLink = new Date(); - } - - /** - * Sets the current date as timestampStart. - */ - public void setTimestampStart() { - timestampStart = new Date(); - } - - /** - * @return template URL - */ - public String getTemplateURL() { - return templateURL; - } - - /** - * @param string the template URL - */ - public void setTemplateURL(String string) { - templateURL = string; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/data/CreateXMLSignatureResponse.java b/id.server/src/at/gv/egovernment/moa/id/auth/data/CreateXMLSignatureResponse.java deleted file mode 100644 index 81945f644..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/data/CreateXMLSignatureResponse.java +++ /dev/null @@ -1,71 +0,0 @@ -package at.gv.egovernment.moa.id.auth.data; - -import org.w3c.dom.Element; - -/** - * This bean saves all information of the CreateXMLSignature-Response: - * a {@link SAMLAttribute} array, the SamlAssertion-Element and the - * saml NameIdentifier - * - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class CreateXMLSignatureResponse { - /** the samlNameIdentifier */ -private String samlNameIdentifier; - /** an array of saml-attributes */ -private SAMLAttribute[] samlAttributes; - /** - * the original saml:Assertion-Element - */ - private Element samlAssertion; -/** - * Returns the samlAssertion. - * @return Element - */ -public Element getSamlAssertion() { - return samlAssertion; -} - -/** - * Returns the samlAttribute. - * @return SAMLAttribute[] - */ -public SAMLAttribute[] getSamlAttributes() { - return samlAttributes; -} - -/** - * Returns the samlNameIdentifier. - * @return String - */ -public String getSamlNameIdentifier() { - return samlNameIdentifier; -} - -/** - * Sets the samlAssertion. - * @param samlAssertion The samlAssertion to set - */ -public void setSamlAssertion(Element samlAssertion) { - this.samlAssertion = samlAssertion; -} - -/** - * Sets the samlAttribute. - * @param samlAttribute The samlAttribute to set - */ -public void setSamlAttributes(SAMLAttribute[] samlAttributes) { - this.samlAttributes = samlAttributes; -} - -/** - * Sets the samlNameIdentifier. - * @param samlNameIdentifier The samlNameIdentifier to set - */ -public void setSamlNameIdentifier(String samlNameIdentifier) { - this.samlNameIdentifier = samlNameIdentifier; -} - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java b/id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java deleted file mode 100644 index e2ad2625a..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/data/IdentityLink.java +++ /dev/null @@ -1,189 +0,0 @@ -package at.gv.egovernment.moa.id.auth.data; - -import java.security.PublicKey; - -import org.w3c.dom.Element; - - -/** - * Data contained in an identity link issued by BMI, relevant to the MOA ID component. - *
    "IdentityLink" is the translation of "Personenbindung". - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class IdentityLink { - /** - * "identificationValue" is the translation of "ZMR-Zahl". - */ - private String identificationValue; - /** - * first name - */ - private String givenName; - /** - * family name - */ - private String familyName; - /** - * date of birth - */ - private String dateOfBirth; - /** - * the original saml:Assertion-Element - */ - private Element samlAssertion; - /** - * Element /saml:Assertion/saml:AttributeStatement/saml:Subject/saml:SubjectConfirmation/saml:SubjectConfirmationData/pr:Person - */ - private Element prPerson; - /** - * we need for each dsig:Reference Element all - * transformation elements - */ - private Element[] dsigReferenceTransforms; - - - /** - * we need all public keys stored in - * the identity link - */ - private PublicKey[] publicKey; - - /** - * Constructor for IdentityLink - */ - public IdentityLink() { - } - - /** - * Returns the dateOfBirth. - * @return Calendar - */ - public String getDateOfBirth() { - return dateOfBirth; - } - - /** - * Returns the familyName. - * @return String - */ - public String getFamilyName() { - return familyName; - } - - /** - * Returns the givenName. - * @return String - */ - public String getGivenName() { - return givenName; - } - - /** - * Returns the identificationValue. - * "identificationValue" is the translation of "ZMR-Zahl". - * @return String - */ - public String getIdentificationValue() { - return identificationValue; - } - - /** - * Sets the dateOfBirth. - * @param dateOfBirth The dateOfBirth to set - */ - public void setDateOfBirth(String dateOfBirth) { - this.dateOfBirth = dateOfBirth; - } - - /** - * Sets the familyName. - * @param familyName The familyName to set - */ - public void setFamilyName(String familyName) { - this.familyName = familyName; - } - - /** - * Sets the givenName. - * @param givenName The givenName to set - */ - public void setGivenName(String givenName) { - this.givenName = givenName; - } - - /** - * Sets the identificationValue. - * "identificationValue" is the translation of "ZMR-Zahl". - * @param identificationValue The identificationValue to set - */ - public void setIdentificationValue(String identificationValue) { - this.identificationValue = identificationValue; - } - - /** - * Returns the samlAssertion. - * @return Element - */ - public Element getSamlAssertion() { - return samlAssertion; - } - - /** - * Sets the samlAssertion. - * @param samlAssertion The samlAssertion to set - */ - public void setSamlAssertion(Element samlAssertion) { - this.samlAssertion = samlAssertion; - } - - /** - * Returns the dsigReferenceTransforms. - * @return Element[] - */ - public Element[] getDsigReferenceTransforms() { - return dsigReferenceTransforms; - } - - /** - * Sets the dsigReferenceTransforms. - * @param dsigReferenceTransforms The dsigReferenceTransforms to set - */ - public void setDsigReferenceTransforms(Element[] dsigReferenceTransforms) { - this.dsigReferenceTransforms = dsigReferenceTransforms; - } - - /** - * Returns the publicKey. - * @return PublicKey[] - */ - public PublicKey[] getPublicKey() { - return publicKey; - } - - /** - * Sets the publicKey. - * @param publicKey The publicKey to set - */ - public void setPublicKey(PublicKey[] publicKey) { - this.publicKey = publicKey; - } - - /** - * Returns the prPerson. - * @return Element - */ - public Element getPrPerson() { - return prPerson; - } - - /** - * Sets the prPerson. - * @param prPerson The prPerson to set - */ - public void setPrPerson(Element prPerson) { - this.prPerson = prPerson; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/data/SAMLAttribute.java b/id.server/src/at/gv/egovernment/moa/id/auth/data/SAMLAttribute.java deleted file mode 100644 index c787b2a81..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/data/SAMLAttribute.java +++ /dev/null @@ -1,78 +0,0 @@ -package at.gv.egovernment.moa.id.auth.data; - -/** - * This bean saves all data of a single SAMLAttribute: - * the name, value and namespace - * - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class SAMLAttribute { -/** the name to be stored */ -private String name; -/** the namespace to be stored */ -private String namespace; -/** the value to be stored */ -private String value; - - /** - * Constructor for SAMLAttribute. - */ - public SAMLAttribute(String name, String namespace, String value) { - - this.name = name; - this.namespace = namespace; - this.value = value; - - } - -/** - * Returns the name. - * @return String - */ -public String getName() { - return name; -} - -/** - * Returns the namespace. - * @return String - */ -public String getNamespace() { - return namespace; -} - -/** - * Returns the value. - * @return String - */ -public String getValue() { - return value; -} - -/** - * Sets the name. - * @param name The name to set - */ -public void setName(String name) { - this.name = name; -} - -/** - * Sets the namespace. - * @param namespace The namespace to set - */ -public void setNamespace(String namespace) { - this.namespace = namespace; -} - -/** - * Sets the value. - * @param value The value to set - */ -public void setValue(String value) { - this.value = value; -} - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java b/id.server/src/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java deleted file mode 100644 index 8233d1478..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/data/VerifyXMLSignatureResponse.java +++ /dev/null @@ -1,177 +0,0 @@ -package at.gv.egovernment.moa.id.auth.data; - -import iaik.x509.X509Certificate; - -/** - * This bean saves all information of the MOA-SP-Answer - * after the verification of any signature - * - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class VerifyXMLSignatureResponse { - /** The xmlDsigSubjectName to be stored */ - private String xmlDsigSubjectName; - /** The signatureCheckCode to be stored */ - private int signatureCheckCode; - /** The xmlDSIGManifestCheckCode to be stored */ - private int xmlDSIGManifestCheckCode; - /** The xmlDSIGManigest to be stored */ - private boolean xmlDSIGManigest; - /** The certificateCheckCode to be stored */ - private int certificateCheckCode; - /** The publicAuthority to be stored */ - private boolean publicAuthority; - /** The publicAuthorityCode to be stored */ - private String publicAuthorityCode; - /** The qualifiedCertificate to be stored */ - private boolean qualifiedCertificate; - /** The x509certificate to be stored */ - private X509Certificate x509certificate; - - /** - * Returns the certificateCheckCode. - * @return int - */ - public int getCertificateCheckCode() { - return certificateCheckCode; - } - - /** - * Returns the signatureCheckCode. - * @return int - */ - public int getSignatureCheckCode() { - return signatureCheckCode; - } - - /** - * Returns the xmlDSIGManifestCheckCode. - * @return int - */ - public int getXmlDSIGManifestCheckCode() { - return xmlDSIGManifestCheckCode; - } - - /** - * Returns the xmlDsigSubjectName. - * @return String - */ - public String getXmlDsigSubjectName() { - return xmlDsigSubjectName; - } - - /** - * Sets the certificateCheckCode. - * @param certificateCheckCode The certificateCheckCode to set - */ - public void setCertificateCheckCode(int certificateCheckCode) { - this.certificateCheckCode = certificateCheckCode; - } - - /** - * Sets the signatureCheckCode. - * @param signatureCheckCode The signatureCheckCode to set - */ - public void setSignatureCheckCode(int signatureCheckCode) { - this.signatureCheckCode = signatureCheckCode; - } - - /** - * Sets the xmlDSIGManifestCheckCode. - * @param xmlDSIGManifestCheckCode The xmlDSIGManifestCheckCode to set - */ - public void setXmlDSIGManifestCheckCode(int xmlDSIGManifestCheckCode) { - this.xmlDSIGManifestCheckCode = xmlDSIGManifestCheckCode; - } - - /** - * Sets the xmlDsigSubjectName. - * @param xmlDsigSubjectName The xmlDsigSubjectName to set - */ - public void setXmlDsigSubjectName(String xmlDsigSubjectName) { - this.xmlDsigSubjectName = xmlDsigSubjectName; - } - - /** - * Returns the publicAuthorityCode. - * @return int - */ - public String getPublicAuthorityCode() { - return publicAuthorityCode; - } - - /** - * Sets the publicAuthorityCode. - * @param publicAuthorityCode The publicAuthorityCode to set - */ - public void setPublicAuthorityCode(String publicAuthorityCode) { - this.publicAuthorityCode = publicAuthorityCode; - } - - /** - * Returns the qualifiedCertificate. - * @return boolean - */ - public boolean isQualifiedCertificate() { - return qualifiedCertificate; - } - - /** - * Returns the x509certificate. - * @return X509Certificate - */ - public X509Certificate getX509certificate() { - return x509certificate; - } - - /** - * Sets the qualifiedCertificate. - * @param qualifiedCertificate The qualifiedCertificate to set - */ - public void setQualifiedCertificate(boolean qualifiedCertificate) { - this.qualifiedCertificate = qualifiedCertificate; - } - - /** - * Sets the x509certificate. - * @param x509certificate The x509certificate to set - */ - public void setX509certificate(X509Certificate x509certificate) { - this.x509certificate = x509certificate; - } - - /** - * Returns the xmlDSIGManigest. - * @return boolean - */ - public boolean isXmlDSIGManigest() { - return xmlDSIGManigest; - } - - /** - * Sets the xmlDSIGManigest. - * @param xmlDSIGManigest The xmlDSIGManigest to set - */ - public void setXmlDSIGManigest(boolean xmlDSIGManigest) { - this.xmlDSIGManigest = xmlDSIGManigest; - } - - /** - * Returns the publicAuthority. - * @return boolean - */ - public boolean isPublicAuthority() { - return publicAuthority; - } - - /** - * Sets the publicAuthority. - * @param publicAuthority The publicAuthority to set - */ - public void setPublicAuthority(boolean publicAuthority) { - this.publicAuthority = publicAuthority; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationInvoker.java b/id.server/src/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationInvoker.java deleted file mode 100644 index 8faa69260..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationInvoker.java +++ /dev/null @@ -1,91 +0,0 @@ -package at.gv.egovernment.moa.id.auth.invoke; - -import java.util.Vector; - -import javax.xml.namespace.QName; -import javax.xml.rpc.Call; -import javax.xml.rpc.Service; -import javax.xml.rpc.ServiceFactory; - -import org.apache.axis.message.SOAPBodyElement; -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.ServiceException; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.spss.api.SignatureVerificationService; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyXMLSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyXMLSignatureResponseBuilder; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; - -/** - * Invoker of the SignatureVerification web service of MOA-SPSS.
    - * Either invokes the web service, or calls the corresponding API, depending on configuration data. - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class SignatureVerificationInvoker { - /** This QName Object identifies the SignatureVerification endpoint of the web service */ - private static final QName SERVICE_QNAME = new QName("SignatureVerification"); - - /** - * Method verifyXMLSignature. - * @param request to be sent - * @return Element with the answer - * @throws ServiceException if an error occurs - */ - public Element verifyXMLSignature(Element request) throws ServiceException { - return doCall(SERVICE_QNAME, request); - } - - /** - * Method doCall. - * @param serviceName the name of the service - * @param request the request to be sent - * @return Element the answer - * @throws ServiceException if an error occurs - */ - protected Element doCall(QName serviceName, Element request) throws ServiceException { - ConnectionParameter authConnParam = null; - try { - Service service = ServiceFactory.newInstance().createService(serviceName); - Call call = service.createCall(); - SOAPBodyElement body = new SOAPBodyElement(request); - SOAPBodyElement[] params = new SOAPBodyElement[] { body }; - Vector responses; - SOAPBodyElement response; - - String endPoint; - AuthConfigurationProvider authConfigProvider = AuthConfigurationProvider.getInstance(); - authConnParam = authConfigProvider.getMoaSpConnectionParameter(); - - //If the ConnectionParameter do NOT exist, we try to get the api to work.... - if (authConnParam != null) { - endPoint = authConnParam.getUrl(); - call.setTargetEndpointAddress(endPoint); - responses = (Vector) call.invoke(serviceName, params); - response = (SOAPBodyElement) responses.get(0); - return response.getAsDOM(); - } - else { - SignatureVerificationService svs = SignatureVerificationService.getInstance(); - VerifyXMLSignatureRequest vsrequest = new VerifyXMLSignatureRequestParser().parse(request); - VerifyXMLSignatureResponse vsresponse = svs.verifyXMLSignature(vsrequest); - - Document result = new VerifyXMLSignatureResponseBuilder().build(vsresponse); - Logger.setHierarchy("moa.id.auth"); - return result.getDocumentElement(); - } - } - catch (Exception ex) { - if (authConnParam != null) - throw new ServiceException("service.00", new Object[] { ex.toString()}, ex); - else - throw new ServiceException("service.03", new Object[] { ex.toString()}, ex); - } - } -} \ No newline at end of file diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/CreateXMLSignatureResponseParser.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/CreateXMLSignatureResponseParser.java deleted file mode 100644 index 1079a48de..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/CreateXMLSignatureResponseParser.java +++ /dev/null @@ -1,140 +0,0 @@ -package at.gv.egovernment.moa.id.auth.parser; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; -import java.util.ArrayList; -import java.util.List; - -import org.w3c.dom.Element; -import org.w3c.dom.traversal.NodeIterator; - -import at.gv.egovernment.moa.id.*; -import at.gv.egovernment.moa.id.auth.data.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.data.SAMLAttribute; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Parses an <InfoboxReadResponse> returned from - * the security layer - * - * @author Stefan Knirsch - * @version $Id$ - */ - -public class CreateXMLSignatureResponseParser { - // - // XPath namespace prefix shortcuts - // - /** Xpath prefix for reaching SecurityLayer 1.0 Namespaces */ - private static final String SL10 = Constants.SL10_PREFIX + ":"; - /** Xpath prefix for reaching SecurityLayer 1.1 Namespaces */ - private static final String SL11 = Constants.SL11_PREFIX + ":"; - /** Xpath prefix for reaching SAML Namespaces */ - private static final String SAML = Constants.SAML_PREFIX + ":"; - /** Xpath prefix for reaching XML-DSIG Namespaces */ - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - /** Xpath expression to the root element */ - private static final String ROOT = "/" + SL11 + "CreateXMLSignatureResponse/"; - /** Xpath expression to the SAML:Assertion element */ - private static final String SAML_ASSERTION_XPATH = ROOT + SAML + "Assertion"; - /** Xpath expression to the SAML:NameIdentifier element */ - private static final String SAML_SUBJECT_NAME_IDENTIFIER_XPATH = SAML_ASSERTION_XPATH + "/" + SAML + "AttributeStatement/" + SAML + "Subject/" + SAML + "NameIdentifier"; - /** Xpath expression to the AttributeStatement element */ - private static final String SAML_ATTRIBUTE_XPATH = SAML_ASSERTION_XPATH + "/" + SAML + "AttributeStatement/" + SAML + "Attribute"; - /** Xpath expression to the AttributeValue element */ - private static final String SAML_ATTRIBUTE_VALUE_XPATH = SAML + "AttributeValue"; - - /** This is the root element of the XML-Document provided by the Security Layer Card */ - private Element sigResponse; - - /** - * Constructor for CreateXMLSignatureResponseParser. - * A DOM-representation of the incoming String will be created - * @param xmlResponse <InfoboxReadResponse> as String - * @throws AuthenticationException if any authentication error occurs - * @throws ParseException if an element cannot be parsed - */ - public CreateXMLSignatureResponseParser(String xmlResponse) throws AuthenticationException, ParseException { - ErrorResponseParser erp = new ErrorResponseParser(xmlResponse); - if (erp.getErrorCode() != null) { - throw new AuthenticationException("auth.08", new Object[] { erp.getErrorCode(), erp.getErrorInfo()}); - } - - try { - - InputStream s = new ByteArrayInputStream(xmlResponse.getBytes("UTF-8")); - sigResponse = DOMUtils.parseXmlValidating(s); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString()}, t); - } - } - - /** - * Constructor for CreateXMLSignatureResponseParser. - * A DOM-representation of the incoming Inputstream will be created - * @param xmlResponse <InfoboxReadResponse> as InputStream - * @throws AuthenticationException if any Authentication error occurs - * @throws ParseException if an element cannot be parsed - */ - public CreateXMLSignatureResponseParser(InputStream is) throws AuthenticationException, ParseException { - - ErrorResponseParser erp = new ErrorResponseParser(is); - if (erp.getErrorCode() != null) { - throw new AuthenticationException("auth.08", new Object[] { erp.getErrorCode(), erp.getErrorInfo()}); - } - - try { - - sigResponse = DOMUtils.parseXmlValidating(is); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString()}, t); - } - } - - /** - * Constructor for CreateXMLSignatureResponseParser. - * The incoming Element will be used for further operations - * @param xmlResponse <InfoboxReadResponse> as InputStream - */ - public CreateXMLSignatureResponseParser(Element xmlResponse) { - sigResponse = xmlResponse; - - } - - /** - * Parses the identity link from <InfoboxReadResponse> - * @return Identity link - * @throws ParseException - */ - - public CreateXMLSignatureResponse parseResponse() throws ParseException { - CreateXMLSignatureResponse cResp; - try { - - cResp = new CreateXMLSignatureResponse(); - cResp.setSamlNameIdentifier(XPathUtils.getElementValue(sigResponse, SAML_SUBJECT_NAME_IDENTIFIER_XPATH, null)); - cResp.setSamlAssertion((Element) XPathUtils.selectSingleNode(sigResponse, SAML_ASSERTION_XPATH)); - NodeIterator attrIter = XPathUtils.selectNodeIterator(sigResponse, SAML_ATTRIBUTE_XPATH); - Element samlAttr; - List samlAttributes = new ArrayList(); - while ((samlAttr = (Element) attrIter.nextNode()) != null) { - String attrName = XPathUtils.getAttributeValue(samlAttr, "@AttributeName", ""); - String attrNamespace = XPathUtils.getAttributeValue(samlAttr, "@AttributeNamespace", ""); - String attrValue = XPathUtils.getElementValue(samlAttr, SAML_ATTRIBUTE_VALUE_XPATH, ""); - samlAttributes.add(new SAMLAttribute(attrName, attrNamespace, attrValue)); - } - SAMLAttribute[] result = new SAMLAttribute[samlAttributes.size()]; - samlAttributes.toArray(result); - cResp.setSamlAttributes(result); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString()}, t); - } - return cResp; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/ECDSAKeyValueConverter.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/ECDSAKeyValueConverter.java deleted file mode 100644 index c28cfac76..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/ECDSAKeyValueConverter.java +++ /dev/null @@ -1,350 +0,0 @@ -package at.gv.egovernment.moa.id.auth.parser; - -import iaik.security.ecc.ecdsa.ECDSAParameter; -import iaik.security.ecc.ecdsa.ECPublicKey; -import iaik.security.ecc.math.ecgroup.ECGroupFactory; -import iaik.security.ecc.math.ecgroup.ECPoint; -import iaik.security.ecc.math.ecgroup.EllipticCurve; -import iaik.security.ecc.math.ecgroup.ProjectiveCoordinate; -import iaik.security.ecc.math.field.Field; -import iaik.security.ecc.math.field.FieldElement; -import iaik.security.ecc.math.field.FieldFactory; -import iaik.security.ecc.math.field.Value; -import iaik.security.ecc.parameter.ECCParameterFactory; -import iaik.security.ecc.spec.ECCParameterSpec; -import java.math.BigInteger; -import java.security.PublicKey; -import java.util.HashMap; -import java.util.Iterator; -import java.util.Vector; -import java.net.URL; -import org.w3c.dom.Attr; -import org.w3c.dom.Element; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.util.Constants; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class ECDSAKeyValueConverter -{ - /** Namespaces */ - public static final String NAMESPACE_XSI = "http://www.w3.org/2001/XMLSchema-instance"; - - /** - * Method element2ECDSAPublicKey. - * @param keyValueElem a DomElement containing an ECDSA Public Key - * @return PublicKey a java.security.publicKey - object - * @throws Exception on any error - */ - - public static PublicKey element2ECDSAPublicKey(Element keyValueElem) throws Exception - { - String ecdsaNS = Constants.ECDSA_NS_URI; - // Domain parameters - Element domainParams = getChildElement(keyValueElem, ecdsaNS, "DomainParameters", 1); - if (domainParams == null) throw new Exception("Domain parameters must not be implicit."); - Element namedCurve = getChildElement(domainParams, ecdsaNS, "NamedCurve", 1); - ECCParameterSpec eccParameterSpec; - if (namedCurve != null) - { - URL curveNameURN = new URL(namedCurve.getAttributeNS(null, "URN")); - ECCParameterFactory eccParamFactory = ECCParameterFactory.getInstance(); - eccParameterSpec = eccParamFactory.getParameterByOID(curveNameURN.getPath().substring(4)); - } - else - { - Element excplicitParams = getChildElement(domainParams, ecdsaNS, "ExplicitParams", 1); - Element fieldParams = getChildElement(excplicitParams, ecdsaNS, "FieldParams", 1); - Element curveParams = getChildElement(excplicitParams, ecdsaNS, "CurveParams", 1); - Element basePointParams = getChildElement(excplicitParams, ecdsaNS, "BasePointParams", 1); - - // Field parameters - String fieldParamsTypeStr = fieldParams.getAttributeNS(NAMESPACE_XSI, "type"); - String ecdsaNSPrefix = getECDSANSPrefix(fieldParams); - BigInteger p = null; - int fieldParamsType = 0; - final int FIELD_TYPE_PRIME = 1; - final int FIELD_TYPE_TNB = 2; - final int FIELD_TYPE_PNB = 3; - int m = -1, k = -1, k1 = -1, k2 = -1, k3 = -1; - if (fieldParamsTypeStr.equals(ecdsaNSPrefix + ":PrimeFieldParamsType")) - { - fieldParamsType = FIELD_TYPE_PRIME; - String pStr = getChildElementText(fieldParams, ecdsaNS, "P", 1); - p = new BigInteger(pStr, 10); - } - else if (fieldParamsTypeStr.equals(ecdsaNSPrefix + ":TnBFieldParamsType")) - { - fieldParamsType = FIELD_TYPE_TNB; - String mStr = getChildElementText(fieldParams, ecdsaNS, "M", 1); - m = Integer.parseInt(mStr); - String kStr = getChildElementText(fieldParams, ecdsaNS, "K", 1); - k = Integer.parseInt(kStr); - } - else if (fieldParamsTypeStr.equals(ecdsaNSPrefix + ":PnBFieldParamsType")) - { - fieldParamsType = FIELD_TYPE_PNB; - String mStr = getChildElementText(fieldParams, ecdsaNS, "M", 1); - m = Integer.parseInt(mStr); - String k1Str = getChildElementText(fieldParams, ecdsaNS, "K1", 1); - k1 = Integer.parseInt(k1Str); - String k2Str = getChildElementText(fieldParams, ecdsaNS, "K2", 1); - k2 = Integer.parseInt(k2Str); - String k3Str = getChildElementText(fieldParams, ecdsaNS, "K3", 1); - k3 = Integer.parseInt(k3Str); - } - else throw new Exception("Unknown field parameters."); - - // Curve parameters - Element aElem = getChildElement(curveParams, ecdsaNS, "A", 1); - String aStr = aElem.getAttributeNS(null, "Value"); - Element bElem = getChildElement(curveParams, ecdsaNS, "B", 1); - String bStr = bElem.getAttributeNS(null, "Value"); - String seedStr = getChildElementText(curveParams, ecdsaNS, "Seed", 1); - BigInteger seed = (seedStr != null) ? new BigInteger(seedStr, 10) : null; - - // Base point parameters - Element basePoint = getChildElement(basePointParams, ecdsaNS, "BasePoint", 1); - Element basePointXElem = getChildElement(basePoint, ecdsaNS, "X", 1); - String basePointXStr = basePointXElem.getAttributeNS(null, "Value"); - Element basePointYElem = getChildElement(basePoint, ecdsaNS, "Y", 1); - String basePointYStr = basePointYElem.getAttributeNS(null, "Value"); - String orderStr = getChildElementText(basePointParams, ecdsaNS, "Order", 1); - BigInteger order = new BigInteger(orderStr, 10); - String cofactorStr = getChildElementText(basePointParams, ecdsaNS, "Cofactor", 1); - BigInteger cofactor = (cofactorStr != null) ? new BigInteger(cofactorStr, 10) : null; - - if (fieldParamsType == FIELD_TYPE_PRIME) - { - BigInteger a = new BigInteger(aStr, 10); - BigInteger b = new BigInteger(bStr, 10); - BigInteger basePointX = new BigInteger(basePointXStr, 10); - BigInteger basePointY = new BigInteger(basePointYStr, 10); - eccParameterSpec = new ECCParameterSpec(p, cofactor, order, seed, null, a, b, basePointX, - basePointY, null); - } - else - { - int[] irreducible = new int[m/32 + ((m % 32 != 0) ? 1 : 0)]; - if (fieldParamsType == FIELD_TYPE_TNB) - { - irreducible[m/32] = 1 << m % 32; - irreducible[k/32] += 1 << k % 32; - irreducible[0] += 1; - } - else - { - irreducible[m/32] = 1 << m % 32; - irreducible[k3/32] += 1 << k3 % 32; - irreducible[k2/32] += 1 << k2 % 32; - irreducible[k1/32] += 1 << k1 % 32; - irreducible[0] += 1; - } - eccParameterSpec = new ECCParameterSpec(irreducible, cofactor, order, octetString2IntArray(aStr), - octetString2IntArray(bStr), octetString2IntArray(basePointXStr), - octetString2IntArray(basePointYStr), null); - } - } - - // Public key - Element publicKeyElem = getChildElement(keyValueElem, ecdsaNS, "PublicKey", 1); - Element publicKeyXElem = getChildElement(publicKeyElem, ecdsaNS, "X", 1); - String publicKeyXStr = publicKeyXElem.getAttributeNS(null, "Value"); - Element publicKeyYElem = getChildElement(publicKeyElem, ecdsaNS, "Y", 1); - String publicKeyYStr = publicKeyYElem.getAttributeNS(null, "Value"); - - ECDSAParameter ecdsaParams = new ECDSAParameter(eccParameterSpec, false); - ECGroupFactory ecGroupFactory = ECGroupFactory.getInstance(); - EllipticCurve eCurve = ecGroupFactory.getCurveWithProjective(eccParameterSpec.getA(), - eccParameterSpec.getB(), eccParameterSpec.getR()); - Field field = eCurve.getField(); - - // Detect type of public key field elements - String elementType = publicKeyXElem.getAttributeNS(NAMESPACE_XSI, "type"); - String elementTypeLocalName = elementType.substring(elementType.indexOf(':') + 1); - int FIELD_TYPE_PRIME = 1, FIELD_TYPE_CHAR_TWO = 2; - int fieldElemType = ("PrimeFieldElemType".equals(elementTypeLocalName)) - ? FIELD_TYPE_PRIME - : FIELD_TYPE_CHAR_TWO; - - FieldElement publicKeyPointX, publicKeyPointY; - if (fieldElemType == FIELD_TYPE_PRIME) - { - Value xValue = FieldFactory.getInstance().getPrimeFieldValue(new BigInteger(publicKeyXStr, 10)); - publicKeyPointX = field.newElement(xValue); - Value yValue = FieldFactory.getInstance().getPrimeFieldValue(new BigInteger(publicKeyYStr, 10)); - publicKeyPointY = field.newElement(yValue); - } - else - { - publicKeyPointX = field.newElement(octetString2ByteArray(publicKeyXStr)); - publicKeyPointY = field.newElement(octetString2ByteArray(publicKeyYStr)); - } - ProjectiveCoordinate publicKeyPointCoordinate = new ProjectiveCoordinate(publicKeyPointX, - publicKeyPointY, field.getONEelement()); - ECPoint publicKeyPoint = eCurve.newPoint(publicKeyPointCoordinate); - ECPublicKey publicKey = new ECPublicKey(ecdsaParams, publicKeyPoint); - - return publicKey; - } - - /** - * Method getECDSANSPrefix. - * @param element to get the prefix - * @return String the prefix - */ - private static String getECDSANSPrefix(Element element) - { - // FIXXME: Review this function (GK, 11.06.2002) - should return a list of strings, since more than - // one NS prefix can be bound to the ECDSA namespace - - HashMap inScopeNSAttrs = getInScopeNSAttrs(element); - Iterator inScopeNSAttrsIt = inScopeNSAttrs.keySet().iterator(); - while (inScopeNSAttrsIt.hasNext()) - { - Attr currentAttr = (Attr)inScopeNSAttrs.get(inScopeNSAttrsIt.next()); - if (Constants.ECDSA_NS_URI.equals(currentAttr.getValue())) - { - return ("xmlns".equals(currentAttr.getNodeName())) ? "" : currentAttr.getNodeName().substring(6); - } - } - return null; - } - - /** - * Method octetString2IntArray. - * Converts an octet string representation into an int array as needed for the IAIK ECC library - * @param octetString rightmost byte is least significant byte - * @return int[] rightmost byte is LEAST significant byte - */ - private static int[] octetString2IntArray(String octetString) - { - int byteCount = octetString.length()/2; - int[] intArray = new int[byteCount/4 + ((byteCount % 4 != 0) ? 1 : 0)]; - for (int i = 0; i < byteCount; i++) - { - int oSStartPos = octetString.length() - (i + 1) * 2; - int currentByte = Integer.parseInt(octetString.substring(oSStartPos, oSStartPos + 2), 16); - intArray[i/4] += (currentByte & 0xFF) << ((i % 4) * 8); - } - return intArray; - } - - /** - * Converts an octet string representation into a byte array as needed for the IAIK ECC library - * @param octetString rightmost byte is least significant byte - * @return byte[] rightmost byte is MOST significant byte - */ - private static byte[] octetString2ByteArray(String octetString) - { - int byteCount = octetString.length()/2; - byte[] byteArray = new byte[byteCount]; - for (int i = 0; i < byteCount; i++) - { - int oSStartPos = octetString.length() - (i + 1) * 2; - byteArray[byteCount - i - 1] = (byte) Integer.parseInt(octetString.substring( - oSStartPos, oSStartPos + 2), 16); - } - return byteArray; - } - - /** - * Method evenStringLength. - * @param hexString - * @return String - */ - - private static String evenStringLength(String hexString) - { - return (hexString.length() % 2 != 0) ? "0" + hexString : hexString; - } - - /** - * Method getChildElement. - * @param parent - * @param namespace - * @param localName - * @param instance - * @return Element - */ - - private static Element getChildElement(Element parent, String namespace, String localName, - int instance) - { - NodeList namedElements = parent.getElementsByTagNameNS(namespace, localName); - if (namedElements.getLength() < instance) return null; - return (Element)namedElements.item(instance - 1); - } - - /** - * Method getChildElementText. - * @param parent Element - * @param namespace String - * @param localName String - * @param instance int - * @return String - */ - - private static String getChildElementText(Element parent, String namespace, String localName, - int instance) - { - Element child = getChildElement(parent, namespace, localName, instance); - if (child == null) return null; - NodeList childNodes = child.getChildNodes(); - int nodeCount = 0; - while (nodeCount < childNodes.getLength()) - { - Node currentNode = childNodes.item(nodeCount); - if (currentNode.getNodeType() == Node.TEXT_NODE) return currentNode.getNodeValue(); - nodeCount++; - } - return null; - } - - /** - * Method getInScopeNSAttrs. - * @param element element - * @return HashMap - */ - public static HashMap getInScopeNSAttrs(Element element) - { - // Get all ancestors of element - Vector ancestors = new Vector(); - ancestors.add(element); - Node currentAncestor = element; - while ((currentAncestor = currentAncestor.getParentNode()) != null && - currentAncestor.getNodeType() == Node.ELEMENT_NODE) - { - ancestors.add(currentAncestor); - } - - // Scan all ancestors for NS attributes - HashMap inScopeNSAttrs = new HashMap(); - for (int i = ancestors.size() - 1; i >= 0; i--) - { - Element currentAncestorElem = (Element)ancestors.get(i); - NamedNodeMap attrs = currentAncestorElem.getAttributes(); - for (int j = 0; j < attrs.getLength(); j++) - { - Attr currentAttr = (Attr)attrs.item(j); - String currentAttrName = currentAttr.getNodeName(); - if ("xmlns".equals(currentAttrName) || currentAttrName.startsWith("xmlns:")) - { - inScopeNSAttrs.put(currentAttrName, currentAttr); - } - } - } - - // Check if default NS attribute is in list; if value is empty remove it from list - Attr defaultNSAttr = (Attr)inScopeNSAttrs.get("xmlns"); - if (defaultNSAttr != null && "".equals(defaultNSAttr.getValue())) inScopeNSAttrs.remove("xmlns"); - - return inScopeNSAttrs; - } -} \ No newline at end of file diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/ErrorResponseParser.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/ErrorResponseParser.java deleted file mode 100644 index 4fbc58977..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/ErrorResponseParser.java +++ /dev/null @@ -1,89 +0,0 @@ -package at.gv.egovernment.moa.id.auth.parser; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Parses an <InfoboxReadResponse>. - * - * @author Stefan Knirsch - * @version $Id$ - */ - -public class ErrorResponseParser { - // - // XPath namespace prefix shortcuts - // - /** Xpath prefix for reaching SecurityLayer 1.0 Namespaces */ - private static final String SL10 = Constants.SL10_PREFIX + ":"; - /** Xpath expression to the root element */ - private static final String ROOT = "/" + SL10 + "ErrorResponse/"; - /** Xpath expression to the ErrorCode element */ - private static final String ERROR_CODE_XPATH = - ROOT + SL10 + "ErrorCode"; - /** Xpath expression to the Info element */ - private static final String ERROR_INFO_XPATH = - ROOT + SL10 + "Info"; - - - /** This is the root element of the XML-Document provided by the Security Layer Card */ - private Element errorElement; - - /** - * Constructor for InfoboxReadResponseParser. - * A DOM-representation of the incoming String will be created - * @param xmlResponse <InfoboxReadResponse> as String - * @throws ParseException on any error - */ - public ErrorResponseParser(String xmlResponse) throws ParseException { - try { - InputStream s = new ByteArrayInputStream(xmlResponse.getBytes("UTF-8")); - errorElement = DOMUtils.parseXmlValidating(s); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString()}, t); - } - } - - /** - * Constructor for InfoboxReadResponseParser. - * A DOM-representation of the incoming Inputstream will be created - * @param xmlResponse <InfoboxReadResponse> as InputStream - * @throws ParseException on any error - */ - public ErrorResponseParser(InputStream xmlResponse) throws ParseException { - try { - errorElement = DOMUtils.parseXmlValidating(xmlResponse); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString() }, t); - } - } - - /** - * Method getErrorCode. returns the error code - * @return String - */ - public String getErrorCode() { - - return XPathUtils.getElementValue(errorElement,ERROR_CODE_XPATH,null); - } - - /** - * Method getErrorInfo: returns the information about the error - * @return String - */ - public String getErrorInfo() { - - return XPathUtils.getElementValue(errorElement,ERROR_INFO_XPATH,null); - } - - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java deleted file mode 100644 index f9ef54884..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParser.java +++ /dev/null @@ -1,266 +0,0 @@ -package at.gv.egovernment.moa.id.auth.parser; - -import java.security.interfaces.RSAPublicKey; - -import java.io.ByteArrayInputStream; -import java.io.IOException; -import java.io.InputStream; -import java.math.BigInteger; -import java.security.PublicKey; -import java.util.ArrayList; -import java.util.List; - -import org.w3c.dom.Element; -import org.w3c.dom.traversal.NodeIterator; - -import at.gv.egovernment.moa.id.*; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.util.Base64Utils; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Parses an identity link <saml:Assertion> - * @author Paul Ivancsics - * @version $Id$ - */ -public class IdentityLinkAssertionParser { - - // - // XPath namespace prefix shortcuts - // - - /** Xpath prefix for reaching PersonData Namespaces */ - private static final String PDATA = Constants.PD_PREFIX + ":"; - /** Xpath prefix for reaching SecurityLayer 1.0 Namespaces */ - private static final String SL10 = Constants.SL10_PREFIX + ":"; - /** Xpath prefix for reaching SAML Namespaces */ - private static final String SAML = Constants.SAML_PREFIX + ":"; - /** Xpath prefix for reaching XML-DSIG Namespaces */ - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - /** Xpath prefix for reaching ECDS Namespaces */ - private static final String ECDSA = Constants.ECDSA_PREFIX + ":"; - /** Xpath expression to the root element */ - private static final String ROOT = "/" + SAML + "Assertion/"; - /** Xpath expression to the SAMLSubjectConfirmationData element */ - private static final String SAML_SUBJECT_CONFIRMATION_DATA_XPATH = - ROOT - + SAML - + "AttributeStatement/" - + SAML - + "Subject/" - + SAML - + "SubjectConfirmation/" - + SAML - + "SubjectConfirmationData"; - /** Xpath expression to the PersonData element */ - private static final String PERSON_XPATH = - SAML_SUBJECT_CONFIRMATION_DATA_XPATH - + "/" - + PDATA - + "Person"; - /** Xpath expression to the PersonData GivenName element */ - private static final String PERSON_GIVEN_NAME_XPATH = - PERSON_XPATH - + "/" - + PDATA - + "Name/" - + PDATA - + "GivenName"; - /** Xpath expression to the PersonData FamilyName element */ - private static final String PERSON_FAMILY_NAME_XPATH = - PERSON_XPATH - + "/" - + PDATA - + "Name/" - + PDATA - + "FamilyName"; - /** Xpath expression to the PersonData DateOfBirth element */ - private static final String PERSON_DATE_OF_BIRTH_XPATH = - PERSON_XPATH - + "/" - + PDATA - + "DateOfBirth"; - /** Xpath expression to the Identification element */ - private static final String PERSON_IDENT_XPATH = - PERSON_XPATH - + "/" - + PDATA - + "Identification"; - - /** Xpath expression to the Identification Value element */ - private static final String PERSON_IDENT_VALUE_XPATH = - PERSON_XPATH - + "/" - + PDATA - + "Identification/" - + PDATA - + "Value"; - /** Xpath expression to the RSAKeyValue element */ - private static final String RSA_KEY_VALUE_XPATH = - ROOT - + SAML - + "AttributeStatement/" - + SAML - + "Attribute/" - + SAML - + "AttributeValue/" - + DSIG - + "RSAKeyValue"; - /** Xpath expression to the RSA Modulus element */ - private static final String RSA_KEY_MODULUS_XPATH = DSIG + "Modulus"; - /** Xpath expression to the RSA Exponent element */ - private static final String RSA_KEY_EXPONENT_XPATH = DSIG + "Exponent"; - /** Xpath expression to the DSIG X509Certificate element */ - private static final String DSIG_CERTIFICATES_XPATH = - ROOT - + DSIG - + "Signature/" - + DSIG - + "KeyInfo/" - + DSIG - + "X509Data/" - + DSIG - + "X509Certificate"; - /** Xpath expression to the DSIG Transforms element */ - private static final String DSIG_REFERENCE_TRANSFORMATION_XPATH = - ROOT - + DSIG - + "Signature/" - + DSIG - + "SignedInfo/" - + DSIG - + "Reference/" - + DSIG - + "Transforms"; - - /**This is the root element of the XML-Document provided by the Security Layer Card*/ - private Element assertionElem; - - /** - * Constructor for IdentityLinkAssertionParser. - * A DOM-representation of the incoming String will be created - * @param xmlAssertion <saml:Assertion> as String - * @throws ParseException on any parsing error - */ - public IdentityLinkAssertionParser(String xmlAssertion) throws ParseException { - try { - InputStream s = new ByteArrayInputStream(xmlAssertion.getBytes("UTF-8")); - assertionElem = DOMUtils.parseXmlValidating(s); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString()}, t); - } - } - - /** - * Constructor for IdentityLinkAssertionParser. - * A DOM-representation of the incoming Inputstream will be created - * @param xmlAssertion <saml:Assertion> as InputStream - * @throws ParseException on any parsing error - */ - public IdentityLinkAssertionParser(InputStream xmlAssertion) throws Exception { - try { - assertionElem = DOMUtils.parseXmlValidating(xmlAssertion); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString() }, t); - } - } - - /** - * Parses the identity link from the <saml:Assertion> - * @return Identity link - * @throws ParseException on any parsing error - */ - - public IdentityLink parseIdentityLink() throws ParseException { - IdentityLink identityLink; - try { - identityLink = new IdentityLink(); - //ÄNDERN: NUR der Identification-Teil - identityLink.setSamlAssertion(assertionElem); - identityLink.setPrPerson((Element) - XPathUtils.selectSingleNode(assertionElem, PERSON_XPATH)); - identityLink.setIdentificationValue( - XPathUtils.getElementValue(assertionElem, PERSON_IDENT_VALUE_XPATH, "")); - identityLink.setGivenName( - XPathUtils.getElementValue(assertionElem, PERSON_GIVEN_NAME_XPATH, "")); - identityLink.setFamilyName( - XPathUtils.getElementValue(assertionElem, PERSON_FAMILY_NAME_XPATH, "")); - identityLink.setDateOfBirth( - XPathUtils.getElementValue(assertionElem, PERSON_DATE_OF_BIRTH_XPATH, "")); - NodeIterator dsigRefTransforms = - XPathUtils.selectNodeIterator(assertionElem, DSIG_REFERENCE_TRANSFORMATION_XPATH); - List transElems = new ArrayList(); - Element transformsElem; - while ((transformsElem = (Element) dsigRefTransforms.nextNode()) != null) { - transElems.add(transformsElem); - } - Element[] result = new Element[transElems.size()]; - transElems.toArray(result); - identityLink.setDsigReferenceTransforms(result); - - identityLink.setPublicKey(getPublicKeys()); - - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString() }, t); - } - - return identityLink; - } - - /** - * Parses an array of Public Keys from the <InfoboxReadResponse> - * @return RSAPublicKey[] - * @throws IOException can occur when decoding the base64 values of the modulus and exponent - */ - public PublicKey[] getPublicKeys() throws IOException{ - - - List pubKeys = new ArrayList(); - //Try to get RSA-Keys - NodeIterator rsaIter = - XPathUtils.selectNodeIterator(assertionElem, RSA_KEY_VALUE_XPATH); - Element rsaElem; - while ((rsaElem = (Element) rsaIter.nextNode()) != null) { - String modulus = - XPathUtils.getElementValue(rsaElem, RSA_KEY_MODULUS_XPATH, ""); - String exponent = - XPathUtils.getElementValue(rsaElem, RSA_KEY_EXPONENT_XPATH, ""); - - RSAPublicKey resPub = - new iaik.security.rsa.RSAPublicKey( - new BigInteger(1, Base64Utils.decode(modulus, true)), - new BigInteger(1, Base64Utils.decode(exponent, true))); - pubKeys.add(resPub);} - - PublicKey[] result = new PublicKey[pubKeys.size()]; - - pubKeys.toArray(result); - return result; - - } - /** - * Parses a string array of decoded base64 certificates from - * the <InfoboxReadResponse> found in the dsig-signature - * @return String[] with raw-certificates from the dsig-signature keyinfo - * @throws Exception - */ - public String[] getCertificates() throws Exception { - List certs = new ArrayList(); - NodeIterator rsaIter = - XPathUtils.selectNodeIterator(assertionElem, DSIG_CERTIFICATES_XPATH); - Element certElem; - while ((certElem = (Element) rsaIter.nextNode()) != null) { - String content = DOMUtils.getText(certElem); - certs.add(new String(Base64Utils.decode(content, true))); - } - String[] result = new String[certs.size()]; - certs.toArray(result); - return result; - - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/InfoboxReadResponseParser.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/InfoboxReadResponseParser.java deleted file mode 100644 index c1146218e..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/InfoboxReadResponseParser.java +++ /dev/null @@ -1,110 +0,0 @@ -package at.gv.egovernment.moa.id.auth.parser; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Parses an <InfoboxReadResponse>. - * - * @author Stefan Knirsch - * @version $Id$ - */ - -public class InfoboxReadResponseParser { - // - // XPath namespace prefix shortcuts - // - /** Xpath prefix for reaching SecurityLayer 1.0 Namespaces */ - private static final String SL10 = Constants.SL10_PREFIX + ":"; - /** Xpath prefix for reaching SAML Namespaces */ - private static final String SAML = Constants.SAML_PREFIX + ":"; - /** Xpath expression to the root element */ - private static final String ROOT = "/" + SL10 + "InfoboxReadResponse/"; - /** Xpath expression to the SAML:Assertion element */ - private static final String SAML_ASSERTION_XPATH = ROOT + SL10 + "BinaryFileData/" + SL10 + "XMLContent/" + SAML + "Assertion"; - - /** This is the root element of the XML-Document provided by the Security Layer Card*/ - private Element infoBoxElem; - - /** - * Constructor for InfoboxReadResponseParser. - * A DOM-representation of the incoming String will be created - * @param xmlResponse <InfoboxReadResponse> as String - * @throws ParseException on any parsing error - */ - public InfoboxReadResponseParser(String xmlResponse) throws ParseException, AuthenticationException { - - ErrorResponseParser erp = new ErrorResponseParser(xmlResponse); - if (erp.getErrorCode() != null) { - throw new AuthenticationException("auth.08", new Object[] { erp.getErrorCode(), erp.getErrorInfo()}); - } - - try { - - InputStream s = new ByteArrayInputStream(xmlResponse.getBytes("UTF-8")); - infoBoxElem = DOMUtils.parseXmlValidating(s); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString()}, t); - } - } - - /** - * Constructor for InfoboxReadResponseParser. - * A DOM-representation of the incoming Inputstream will be created - * @param xmlResponse <InfoboxReadResponse> as InputStream - * @throws ParseException on any parsing error - */ - public InfoboxReadResponseParser(InputStream is) throws ParseException, AuthenticationException { - - ErrorResponseParser erp = new ErrorResponseParser(is); - if (erp.getErrorCode() != null) { - throw new AuthenticationException("auth.08", new Object[] { erp.getErrorCode(), erp.getErrorInfo()}); - } - - try { - - infoBoxElem = DOMUtils.parseXmlValidating(is); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString()}, t); - } - } - - /** - * Parses the embedded <saml:Assertion> element from <InfoboxReadResponse> - * @return <saml:Assertion> as String - * @throws ParseException on any parsing error - */ - public String parseSAMLAssertion() throws ParseException { - try { - Element samlAssertion = (Element) XPathUtils.selectSingleNode(infoBoxElem, SAML_ASSERTION_XPATH); - return DOMUtils.serializeNode(samlAssertion); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString()}, t); - } - } - - /** - * Parses the identity link from the <saml:Assertion> - * @return Identity link - * @throws ParseException on any parsing error - */ - - public IdentityLink parseIdentityLink() throws ParseException { - String samlAssertionString = parseSAMLAssertion(); - IdentityLinkAssertionParser ilParser = new IdentityLinkAssertionParser(samlAssertionString); - return ilParser.parseIdentityLink(); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/SAMLArtifactParser.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/SAMLArtifactParser.java deleted file mode 100644 index 7c4c01abe..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/SAMLArtifactParser.java +++ /dev/null @@ -1,58 +0,0 @@ -package at.gv.egovernment.moa.id.auth.parser; - -import java.io.IOException; - -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.util.Base64Utils; - -/** - * Parser for a SAML artifact. - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLArtifactParser { - /** byte array containing the SamlArtifact bytes */ - private byte[] samlArtifactBytes; - - /** - * Constructor - * @param samlArtifact as String - * @throws ParseException on any parsing error - */ - public SAMLArtifactParser(String samlArtifact) throws ParseException { - try { - samlArtifactBytes = Base64Utils.decode(samlArtifact, false); - } - catch (IOException ex) { - throw new ParseException("parser.02", new Object[] {ex.toString()}, ex); - } - } - /** - * Parses the type code. - * @return type code - * @throws ParseException when SAML artifact is invalid - */ - public byte[] parseTypeCode() throws ParseException { - try { - byte[] typeCode = new byte[] {samlArtifactBytes[0], samlArtifactBytes[1]}; - return typeCode; - } - catch (Throwable ex) { - throw new ParseException("parser.02", new Object[] {ex.toString()}, ex); - } - } - /** - * Parses the assertion handle. - * @return assertion handle - * @throws ParseException when SAML artifact is invalid - */ - public String parseAssertionHandle() throws ParseException { - try { - return new String(samlArtifactBytes, 22, 20); - } - catch (Throwable ex) { - throw new ParseException("parser.02", new Object[] {ex.toString()}, ex); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/parser/VerifyXMLSignatureResponseParser.java b/id.server/src/at/gv/egovernment/moa/id/auth/parser/VerifyXMLSignatureResponseParser.java deleted file mode 100644 index c74dc64e8..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/parser/VerifyXMLSignatureResponseParser.java +++ /dev/null @@ -1,159 +0,0 @@ -package at.gv.egovernment.moa.id.auth.parser; - -import iaik.utils.Base64InputStream; -import iaik.x509.X509Certificate; -import java.io.ByteArrayInputStream; -import java.io.InputStream; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.*; -import at.gv.egovernment.moa.id.auth.data.VerifyXMLSignatureResponse; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Parses a <VerifyXMLSignatureResponse> returned by - * MOA-SPSS. - * This class implements the Singleton pattern - * - * @author Stefan Knirsch - * @version $Id$ - */ - - -public class VerifyXMLSignatureResponseParser { - // - // XPath namespace prefix shortcuts - // - /** Xpath prefix for reaching MOA Namespaces */ - private static final String MOA = Constants.MOA_PREFIX + ":"; - /** Xpath prefix for reaching DSIG Namespaces */ - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - /** Xpath prefix for reaching SecurityLayer 1.1 Namespaces */ - private static final String SL11 = Constants.SL11_PREFIX + ":"; - /** Xpath expression to the root element */ - private static final String ROOT = "/" + MOA + "VerifyXMLSignatureResponse/"; - - /** Xpath expression to the X509SubjectName element */ - private static final String DSIG_SUBJECT_NAME_XPATH = - ROOT + MOA + "SignerInfo/" + DSIG + "X509Data/" + - DSIG + "X509SubjectName"; - /** Xpath expression to the X509Certificate element */ - private static final String DSIG_X509_CERTIFICATE_XPATH = - ROOT + MOA + "SignerInfo/" + DSIG + "X509Data/" + - DSIG + "X509Certificate"; - /** Xpath expression to the PublicAuthority element */ - private static final String PUBLIC_AUTHORITY_XPATH = - ROOT + MOA + "SignerInfo/" + DSIG + "X509Data/" + - MOA + "PublicAuthority"; - /** Xpath expression to the PublicAuthorityCode element */ - private static final String PUBLIC_AUTHORITY_CODE_XPATH = - PUBLIC_AUTHORITY_XPATH + "/" + MOA + "Code"; - /** Xpath expression to the QualifiedCertificate element */ - private static final String QUALIFIED_CERTIFICATE_XPATH = - ROOT + MOA + "SignerInfo/" + DSIG + "X509Data/" + - SL11 + "QualifiedCertificate"; - - /** Xpath expression to the SignatureCheckCode element */ - private static final String SIGNATURE_CHECK_CODE_XPATH = - ROOT + MOA + "SignatureCheck/" + MOA + "Code"; - /** Xpath expression to the XMLDSIGManifestCheckCode element */ - private static final String XMLDSIG_MANIFEST_CHECK_CODE_XPATH = - ROOT + MOA + "XMLDSIGManifestCheck/" + MOA + "Code"; - /** Xpath expression to the CertificateCheckCode element */ - private static final String CERTIFICATE_CHECK_CODE_XPATH = - ROOT + MOA + "CertificateCheck/" + MOA + "Code"; - - - /** This is the root element of the XML-Document provided by the Security Layer Card*/ - private Element verifyXMLSignatureResponse; - - /** - * Constructor for VerifyXMLSignatureResponseParser. - * A DOM-representation of the incoming String will be created - * @param xmlResponse <InfoboxReadResponse> as String - * @throws ParseException on any parsing error - */ - public VerifyXMLSignatureResponseParser(String xmlResponse) throws ParseException{ - try { - InputStream s = new ByteArrayInputStream(xmlResponse.getBytes("UTF-8")); - - verifyXMLSignatureResponse = DOMUtils.parseXmlValidating(s); - } - catch (Throwable t) { - throw new ParseException("parser.01", null, t); - } - } - - /** - * Constructor for VerifyXMLSignatureResponseParser. - * A DOM-representation of the incoming Inputstream will be created - * @param xmlResponse <InfoboxReadResponse> as InputStream - * @throws Exception on any parsing error - */ - public VerifyXMLSignatureResponseParser(InputStream xmlResponse) throws Exception - { - try { - verifyXMLSignatureResponse = DOMUtils.parseXmlValidating(xmlResponse); - } - catch (Throwable t) { - throw new ParseException("parser.01", null, t); - } - } - - /** - * Constructor for VerifyXMLSignatureResponseParser. - * The incoming Element will be used for further operations - * @param xmlResponse <InfoboxReadResponse> as Element - */ - public VerifyXMLSignatureResponseParser(Element xmlResponse) - { - verifyXMLSignatureResponse =xmlResponse; - - } - - /** - * Parse identity link from <InfoboxReadResponse> - * @return Identity link - * @throws ParseException on any parsing error - */ - - public VerifyXMLSignatureResponse parseData() throws ParseException { - VerifyXMLSignatureResponse respData=new VerifyXMLSignatureResponse(); - - try { - - respData.setXmlDsigSubjectName(XPathUtils.getElementValue(verifyXMLSignatureResponse,DSIG_SUBJECT_NAME_XPATH,"")); - Element e = (Element)XPathUtils.selectSingleNode(verifyXMLSignatureResponse,QUALIFIED_CERTIFICATE_XPATH); - respData.setQualifiedCertificate(e!=null); - - Base64InputStream in = new Base64InputStream(new ByteArrayInputStream(XPathUtils.getElementValue( - verifyXMLSignatureResponse,DSIG_X509_CERTIFICATE_XPATH,"").getBytes("UTF-8")),true); - - respData.setX509certificate(new X509Certificate(in)); - - Element publicAuthority = (Element)XPathUtils.selectSingleNode(verifyXMLSignatureResponse,PUBLIC_AUTHORITY_CODE_XPATH); - respData.setPublicAuthority(publicAuthority != null); - respData.setPublicAuthorityCode(XPathUtils.getElementValue(verifyXMLSignatureResponse,PUBLIC_AUTHORITY_CODE_XPATH,"")); - respData.setSignatureCheckCode(new Integer(XPathUtils.getElementValue(verifyXMLSignatureResponse,SIGNATURE_CHECK_CODE_XPATH,"")).intValue()); - - String xmlDsigCheckCode = XPathUtils.getElementValue(verifyXMLSignatureResponse,XMLDSIG_MANIFEST_CHECK_CODE_XPATH,null); - if (xmlDsigCheckCode!=null) - { - respData.setXmlDSIGManigest(true); - respData.setXmlDSIGManifestCheckCode(new Integer(xmlDsigCheckCode).intValue()); - } - else - respData.setXmlDSIGManigest(false); - respData.setCertificateCheckCode(new Integer(XPathUtils.getElementValue(verifyXMLSignatureResponse,CERTIFICATE_CHECK_CODE_XPATH,"")).intValue()); - } - catch (Throwable t) { - throw new ParseException("parser.01", null, t); - } - return respData; - } - - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java deleted file mode 100644 index 3a1cab4be..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/AuthServlet.java +++ /dev/null @@ -1,117 +0,0 @@ -package at.gv.egovernment.moa.id.auth.servlet; - -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.util.Enumeration; -import java.util.HashMap; -import java.util.Map; - -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egovernment.moa.id.auth.MOAIDAuthConstants; -import at.gv.egovernment.moa.id.auth.WrongParametersException; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.URLDecoder; - -/** - * Base class for MOA-ID Auth Servlets, providing standard error handling - * and constant names. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthServlet extends HttpServlet implements MOAIDAuthConstants { - - - /** - * Handles an error.
    - *
      - *
    • Logs the error
    • - *
    • Places error message and exception thrown into the request - * as request attributes (to be used by "/errorpage.jsp")
    • - *
    • Sets HTTP status 500 (internal server error)
    • - *
    - * - * @param errorMessage error message - * @param exceptionThrown exception thrown - * @param req servlet request - * @param resp servlet response - */ - protected void handleError( - String errorMessage, Throwable exceptionThrown, HttpServletRequest req, HttpServletResponse resp) { - - if (exceptionThrown != null) - Logger.error(errorMessage, exceptionThrown); - else - Logger.error(errorMessage); - req.setAttribute("ErrorMessage", errorMessage); - req.setAttribute("ExceptionThrown", exceptionThrown); - resp.setStatus(500); - } - /** - * Handles a WrongParametersException. - * @param req servlet request - * @param resp servlet response - */ - protected void handleWrongParameters(WrongParametersException ex, HttpServletRequest req, HttpServletResponse resp) { - Logger.error(ex.toString()); - req.setAttribute("WrongParameters", "true"); - resp.setStatus(500); - } - - /** - * Logs all servlet parameters for debugging purposes. - */ - protected void logParameters(HttpServletRequest req) { - for (Enumeration enum = req.getParameterNames(); enum.hasMoreElements(); ) { - String parname = (String)enum.nextElement(); - Logger.debug("Parameter " + parname + req.getParameter(parname)); - } - } - /** - * Parses the request input stream for parameters, - * assuming parameters are encoded UTF-8. - * @param req servlet request - * @return mapping parameter name -> value - */ - protected Map getParameters(HttpServletRequest req) throws IOException { - Map parameters = new HashMap(); - InputStream in = req.getInputStream(); - String paramName; - String paramValueURLEncoded; - do { - paramName = new String(readBytesUpTo(in, '=')); - if (paramName.length() > 0) { - paramValueURLEncoded = readBytesUpTo(in, '&'); - String paramValue = URLDecoder.decode(paramValueURLEncoded, "UTF-8"); - parameters.put(paramName, paramValue); - } - } - while (paramName.length() > 0); - in.close(); - - return parameters; - } - /** - * Reads bytes up to a delimiter, consuming the delimiter. - * @param in input stream - * @param delimiter delimiter character - * @return String constructed from the read bytes - * @throws IOException - */ - protected String readBytesUpTo(InputStream in, char delimiter) throws IOException { - ByteArrayOutputStream bout = new ByteArrayOutputStream(); - boolean done = false; - int b; - while (! done && (b = in.read()) >= 0) { - if (b == delimiter) - done = true; - else - bout.write(b); - } - return bout.toString(); - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/ConfigurationServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/ConfigurationServlet.java deleted file mode 100644 index 554819f73..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/ConfigurationServlet.java +++ /dev/null @@ -1,74 +0,0 @@ -package at.gv.egovernment.moa.id.auth.servlet; - -import java.io.IOException; -import java.io.PrintWriter; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egovernment.moa.id.auth.MOAIDAuthInitializer; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.logging.Logger; - -/** - * Servlet requested for updating the MOA-ID Auth configuration from configuration file - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class ConfigurationServlet extends HttpServlet { - /** Constant for the DTD-Doc type */ - private static final String DOC_TYPE = - "\n"; - - /** - * Handle a HTTP GET request, used to indicated that the MOA - * configuration needs to be updated (reloaded). - * - * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest, HttpServletResponse) - */ - public void doGet(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - - MOAIDMessageProvider msg = MOAIDMessageProvider.getInstance(); - PrintWriter out; - - response.setContentType("text/html"); - out = response.getWriter(); - out.println(DOC_TYPE); - out.println("MOA configuration update"); - out.println(""); - try { - MOAIDAuthInitializer.initialized=false; - MOAIDAuthInitializer.initialize(); - String message = msg.getMessage("config.00", null); - Logger.info(message); - out.println("

    "); - out.println(message); - out.println("

    "); - } catch (Throwable t) { - String errorMessage = msg.getMessage("config.04", null); - Logger.error(errorMessage, t); - out.println("

    "); - out.println(errorMessage); - out.println("

    "); - } - out.println(""); - - out.flush(); - out.close(); - } - - /** - * Do the same as doGet. - * - * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest, HttpServletResponse) - */ - public void doPost(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - doGet(request, response); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java deleted file mode 100644 index c41b514c8..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataService.java +++ /dev/null @@ -1,135 +0,0 @@ -package at.gv.egovernment.moa.id.auth.servlet; - -import java.util.Calendar; - -import org.apache.axis.AxisFault; -import org.w3c.dom.Element; - -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.MOAIDException; -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.auth.builder.SAMLResponseBuilder; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.id.util.Random; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.DateTimeUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Web service for picking up authentication data created in the MOA-ID Auth component. - * - * @author Paul Ivancsics - * @version $Id$ - * @see at.gv.egovernment.moa.id.auth.AuthenticationServer#getAuthenticationData - */ -public class GetAuthenticationDataService implements Constants { - - /** - * Constructor for GetAuthenticationDataService. - */ - public GetAuthenticationDataService() { - super(); - } - - /** - * Takes a lt;samlp:Request> containing a - * SAML artifact and returns the corresponding - * authentication data lt;saml:Assertion> - * (obtained from the AuthenticationServer), - * enclosed in a lt;samlp:Response>. - *
    Bad requests are mapped into various lt;samlp:StatusCode>s, - * possibly containing enclosed sub-lt;samlp:StatusCode>s. - * The status codes are defined in the SAML specification. - * - * @param requests request elements of type lt;samlp:Request>; - * only 1 request element is allowed - * @return response element of type lt;samlp:Response>, - * packed into an Element[] - * @throws AxisFault thrown when an error occurs in assembling the - * lt;samlp:Response> - */ - public Element[] Request(Element[] requests) - throws AxisFault { - - Element request = requests[0]; - Element[] responses = new Element[1]; - String requestID = ""; - String statusCode = ""; - String subStatusCode = null; - String statusMessageCode = null; - String statusMessage = null; - String samlAssertion = ""; - if (requests.length > 1) { - // more than 1 request given as parameter - statusCode = "samlp:Requester"; - subStatusCode = "samlp:TooManyResponses"; - statusMessageCode = "1201"; - } - else { - try { - DOMUtils.validateElement(request, ALL_SCHEMA_LOCATIONS, null); - NodeList samlArtifactList = XPathUtils.selectNodeList(request, "samlp:AssertionArtifact"); - if (samlArtifactList.getLength() == 0) { - // no SAML artifact given in request - statusCode = "samlp:Requester"; - statusMessageCode = "1202"; - } - else if (samlArtifactList.getLength() > 1) { - // too many SAML artifacts given in request - statusCode = "samlp:Requester"; - subStatusCode = "samlp:TooManyResponses"; - statusMessageCode = "1203"; - } - else { - Element samlArtifactElem = (Element)samlArtifactList.item(0); - requestID = samlArtifactElem.getAttribute("RequestID"); - String samlArtifact = DOMUtils.getText(samlArtifactElem); - try { - AuthenticationData authData = AuthenticationServer.getInstance(). - getAuthenticationData(samlArtifact); - // success - samlAssertion = authData.getSamlAssertion(); - statusCode = "samlp:Success"; - statusMessageCode = "1200"; - } - catch (AuthenticationException ex) { - // no authentication data for given SAML artifact - statusCode = "samlp:Requester"; - subStatusCode = "samlp:ResourceNotRecognized"; - statusMessage = ex.toString(); - } - } - } - catch (Throwable t) { - // invalid request format - statusCode = "samlp:Requester"; - statusMessageCode = "1204"; - } - } - try { - String responseID = Random.nextRandom(); - String issueInstant = DateTimeUtils.buildDateTime(Calendar.getInstance()); - if (statusMessage == null) - statusMessage = MOAIDMessageProvider.getInstance().getMessage(statusMessageCode, null); - responses[0] = new SAMLResponseBuilder().build( - responseID, requestID, issueInstant, statusCode, subStatusCode, statusMessage, samlAssertion); - } - catch (MOAIDException e) { - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } - catch (Throwable t) { - MOAIDException e = new MOAIDException("1299", null, t); - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } - return responses; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java deleted file mode 100644 index 50ca21c69..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/SelectBKUServlet.java +++ /dev/null @@ -1,95 +0,0 @@ -package at.gv.egovernment.moa.id.auth.servlet; - -import java.io.IOException; -import java.io.PrintWriter; - -import javax.servlet.ServletConfig; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.auth.MOAIDAuthInitializer; -import at.gv.egovernment.moa.id.auth.WrongParametersException; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.logging.Logger; - -/** - * Servlet requested for selecting a BKU. - *
    In case of {@link AuthConfigurationProvider#getBKUSelectionType}==HTMLComplete, - * the browser is redirected to the configured "BKU-Auswahl-URL". - *
    In case of {@link AuthConfigurationProvider#getBKUSelectionType}==HTMLSelect, - * the list of available BKU's is fetched from a BKU-Auswahl server, and presented - * to the user in an HTML form. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class SelectBKUServlet extends AuthServlet { - - /** - * Calls the web application initializer. - * - * @see javax.servlet.Servlet#init(ServletConfig) - */ - public void init(ServletConfig servletConfig) throws ServletException { - try { - MOAIDAuthInitializer.initialize(); - Logger.info(MOAIDMessageProvider.getInstance().getMessage("init.00", null)); - } - catch (Exception ex) { - Logger.fatal(MOAIDMessageProvider.getInstance().getMessage("init.02", null), ex); - throw new ServletException(ex); - } - } - - /** - * Responds with an HTML form which requests the user to choose a BKU. - */ - protected void doGet(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException { - - Logger.debug("GET SelectBKU"); - String authURL = - req.getScheme() + "://" + - req.getServerName() + ":" + - req.getServerPort() + - req.getContextPath() + "/"; - String target = req.getParameter(PARAM_TARGET); - String oaURL = req.getParameter(PARAM_OA); - String bkuSelectionTemplateURL = req.getParameter(PARAM_BKUTEMPLATE); - String templateURL = req.getParameter(PARAM_TEMPLATE); - resp.setHeader(HEADER_EXPIRES,HEADER_VALUE_EXPIRES); - resp.setHeader(HEADER_PRAGMA,HEADER_VALUE_PRAGMA); - resp.setHeader(HEADER_CACHE_CONTROL,HEADER_VALUE_CACHE_CONTROL); - resp.addHeader(HEADER_CACHE_CONTROL,HEADER_VALUE_CACHE_CONTROL_IE); - - try { - String returnValue = AuthenticationServer.getInstance().selectBKU( - authURL, target, oaURL, bkuSelectionTemplateURL, templateURL); - String bkuSelectionType = AuthConfigurationProvider.getInstance().getBKUSelectionType(); - if (bkuSelectionType.equals(AuthConfigurationProvider.BKU_SELECTION_TYPE_HTMLCOMPLETE)) { - // bkuSelectionType==HTMLComplete - String redirectURL = returnValue; - resp.sendRedirect(redirectURL); - Logger.debug("REDIRECT TO: " + redirectURL); - } - else { - // bkuSelectionType==HTMLSelect - String htmlForm = returnValue; - resp.setContentType("text/html"); - PrintWriter out = new PrintWriter(resp.getOutputStream()); - out.print(htmlForm); - out.flush(); - Logger.debug("Finished GET SelectBKU"); - } - } - catch (WrongParametersException ex) { - handleWrongParameters(ex, req, resp); - } - catch (Throwable ex) { - handleError(null, ex, req, resp); - } - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/StartAuthenticationServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/StartAuthenticationServlet.java deleted file mode 100644 index 2ea43935b..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/StartAuthenticationServlet.java +++ /dev/null @@ -1,102 +0,0 @@ -package at.gv.egovernment.moa.id.auth.servlet; - -import java.io.IOException; -import java.io.PrintWriter; - -import javax.servlet.ServletConfig; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egovernment.moa.id.MOAIDException; -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.auth.MOAIDAuthInitializer; -import at.gv.egovernment.moa.id.auth.WrongParametersException; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.logging.Logger; - -/** - * Servlet requested for starting a MOA ID authentication session. - * Utilizes the {@link AuthenticationServer}. - * - * @author Paul Ivancsics - * @version $Id$ - * @see AuthenticationServer#startAuthentication - */ -public class StartAuthenticationServlet extends AuthServlet { - - /** - * Responds with an HTML form which upon submit requests the identity link - * from the security layer implementation. - *
    - * Response: - *
      - *
    • Content type: "text/html"
    • - *
    • Content: see return value of {@link AuthenticationServer#startAuthentication}
    • - *
    • Error status: 500 - *
    - * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest, HttpServletResponse) - */ - protected void doGet(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException { - - Logger.debug("GET StartAuthentication"); - String authURL = - req.getScheme() + "://" + - req.getServerName() + ":" + - req.getServerPort() + - req.getContextPath() + "/"; - String target = req.getParameter(PARAM_TARGET); - String oaURL = req.getParameter(PARAM_OA); - String bkuURL = req.getParameter(PARAM_BKU); - String templateURL = req.getParameter(PARAM_TEMPLATE); - String sessionID = req.getParameter(PARAM_SESSIONID); - resp.setHeader(HEADER_EXPIRES,HEADER_VALUE_EXPIRES); - resp.setHeader(HEADER_PRAGMA,HEADER_VALUE_PRAGMA); - resp.setHeader(HEADER_CACHE_CONTROL,HEADER_VALUE_CACHE_CONTROL); - resp.addHeader(HEADER_CACHE_CONTROL,HEADER_VALUE_CACHE_CONTROL_IE); - try { - String getIdentityLinkForm = - AuthenticationServer.getInstance().startAuthentication(authURL, target, oaURL, templateURL, bkuURL, sessionID); - resp.setContentType("text/html"); - PrintWriter out = new PrintWriter(resp.getOutputStream()); - out.print(getIdentityLinkForm); - out.flush(); - Logger.debug("Finished GET StartAuthentication"); - } - catch (WrongParametersException ex) { - handleWrongParameters(ex, req, resp); - } - catch (MOAIDException ex) { - handleError(null, ex, req, resp); - } - } - - - /** - * @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) - */ - protected void doPost(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException { - - doGet(req, resp); - } - - - /** - * Calls the web application initializer. - * - * @see javax.servlet.Servlet#init(ServletConfig) - */ - public void init(ServletConfig servletConfig) throws ServletException { - try { - MOAIDAuthInitializer.initialize(); - Logger.info(MOAIDMessageProvider.getInstance().getMessage("init.00", null)); - } - catch (Exception ex) { - Logger.fatal(MOAIDMessageProvider.getInstance().getMessage("init.02", null), ex); - throw new ServletException(ex); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java deleted file mode 100644 index 8d16f73dd..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java +++ /dev/null @@ -1,110 +0,0 @@ -package at.gv.egovernment.moa.id.auth.servlet; - -import java.io.IOException; -import java.net.URLEncoder; -import java.util.Map; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egovernment.moa.id.MOAIDException; -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.auth.WrongParametersException; -import at.gv.egovernment.moa.id.auth.data.AuthenticationSession; -import at.gv.egovernment.moa.logging.Logger; - -/** - * Servlet requested for verifying the signed authentication block - * provided by the security layer implementation. - * Utilizes the {@link AuthenticationServer}. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class VerifyAuthenticationBlockServlet extends AuthServlet { - - - /** - * Constructor for VerifyAuthenticationBlockServlet. - */ - public VerifyAuthenticationBlockServlet() { - super(); - } - - /** - * GET requested by security layer implementation to verify - * that data URL resource is available. - * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest, HttpServletResponse) - */ - protected void doGet(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException { - - Logger.debug("GET VerifyAuthenticationBlock"); - } - - /** - * Verifies the signed authentication block and redirects the browser - * to the online application requested, adding a parameter needed for - * retrieving the authentication data. - *
    - * Request parameters: - *
      - *
    • MOASessionID: ID of associated authentication session
    • - *
    • XMLResponse: <CreateXMLSignatureResponse>
    • - *
    - * Response: - *
      - *
    • Status: 302
    • - *
    • Header "Location": URL of the online application requested, with - * parameters "Target" and "SAMLArtifact" added
    • - *
    • Error status: 500 - *
    - * @see AuthenticationServer#verifyAuthenticationBlock - * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest, HttpServletResponse) - */ - protected void doPost(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException { - - Logger.debug("POST VerifyAuthenticationBlock"); - Map parameters = getParameters(req); - String sessionID = req.getParameter(PARAM_SESSIONID); - String createXMLSignatureResponse = (String)parameters.get(PARAM_XMLRESPONSE); - // debug output - AuthenticationServer.debugOutputXMLFile("CreateXMLSignatureResponse.xml", createXMLSignatureResponse); - try { - AuthenticationSession session = AuthenticationServer.getSession(sessionID); - String samlArtifactBase64 = - AuthenticationServer.getInstance().verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); - String redirectURL = session.getOAURLRequested(); - redirectURL = addURLParameter(redirectURL, PARAM_TARGET, session.getTarget()); - redirectURL = addURLParameter(redirectURL, PARAM_SAMLARTIFACT, URLEncoder.encode(samlArtifactBase64)); - redirectURL = resp.encodeRedirectURL(redirectURL); - resp.setStatus(302); - resp.addHeader("Location", redirectURL); - Logger.debug("REDIRECT TO: " + redirectURL); - } - catch (WrongParametersException ex) { - handleWrongParameters(ex, req, resp); - } - catch (MOAIDException ex) { - handleError(null, ex, req, resp); - } - - } - /** - * Adds a parameter to a URL. - * @param url the URL - * @param paramname parameter name - * @param paramvalue parameter value - * @return the URL with parameter added - */ - private static String addURLParameter(String url, String paramname, String paramvalue) { - String param = paramname + "=" + paramvalue; - if (url.indexOf("?") < 0) - return url + "?" + param; - else - return url + "&" + param; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyIdentityLinkServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyIdentityLinkServlet.java deleted file mode 100644 index d3a28c7d4..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyIdentityLinkServlet.java +++ /dev/null @@ -1,97 +0,0 @@ -package at.gv.egovernment.moa.id.auth.servlet; - -import java.io.IOException; -import java.io.OutputStream; -import java.util.Map; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egovernment.moa.id.MOAIDException; -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.auth.WrongParametersException; -import at.gv.egovernment.moa.id.auth.builder.DataURLBuilder; -import at.gv.egovernment.moa.id.auth.data.AuthenticationSession; -import at.gv.egovernment.moa.logging.Logger; - -/** - * Servlet requested for verifying the identity link - * provided by the security layer implementation. - * Utilizes the {@link AuthenticationServer}. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class VerifyIdentityLinkServlet extends AuthServlet { - - /** - * Constructor for VerifyIdentityLinkServlet. - */ - public VerifyIdentityLinkServlet() { - super(); - } - - /** - * GET requested by security layer implementation to verify - * that data URL resource is available. - * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest, HttpServletResponse) - */ - protected void doGet(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException { - - Logger.debug("GET VerifyIdentityLink"); - } - - /** - * Verifies the identity link and responds with a new - * CreateXMLSignatureRequest. - *
    - * Request parameters: - *
      - *
    • MOASessionID: ID of associated authentication session
    • - *
    • XMLResponse: <InfoboxReadResponse>
    • - *
    - * Response: - *
      - *
    • Content type: "text/xml"
    • - *
    • Content: see return value of {@link AuthenticationServer#verifyIdentityLink}
    • - *
    • Error status: 500 - *
    - * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest, HttpServletResponse) - */ - protected void doPost(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException { - - Logger.debug("POST VerifyIdentityLink"); - Map parameters = getParameters(req); - String sessionID = req.getParameter(PARAM_SESSIONID); - String infoboxReadResponse = (String)parameters.get(PARAM_XMLRESPONSE); - // debug output - AuthenticationServer.debugOutputXMLFile("InfoboxReadResponse.xml", infoboxReadResponse); - try { - String createXMLSignatureRequest = - AuthenticationServer.getInstance().verifyIdentityLink(sessionID, infoboxReadResponse); - AuthenticationSession session = AuthenticationServer.getSession(sessionID); - resp.setStatus(307); - String dataURL = new DataURLBuilder().buildDataURL( - session.getAuthURL(), AuthenticationServer.REQ_VERIFY_AUTH_BLOCK, sessionID); - resp.addHeader("Location", dataURL); - resp.setContentType("text/xml"); - // debug output - AuthenticationServer.debugOutputXMLFile("CreateXMLSignatureRequest.xml", createXMLSignatureRequest); - OutputStream out = resp.getOutputStream(); - out.write(createXMLSignatureRequest.getBytes("UTF-8")); - out.flush(); - out.close(); - Logger.debug("Finished POST VerifyIdentityLink"); - } - catch (WrongParametersException ex) { - handleWrongParameters(ex, req, resp); - } - catch (MOAIDException ex) { - handleError(null, ex, req, resp); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/validator/CreateXMLSignatureResponseValidator.java b/id.server/src/at/gv/egovernment/moa/id/auth/validator/CreateXMLSignatureResponseValidator.java deleted file mode 100644 index e596e79a4..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/validator/CreateXMLSignatureResponseValidator.java +++ /dev/null @@ -1,106 +0,0 @@ -package at.gv.egovernment.moa.id.auth.validator; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.auth.data.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.data.SAMLAttribute; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * - * This class is used to validate an {@link CreateXMLSignatureResponse} - * returned by the security layer. - * This class implements the Singleton pattern. - * @author Stefan Knirsch - * @version $Id$ - */ -public class CreateXMLSignatureResponseValidator { - - /** Xpath prefix for reaching SecurityLayer 1.0 Namespaces */ - private static final String SAML = Constants.SAML_PREFIX + ":"; - /** Xpath prefix for reaching XML-DSIG Namespaces */ - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - /** Xpath expression to the SAML:Assertion element */ - private static final String ROOT = SAML + "Assertion"; - /** Xpath expression to the SAML:NameIdentifier element */ - private static final String SAML_SUBJECT_NAME_IDENTIFIER_XPATH = - SAML + "AttributeStatement/" + SAML + "Subject/" + - SAML + "NameIdentifier"; - /** Xpath expression to the SAML:Attribute element */ - private static final String SAML_ATTRIBUTE_XPATH = - ROOT + "/" + SAML + "AttributeStatement/" + SAML + "Attribute"; - /** Xpath expression to the SAML:AttributeValue element */ - private static final String SAML_ATTRIBUTE_VALUE_XPATH = - SAML + "AttributeValue"; - - - /** Singleton instance. null, if none has been created. */ - private static CreateXMLSignatureResponseValidator instance; - - /** - * Constructor for a singleton CreateXMLSignatureResponseValidator. - * @return an instance of CreateXMLSignatureResponseValidator - * @throws ValidateException if no instance can be created - */ - public static synchronized CreateXMLSignatureResponseValidator getInstance() - throws ValidateException { - if (instance == null) { - instance = new CreateXMLSignatureResponseValidator(); - } - return instance; - } - - - /** - * The Method validate is used for validating an explicit {@link CreateXMLSignatureResponse} - * @param createXMLSignatureResponse - * @param gbTarget - * @param oaURL - * @throws ValidateException - */ - public void validate(CreateXMLSignatureResponse createXMLSignatureResponse, String gbTarget, String oaURL) - throws ValidateException { - - // A3.056: more then one /saml:Assertion/saml:AttributeStatement/saml:Subject/saml:NameIdentifier - - XPathUtils.selectNodeList(createXMLSignatureResponse.getSamlAssertion(),SAML_SUBJECT_NAME_IDENTIFIER_XPATH); - - SAMLAttribute[] samlattributes = createXMLSignatureResponse.getSamlAttributes(); - boolean foundOA = false; - boolean foundGB = false; - for (int i = 0; i < samlattributes.length; i++) - { - if (samlattributes[i].getName().equals("Geschäftsbereich")) - if (samlattributes[i].getNamespace().equals("http://reference.e-government.gv.at/namespace/moa/20020822#")) - - { - foundGB = true; - if (!gbTarget.equals(samlattributes[i].getValue())) - { - throw new ValidateException("validator.13", null); - } - } - else throw new ValidateException("validator.12", null); - if (samlattributes[i].getName().equals("OA")) - if (samlattributes[i].getNamespace().equals("http://reference.e-government.gv.at/namespace/moa/20020822#")) - { - foundOA = true; - if (!oaURL.equals(samlattributes[i].getValue())) // CHECKS für die AttributeVALUES fehlen noch - { - throw new ValidateException("validator.16", new Object[] {":gefunden wurde '" + oaURL + "', erwartet wurde '" + samlattributes[i].getValue()}); - } - - } - else throw new ValidateException("validator.15", null); - } - if (!foundOA) throw new ValidateException("validator.14", null); - if (!foundGB) throw new ValidateException("validator.11", null); - - //Check if dsig:Signature exists - Element dsigSignature = (Element) XPathUtils.selectSingleNode(createXMLSignatureResponse.getSamlAssertion(),DSIG + "Signature"); - if (dsigSignature==null) throw new ValidateException("validator.05", null); - - - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java b/id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java deleted file mode 100644 index 42e3e946f..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/validator/IdentityLinkValidator.java +++ /dev/null @@ -1,156 +0,0 @@ -package at.gv.egovernment.moa.id.auth.validator; - -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * - * This class is used to validate an {@link IdentityLink} - * returned by the security layer - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class IdentityLinkValidator implements Constants { - - // - // XPath namespace prefix shortcuts - // - /** Xpath prefix for reaching PersonData Namespaces */ - private static final String PDATA = PD_PREFIX + ":"; - /** Xpath prefix for reaching SAML Namespaces */ - private static final String SAML = SAML_PREFIX + ":"; - /** Xpath prefix for reaching XML-DSIG Namespaces */ - private static final String DSIG = DSIG_PREFIX + ":"; - /** Xpath prefix for reaching ECDSA Namespaces */ - private static final String ECDSA = ECDSA_PREFIX + ":"; - /** Xpath expression to the root element */ - private static final String ROOT = "/" + SAML + "Assertion/"; - /** Xpath expression to the SAML:SubjectConfirmationData element */ - private static final String SAML_SUBJECT_CONFIRMATION_DATA_XPATH = - ROOT - + SAML - + "AttributeStatement/" - + SAML - + "Subject/" - + SAML - + "SubjectConfirmation/" - + SAML - + "SubjectConfirmationData"; -/** Xpath expression to the PersonData:Person element */ - private static final String PERSON_XPATH = - SAML_SUBJECT_CONFIRMATION_DATA_XPATH + "/" + PDATA + "Person"; - /** Xpath expression to the SAML:Attribute element */ - private static final String ATTRIBUTE_XPATH = - ROOT + SAML + "AttributeStatement/" + SAML + "Attribute"; - /** Xpath expression to the SAML:AttributeName attribute */ - private static final String ATTRIBUTE_NAME_XPATH = - ROOT + SAML + "AttributeStatement/" + SAML + "Attribute/@AttributeName"; - /** Xpath expression to the SAML:AttributeNamespace attribute */ - private static final String ATTRIBUTE_NAMESPACE_XPATH = - ROOT - + SAML - + "AttributeStatement/" - + SAML - + "Attribute/@AttributeNamespace"; - /** Xpath expression to the SAML:AttributeValue element */ - private static final String ATTRIBUTE_VALUE_XPATH = - ROOT - + SAML - + "AttributeStatement/" - + SAML - + "Attribute/" - + SAML - + "AttributeValue"; - - /** Singleton instance. null, if none has been created. */ - private static IdentityLinkValidator instance; - - /** - * Constructor for a singleton IdentityLinkValidator. - * @return a new IdentityLinkValidator instance - * @throws ValidateException if no instance can be created - */ - public static synchronized IdentityLinkValidator getInstance() - throws ValidateException { - if (instance == null) { - instance = new IdentityLinkValidator(); - } - return instance; - } - - /** - * Method validate. Validates the {@link IdentityLink} - * @param identityLink The identityLink to validate - * @throws ValidateException on any validation error - */ - public void validate(IdentityLink identityLink) throws ValidateException { - - //Search the SAML:ASSERTION Object (A2.054) - if (identityLink.getSamlAssertion() == null) - throw new ValidateException("validator.00", null); - - // Check how many saml:Assertion/saml:AttributeStatement/ - // saml:Subject/ saml:SubjectConfirmation/ - // saml:SubjectConfirmationData/pr:Person of type - // PhysicalPersonType exist (A2.056) - NodeList nl = - XPathUtils.selectNodeList(identityLink.getSamlAssertion(), PERSON_XPATH); - // If we have just one Person-Element we don't need to check the attributes - int counterPhysicalPersonType = 0; - if (nl.getLength() > 1) - for (int i = 0; i < nl.getLength(); i++) { - String xsiType = - ((Element) nl.item(i)) - .getAttributeNodeNS( - "http://www.w3.org/2001/XMLSchema-instance", - "type") - .getNodeValue(); - // We have to check if xsiType contains "PhysicalPersonType" - // An equal-check will fail because of the Namespace-prefix of the attribute value - if (xsiType.indexOf("PhysicalPersonType") > -1) - counterPhysicalPersonType++; - } - if (counterPhysicalPersonType > 1) - throw new ValidateException("validator.01", null); - - //Check the SAML:ATTRIBUTES - nl = XPathUtils.selectNodeList(identityLink.getSamlAssertion(), ATTRIBUTE_XPATH); - for (int i = 0; i < nl.getLength(); i++) { - String attributeName = - XPathUtils.getAttributeValue( - (Element) nl.item(i), - "@AttributeName", - null); - String attributeNS = - XPathUtils.getAttributeValue( - (Element) nl.item(i), - "@AttributeNamespace", - null); - if (attributeName.equals("CitizenPublicKey")) { - if (attributeNS.equals("http://www.buergerkarte.at/namespaces/personenbindung/20020506#")) { - Element attributeValue = - (Element) XPathUtils.selectSingleNode((Element) nl.item(i),SAML + "AttributeValue/" + DSIG + "RSAKeyValue"); - if (attributeValue==null) - attributeValue = - (Element) XPathUtils.selectSingleNode((Element)nl.item(i), SAML + "AttributeValue/" + ECDSA + "ECDSAKeyValue"); - if (attributeValue == null) - throw new ValidateException("validator.02", null); - } - else - throw new ValidateException("validator.03", null); - } - else - throw new ValidateException("validator.04", null); - } - - //Check if dsig:Signature exists - Element dsigSignature = (Element) XPathUtils.selectSingleNode(identityLink.getSamlAssertion(),ROOT + DSIG + "Signature"); - if (dsigSignature==null) throw new ValidateException("validator.05", null); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/validator/ValidateException.java b/id.server/src/at/gv/egovernment/moa/id/auth/validator/ValidateException.java deleted file mode 100644 index a6685fca8..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/validator/ValidateException.java +++ /dev/null @@ -1,35 +0,0 @@ -package at.gv.egovernment.moa.id.auth.validator; - -import at.gv.egovernment.moa.id.MOAIDException; - -/** - * Exception thrown while validating an incoming XML structure - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class ValidateException extends MOAIDException { - - /** - * Constructor for ValidateException. - * @param messageId - * @param parameters - */ - public ValidateException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Constructor for ValidateException. - * @param messageId - * @param parameters - * @param wrapped - */ - public ValidateException( - String messageId, - Object[] parameters, - Throwable wrapped) { - super(messageId, parameters, wrapped); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java b/id.server/src/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java deleted file mode 100644 index a238d28cb..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java +++ /dev/null @@ -1,124 +0,0 @@ -package at.gv.egovernment.moa.id.auth.validator; - -import java.security.PublicKey; -import java.security.interfaces.RSAPublicKey; - -import iaik.asn1.structures.Name; -import iaik.utils.RFC2253NameParserException; -import iaik.x509.X509Certificate; - -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.data.VerifyXMLSignatureResponse; - -/** - * This class is used to validate an {@link VerifyXMLSignatureResponse} - * returned by MOA-SPSS - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class VerifyXMLSignatureResponseValidator { - - /** Identification string for checking identity link */ - public static final String CHECK_IDENTITY_LINK = "IdentityLink"; - /** Identification string for checking authentication block */ - public static final String CHECK_AUTH_BLOCK = "AuthBlock"; - - /** Singleton instance. null, if none has been created. */ - private static VerifyXMLSignatureResponseValidator instance; - - /** - * Constructor for a singleton VerifyXMLSignatureResponseValidator. - */ - public static synchronized VerifyXMLSignatureResponseValidator getInstance() - throws ValidateException { - if (instance == null) { - instance = new VerifyXMLSignatureResponseValidator(); - } - return instance; - } - - /** - * Validates a {@link VerifyXMLSignatureResponse} returned by MOA-SPSS. - * - * @param verifyXMLSignatureResponse the <VerifyXMLSignatureResponse> - * @param identityLinkSignersSubjectDNNames subject names configured - * @param whatToCheck is used to identify whether the identityLink or the Auth-Block is validated - * @throws ValidateException on any validation error - */ - public void validate( - VerifyXMLSignatureResponse verifyXMLSignatureResponse, - String[] identityLinkSignersSubjectDNNames, String whatToCheck) - throws ValidateException { - - if (verifyXMLSignatureResponse.getSignatureCheckCode() != 0) - throw new ValidateException("validator.06", null); - if (verifyXMLSignatureResponse.getCertificateCheckCode() != 0) - if (whatToCheck.equals(CHECK_IDENTITY_LINK)) - throw new ValidateException("validator.07", null); - else - throw new ValidateException("validator.19", null); - if (verifyXMLSignatureResponse.isXmlDSIGManigest()) - if (verifyXMLSignatureResponse.getXmlDSIGManifestCheckCode() != 0) - throw new ValidateException("validator.08", null); - //Check whether the returned X509 SubjectName is in the MOA-ID configuration or not - if (identityLinkSignersSubjectDNNames != null) { - String subjectDN = ""; - X509Certificate x509Cert = verifyXMLSignatureResponse.getX509certificate(); - try { - subjectDN = ((Name) x509Cert.getSubjectDN()).getRFC2253String(); - } - catch (RFC2253NameParserException e) { - throw new ValidateException("validator.17", null); - } - boolean found = false; - for (int i = 0; i < identityLinkSignersSubjectDNNames.length; i++) { - if (identityLinkSignersSubjectDNNames[i].equals(subjectDN)) - found = true; - } - if (!found) - throw new ValidateException( - "validator.18", - new Object[] { subjectDN }); - } - } - - /** - * Method validateCertificate. - * @param vsr is the VerifyXMLSignatureResponse - * @param idl - * @throws ValidateException - */ - public void validateCertificate( - VerifyXMLSignatureResponse verifyXMLSignatureResponse, - IdentityLink idl) - throws ValidateException { - - X509Certificate x509Response = verifyXMLSignatureResponse.getX509certificate(); - PublicKey[] pubKeysIdentityLink = (PublicKey[]) idl.getPublicKey(); - - RSAPublicKey pubKeyResponse = (RSAPublicKey) x509Response.getPublicKey(); - - boolean found = false; - for (int i = 0; i < pubKeysIdentityLink.length; i++) { - if (idl.getPublicKey()[i] - instanceof java.security.interfaces.RSAPublicKey) { - /* for (int j = 0; - j < idl.getPublicKey()[i].getClass().getInterfaces().length; - j++) { - if (idl.getPublicKey()[i].getClass().getInterfaces()[j].getName() - .equals("java.security.interfaces.RSAPublicKey")) {*/ - RSAPublicKey rsakey = (RSAPublicKey) pubKeysIdentityLink[i]; - if (rsakey.getModulus().equals(pubKeyResponse.getModulus()) - && rsakey.getPublicExponent().equals( - pubKeyResponse.getPublicExponent())) - found = true; - } - - } - - if (!found) - throw new ValidateException("validator.09", null); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationBuilder.java b/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationBuilder.java deleted file mode 100644 index f91222ac3..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationBuilder.java +++ /dev/null @@ -1,678 +0,0 @@ -package at.gv.egovernment.moa.id.config; - -import iaik.pki.pathvalidation.ChainingModes; -import iaik.utils.RFC2253NameParser; -import iaik.utils.RFC2253NameParserException; - -import java.io.ByteArrayInputStream; -import java.math.BigInteger; -import java.security.Principal; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.w3c.dom.Attr; -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; -import org.w3c.dom.traversal.NodeIterator; - -import at.gv.egovernment.moa.id.config.auth.OAAuthParameter; -import at.gv.egovernment.moa.id.config.proxy.OAConfiguration; -import at.gv.egovernment.moa.id.config.proxy.OAProxyParameter; -import at.gv.egovernment.moa.id.data.IssuerAndSerial; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.BoolUtils; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.FileUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * A class that builds configuration data from a DOM based representation. - * - * @author Patrick Peck - * @author Stefan Knirsch - * @version $Id$ - */ -public class ConfigurationBuilder { - - // - // XPath namespace prefix shortcuts - // - /** an XPATH-Expression */ - private static final String CONF = Constants.MOA_ID_CONFIG_PREFIX + ":"; - /** an XPATH-Expression */ - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - - // - // chaining mode constants appearing in the configuration file - // - /** an XPATH-Expression */ - private static final String CM_CHAINING = "chaining"; - /** an XPATH-Expression */ - private static final String CM_PKIX = "pkix"; - /** an XPATH-Expression */ - private static final String DEFAULT_ENCODING = "UTF-8"; - - /** - * Default online application configuration file name - * (used when /OnlineApplication/ProxyComponent@configFileURL is null). - */ - public static final String DEFAULT_OA_CONFIG_FILENAME = "MOAConfig.xml"; - - // - // XPath expressions to select certain parts of the configuration - // - /** an XPATH-Expression */ - private static final String ROOT = "/" + CONF + "MOA-IDConfiguration/"; - /** an XPATH-Expression */ - private static final String ROOTOA = "/" + CONF + "Configuration/"; - /** an XPATH-Expression */ - private static final String AUTH_BKU_XPATH = - ROOT + CONF + "AuthComponent/" + CONF + "BKUSelection"; - /** an XPATH-Expression */ - private static final String AUTH_SECLAYER_TRANSFORMS_INFO_FILENAME_XPATH = - ROOT + CONF + "AuthComponent/" + CONF + "SecurityLayer/" + CONF + "TransformsInfo/@filename"; - /** an XPATH-Expression */ - private static final String AUTH_MOA_SP_XPATH = - ROOT + CONF + "AuthComponent/" + CONF + "MOA-SP"; - /** an XPATH-Expression */ - private static final String AUTH_MOA_SP_VERIFY_IDENTITY_TRUST_ID_XPATH = - ROOT + CONF + "AuthComponent/" + CONF + "MOA-SP/" + CONF + "VerifyIdentityLink/" + CONF + "TrustProfileID"; - /** an XPATH-Expression */ - private static final String AUTH_MOA_SP_VERIFY_AUTH_TRUST_ID_XPATH = - ROOT + CONF + "AuthComponent/" + CONF + "MOA-SP/" + CONF + "VerifyAuthBlock/" + CONF + "TrustProfileID"; - /** an XPATH-Expression */ - private static final String AUTH_MOA_SP_VERIFY_AUTH_VERIFY_ID_XPATH = - ROOT + CONF + "AuthComponent/" + CONF + "MOA-SP/" + CONF + "VerifyAuthBlock/" + CONF + "VerifyTransformsInfoProfileID"; - - /** an XPATH-Expression */ - private static final String AUTH_IDENTITY_LINK_X509SUBJECTNAME_XPATH = - ROOT + CONF + "AuthComponent/" + CONF + "IdentityLinkSigners/" + CONF + "X509SubjectName"; - /** an XPATH-Expression */ - private static final String PROXY_AUTH_XPATH = - ROOT + CONF + "ProxyComponent/" + CONF + "AuthComponent"; - - /** an XPATH-Expression */ - private static final String OA_XPATH = ROOT + CONF + "OnlineApplication"; - /** an XPATH-Expression */ - private static final String OA_LOGIN_XPATH = ROOT + CONF + "OnlineApplication/@loginURL"; - /** an XPATH-Expression */ - private static final String OA_AUTH_COMPONENT_XPATH = CONF + "AuthComponent"; - /** an XPATH-Expression */ - private static final String OA_PROXY_COMPONENT_XPATH = CONF + "ProxyComponent"; - /** an XPATH-Expression */ - private static final String OA_PROXY_COMPONENT_ABSOLUTE_XPATH = ROOT + CONF + "OnlineApplication/" + CONF + "ProxyComponent"; - /** an XPATH-Expression */ - private static final String OA_PROXY_URL_XPATH = CONF + "ProxyComponent/@configFileURL"; - /** an XPATH-Expression */ - private static final String OA_PROXY_SESSION_TIMEOUT_XPATH = CONF + "ProxyComponent/@sessionTimeOut"; - /** an XPATH-Expression */ - private static final String OA_PROXY_LOGIN_PARA_XPATH = CONF + "ProxyComponent/@loginParameterResolverImpl"; - /** an XPATH-Expression */ - private static final String OA_PROXY_CONNECTION_BUILDER_XPATH = CONF + "ProxyComponent/@connectionBuilderImpl"; - /** an XPATH-Expression */ - private static final String CONNECTION_PARAMETER_URL_XPATH = - CONF + "ConnectionParameter/@URL"; - /** an XPATH-Expression */ - private static final String CONNECTION_PARAMETER_ACCEPTED_CERTS_XPATH = - CONF + "ConnectionParameter/" + CONF + "AcceptedServerCertificates"; - /** an XPATH-Expression */ - private static final String CONNECTION_PARAMETERN_KEYSTORE_XPATH = - CONF + "ConnectionParameter/" + CONF + "ClientKeyStore"; - /** an XPATH-Expression */ - private static final String CONNECTION_PARAMETER_KEYSTORE_PASS_XPATH = - CONNECTION_PARAMETERN_KEYSTORE_XPATH + "/@password"; - /** an XPATH-Expression */ - private static final String GENERIC_CONFIGURATION_XPATH = - ROOT + CONF + "GenericConfiguration"; - /** an XPATH-Expression */ - private static final String OACONF_LOGIN_TYPE_XPATH = - ROOTOA + CONF + "LoginType"; - /** an XPATH-Expression */ - private static final String OACONF_PARAM_AUTH_PARAMETER_XPATH = - ROOTOA + CONF + "ParamAuth/" + CONF + "Parameter"; - /** an XPATH-Expression */ - private static final String OACONF_USER_ID_XPATH = - ROOTOA + CONF + "BasicAuth/" + CONF + "UserID"; - /** an XPATH-Expression */ - private static final String OACONF_PASSWORD_XPATH = - ROOTOA + CONF + "BasicAuth/" + CONF + "Password"; - /** an XPATH-Expression */ - private static final String OACONF_HEADER_AUTH_HEADER_XPATH = - ROOTOA + CONF + "HeaderAuth/" + CONF + "Header"; - /** an XPATH-Expression */ - private static final String CHAINING_MODES_XPATH = - ROOT + CONF + "ChainingModes"; - /** an XPATH-Expression */ - private static final String CHAINING_MODES_DEFAULT_XPATH = - CHAINING_MODES_XPATH + "/@systemDefaultMode"; - /** an XPATH-Expression */ - private static final String TRUST_ANCHOR_XPATH = - ROOT + CONF + "ChainingModes/" + CONF + "TrustAnchor"; - /** an XPATH-Expression */ - private static final String ISSUER_XPATH = DSIG + "X509IssuerName"; - /** an XPATH-Expression */ - private static final String SERIAL_XPATH = DSIG + "X509SerialNumber"; - /** an XPATH-Expression */ - private static final String TRUSTED_CA_CERTIFICATES_XPATH = - ROOT + CONF + "TrustedCACertificates"; - - /** The root element of the MOA-ID configuration */ - private Element configElem; - - /** - * Creates a new MOAConfigurationProvider. - * - * @param configElem The root element of the MOA-ID configuration. - */ - public ConfigurationBuilder(Element configElem) { - this.configElem = configElem; - } - - /** - * Returns the root element of the MOA-ID configuration. - * - * @return The root element of the MOA-ID configuration. - */ - public Element getConfigElem() { - return configElem; - } - - /** - * Build a ConnectionParameter object containing all information - * of the moa-sp element in the authentication component - * @return ConnectionParameter of the authentication component moa-sp element - */ - public ConnectionParameter buildAuthBKUConnectionParameter() { - - Element authBKU = (Element) XPathUtils.selectSingleNode(getConfigElem(), AUTH_BKU_XPATH); - if (authBKU==null) return null; - return buildConnectionParameter(authBKU); - } - - /** - * Method buildAuthBKUSelectionType. - * - * Build a string with the configuration value of BKUSelectionAlternative - * - * @return String - */ - public String buildAuthBKUSelectionType() { - - Element authBKU = (Element) XPathUtils.selectSingleNode(getConfigElem(), AUTH_BKU_XPATH); - if (authBKU==null) return null; - return (authBKU).getAttribute("BKUSelectionAlternative"); - } - - /** - * Build a string array with all filenames leading - * to the Transforms Information for the Security Layer - * @return String[] of filenames to the Security Layer Transforms Information - */ - public String[] buildTransformsInfoFileNames() { - - List transformsInfoFileNames = new ArrayList(); - NodeIterator tiIter = - XPathUtils.selectNodeIterator( - getConfigElem(), - AUTH_SECLAYER_TRANSFORMS_INFO_FILENAME_XPATH); - Attr tiElem; - - while ((tiElem = (Attr) tiIter.nextNode()) != null) { - - String tiFileName = tiElem.getNodeValue(); - transformsInfoFileNames.add(tiFileName); - } - String[] result = new String[transformsInfoFileNames.size()]; - transformsInfoFileNames.toArray(result); - - return result; - } - - /** - * Build a ConnectionParameter bean containing all information - * of the authentication component moa-sp element - * @return ConnectionParameter of the authentication component moa-sp element - */ - public ConnectionParameter buildMoaSpConnectionParameter() { - - Element connectionParameter = (Element) XPathUtils.selectSingleNode(getConfigElem(), AUTH_MOA_SP_XPATH); - if (connectionParameter==null) return null; - return buildConnectionParameter(connectionParameter); - } - - /** - * Return a string with a url-reference to the VerifyIdentityLink trust - * profile id within the moa-sp part of the authentication component - * @return String with a url-reference to the VerifyIdentityLink trust profile ID - */ - public String getMoaSpIdentityLinkTrustProfileID() { - return XPathUtils.getElementValue( - getConfigElem(), - AUTH_MOA_SP_VERIFY_IDENTITY_TRUST_ID_XPATH, - ""); - } - /** - * Return a string representation of an URL pointing to trusted CA Certificates - * @return String representation of an URL pointing to trusted CA Certificates - */ - public String getTrustedCACertificates() { - return XPathUtils.getElementValue( - getConfigElem(), - TRUSTED_CA_CERTIFICATES_XPATH,null); - } - - /** - * Return a string with a url-reference to the VerifyAuthBlock trust - * profile id within the moa-sp part of the authentication component - * @return String with a url-reference to the VerifyAuthBlock trust profile ID - */ - public String getMoaSpAuthBlockTrustProfileID() { - return XPathUtils.getElementValue( - getConfigElem(), - AUTH_MOA_SP_VERIFY_AUTH_TRUST_ID_XPATH, - ""); - } - /** - * Build a string array with references to all verify transform info - * IDs within the moa-sp part of the authentication component - * @return A string array containing all urls to the - * verify transform info IDs - */ - public String[] buildMoaSpAuthBlockVerifyTransformsInfoIDs() { - - List verifyTransformsInfoIDs = new ArrayList(); - NodeIterator vtIter = - XPathUtils.selectNodeIterator( - getConfigElem(), - AUTH_MOA_SP_VERIFY_AUTH_VERIFY_ID_XPATH); - Element vtElem; - - while ((vtElem = (Element) vtIter.nextNode()) != null) { - - String vtInfoIDs = DOMUtils.getText(vtElem); - verifyTransformsInfoIDs.add(vtInfoIDs); - } - String[] result = new String[verifyTransformsInfoIDs.size()]; - verifyTransformsInfoIDs.toArray(result); - - return result; - } - - /** - * Return a string array containing all X509 Subject Names - * of the Identity Link Signers - * @return String with a url-reference to the VerifyAuthBlock trust profile ID - */ - public String[] getIdentityLink_X509SubjectNames() { - - List x509SubjectNameList = new ArrayList(); - NodeIterator x509Iter = - XPathUtils.selectNodeIterator( - getConfigElem(), - AUTH_IDENTITY_LINK_X509SUBJECTNAME_XPATH); - Element x509Elem; - - while ((x509Elem = (Element) x509Iter.nextNode()) != null) { - - String vtInfoIDs = DOMUtils.getText(x509Elem); - x509SubjectNameList.add(vtInfoIDs); - } - String[] result = new String[x509SubjectNameList.size()]; - x509SubjectNameList.toArray(result); - - return result; - } - - /** - * Build an array of the OnlineApplication Parameters containing information - * about the authentication component - * @return An OAProxyParameter array containing beans - * with all relevant information for the authentication component of the online - * application - */ - public OAAuthParameter[] buildOnlineApplicationAuthParameters() { - - List OA_set = new ArrayList(); - NodeList OAIter = XPathUtils.selectNodeList(getConfigElem(), OA_XPATH); - - for (int i = 0; i < OAIter.getLength(); i++) { - Element oAElem = (Element) OAIter.item(i); - Element authComponent = - (Element) XPathUtils.selectSingleNode(oAElem, OA_AUTH_COMPONENT_XPATH); - - OAAuthParameter oap = new OAAuthParameter(); - oap.setPublicURLPrefix(oAElem.getAttribute("publicURLPrefix")); - //Check if there is an Auth-Block to read from configuration - if (authComponent!=null) - { - oap.setProvideZMRZahl(BoolUtils.valueOf(authComponent.getAttribute("provideZMRZahl"))); - oap.setProvideAuthBlock(BoolUtils.valueOf(authComponent.getAttribute("provideAUTHBlock"))); - oap.setProvideIdentityLink(BoolUtils.valueOf(authComponent.getAttribute("provideIdentityLink"))); - } - OA_set.add(oap); - } - OAAuthParameter[] result = - new OAAuthParameter[OA_set.size()]; - OA_set.toArray(result); - - return result; - - } - - /** - * Build a bean containing all information about the ProxyComponent - * @return The ConnectionParameter for the Proxy Component - */ - public ConnectionParameter buildAuthComponentConnectionParameter() - { - - Element connectionParameter = (Element) XPathUtils.selectSingleNode(getConfigElem(), PROXY_AUTH_XPATH); - if (connectionParameter==null) return null; - return buildConnectionParameter(connectionParameter); - - } - /** - * Method buildConnectionParameter: internal Method for creating a - * ConnectionParameter object with all data found in the incoming element - * @param root: this Element contains the ConnectionParameter - * @return ConnectionParameter - */ - protected ConnectionParameter buildConnectionParameter(Element root) - { - ConnectionParameter result = new ConnectionParameter(); - result.setAcceptedServerCertificates( - XPathUtils.getElementValue(root,CONNECTION_PARAMETER_ACCEPTED_CERTS_XPATH,null)); - result.setUrl( - XPathUtils.getAttributeValue(root, CONNECTION_PARAMETER_URL_XPATH, "")); - result.setClientKeyStore( - XPathUtils.getElementValue(root,CONNECTION_PARAMETERN_KEYSTORE_XPATH,null)); - result.setClientKeyStorePassword( - XPathUtils.getAttributeValue(root,CONNECTION_PARAMETER_KEYSTORE_PASS_XPATH,"")); - - if ((result.getAcceptedServerCertificates()==null) - && (result.getUrl()=="") - && (result.getClientKeyStore()==null) - && (result.getClientKeyStorePassword()=="")) - return null; - - return result; - } - - /** - * Build an array of OnlineApplication Parameter Beans containing information - * about the proxy component - * @return An OAProxyParameter array containing beans - * with all relevant information for the proxy component of the online - * application - */ - public OAProxyParameter[] buildOnlineApplicationProxyParameters() throws ConfigurationException{ - - List oA_list = new ArrayList(); - NodeList OAIter = XPathUtils.selectNodeList(getConfigElem(), OA_XPATH); - - for (int i = 0; i < OAIter.getLength(); i++) { - Element oAElem = (Element) OAIter.item(i); - OAProxyParameter oap = new OAProxyParameter(); - - oap.setPublicURLPrefix(oAElem.getAttribute("publicURLPrefix")); - Element proxyComponentElem = (Element) XPathUtils.selectSingleNode(oAElem,OA_PROXY_COMPONENT_XPATH); - if (proxyComponentElem != null) { - oap.setConfigFileURL(XPathUtils.getAttributeValue(oAElem, OA_PROXY_URL_XPATH, null)); - // default session time out: 3600 sec = 1 h - oap.setSessionTimeOut(new Integer(XPathUtils.getAttributeValue(oAElem,OA_PROXY_SESSION_TIMEOUT_XPATH,"3600")).intValue()); - oap.setLoginParameterResolverImpl(XPathUtils.getAttributeValue(oAElem, OA_PROXY_LOGIN_PARA_XPATH, null)); - oap.setConnectionBuilderImpl(XPathUtils.getAttributeValue(oAElem,OA_PROXY_CONNECTION_BUILDER_XPATH, null)); - - ConnectionParameter conPara = buildConnectionParameter(proxyComponentElem); - oap.setConnectionParameter(conPara); - - OAConfiguration oaConf = buildOAConfiguration(getOAConfigElement(oap)); - oap.setOaConfiguration(oaConf); - - oA_list.add(oap); - } - } - OAProxyParameter[] result = - new OAProxyParameter[oA_list.size()]; - oA_list.toArray(result); - - return result; - - } - - /** - * Build the mapping of generic configuration properties. - * - * @return a {@link Map} of generic configuration properties (a name to value - * mapping) from the configuration. - */ - public Map buildGenericConfiguration() { - - Map genericConfiguration = new HashMap(); - NodeIterator gcIter = - XPathUtils.selectNodeIterator( - getConfigElem(), - GENERIC_CONFIGURATION_XPATH); - Element gcElem; - - while ((gcElem = (Element) gcIter.nextNode()) != null) { - String gcName = gcElem.getAttribute("name"); - String gcValue = gcElem.getAttribute("value"); - - genericConfiguration.put(gcName, gcValue); - } - - return genericConfiguration; - } - /** - * Method buildOAConfiguration. - * - * Build an {@link OAConfiguration} Object from the given configuration DOM element - * - * @param root - * @return OAConfiguration - * @throws ConfigurationException - */ - public OAConfiguration buildOAConfiguration(Element root) throws ConfigurationException{ - - OAConfiguration oaConfiguration = new OAConfiguration(); - - //The LoginType hast to be "stateless" or "stateful" to be valid - oaConfiguration.setLoginType( - XPathUtils.getElementValue(root, OACONF_LOGIN_TYPE_XPATH, null)); - - //Try to build the Parameter Auth Parameters - NodeIterator paramAuthIter = - XPathUtils.selectNodeIterator( - root, - OACONF_PARAM_AUTH_PARAMETER_XPATH); - Element paramAuthElem; - HashMap paramAuthMap = new HashMap(); - while ((paramAuthElem = (Element) paramAuthIter.nextNode()) != null) { - String name = XPathUtils.getAttributeValue(paramAuthElem, "@Name", null); - String value = XPathUtils.getAttributeValue(paramAuthElem, "@Value", null); - if (paramAuthMap.containsKey(name)) - throw new ConfigurationException("config.06", new Object[]{"Doppelter Wert für Parameter per HeaderAuthentication"}); - paramAuthMap.put(name, value); - } - oaConfiguration.setParamAuthMapping(paramAuthMap); - // Try to build the BasicAuthParameters - oaConfiguration.setBasicAuthUserIDMapping( - XPathUtils.getElementValue(root, OACONF_USER_ID_XPATH, null)); - oaConfiguration.setBasicAuthPasswordMapping( - XPathUtils.getElementValue(root, OACONF_PASSWORD_XPATH, null)); - - //Try to build the Parameter Auth Parameters - NodeIterator headerAuthIter = XPathUtils.selectNodeIterator(root,OACONF_HEADER_AUTH_HEADER_XPATH); - - Element headerAuthElem; - HashMap headerAuthMap = new HashMap(); - while ((headerAuthElem = (Element) headerAuthIter.nextNode()) != null) { - String name = - XPathUtils.getAttributeValue(headerAuthElem, "@Name", null); - String value = - XPathUtils.getAttributeValue(headerAuthElem, "@Value", null); - // Contains Key (Neue Config-Exception: doppelte werte) - if (headerAuthMap.containsKey(name)) - throw new ConfigurationException("config.06", new Object[]{"Doppelter Wert für Parameter per HeaderAuthentication"}); - headerAuthMap.put(name, value); - } - oaConfiguration.setHeaderAuthMapping(headerAuthMap); - - if (paramAuthMap.size() == 0) { - if (oaConfiguration.getBasicAuthUserIDMapping() == null) { - oaConfiguration.setAuthType(OAConfiguration.HEADER_AUTH); - } - else - oaConfiguration.setAuthType(OAConfiguration.BASIC_AUTH); - } - else - oaConfiguration.setAuthType(OAConfiguration.PARAM_AUTH); - - return oaConfiguration; - } - - /** - * Reads the configuration file of the online application, and creates a DOM tree from it. - * If /OnlineApplication/ProxyComponent@configFileURL is not given, - * uses default configuration file location. - * - * @param oap configuration data of online application, meant for use by MOA-ID-PROXY - * @return Element DOM tree root element - * @throws ConfigurationException on any exception thrown - */ - private Element getOAConfigElement(OAProxyParameter oap) throws ConfigurationException - { - try { - String configFileURL = oap.getConfigFileURL(); - if (configFileURL == null) { - // use default config file URL, when config file URL is not given - configFileURL = oap.getConnectionParameter().getUrl(); - if (configFileURL.charAt(configFileURL.length() - 1) != '/') - configFileURL += "/"; - configFileURL += DEFAULT_OA_CONFIG_FILENAME; - } - Logger.info("Loading MOA-OA configuration " + configFileURL); - Element configElem = DOMUtils.parseXmlValidating( - new ByteArrayInputStream(FileUtils.readURL(configFileURL))); - return configElem; - } - catch (Throwable t) { - throw new ConfigurationException("config.03", new Object[] {"OAConfiguration"} , t); - } - } - - /** - * Returns the default chaining mode from the configuration. - * - * @return The default chaining mode. - */ - public String getDefaultChainingMode() { - String defaultChaining = - XPathUtils.getAttributeValue( - getConfigElem(), - CHAINING_MODES_DEFAULT_XPATH, - CM_CHAINING); - - return translateChainingMode(defaultChaining); - - } - /** - * Build the chaining modes for all configured trust anchors. - * - * @return The mapping from trust anchors to chaining modes. - */ - public Map buildChainingModes() { - Map chainingModes = new HashMap(); - NodeIterator trustIter = - XPathUtils.selectNodeIterator(getConfigElem(), TRUST_ANCHOR_XPATH); - Element trustAnchorElem; - - while ((trustAnchorElem = (Element) trustIter.nextNode()) != null) { - IssuerAndSerial issuerAndSerial = buildIssuerAndSerial(trustAnchorElem); - String mode = trustAnchorElem.getAttribute("mode"); - - if (issuerAndSerial != null) { - chainingModes.put(issuerAndSerial, translateChainingMode(mode)); - } - } - - return chainingModes; - } - - /** - * Build an IssuerAndSerial from the DOM representation. - * - * @param root The root element (being of type dsig: - * X509IssuerSerialType. - * @return The issuer and serial number contained in the root - * element or null if could not be built for any reason. - */ - private IssuerAndSerial buildIssuerAndSerial(Element root) { - String issuer = XPathUtils.getElementValue(root, ISSUER_XPATH, null); - String serial = XPathUtils.getElementValue(root, SERIAL_XPATH, null); - - if (issuer != null && serial != null) { - try { - RFC2253NameParser nameParser = new RFC2253NameParser(issuer); - Principal issuerDN = nameParser.parse(); - - return new IssuerAndSerial(issuerDN, new BigInteger(serial)); - } catch (RFC2253NameParserException e) { - warn("config.09", new Object[] { issuer, serial }, e); - return null; - } catch (NumberFormatException e) { - warn("config.09", new Object[] { issuer, serial }, e); - return null; - } - } - return null; - } - - /** - * Translate the chaining mode from the configuration file to one used in the - * IAIK MOA API. - * - * @param chainingMode The chaining mode from the configuration. - * @return The chaining mode as provided by the ChainingModes - * interface. - * @see iaik.pki.pathvalidation.ChainingModes - */ - private String translateChainingMode(String chainingMode) { - if (chainingMode.equals(CM_CHAINING)) { - return ChainingModes.CHAIN_MODE; - } else if (chainingMode.equals(CM_PKIX)) { - return ChainingModes.PKIX_MODE; - } else { - return ChainingModes.CHAIN_MODE; - } - } - - /** - * Method warn. - * @param messageId to identify a country-specific message - * @param parameters for the logger - */ - // - // various utility methods - // - - private static void warn(String messageId, Object[] parameters) { - Logger.warn(MOAIDMessageProvider.getInstance().getMessage(messageId, parameters)); - } - - /** - * Method warn. - * @param messageId to identify a country-specific message - * @param args for the logger - * @param t as throwabl - */ - private static void warn(String messageId, Object[] args, Throwable t) { - Logger.warn(MOAIDMessageProvider.getInstance().getMessage(messageId, args), t); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationException.java b/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationException.java deleted file mode 100644 index 2ebec0398..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationException.java +++ /dev/null @@ -1,31 +0,0 @@ -package at.gv.egovernment.moa.id.config; - -import at.gv.egovernment.moa.id.MOAIDException; - -/** - * Exception signalling an error in the configuration. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ConfigurationException extends MOAIDException { - - /** - * Create a MOAConfigurationException. - */ - public ConfigurationException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Create a MOAConfigurationException. - */ - public ConfigurationException( - String messageId, - Object[] parameters, - Throwable wrapped) { - - super(messageId, parameters, wrapped); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationProvider.java b/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationProvider.java deleted file mode 100644 index 5d523ba62..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/ConfigurationProvider.java +++ /dev/null @@ -1,105 +0,0 @@ -package at.gv.egovernment.moa.id.config; - -import java.math.BigInteger; -import java.security.Principal; -import java.security.cert.X509Certificate; -import java.util.Map; - -import at.gv.egovernment.moa.id.data.IssuerAndSerial; - -/** - * Base class for AuthConfigurationProvider and ProxyConfigurationProvider, - * providing functions common to both of them. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class ConfigurationProvider { - - /** - * Constructor - */ - public ConfigurationProvider() { - super(); - } - - /** - * The name of the system property which contains the file name of the - * configuration file. - */ - public static final String CONFIG_PROPERTY_NAME = - "moa.id.configuration"; - - /** - * The name of the generic configuration property giving the certstore directory path. - */ - public static final String DIRECTORY_CERTSTORE_PARAMETER_PROPERTY = - "DirectoryCertStoreParameters.RootDir"; - - /** - * A Map which contains generic configuration information. Maps a - * configuration name (a String) to a configuration value (also a - * String). - */ - protected Map genericConfiguration; - - /** The default chaining mode. */ - protected String defaultChainingMode; - - /** - * A Map which contains the IssuerAndSerial to - * chaining mode (a String) mapping. - */ - protected Map chainingModes; - - /** - * the URL for the trusted CA Certificates - */ - protected String trustedCACertificates; - - /** - * Returns the mapping of generic configuration properties. - * - * @return The mapping of generic configuration properties (a name to value - * mapping) from the configuration. - */ - public Map getGenericConfiguration() { - return genericConfiguration; - } - - /** - * Returns the value of a parameter from the generic configuration section. - * - * @return the parameter value; null if no such parameter - */ - public String getGenericConfigurationParameter(String parameter) { - if (! genericConfiguration.containsKey(parameter)) - return null; - return (String)genericConfiguration.get(parameter); - } - - /** - * Return the chaining mode for a given trust anchor. - * - * @param trustAnchor The trust anchor for which the chaining mode should be - * returned. - * @return The chaining mode for the given trust anchor. If the trust anchor - * has not been configured separately, the system default will be returned. - */ - public String getChainingMode(X509Certificate trustAnchor) { - Principal issuer = trustAnchor.getIssuerDN(); - BigInteger serial = trustAnchor.getSerialNumber(); - IssuerAndSerial issuerAndSerial = new IssuerAndSerial(issuer, serial); - - String mode = (String) chainingModes.get(issuerAndSerial); - return mode != null ? mode : defaultChainingMode; - } - - /** - * Returns the trustedCACertificates. - * @return String - */ - public String getTrustedCACertificates() { - return trustedCACertificates; - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/config/ConnectionParameter.java b/id.server/src/at/gv/egovernment/moa/id/config/ConnectionParameter.java deleted file mode 100644 index 30b09cfe0..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/ConnectionParameter.java +++ /dev/null @@ -1,106 +0,0 @@ -package at.gv.egovernment.moa.id.config; - -/** - * This bean class is used to store data for various connectionParameter - * within the MOA-ID configuration - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class ConnectionParameter { - - /** - * Server URL - */ - private String url; - /** - * File URL for a directory containing PKCS#12 server SSL certificates. - * From these certificates, a X509 trust store will be assembled for use - * by a JSSE TrustManager. - * This field will only be used in case of an HTTPS URL. - */ - private String acceptedServerCertificates; - /** - * File URL of a X509 key store containing the private key to be used - * for an HTTPS connection when the server requires client authentication. - * This field will only be used in case of an HTTPS URL. - */ - private String clientKeyStore; - /** - * Password protecting the client key store. - */ - private String clientKeyStorePassword; - - /** - * Checks whether the URL scheme is "https". - * @return true in case of an URL starting with "https" - */ - public boolean isHTTPSURL() { - return getUrl().indexOf("https") == 0; - } - - /** - * Returns the url. - * @return String - */ - public String getUrl() { - return url; - } - - /** - * Returns the acceptedServerCertificates. - * @return String - */ - public String getAcceptedServerCertificates() { - return acceptedServerCertificates; - } - - /** - * Sets the acceptedServerCertificates. - * @param acceptedServerCertificates The acceptedServerCertificates to set - */ - public void setAcceptedServerCertificates(String acceptedServerCertificates) { - this.acceptedServerCertificates = acceptedServerCertificates; - } - - /** - * Sets the url. - * @param url The url to set - */ - public void setUrl(String url) { - this.url = url; - } - - /** - * Returns the clientKeyStore. - * @return String - */ - public String getClientKeyStore() { - return clientKeyStore; - } - - /** - * Returns the clientKeyStorePassword. - * @return String - */ - public String getClientKeyStorePassword() { - return clientKeyStorePassword; - } - - /** - * Sets the clientKeyStore. - * @param clientKeyStore The clientKeyStore to set - */ - public void setClientKeyStore(String clientKeyStore) { - this.clientKeyStore = clientKeyStore; - } - - /** - * Sets the clientKeyStorePassword. - * @param clientKeyStorePassword The clientKeyStorePassword to set - */ - public void setClientKeyStorePassword(String clientKeyStorePassword) { - this.clientKeyStorePassword = clientKeyStorePassword; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java b/id.server/src/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java deleted file mode 100644 index e3c869d53..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/auth/AuthConfigurationProvider.java +++ /dev/null @@ -1,341 +0,0 @@ -package at.gv.egovernment.moa.id.config.auth; - -import java.io.BufferedInputStream; -import java.io.FileInputStream; -import java.io.IOException; -import java.io.InputStream; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.config.ConfigurationBuilder; -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.FileUtils; - -/** - * A class providing access to the Auth Part of the MOA-ID configuration data. - * - *

    Configuration data is read from an XML file, whose location is given by - * the moa.id.configuration system property.

    - *

    This class implements the Singleton pattern. The reload() - * method can be used to update the configuration data. Therefore, it is not - * guaranteed that consecutive calls to getInstance() will return - * the same AuthConfigurationProvider all the time. During the - * processing of a web service request, the current - * TransactionContext should be used to obtain the - * AuthConfigurationProvider local to that request.

    - * - * @author Patrick Peck - * @author Stefan Knirsch - * - * @version $Id$ - */ -public class AuthConfigurationProvider extends ConfigurationProvider { - - /** DEFAULT_ENCODING is "UTF-8" */ - private static final String DEFAULT_ENCODING="UTF-8"; - /** - * The name of the generic configuration property giving the authentication session time out. - */ - public static final String AUTH_SESSION_TIMEOUT_PROPERTY = - "AuthenticationSession.TimeOut"; - /** - * The name of the generic configuration property giving the authentication data time out. - */ - public static final String AUTH_DATA_TIMEOUT_PROPERTY = - "AuthenticationData.TimeOut"; - - /** - * BKUSelectionType HTMLComplete, according to schema type BKUSelectionType - */ - public static final String BKU_SELECTION_TYPE_HTMLCOMPLETE = - "HTMLComplete"; - - /** - * BKUSelectionType HTMLSelect, according to schema type BKUSelectionType - */ - public static final String BKU_SELECTION_TYPE_HTMLSELECT = - "HTMLSelect"; - - /** Singleton instance. null, if none has been created. */ - private static AuthConfigurationProvider instance; - - // - // configuration data - // - - /** - * configuration files containing transformations for rendering in the - * secure viewer of the security layer implementation; - * multiple files can be given for different mime types - */ - private String[] transformsInfoFileNames; - /** - * transformations for rendering in the secure viewer of the security layer implementation, - * read from {@link transformsInfoFileNames}; - * multiple transformation can be given for different mime types - */ - private String[] transformsInfos; - /** - * parameters for connection to MOA SP component - */ - private ConnectionParameter moaSpConnectionParameter; - /** - * trust profile ID to be used for verifying the identity link signature via MOA ID SP - */ - private String moaSpIdentityLinkTrustProfileID; - /** - * trust profile ID to be used for verifying the AUTH block signature via MOA ID SP - */ - private String moaSpAuthBlockTrustProfileID; - /** - * transformations to be used for verifying the AUTH block signature via MOA ID SP - */ - private String[] moaSpAuthBlockVerifyTransformsInfoIDs; - /** - * X509 SubjectNames which will be trusted - */ - private String[] identityLinkX509SubjectNames; - - /** - * configuration parameters for online applications - */ - private OAAuthParameter[] onlineApplicationAuthParameters; - /** - * the Selection Type of the bku Selection Element - */ - private String bKUSelectionType; - /** - * is the bku Selection Element present? - */ - private boolean bKUSelectable; - /** - * the bku Selection Connection Parameters - */ - private ConnectionParameter bKUConnectionParameter; - /** - * Return the single instance of configuration data. - * - * @return AuthConfigurationProvider The current configuration data. - * @throws ConfigurationException - */ - public static synchronized AuthConfigurationProvider getInstance() - throws ConfigurationException { - - if (instance == null) { - reload(); - } - return instance; - } - - /** - * Reload the configuration data and set it if successful. - * - * @return AuthConfigurationProvider The loaded configuration data. - * @throws ConfigurationException Failure to load the configuration data. - */ - public static synchronized AuthConfigurationProvider reload() - throws ConfigurationException { - String fileName = System.getProperty(ConfigurationProvider.CONFIG_PROPERTY_NAME); - if (fileName == null) { - throw new ConfigurationException("config.01", null); - } - Logger.info("Loading MOA-ID-AUTH configuration " + fileName); - - instance = new AuthConfigurationProvider(fileName); - return instance; - } - - /** - * Constructor for AuthConfigurationProvider. - * @param fileName - * @throws ConfigurationException - */ - public AuthConfigurationProvider(String fileName) - throws ConfigurationException { - - load(fileName); - } - - /** - * Load the configuration data from XML file with the given name and build - * the internal data structures representing the MOA ID configuration. - * - * @param fileName The name of the XML file to load. - * @throws ConfigurationException The MOA configuration could not be - * read/built. - */ - private void load(String fileName) throws ConfigurationException { - InputStream stream = null; - Element configElem; - ConfigurationBuilder builder; - - try { - // load the main config file - stream = new BufferedInputStream(new FileInputStream(fileName)); - configElem = DOMUtils.parseXmlValidating(stream); - } catch (Throwable t) { - throw new ConfigurationException("config.03", null, t); - } - finally { - try { - if (stream != null) { - stream.close(); - } - } catch (IOException e) { - } - } - try { - // build the internal datastructures - builder = new ConfigurationBuilder(configElem); - bKUConnectionParameter = builder.buildAuthBKUConnectionParameter(); - bKUSelectable = (bKUConnectionParameter!=null); - bKUSelectionType = builder.buildAuthBKUSelectionType(); - genericConfiguration = builder.buildGenericConfiguration(); - transformsInfoFileNames = builder.buildTransformsInfoFileNames(); - loadTransformsInfos(); - moaSpConnectionParameter = builder.buildMoaSpConnectionParameter(); - moaSpIdentityLinkTrustProfileID = builder.getMoaSpIdentityLinkTrustProfileID(); - moaSpAuthBlockTrustProfileID = builder.getMoaSpAuthBlockTrustProfileID(); - moaSpAuthBlockVerifyTransformsInfoIDs = builder.buildMoaSpAuthBlockVerifyTransformsInfoIDs(); - onlineApplicationAuthParameters = builder.buildOnlineApplicationAuthParameters(); - identityLinkX509SubjectNames = builder.getIdentityLink_X509SubjectNames(); - defaultChainingMode = builder.getDefaultChainingMode(); - chainingModes = builder.buildChainingModes(); - trustedCACertificates = builder.getTrustedCACertificates(); } - catch (Throwable t) { - throw new ConfigurationException("config.02", null, t); - } - } - - /** - * Loads the transformsInfos from files. - * @throws Exception on any exception thrown - */ - private void loadTransformsInfos() throws Exception { - transformsInfos = new String[transformsInfoFileNames.length]; - for (int i = 0; i < transformsInfoFileNames.length; i++) { - String fileURL = transformsInfoFileNames[i]; - String transformsInfo = FileUtils.readURL(fileURL, DEFAULT_ENCODING); - transformsInfos[i] = transformsInfo; - } - } - /** - * Return a string array with all filenames leading - * to the Transforms Information for the Security Layer - * @return String[] of filenames to the Security Layer Transforms Information - */ - public String[] getTransformsInfoFileNames() { - return transformsInfoFileNames; - } - - /** - * Build an array of the OnlineApplication Parameters containing information - * about the authentication component - * @return An OAProxyParameter array containing beans - * with all relevant information for theauthentication component of the online - * application - */ - public OAAuthParameter[] getOnlineApplicationParameters() { - return onlineApplicationAuthParameters; - } - - /** - * Provides configuration information regarding the online application behind - * the given URL, relevant to the MOA-ID Auth component. - * - * @param oaURL URL requested for an online application - * @return an OAAuthParameter, or null - * if none is applicable - */ - public OAAuthParameter getOnlineApplicationParameter(String oaURL) { - OAAuthParameter[] oaParams = getOnlineApplicationParameters(); - for (int i = 0; i < oaParams.length; i++) { - OAAuthParameter oaParam = oaParams[i]; - if (oaURL.indexOf(oaParam.getPublicURLPrefix()) == 0) - return oaParam; - } - return null; - } - - /** - * Return a string with a url-reference to the VerifyAuthBlock trust - * profile id within the moa-sp part of the authentication component - * - * @return String with a url-reference to the VerifyAuthBlock trust profile ID - */ - public String getMoaSpAuthBlockTrustProfileID() { - return moaSpAuthBlockTrustProfileID; - } - - /** - * Return a string array with references to all verify transform info - * IDs within the moa-sp part of the authentication component - * @return A string array containing all urls to the - * verify transform info IDs - */ - public String[] getMoaSpAuthBlockVerifyTransformsInfoIDs() { - return moaSpAuthBlockVerifyTransformsInfoIDs; - } - - /** - * Return a ConnectionParameter bean containing all information - * of the authentication component moa-sp element - * @return ConnectionParameter of the authentication component moa-sp element - */ - public ConnectionParameter getMoaSpConnectionParameter() { - return moaSpConnectionParameter; - } - - /** - * Return a string with a url-reference to the VerifyIdentityLink trust - * profile id within the moa-sp part of the authentication component - * @return String with a url-reference to the VerifyIdentityLink trust profile ID - */ - public String getMoaSpIdentityLinkTrustProfileID() { - return moaSpIdentityLinkTrustProfileID; - } - /** - * Returns the transformsInfos. - * @return String[] - */ - public String[] getTransformsInfos() { - return transformsInfos; - } - - /** - * Returns the identityLinkX509SubjectNames. - * @return String[] - */ - public String[] getIdentityLinkX509SubjectNames() { - return identityLinkX509SubjectNames; - } - - /** - * Returns the bKUConnectionParameter. - * @return ConnectionParameter - */ - public ConnectionParameter getBKUConnectionParameter() { - return bKUConnectionParameter; - } - - /** - * Returns the bKUSelectable. - * @return boolean - */ - public boolean isBKUSelectable() { - return bKUSelectable; - } - - /** - * Returns the bKUSelectionType. - * @return String - */ - public String getBKUSelectionType() { - return bKUSelectionType; - } - -} \ No newline at end of file diff --git a/id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java b/id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java deleted file mode 100644 index 9ee1ec606..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/auth/OAAuthParameter.java +++ /dev/null @@ -1,93 +0,0 @@ -package at.gv.egovernment.moa.id.config.auth; - -/** - * Configuration parameters belonging to an online application, - * to use with the MOA ID Auth component. - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class OAAuthParameter { - - /** - * public URL prefix of the online application - */ - private String publicURLPrefix; - /** - * determines whether "ZMR-Zahl" is to be included in the authentication data - */ - private boolean provideZMRZahl; - /** - * determines whether AUTH block is to be included in the authentication data - */ - private boolean provideAuthBlock; - /** - * determines whether identity link is to be included in the authentication data - */ - private boolean provideIdentityLink; - - /** - * Returns the provideAuthBlock. - * @return String - */ - public boolean getProvideAuthBlock() { - return provideAuthBlock; - } - - /** - * Returns the provideIdentityLink. - * @return String - */ - public boolean getProvideIdentityLink() { - return provideIdentityLink; - } - - /** - * Returns the provideZMRZahl. - * @return String - */ - public boolean getProvideZMRZahl() { - return provideZMRZahl; - } - - /** - * Returns the publicURLPrefix. - * @return String - */ - public String getPublicURLPrefix() { - return publicURLPrefix; - } - - /** - * Sets the provideAuthBlock. - * @param provideAuthBlock The provideAuthBlock to set - */ - public void setProvideAuthBlock(boolean provideAuthBlock) { - this.provideAuthBlock = provideAuthBlock; - } - - /** - * Sets the provideIdentityLink. - * @param provideIdentityLink The provideIdentityLink to set - */ - public void setProvideIdentityLink(boolean provideIdentityLink) { - this.provideIdentityLink = provideIdentityLink; - } - - /** - * Sets the provideZMRZahl. - * @param provideZMRZahl The provideZMRZahl to set - */ - public void setProvideZMRZahl(boolean provideZMRZahl) { - this.provideZMRZahl = provideZMRZahl; - } - - /** - * Sets the publicURLPrefix. - * @param publicURLPrefix The publicURLPrefix to set - */ - public void setPublicURLPrefix(String publicURLPrefix) { - this.publicURLPrefix = publicURLPrefix; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/config/proxy/OAConfiguration.java b/id.server/src/at/gv/egovernment/moa/id/config/proxy/OAConfiguration.java deleted file mode 100644 index c9a13fee5..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/proxy/OAConfiguration.java +++ /dev/null @@ -1,145 +0,0 @@ -package at.gv.egovernment.moa.id.config.proxy; - -import java.util.HashMap; -import java.util.Map; - -/** - * Holds configuration data concerning an online application for use by the MOA-ID Proxy component. - * These include the login type (stateful or stateless), the HTTP authentication type, - * and information needed to add authentication parameters or headers for a URL connection - * to the remote online application. - * @see MOAIDConfiguration-1.1.xsd, element Configuration - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class OAConfiguration { - - /** Constant for an login method */ - public static final String LOGINTYPE_STATEFUL = "stateful"; - /** Constant for an login method */ - public static final String LOGINTYPE_STATELESS = "stateless"; - - /** Constant for an auth method */ - public static final String BASIC_AUTH = "basic"; - /** Constant for an auth method */ - public static final String HEADER_AUTH = "header"; - /** Constant for an auth method */ - public static final String PARAM_AUTH = "param"; - - /** login type: stateful or stateless */ - String loginType; - /** authentication type: basic, header, or param */ - String authType; - /** - * mapping of parameter names to AuthenticationData field names - * in case of authentication type "header-auth" - */ - Map paramAuthMapping; - /** - * mapping of parameter names to AuthenticationData field names - * in case of authentication type "param-auth" - */ - Map headerAuthMapping; - /** mapping for user ID to be used in case of authentication type "basic-auth" */ - String basicAuthUserIDMapping; - /** mapping for password to be used in case of authentication type "basic-auth" */ - String basicAuthPasswordMapping; - - /** - * Returns the basicAuthPasswordMapping. - * @return String - */ - public String getBasicAuthPasswordMapping() { - return basicAuthPasswordMapping; - } - - /** - * Returns the basicAuthUserIDMapping. - * @return String - */ - public String getBasicAuthUserIDMapping() { - return basicAuthUserIDMapping; - } - - /** - * Returns the headerAuthMapping. - * @return HashMap - */ - public Map getHeaderAuthMapping() { - return headerAuthMapping; - } - - /** - * Returns the loginType. - * @return String - */ - public String getLoginType() { - return loginType; - } - - /** - * Returns the paramAuthMapping. - * @return HashMap - */ - public Map getParamAuthMapping() { - return paramAuthMapping; - } - - /** - * Sets the basicAuthPasswordMapping. - * @param basicAuthPasswordMapping The basicAuthPasswordMapping to set - */ - public void setBasicAuthPasswordMapping(String basicAuthPassword) { - this.basicAuthPasswordMapping = basicAuthPassword; - } - - /** - * Sets the basicAuthUserIDMapping. - * @param basicAuthUserIDMapping The basicAuthUserIDMapping to set - */ - public void setBasicAuthUserIDMapping(String basicAuthUserID) { - this.basicAuthUserIDMapping = basicAuthUserID; - } - - /** - * Sets the headerAuthMapping. - * @param headerAuthMapping The headerAuthMapping to set - */ - public void setHeaderAuthMapping(HashMap headerAuth) { - this.headerAuthMapping = headerAuth; - } - - /** - * Sets the loginType. - * @param loginType The loginType to set - */ - public void setLoginType(String loginType) { - this.loginType = loginType; - } - - /** - * Sets the paramAuthMapping. - * @param paramAuthMapping The paramAuthMapping to set - */ - public void setParamAuthMapping(HashMap paramAuth) { - this.paramAuthMapping = paramAuth; - } - - /** - * Returns the authType. - * @return String - */ - public String getAuthType() { - return authType; - } - - /** - * Sets the authType. - * @param authType The authType to set - */ - public void setAuthType(String authLoginType) { - this.authType = authLoginType; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/config/proxy/OAProxyParameter.java b/id.server/src/at/gv/egovernment/moa/id/config/proxy/OAProxyParameter.java deleted file mode 100644 index f08c60736..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/proxy/OAProxyParameter.java +++ /dev/null @@ -1,160 +0,0 @@ -package at.gv.egovernment.moa.id.config.proxy; - -import at.gv.egovernment.moa.id.config.ConnectionParameter; - -/** - * Configuration parameters belonging to an online application, - * to use with the MOA ID Proxy component. - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class OAProxyParameter { - - /** - * public URL prefix of the online application - */ - private String publicURLPrefix; - /** - * URL of online application configuration file; - * defaults to relative URL /moaconfig.xml - */ - private String configFileURL; - /** - * implementation of {@link at.gv.egovernment.moa.id.proxy.LoginParameterResolver} interface - * to be used for authenticating the online application; - * defaults to {@link at.gv.egovernment.moa.id.proxy.DefaultLoginParameterResolver} - */ - private String loginParameterResolverImpl; - /** - * implementation of {@link at.gv.egovernment.moa.id.proxy.ConnectionBuilder} interface - * to be used for connecting to the online application; - * defaults to {@link at.gv.egovernment.moa.id.proxy.DefaultConnectionBuilder} - */ - private String connectionBuilderImpl; - /** - * session time out to be used in case of a stateless online application - */ - private int sessionTimeOut; - /** - * parameters regarding the connection from the proxy to the online application - */ - private ConnectionParameter connectionParameter; - /** - * parameters for logging into the online application - */ - private OAConfiguration oaConfiguration; - - /** - * Returns the configFileURL. - * @return String - */ - public String getConfigFileURL() { - return configFileURL; - } - - /** - * Returns the sessionTimeOut. - * @return int - */ - public int getSessionTimeOut() { - return sessionTimeOut; - } - - /** - * Returns the connectionParameter. - * @return ConnectionParameter - */ - public ConnectionParameter getConnectionParameter() { - return connectionParameter; - } - - /** - * Sets the configFileURL. - * @param configFileURL The configFileURL to set - */ - public void setConfigFileURL(String oaProxyConfigFileURL) { - this.configFileURL = oaProxyConfigFileURL; - } - - /** - * Sets the sessionTimeOut. - * @param sessionTimeOut The sessionTimeOut to set - */ - public void setSessionTimeOut(int oaProxySessionTimeOut) { - this.sessionTimeOut = oaProxySessionTimeOut; - } - - /** - * Sets the connectionParameter. - * @param connectionParameter The connectionParameter to set - */ - public void setConnectionParameter(ConnectionParameter proxyConnectionParameter) { - this.connectionParameter = proxyConnectionParameter; - } - - /** - * Returns the publicURLPrefix. - * @return String - */ - public String getPublicURLPrefix() { - return publicURLPrefix; - } - - /** - * Sets the publicURLPrefix. - * @param publicURLPrefix The publicURLPrefix to set - */ - public void setPublicURLPrefix(String url) { - this.publicURLPrefix = url; - } - - /** - * Returns the connectionBuilderImpl. - * @return String - */ - public String getConnectionBuilderImpl() { - return connectionBuilderImpl; - } - - /** - * Returns the loginParameterResolverImpl. - * @return String - */ - public String getLoginParameterResolverImpl() { - return loginParameterResolverImpl; - } - - /** - * Sets the connectionBuilderImpl. - * @param connectionBuilderImpl The connectionBuilderImpl to set - */ - public void setConnectionBuilderImpl(String connectionBuilderImp) { - this.connectionBuilderImpl = connectionBuilderImp; - } - - /** - * Sets the loginParameterResolverImpl. - * @param loginParameterResolverImpl The loginParameterResolverImpl to set - */ - public void setLoginParameterResolverImpl(String loginParameterResolverImpl) { - this.loginParameterResolverImpl = loginParameterResolverImpl; - } - - /** - * Returns the oaConfiguration. - * @return OAConfiguration - */ - public OAConfiguration getOaConfiguration() { - return oaConfiguration; - } - - /** - * Sets the oaConfiguration. - * @param oaConfiguration The oaConfiguration to set - */ - public void setOaConfiguration(OAConfiguration oaConfiguration) { - this.oaConfiguration = oaConfiguration; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/config/proxy/ProxyConfigurationProvider.java b/id.server/src/at/gv/egovernment/moa/id/config/proxy/ProxyConfigurationProvider.java deleted file mode 100644 index 897d14da9..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/config/proxy/ProxyConfigurationProvider.java +++ /dev/null @@ -1,170 +0,0 @@ -package at.gv.egovernment.moa.id.config.proxy; - -import java.io.FileInputStream; -import java.io.IOException; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.config.ConfigurationBuilder; -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.DOMUtils; - -/** - * A class providing access to the Proxy Part of the MOA-ID configuration data. - * - *

    Configuration data is read from an XML file, whose location is given by - * the moa.id.configuration system property.

    - *

    This class implements the Singleton pattern. The reload() - * method can be used to update the configuration data. Therefore, it is not - * guaranteed that consecutive calls to getInstance() will return - * the same ProxyConfigurationProvider all the time. During the - * processing of a web service request, the current - * TransactionContext should be used to obtain the - * ProxyConfigurationProvider local to that request.

    - * - * @author Stefan Knirsch - */ -public class ProxyConfigurationProvider extends ConfigurationProvider { - - /** Singleton instance. null, if none has been created. */ - private static ProxyConfigurationProvider instance; - - // - // configuration data - // - /** - * connection parameters for connection to MOA ID Auth component - */ - private ConnectionParameter authComponentConnectionParameter; - /** - * configuration parameters for online applications - */ - private OAProxyParameter[] onlineApplicationProxyParameter; - - /** - * Return the single instance of configuration data. - * - * @return ProxyConfigurationProvider The current configuration data. - * @throws ConfigurationException - */ - public static synchronized ProxyConfigurationProvider getInstance() - throws ConfigurationException { - - if (instance == null) { - reload(); - } - return instance; - } - - /** - * Reload the configuration data and set it if successful. - * - * @return ProxyConfigurationProvider The loaded configuration data. - * @throws ConfigurationException Failure to load the configuration data. - */ - public static synchronized ProxyConfigurationProvider reload() - throws ConfigurationException { - String fileName = System.getProperty(CONFIG_PROPERTY_NAME); - if (fileName == null) { - throw new ConfigurationException("config.01", null); - } - Logger.info("Loading MOA-ID-PROXY configuration " + fileName); - - instance = new ProxyConfigurationProvider(fileName); - return instance; - } - - /** - * Constructor for ProxyConfigurationProvider. - */ - public ProxyConfigurationProvider(String fileName) - throws ConfigurationException { - - load(fileName); - } - - /** - * Load the configuration data from XML file with the given name and build - * the internal data structures representing the MOA configuration. - * - * @param fileName The name of the XML file to load. - * @throws ConfigurationException The MOA configuration could not be - * read/built. - */ - private void load(String fileName) throws ConfigurationException { - FileInputStream stream = null; - Element configElem; - ConfigurationBuilder builder; - - try { - // load the main config file - stream = new FileInputStream(fileName); - configElem = DOMUtils.parseXmlValidating(stream); - } - catch (Throwable t) { - throw new ConfigurationException("config.03", null, t); - } - finally { - try { - if (stream != null) { - stream.close(); - } - } - catch (IOException e) { - } - } - try { - // build the internal datastructures - builder = new ConfigurationBuilder(configElem); - authComponentConnectionParameter = builder.buildAuthComponentConnectionParameter(); - onlineApplicationProxyParameter = builder.buildOnlineApplicationProxyParameters(); - genericConfiguration = builder.buildGenericConfiguration(); - defaultChainingMode = builder.getDefaultChainingMode(); - chainingModes = builder.buildChainingModes(); - trustedCACertificates = builder.getTrustedCACertificates(); - } - catch (Throwable t) { - throw new ConfigurationException("config.02", null, t); - } - } - - /** - * Return a bean containing all information about the ProxyComponent - * @return The ConnectionParameter for the Proxy Component - */ - public ConnectionParameter getAuthComponentConnectionParameter() { - return authComponentConnectionParameter; - } - - /** - * Build an array of OnlineApplication Parameter Beans containing all - * information about the proxy component of the online application - * @return An OAProxyParameter array containing beans - * with all relevant information for the proxy component of the online - * application - */ - public OAProxyParameter[] getOnlineApplicationParameters() { - return onlineApplicationProxyParameter; - } - /** - * Provides configuration information regarding the online application behind - * the given URL, relevant to the MOA-ID Proxy component. - * - * @param oaURL URL requested for an online application - * @return an OAProxyParameter, or null - * if none is applicable - */ - public OAProxyParameter getOnlineApplicationParameter(String oaURL) { - OAProxyParameter[] oaParams = getOnlineApplicationParameters(); - for (int i = 0; i < oaParams.length; i++) { - OAProxyParameter oaParam = oaParams[i]; - if (oaURL.startsWith(oaParam.getPublicURLPrefix())) - return oaParam; - } - return null; - } - -} \ No newline at end of file diff --git a/id.server/src/at/gv/egovernment/moa/id/data/AuthenticationData.java b/id.server/src/at/gv/egovernment/moa/id/data/AuthenticationData.java deleted file mode 100644 index aac1dc422..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/data/AuthenticationData.java +++ /dev/null @@ -1,314 +0,0 @@ -package at.gv.egovernment.moa.id.data; - -import java.util.Date; - -/** - * Encapsulates authentication data contained in a <saml:Assertion>. - * - * @author Paul Ivancsics - * @version $Id$ - */ - -public class AuthenticationData { - /** - * major version number of the SAML assertion - */ - private int majorVersion; - /** - * minor version number of the SAML assertion - */ - private int minorVersion; - /** - * identifier for this assertion - */ - private String assertionID; - /** - * URL of the MOA-ID Auth component issueing this assertion - */ - private String issuer; - /** - * time instant of issue of this assertion - */ - private String issueInstant; - /** - * user identification (ZMR-Zahl); null, - * if the authentication module is configured not to return this data - */ - private String identificationValue; - /** - * application specific user identifier (VPK) - */ - private String vpk; - /** - * given name of the user - */ - private String givenName; - /** - * family name of the user - */ - private String familyName; - /** - * date of birth of the user - */ - private String dateOfBirth; - /** - * says whether the certificate is a qualified certificate or not - */ - private boolean qualifiedCertificate; - /** - * says whether the certificate is a public authority or not - */ - private boolean publicAuthority; - /** - * public authority code (Behördenkennzeichen - BKZ) - */ - private String publicAuthorityCode; - /** - * the corresponding lt;saml:Assertion> - */ - private String samlAssertion; - /** - * creation timestamp - */ - Date timestamp; - - /** - * Constructor for AuthenticationData. - */ - public AuthenticationData() { - timestamp = new Date(); - } - - /** - * Returns the minorVersion. - * @return int - */ - public int getMinorVersion() { - return minorVersion; - } - - /** - * Returns the publicAuthority. - * @return boolean - */ - public boolean isPublicAuthority() { - return publicAuthority; - } - - /** - * Returns the publicAuthorityCode. - * @return String - */ - public String getPublicAuthorityCode() { - return publicAuthorityCode; - } - - /** - * Returns the qualifiedCertificate. - * @return boolean - */ - public boolean isQualifiedCertificate() { - return qualifiedCertificate; - } - - /** - * Returns the vpk. - * @return String - */ - public String getVPK() { - return vpk; - } - - /** - * Sets the minorVersion. - * @param minorVersion The minorVersion to set - */ - public void setMinorVersion(int minorVersion) { - this.minorVersion = minorVersion; - } - - /** - * Sets the publicAuthority. - * @param publicAuthority The publicAuthority to set - */ - public void setPublicAuthority(boolean publicAuthority) { - this.publicAuthority = publicAuthority; - } - - /** - * Sets the publicAuthorityCode. - * @param publicAuthorityCode The publicAuthorityCode to set - */ - public void setPublicAuthorityCode(String publicAuthorityIdentification) { - this.publicAuthorityCode = publicAuthorityIdentification; - } - - /** - * Sets the qualifiedCertificate. - * @param qualifiedCertificate The qualifiedCertificate to set - */ - public void setQualifiedCertificate(boolean qualifiedCertificate) { - this.qualifiedCertificate = qualifiedCertificate; - } - - /** - * Sets the vpk. - * @param vpk The vpk to set - */ - public void setVPK(String vpk) { - this.vpk = vpk; - } - - /** - * Returns the assertionID. - * @return String - */ - public String getAssertionID() { - return assertionID; - } - - /** - * Returns the dateOfBirth. - * @return String - */ - public String getDateOfBirth() { - return dateOfBirth; - } - - /** - * Returns the familyName. - * @return String - */ - public String getFamilyName() { - return familyName; - } - - /** - * Returns the givenName. - * @return String - */ - public String getGivenName() { - return givenName; - } - - /** - * Returns the identificationValue. - * @return String - */ - public String getIdentificationValue() { - return identificationValue; - } - - /** - * Returns the issueInstant. - * @return String - */ - public String getIssueInstant() { - return issueInstant; - } - - /** - * Returns the issuer. - * @return String - */ - public String getIssuer() { - return issuer; - } - - /** - * Returns the majorVersion. - * @return int - */ - public int getMajorVersion() { - return majorVersion; - } - - /** - * Sets the assertionID. - * @param assertionID The assertionID to set - */ - public void setAssertionID(String assertionID) { - this.assertionID = assertionID; - } - - /** - * Sets the dateOfBirth. - * @param dateOfBirth The dateOfBirth to set - */ - public void setDateOfBirth(String dateOfBirth) { - this.dateOfBirth = dateOfBirth; - } - - /** - * Sets the familyName. - * @param familyName The familyName to set - */ - public void setFamilyName(String gamilyName) { - this.familyName = gamilyName; - } - - /** - * Sets the givenName. - * @param givenName The givenName to set - */ - public void setGivenName(String givenName) { - this.givenName = givenName; - } - - /** - * Sets the identificationValue. - * @param identificationValue The identificationValue to set - */ - public void setIdentificationValue(String identificationValue) { - this.identificationValue = identificationValue; - } - - /** - * Sets the issueInstant. - * @param issueInstant The issueInstant to set - */ - public void setIssueInstant(String issueInstant) { - this.issueInstant = issueInstant; - } - - /** - * Sets the issuer. - * @param issuer The issuer to set - */ - public void setIssuer(String issuer) { - this.issuer = issuer; - } - - /** - * Sets the majorVersion. - * @param majorVersion The majorVersion to set - */ - public void setMajorVersion(int majorVersion) { - this.majorVersion = majorVersion; - } - - /** - * Returns the samlAssertion. - * @return String - */ - public String getSamlAssertion() { - return samlAssertion; - } - - /** - * Sets the samlAssertion. - * @param samlAssertion The samlAssertion to set - */ - public void setSamlAssertion(String samlAssertion) { - this.samlAssertion = samlAssertion; - } - - /** - * Returns the timestamp. - * @return Date - */ - public Date getTimestamp() { - return timestamp; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/data/Cookie.java b/id.server/src/at/gv/egovernment/moa/id/data/Cookie.java deleted file mode 100644 index 5729e54c3..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/data/Cookie.java +++ /dev/null @@ -1,119 +0,0 @@ -package at.gv.egovernment.moa.id.data; -import java.util.HashMap; -import java.util.Iterator; -import java.util.StringTokenizer; - -import at.gv.egovernment.moa.logging.Logger; - -/** - * The Cookie-class provides methods to save and return cookies for - * each single session - * - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class Cookie { - /** A HahsMap containing all our cookies */ - HashMap cookies = new HashMap(); - /** A HashMap to temporarely store 'Set-Cookie' values from the OnlineApplication - * to send them back to the client/browser as soon as possible */ - HashMap cookies401 = new HashMap(); - - /** - * Adds a Cookie from a response with response-code 401 to the cookie-pool - * for sending it back to the browser / client - * @param String: the complete 'Set-Cookie' - String - */ - public void add401(String cookieString) - { - cookies401.put(getKey(cookieString),cookieString); - } - - /** - * Get the HashMap containing all cookies to be sent to the browser / client - * @return HashMap with all cookies - */ - public HashMap get401() - { - return cookies401; - } - - /** - * Clear the 401 cookie-pool - */ - public void clear401() - { - cookies401.clear(); - } - - /** - * Set a cookie that comes from the Online-Application - * and save it in our "normal" cookie-pool - * @param String the complete "Set-Cookie" - String from the Online-Application - */ - public void setCookie(String value) { - cookies.put(getKey(value), getValue(value)); - } - - /** - * Method saveOldCookies. - * @param String the complete "Set-Cookie" - String from the Online-Application - */ - public void saveOldCookies(String value) { - StringTokenizer st = new StringTokenizer(value,";"); - while (st.hasMoreTokens()) - { - // We have to trim because the Tokenizer returns cookies including spaces at the beginning - StringTokenizer st2 = new StringTokenizer(st.nextToken().trim(),"="); - String cookieKey = st2.nextToken().trim(); - if (st2.hasMoreTokens()) - { - String cookieValue = st2.nextToken().trim(); - if (!cookies.containsKey(cookieKey)) - cookies.put(cookieKey , cookieValue); - } - } - Logger.debug("Found these cookies: " + getCookies()); - } - - /** - * Get a String containing all cookies saved in that session seperated by '; ' - * to be sent back to the Online-Application - * @return String containing all cookies saved in that session seperated by '; ' - */ - public String getCookies() { - String result = ""; - if (cookies.size()==0) - return null; - Iterator i = cookies.keySet().iterator(); - while (i.hasNext()) { - String key = (String) i.next(); - result += key + "=" + (String)cookies.get(key) + "; "; - } - return result.substring(0, result.length() - 2); - } - - /** - * Returns the key of a key-value-pair of a cookie - * getKey("CookieA=1234") returns CookieA - * @param String the complete "Set-cookie" String containing a key-value-pair of a cookie - * @return String the key of a key-value-pair of a cookie - */ - private String getKey(String input) { - return input.substring(0, input.indexOf("=")); - } - - /** - * Returns the value of a key-value-pair of a cookie - * getKey("CookieA=1234") returns 1234 - * @param String the complete "Set-cookie" String containing a key-value-pair of a cookie - * @return String the value of a key-value-pair of a cookie - */ - private String getValue(String input) { - if (input.indexOf(";") == -1) - return input.substring(input.indexOf("=") + 1, input.getBytes().length); - return input.substring(input.indexOf("=") + 1, input.indexOf(";")); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/data/CookieManager.java b/id.server/src/at/gv/egovernment/moa/id/data/CookieManager.java deleted file mode 100644 index 98f84c429..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/data/CookieManager.java +++ /dev/null @@ -1,114 +0,0 @@ -package at.gv.egovernment.moa.id.data; - -import java.util.HashMap; - -/** - * The CookieManager is a singleton to manage a Cookie-Object for - * each session - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class CookieManager { - /** the singleton instance of the CookieManager */ - private static CookieManager instance; - /** a HashMap to bind a Cookie-object to every single session*/ - private static HashMap cookies = new HashMap(); - - /** - * Create a singleton of the CookieManager - * @return CookieManager - */ - public static CookieManager getInstance() - { - if(instance==null) instance=new CookieManager(); - return instance; - } - - /** - * Save a cookie to a specified session-id - * @param String id the session id - * @param String cookie_string - the complete 'Set-Cookie' String from the OnlineApplication - */ - public void saveCookie(String id,String cookie_string) - { - getCookieWithID(id).setCookie(cookie_string); - } - - /** - * Method saveOldCookies. - * @param id - * @param cookie_string - */ - public void saveOldCookies(String id,String cookie_string) - { - getCookieWithID(id).saveOldCookies(cookie_string); - } - - /** - * Get a Cookie-Object for a specified session-id - * @param String id the session id - * @return Cookie object containing all saved cookies for this session - */ - public Cookie getCookieWithID(String id) - { - Cookie c = null; - if(cookies.containsKey(id)) - c = (Cookie)cookies.get(id); - else - { - c = new Cookie(); - cookies.put(id,c); - } - return c; - } - - - /** - * Get a String containing all cookies of a specified session-id - * saved in that session seperated by '; ' to be sent back to - * the Online-Application - * @param id the session-id - * @return String containing all cookies saved in that session seperated by '; ' - */ - public String getCookie(String id) - { - Cookie result = (Cookie)cookies.get((String)id); - if (result==null) - return null; - return result.getCookies(); - - } - - /** - * Adds a Cookie for a special session from a response with - * response-code 401 to the cookie-pool for sending it back - * to the browser / client - * @param id the session-id - * @param String: the complete 'Set-Cookie' - String - */ - public void add401(String id,String value) - { - getCookieWithID(id).add401(value); - } - - /** - * Clear the 401 cookie-pool of a session - * @param id the session-id - */ - public void clear401(String id) - { - getCookieWithID(id).clear401(); - } - - /** - * Get the HashMap containing all cookies of a session to be sent to the browser / client - * @param id the session-id - * @return HashMap with all cookies - */ - public HashMap get401(String id) - { - return getCookieWithID(id).get401(); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/data/IssuerAndSerial.java b/id.server/src/at/gv/egovernment/moa/id/data/IssuerAndSerial.java deleted file mode 100644 index a47dd8b29..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/data/IssuerAndSerial.java +++ /dev/null @@ -1,111 +0,0 @@ -package at.gv.egovernment.moa.id.data; - -import java.math.BigInteger; -import java.security.Principal; - -import iaik.asn1.structures.Name; -import iaik.utils.RFC2253NameParser; -import iaik.utils.RFC2253NameParserException; - -/** - * A class containing the issuer and serial number of a certificate, which can - * be used to uniquely identify the certificate. - * - * @author Patrick Peck - * @version $Id$ - */ -public class IssuerAndSerial { - /** store the issuer as String*/ - private String issuerDN; - /** store the serial as BigInteger*/ - private BigInteger serial; - - /** - * Create an IssuerAndSerial object. - * - * The name of the issuer is converted to RFC2253. If it cannot be parsed, the - * DN contained in the issuer is set. - * - * @param issuer The isser of a certificate. - * @param serial The serial number of the certificate. - */ - public IssuerAndSerial(Principal issuer, BigInteger serial) { - RFC2253NameParser parser = new RFC2253NameParser(issuer.getName()); - - try { - this.issuerDN = ((Name) parser.parse()).getRFC2253String(); - } catch (RFC2253NameParserException e) { - this.issuerDN = issuer.getName(); - } - this.serial = serial; - } - - /** - * Create an IssuerAndSerial object. - * - * @param issuerDN The issuer distinguished name. Should be an RFC2253 name. - * @param serial The serial number of the certificate. - */ - public IssuerAndSerial(String issuerDN, BigInteger serial) { - this.issuerDN = issuerDN; - this.serial = serial; - } - - /** - * Return the issuer DN in RFC2253 format. - * - * @return The issuer part of this object. - */ - public String getIssuerDN() { - return issuerDN; - } - - /** - * Return the serial number. - * - * @return The serial number of this object. - */ - public BigInteger getSerial() { - return serial; - } - - /** - * Compare this IssuerAndSerial to another object. - * - * @return true, if other is an - * IssuerAndSerial object and the issuer and - * serial fields are both equal. false otherwise. - * @see java.lang.Object#equals(java.lang.Object) - */ - public boolean equals(Object other) { - if (other instanceof IssuerAndSerial) { - IssuerAndSerial ias = (IssuerAndSerial) other; - return getIssuerDN().equals(ias.getIssuerDN()) - && getSerial().equals(ias.getSerial()); - } - return false; - } - - /** - * Return the hash code of this IssuerAndSerial. - * - * @return The hash code of this IssuerAndSerial. - * @see java.lang.Object#hashCode() - */ - public int hashCode() { - return issuerDN.hashCode() ^ serial.hashCode(); - } - - /** - * Return a String representation of this - * IssuerAndSerial object. - * - * @return The String representation. - * @see java.lang.Object#toString() - */ - public String toString() { - return ("(IssuerAndSerial - Issuer<" + getIssuerDN()) - + ("> Serial<" + serial.toString() + ">)"); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/data/SAMLStatus.java b/id.server/src/at/gv/egovernment/moa/id/data/SAMLStatus.java deleted file mode 100644 index ed61827b6..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/data/SAMLStatus.java +++ /dev/null @@ -1,59 +0,0 @@ -package at.gv.egovernment.moa.id.data; - -/** - * Data contained in a <samlp:Status> - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLStatus { - - /** main status code */ - private String statusCode; - /** sub status code */ - private String subStatusCode; - /** status message */ - private String statusMessage; - - /** - * @return status code - */ - public String getStatusCode() { - return statusCode; - } - - /** - * @return status message - */ - public String getStatusMessage() { - return statusMessage; - } - - /** - * @return enclosed sub-status code - */ - public String getSubStatusCode() { - return subStatusCode; - } - - /** - * @param string the status code - */ - public void setStatusCode(String string) { - statusCode = string; - } - - /** - * @param string the status message - */ - public void setStatusMessage(String string) { - statusMessage = string; - } - - /** - * @param string the enclosed sub-status code - */ - public void setSubStatusCode(String string) { - subStatusCode = string; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/config/CertStoreConfigurationImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/config/CertStoreConfigurationImpl.java deleted file mode 100644 index 421286876..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/config/CertStoreConfigurationImpl.java +++ /dev/null @@ -1,91 +0,0 @@ -package at.gv.egovernment.moa.id.iaik.config; - -import java.io.File; - -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.iaik.servertools.observer.ObservableImpl; -import iaik.pki.store.certstore.CertStoreConfiguration; -import iaik.pki.store.certstore.CertStoreParameters; -import iaik.pki.store.certstore.CertStoreTypes; -import iaik.pki.store.certstore.directory.DirectoryCertStoreParameters; - -/** - * Implementation of interface needed to initialize an IAIK JSSE TrustManager - * @author Paul Ivancsics - * @version $Id$ - */ -public class CertStoreConfigurationImpl extends ObservableImpl - implements CertStoreConfiguration, DirectoryCertStoreParameters { - /** identifies the rootDirectory */ - private String rootDirectory; - /** Array for storing all CertStoreParameters */ - private CertStoreParameters[] parameters; - - /** - * Create a new CertStoreConfigurationImpl. - * - * @param conf The MOA configuration from which the configuration data is - * @throws ConfigurationException an any config-error - * being read. - */ - public CertStoreConfigurationImpl(ConfigurationProvider conf) throws ConfigurationException { - String paramName = ConfigurationProvider.DIRECTORY_CERTSTORE_PARAMETER_PROPERTY; - String rootDirParam = conf.getGenericConfigurationParameter(paramName); - if (rootDirParam == null) - throw new ConfigurationException( - "config.08", new Object[] {paramName}); - File f = new File(rootDirParam); - if (f.isDirectory()) - rootDirectory = f.getAbsolutePath(); - else - throw new ConfigurationException( - "config.05", new Object[] {paramName}); - - parameters = new CertStoreParameters[] { this }; - } - - /** - * @see iaik.pki.store.certstore.CertStoreConfiguration#getParameters() - */ - public CertStoreParameters[] getParameters() { - return parameters; - } - - /** - * @see iaik.pki.store.certstore.directory.DirectoryCertStoreParameters#getRootDirectory() - */ - public String getRootDirectory() { - return rootDirectory; - } - - /** - * @see iaik.pki.store.certstore.directory.DirectoryCertStoreParameters#createNew() - */ - public boolean createNew() { - return false; - } - - /** - * @see iaik.pki.store.certstore.CertStoreParameters#getId() - */ - public String getId() { - return "MOA ID Directory CertStore"; - } - - /** - * @see iaik.pki.store.certstore.CertStoreParameters#isReadOnly() - */ - public boolean isReadOnly() { - return false; - } - - /** - * @return CertStoreTypes.DIRECTORY - * @see iaik.pki.store.certstore.CertStoreParameters#getType() - */ - public String getType() { - return CertStoreTypes.DIRECTORY; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/config/LoggerConfigImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/config/LoggerConfigImpl.java deleted file mode 100644 index 3cd02a2b5..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/config/LoggerConfigImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -package at.gv.egovernment.moa.id.iaik.config; - -import iaik.logging.LogConfigurationException; - -import java.io.IOException; -import java.io.InputStream; -import java.net.URL; -import java.util.Properties; - -/** - * Implementation of interface TrustManager - * @author Paul Ivancsics - * @version $Id$ - */ -public class LoggerConfigImpl implements iaik.logging.LoggerConfig { - - /** logging properties **/ - private Properties loggingProperties; - - /** - * Constructor - */ - public LoggerConfigImpl(String propertyFileURL) throws IOException { - InputStream in = new URL(propertyFileURL).openStream(); - loggingProperties = new Properties(); - loggingProperties.load(in); - in.close(); - } - - /** - * @see iaik.logging.LoggerConfig#getFactory() - */ - public String getFactory() { - return "iaik.logging.impl.Log4jFactory"; - } - - /** - * @see iaik.logging.LoggerConfig#getProperties() - */ - public Properties getProperties() throws LogConfigurationException { - return loggingProperties; - } - - /** - * @see iaik.logging.LoggerConfig#getNodeId() - */ - public String getNodeId() { - return "iaik"; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/config/PKIConfigurationImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/config/PKIConfigurationImpl.java deleted file mode 100644 index 8d09e2bc9..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/config/PKIConfigurationImpl.java +++ /dev/null @@ -1,65 +0,0 @@ -package at.gv.egovernment.moa.id.iaik.config; - -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import iaik.pki.PKIConfiguration; -import iaik.pki.pathvalidation.ValidationConfiguration; -import iaik.pki.revocation.RevocationConfiguration; -import iaik.pki.store.certstore.CertStoreConfiguration; -import iaik.pki.store.revocation.archive.ArchiveConfiguration; - -/** - * Implementation of interface PKIConfiguration needed to - * initialize an IAIK JSSE TrustManager - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class PKIConfigurationImpl implements PKIConfiguration { - /** The configuration for the CertStore */ - private CertStoreConfiguration certStoreConfiguration; - /** The configuration for the RevocationChecks */ - private RevocationConfiguration revocationConfiguration; - /** The configuration for the Validation */ - private ValidationConfiguration validationConfiguration; - - /** - * Constructor - * @param conf the Configuration for the PKIConfig - * @throws ConfigurationException for any config error - */ - public PKIConfigurationImpl(ConfigurationProvider conf) throws ConfigurationException { - certStoreConfiguration = new CertStoreConfigurationImpl(conf); - revocationConfiguration = new RevocationConfigurationImpl(); - validationConfiguration = new ValidationConfigurationImpl(conf); - } - - /** - * @see iaik.pki.PKIConfiguration#getCertStoreConfiguration() - */ - public CertStoreConfiguration getCertStoreConfiguration() { - return certStoreConfiguration; - } - - /** - * @see iaik.pki.PKIConfiguration#getRevocationConfiguration() - */ - public RevocationConfiguration getRevocationConfiguration() { - return revocationConfiguration; - } - - /** - * @see iaik.pki.PKIConfiguration#getArchiveConfiguration() - */ - public ArchiveConfiguration getArchiveConfiguration() { - return null; - } - - /** - * @see iaik.pki.PKIConfiguration#getValidationConfiguration() - */ - public ValidationConfiguration getValidationConfiguration() { - return validationConfiguration; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/config/RevocationConfigurationImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/config/RevocationConfigurationImpl.java deleted file mode 100644 index c583babdc..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/config/RevocationConfigurationImpl.java +++ /dev/null @@ -1,35 +0,0 @@ -package at.gv.egovernment.moa.id.iaik.config; - -import iaik.pki.revocation.RevocationConfiguration; - -import java.security.cert.X509Certificate; -import java.util.Collections; -import java.util.Date; -import java.util.Set; - -import at.gv.egovernment.moa.id.iaik.servertools.observer.*; - -/** - * Implementation of interface needed to initialize an IAIK JSSE TrustManager - * @author Paul Ivancsics - * @version $Id$ - */ -public class RevocationConfigurationImpl extends ObservableImpl implements RevocationConfiguration { - - /** - * @see iaik.pki.revocation.RevocationConfiguration#getAlternativeDistributionPoints(java.security.cert.X509Certificate, java.util.Date) - */ - public Set getAlternativeDistributionPoints( - X509Certificate arg0, - Date arg1) { - return Collections.EMPTY_SET; - } - - /** - * @see iaik.pki.revocation.RevocationConfiguration#archiveRevocationInfo(java.lang.String, java.lang.String) - */ - public boolean archiveRevocationInfo(String arg0, String arg1) { - return false; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/config/ValidationConfigurationImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/config/ValidationConfigurationImpl.java deleted file mode 100644 index c500e2e8e..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/config/ValidationConfigurationImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -package at.gv.egovernment.moa.id.iaik.config; - -import iaik.pki.pathvalidation.ValidationConfiguration; - -import java.security.cert.X509Certificate; -import java.security.spec.AlgorithmParameterSpec; - -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.iaik.servertools.observer.ObservableImpl; - -/** - * Implementation of interface needed to initialize an IAIK JSSE TrustManager - * @author Paul Ivancsics - * @version $Id$ - */ -public class ValidationConfigurationImpl extends ObservableImpl - implements ValidationConfiguration { - /** The ConfigurationProvider for the validation*/ - private ConfigurationProvider conf; - - /** - * Constructor - * @param conf with the configuration - */ - public ValidationConfigurationImpl(ConfigurationProvider conf) { - this.conf = conf; - } - - /** - * @see iaik.pki.pathvalidation.ValidationConfiguration#getChainingMode(java.security.cert.X509Certificate) - */ - public String getChainingMode(X509Certificate trustAnchor) { - String chainingMode = conf.getChainingMode(trustAnchor); - return chainingMode; - } - - /** - * @see iaik.pki.pathvalidation.ValidationConfiguration#getPublicKeyParamsAsSpec(java.security.cert.X509Certificate) - */ - public AlgorithmParameterSpec getPublicKeyParamsAsSpec(X509Certificate arg0) { - return null; - } - - /** - * @see iaik.pki.pathvalidation.ValidationConfiguration#getPublicKeyParamsAsCert(java.security.cert.X509Certificate) - */ - public X509Certificate getPublicKeyParamsAsCert(X509Certificate arg0) { - return null; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java deleted file mode 100644 index 882a9c255..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java +++ /dev/null @@ -1,159 +0,0 @@ -package at.gv.egovernment.moa.id.iaik.pki; - -import java.security.cert.X509Certificate; -import java.util.Collections; -import java.util.Set; - -import iaik.pki.PKIProfile; -import iaik.pki.pathvalidation.ValidationProfile; -import iaik.pki.revocation.RevocationProfile; -import iaik.pki.revocation.RevocationSourceTypes; -import iaik.pki.store.truststore.TrustStoreProfile; -import iaik.pki.store.truststore.TrustStoreTypes; - -import at.gv.egovernment.moa.id.iaik.servertools.observer.ObservableImpl; - -/** - * Implementation of the PKIProfile interface and subinterfaces - * providing information needed for certificate path validation. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class PKIProfileImpl extends ObservableImpl - implements PKIProfile, RevocationProfile, TrustStoreProfile, ValidationProfile { - - /** - * URI to the truststore - */ - private String trustStoreURI; - - /** - * Create a new PKIProfileImpl. - * - * @param trustStoreURI trust store URI - */ - public PKIProfileImpl(String trustStoreURI) { - this.trustStoreURI = trustStoreURI; - } - - /** - * @see iaik.pki.PKIProfile#autoAddCertificates() - */ - public boolean autoAddCertificates() { - return true; - } - - /** - * @see iaik.pki.PKIProfile#getRevocationProfile() - */ - public RevocationProfile getRevocationProfile() { - return this; - } - - /** - * @see iaik.pki.PKIProfile#getTrustStoreProfile() - */ - public TrustStoreProfile getTrustStoreProfile() { - return this; - } - - /** - * @see iaik.pki.PKIProfile#getValidationProfile() - */ - public ValidationProfile getValidationProfile() { - return this; - } - - /** - * @see iaik.pki.PKIProfile#useAuthorityInfoAccess() - */ - public boolean useAuthorityInfoAccess() { - return true; - } - - /** - * @see iaik.pki.revocation.RevocationProfile#getMaxRevocationAge(java.lang.String) - */ - public long getMaxRevocationAge(String arg0) { - return 0; - } - - /** - * @see iaik.pki.revocation.RevocationProfile#getOCSPRequestHashAlgorithm() - */ - public String getOCSPRequestHashAlgorithm() { - return null; - } - - /** - * @see iaik.pki.revocation.RevocationProfile#getPreferredServiceOrder(java.security.cert.X509Certificate) - */ - public String[] getPreferredServiceOrder(X509Certificate arg0) { - return new String[] {RevocationSourceTypes.CRL}; - } - - /** - * @see iaik.pki.store.truststore.TrustStoreProfile#getType() - */ - public String getType() { - return TrustStoreTypes.DIRECTORY; - } - - /** - * @see iaik.pki.store.truststore.TrustStoreProfile#getURI() - */ - public String getURI() { - return trustStoreURI; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getInitialAnyPolicyInhibit() - */ - public boolean getInitialAnyPolicyInhibit() { - return false; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getInitialExplicitPolicy() - */ - public boolean getInitialExplicitPolicy() { - return false; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getInitialPolicyMappingInhibit() - */ - public boolean getInitialPolicyMappingInhibit() { - return false; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getInitialPolicySet() - */ - public Set getInitialPolicySet() { - return Collections.EMPTY_SET; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getNameConstraintsProcessing() - */ - public boolean getNameConstraintsProcessing() { - return false; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getPolicyProcessing() - */ - public boolean getPolicyProcessing() { - return false; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getRevocationChecking() - */ - public boolean getRevocationChecking() { - return true; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/pki/jsse/MOAIDTrustManager.java b/id.server/src/at/gv/egovernment/moa/id/iaik/pki/jsse/MOAIDTrustManager.java deleted file mode 100644 index 9da006d35..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/pki/jsse/MOAIDTrustManager.java +++ /dev/null @@ -1,119 +0,0 @@ -package at.gv.egovernment.moa.id.iaik.pki.jsse; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.net.URL; -import java.security.GeneralSecurityException; -import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; -import java.util.ArrayList; -import java.util.List; - -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; - -import iaik.pki.jsse.IAIKX509TrustManager; - -/** - * TrustManager implementation featuring CRL checking (inherited from - * IAIKX509TrustManager), plus server-end-SSL-certificate checking. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class MOAIDTrustManager extends IAIKX509TrustManager { - - /** an x509Certificate array containing all accepted server certificates*/ - private X509Certificate[] acceptedServerCertificates; - - /** - * Constructor - * @param acceptedServerCertificateStoreURL the url leading to the acceptedServer cert store - * @throws GeneralSecurityException occurs on security errors - * @throws IOException occurs on IO errors - */ - public MOAIDTrustManager(String acceptedServerCertificateStoreURL) - throws IOException, GeneralSecurityException { - - if (acceptedServerCertificateStoreURL != null) - buildAcceptedServerCertificates(acceptedServerCertificateStoreURL); - else - acceptedServerCertificates = null; - } - - - /** - * Initializes the LoggingContextManager logging context. - * Fixes a bug occuring in the case MOA-SP is called by API. - * In this case, IAIKX509TrustManager uses the LogginConfig of MOA-SP. - * This method must be called before a MOAIDTrustManager is constructed, - * from every thread. - */ - public static void initializeLoggingContext() { - if (LoggingContextManager.getInstance().getLoggingContext() == null) - LoggingContextManager.getInstance().setLoggingContext( - new LoggingContext(Thread.currentThread().getName())); - } - - - /** - * Builds an Array of accepted server certificates from an URL, - * and stores it in acceptedServerCertificates. - * @param acceptedServerCertificateStoreURL file URL pointing to the directory - * containing accepted server X509 certificates - * @throws GeneralSecurityException on security errors - * @throws IOException on any IO errors - */ - private void buildAcceptedServerCertificates(String acceptedServerCertificateStoreURL) - throws IOException, GeneralSecurityException { - - List certList = new ArrayList(); - URL storeURL = new URL(acceptedServerCertificateStoreURL); - File storeDir = new File(storeURL.getFile()); - // list certificate files in directory - File[] certFiles = storeDir.listFiles(); - for (int i = 0; i < certFiles.length; i++) { - // for each: create an X509Certificate and store it in list - File certFile = certFiles[i]; - FileInputStream fis = new FileInputStream(certFile.getPath()); - CertificateFactory certFact = CertificateFactory.getInstance("X.509"); - X509Certificate cert = (X509Certificate)certFact.generateCertificate(fis); - fis.close(); - certList.add(cert); - } - // store acceptedServerCertificates - acceptedServerCertificates = (X509Certificate[]) certList.toArray(new X509Certificate[0]); - } - - /** - * Does additional server-end-SSL-certificate checking. - * @see com.sun.net.ssl.X509TrustManager#isServerTrusted(java.security.cert.X509Certificate[]) - */ - public boolean isServerTrusted(X509Certificate[] certChain) { - boolean trusted = super.isServerTrusted(certChain); - if (! trusted || acceptedServerCertificates == null) - return trusted; - else { - // check server-end-SSL-certificate with acceptedServerCertificates - X509Certificate serverCert = certChain[0]; - for (int i = 0; i < acceptedServerCertificates.length; i++) { - X509Certificate acceptedServerCert = acceptedServerCertificates[i]; - if (serverCert.equals(acceptedServerCert)) - return true; - } - Logger.warn(MOAIDMessageProvider.getInstance().getMessage("ssl.01", null)); - return false; - } - } - /** - * In rare cases, this method is being called although it should not be. - * @see com.sun.net.ssl.X509TrustManager#isClientTrusted(X509Certificate[]) - */ - public boolean isClientTrusted(java.security.cert.X509Certificate arg0[]) - { - return true; - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/servertools/observer/ObservableImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/servertools/observer/ObservableImpl.java deleted file mode 100644 index 6f6949ad6..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/iaik/servertools/observer/ObservableImpl.java +++ /dev/null @@ -1,46 +0,0 @@ -package at.gv.egovernment.moa.id.iaik.servertools.observer; - -import iaik.servertools.observer.NotificationData; -import iaik.servertools.observer.Observable; -import iaik.servertools.observer.Observer; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - - -/** - * Implementation of interface TrustManager - * @author Paul Ivancsics - * @version $Id$ - */ -public class ObservableImpl implements Observable { - /** a List for all observers */ - private List observers = new ArrayList(); - - /** - * @see iaik.servertools.observer.Observable#addObserver(iaik.servertools.observer.Observable) - */ - public void addObserver(Observer observer) { - observers.add(observer); - } - - /** - * @see iaik.servertools.observer.Observable#removeObserver(iaik.servertools.observer.Observable) - */ - public boolean removeObserver(Observer observer) { - return observers.remove(observer); - } - - /** - * @see iaik.servertools.observer.Observable#notify(iaik.servertools.observer.NotificationData) - */ - public void notify(NotificationData data) { - Iterator iter = observers.iterator(); - for (iter = observers.iterator(); iter.hasNext();) { - Observer observer = (Observer) iter.next(); - observer.notify(data); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/ConnectionBuilder.java b/id.server/src/at/gv/egovernment/moa/id/proxy/ConnectionBuilder.java deleted file mode 100644 index 8039b67a6..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/ConnectionBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -package at.gv.egovernment.moa.id.proxy; - -import java.io.IOException; -import java.net.HttpURLConnection; -import java.util.Map; - -import javax.net.ssl.SSLSocketFactory; -import javax.servlet.http.HttpServletRequest; - -/** - * Builder for {@link java.net.URLConnection} objects used to forward requests - * to the remote online application. - * - * @author Paul Ivancsics - * @version $Id$ - */ - -public interface ConnectionBuilder { - - /** - * Builds an HttpURLConnection to a {@link java.net.URL} which is derived - * from an {@link HttpServletRequest} URL, by substitution of a - * public URL prefix for the real URL prefix.
    - * The HttpURLConnection has been created by {@link java.net.URL#openConnection}, but - * it has not yet been connected to by {@link java.net.URLConnection#connect}.
    - * The field settings of the HttpURLConnection are: - *
      - *
    • allowUserInteraction = false
    • - *
    • doInput = true
    • - *
    • doOutput = true
    • - *
    • requestMethod = request.getMethod()
    • - *
    • useCaches = false
    • - *
    - * - * @param request the incoming request which shall be forwarded - * @param publicURLPrefix the public URL prefix to be substituted by the real URL prefix - * @param realURLPrefix the URL prefix to substitute the public URL prefix - * @param sslSocketFactory factory to be used for creating an SSL socket in case - * of a URL for scheme "https:"; - *
    if null, the default SSL socket factory would be used - * @param parameters parameters to be forwarded - * @return a URLConnection created by {@link java.net.URL#openConnection}, connecting to - * the requested URL with publicURLPrefix substituted by realURLPrefix - * @throws IOException if an I/O exception occurs during opening the connection - * @see java.net.URL#openConnection() - * @see com.sun.net.ssl.HttpsURLConnection#getDefaultSSLSocketFactory() - */ - public HttpURLConnection buildConnection( - HttpServletRequest request, - String publicURLPrefix, - String realURLPrefix, - SSLSocketFactory sslSocketFactory, - Map parameters) throws IOException; -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/ConnectionBuilderFactory.java b/id.server/src/at/gv/egovernment/moa/id/proxy/ConnectionBuilderFactory.java deleted file mode 100644 index 7a6c3e575..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/ConnectionBuilderFactory.java +++ /dev/null @@ -1,68 +0,0 @@ -package at.gv.egovernment.moa.id.proxy; - -import java.util.HashMap; -import java.util.Map; - -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.config.proxy.OAProxyParameter; - -/** - * Factory delivering a {@link ConnectionBuilder} implementation for - * an online application, initialized from configuration data. - * @author Paul Ivancsics - * @version $Id$ - */ -public class ConnectionBuilderFactory { - - /** default connection builder to be used for online application - * where no special implementation of the ConnectionBuilder - * interface is configured - */ - private static ConnectionBuilder defaultConnectionBuilder; - /** mapping from online application public URL prefix to an implementation - * of the ConnectionBuilder interface to be used; - * if no mapping is given for an online application, the - * DefaultConnectionBuilder will be used */ - private static Map connectionBuilderMap; - - /** - * Initializes the ConnectionBuilder map from the configuration data. - * @throws ConfigurationException when the configuration cannot be read, - * or when a class name configured cannot be instantiated - */ - public static void initialize() throws ConfigurationException { - defaultConnectionBuilder = new DefaultConnectionBuilder(); - connectionBuilderMap = new HashMap(); - ProxyConfigurationProvider proxyConf = ProxyConfigurationProvider.getInstance(); - for (int i = 0; i < proxyConf.getOnlineApplicationParameters().length; i++) { - OAProxyParameter oaParam = proxyConf.getOnlineApplicationParameters()[i]; - String publicURLPrefix = oaParam.getPublicURLPrefix(); - String className = oaParam.getConnectionBuilderImpl(); - if (className != null) { - try { - ConnectionBuilder cb = (ConnectionBuilder)Class.forName(className).newInstance(); - connectionBuilderMap.put(publicURLPrefix, cb); - } - catch (Throwable ex) { - throw new ConfigurationException("config.07", new Object[] {publicURLPrefix}, ex); - } - } - } - } - - /** - * Gets the ConnectionBuilder implementation to be used for the given - * online application. - * @param publicURLPrefix public URL prefix of the online application - * @return ConnectionBuilder implementation - */ - public static ConnectionBuilder getConnectionBuilder(String publicURLPrefix) { - ConnectionBuilder cb = (ConnectionBuilder) connectionBuilderMap.get(publicURLPrefix); - if (cb == null) - return defaultConnectionBuilder; - else - return cb; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java b/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java deleted file mode 100644 index 48e21f673..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultConnectionBuilder.java +++ /dev/null @@ -1,119 +0,0 @@ -package at.gv.egovernment.moa.id.proxy; - -import java.io.IOException; -import java.net.HttpURLConnection; -import java.net.URL; -import java.util.Iterator; -import java.util.Map; - -import javax.net.ssl.SSLSocketFactory; -import javax.servlet.http.HttpServletRequest; - -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.BoolUtils; - -import com.sun.net.ssl.HostnameVerifier; -import com.sun.net.ssl.HttpsURLConnection; - -/** - * Defaultimplementierung von ConnectionBuilder. - * @author Paul Ivancsics - * @version $Id$ - */ -public class DefaultConnectionBuilder implements ConnectionBuilder { - - /** a boolean to disable the HostnameVerification (default = false)*/ - private static boolean disableHostnameVerification = false; - - /** - * Constructor for DefaultConnectionBuilder. - * @throws ConfigurationException on any config error - */ - public DefaultConnectionBuilder() throws ConfigurationException { - disableHostnameVerification = BoolUtils.valueOf( - ProxyConfigurationProvider.getInstance().getGenericConfigurationParameter( - "ProxyComponent.DisableHostnameVerification")); - if (disableHostnameVerification) - Logger.warn("ProxyComponent.DisableHostnameVerification: " + disableHostnameVerification); - } - - /** - * @see at.gv.egovernment.moa.id.proxy.ConnectionBuilder#buildConnection - */ - public HttpURLConnection buildConnection( - HttpServletRequest req, - String publicURLPrefix, - String realURLPrefix, - SSLSocketFactory sslSocketFactory, - Map parameters) - throws IOException { - - String requestedURL = req.getRequestURL().toString(); - // check whether requested URL starts with publicURLPrefix - if (! requestedURL.startsWith(publicURLPrefix)) - throw new IOException(MOAIDMessageProvider.getInstance().getMessage( - "proxy.01", new Object[] {requestedURL, publicURLPrefix})); - // in case of GET request, append query string to requested URL; - // otherwise, HttpURLConnection would perform a POST request - if ("get".equalsIgnoreCase(req.getMethod()) && ! parameters.isEmpty()) { - requestedURL = appendQueryString(requestedURL, parameters); - } - // build real URL in online application - String realURLString = realURLPrefix + requestedURL.substring(publicURLPrefix.length()); - URL url = new URL(realURLString); - Logger.debug("OA Request: " + req.getMethod() + " " + url.toString()); - - HttpURLConnection conn = (HttpURLConnection)url.openConnection(); - conn.setRequestMethod(req.getMethod()); - conn.setDoInput(true); - conn.setDoOutput(true); - //conn.setUseCaches(false); - conn.setAllowUserInteraction(true); - conn.setInstanceFollowRedirects(false); - if (conn instanceof HttpsURLConnection && sslSocketFactory != null) { - HttpsURLConnection httpsConn = (HttpsURLConnection) conn; - httpsConn.setSSLSocketFactory(sslSocketFactory); - if (disableHostnameVerification) - httpsConn.setHostnameVerifier(new HostnameNonVerifier()); - } - return conn; - } - /** - * @param requestedURL - * @param parameters - * @return - */ - private String appendQueryString(String requestedURL, Map parameters) { - String newURL = requestedURL; - for (Iterator iter = parameters.keySet().iterator(); iter.hasNext();) { - String paramName = (String)iter.next(); - String paramValue = (String)parameters.get(paramName); - String paramString = paramName + "=" + paramValue; - if (newURL.indexOf("?") < 0) - newURL = newURL + "?" + paramString; - else - newURL = newURL + "&" + paramString; - } - return newURL; - } - - /** - * @author Stefan Knirsch - * @version $Id$ - * A private class to change the standard HostName verifier to disable the - * Hostname Verification Check - */ - private class HostnameNonVerifier implements HostnameVerifier { - - /** - * @see com.sun.net.ssl.HostnameVerifier#verify(String, String) - */ - public boolean verify(String arg0, String arg1) { - return true; - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java b/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java deleted file mode 100644 index db3c452bc..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/DefaultLoginParameterResolver.java +++ /dev/null @@ -1,118 +0,0 @@ -package at.gv.egovernment.moa.id.proxy; - -import java.io.IOException; -import java.util.HashMap; -import java.util.Iterator; -import java.util.Map; - -import at.gv.egovernment.moa.id.config.proxy.OAConfiguration; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.util.Base64Utils; - -/** - * Implementation of interface LoginParameterResolver - * @author Paul Ivancsics - * @version $Id$ - */ -public class DefaultLoginParameterResolver implements LoginParameterResolver { - - /** - * Constructor - */ - public DefaultLoginParameterResolver() { - } - - /** - * @see at.gv.egovernment.moa.id.proxy.LoginParameterResolver#getAuthenticationHeaders(at.gv.egovernment.moa.id.config.proxy.OAConfiguration, at.gv.egovernment.moa.id.auth.data.AuthenticationData, java.lang.String) - */ - public Map getAuthenticationHeaders( - OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress) { - - Map result = new HashMap(); - - if (oaConf.getAuthType().equals(OAConfiguration.BASIC_AUTH)) { - String useridPredicate = oaConf.getBasicAuthUserIDMapping(); - String userid = resolveValue(useridPredicate, authData, clientIPAddress); - String passwordPredicate = oaConf.getBasicAuthPasswordMapping(); - String password = resolveValue(passwordPredicate, authData, clientIPAddress); - - try { - String userIDPassword = userid + ":" + password; - String credentials = Base64Utils.encode(userIDPassword.getBytes()); - result.put("Authorization", "Basic " + credentials); - } - catch (IOException ignore) { - } - } - else if (oaConf.getAuthType().equals(OAConfiguration.HEADER_AUTH)) { - for (Iterator iter = oaConf.getHeaderAuthMapping().keySet().iterator(); iter.hasNext();) { - String key = (String) iter.next(); - String predicate = (String) oaConf.getHeaderAuthMapping().get(key); - String resolvedValue = resolveValue(predicate, authData, clientIPAddress); - result.put(key, resolvedValue); - } - } - - return result; - } - - /** - * @see at.gv.egovernment.moa.id.proxy.LoginParameterResolver#getAuthenticationParameters(at.gv.egovernment.moa.id.config.proxy.OAConfiguration, at.gv.egovernment.moa.id.auth.data.AuthenticationData, java.lang.String) - */ - public Map getAuthenticationParameters( - OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress) { - - Map result = new HashMap(); - - if (oaConf.getAuthType().equals(OAConfiguration.PARAM_AUTH)) { - for (Iterator iter = oaConf.getParamAuthMapping().keySet().iterator(); iter.hasNext();) { - String key = (String) iter.next(); - String predicate = (String) oaConf.getParamAuthMapping().get(key); - String resolvedValue = resolveValue(predicate, authData, clientIPAddress); - result.put(key, resolvedValue); - } - } - - return result; - } - - /** - * Resolves a login header or parameter value. - * @param predicate header or parameter predicate name from online application configuration - * @param authData authentication data for current login - * @param clientIPAddress client IP address - * @return header or parameter value resolved; null if unknown name is given - */ - private static String resolveValue(String predicate, AuthenticationData authData, String clientIPAddress) { - if (predicate.equals(MOAGivenName)) - return authData.getGivenName(); - else if (predicate.equals(MOAFamilyName)) - return authData.getFamilyName(); - else if (predicate.equals(MOADateOfBirth)) - return authData.getDateOfBirth(); - else if (predicate.equals(MOAVPK)) - return authData.getVPK(); - else if (predicate.equals(MOAPublicAuthority)) - if (authData.isPublicAuthority()) - return "true"; - else - return "false"; - else if (predicate.equals(MOABKZ)) - return authData.getPublicAuthorityCode(); - else if (predicate.equals(MOAQualifiedCertificate)) - if (authData.isQualifiedCertificate()) - return "true"; - else - return "false"; - else if (predicate.equals(MOAZMRZahl)) - return authData.getIdentificationValue(); - else if (predicate.equals(MOAIPAddress)) - return clientIPAddress; - else return null; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java b/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java deleted file mode 100644 index 497176a96..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolver.java +++ /dev/null @@ -1,72 +0,0 @@ -package at.gv.egovernment.moa.id.proxy; - -import java.util.Map; - -import at.gv.egovernment.moa.id.config.proxy.OAConfiguration; -import at.gv.egovernment.moa.id.data.AuthenticationData; - -/** - * Determines authentication parameters and headers to be added to a {@link java.net.URLConnection} - * to the remote online application. - * Utilizes {@link OAConfiguration} and {@link AuthenticationData}. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public interface LoginParameterResolver { - - /** Constants used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType, - * naming predicates used by the LoginParameterResolver. */ - public static final String MOAGivenName = "MOAGivenName"; - /** Constant used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType */ - public static final String MOAFamilyName = "MOAFamilyName"; - /** Constant used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType */ - public static final String MOADateOfBirth = "MOADateOfBirth"; - /** Constant used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType */ - public static final String MOAVPK = "MOAVPK"; - /** Constant used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType */ - public static final String MOAPublicAuthority = "MOAPublicAuthority"; - /** Constant used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType */ - public static final String MOABKZ = "MOABKZ"; - /** Constant used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType */ - public static final String MOAQualifiedCertificate = "MOAQualifiedCertificate"; - /** Constant used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType */ - public static final String MOAZMRZahl = "MOAZMRZahl"; - /** Constant used in MOAIDConfiguration-1.1.xsd, type MOAAuthDataType */ - public static final String MOAIPAddress = "MOAIPAddress"; - - /** - * Returns authentication headers to be added to a URLConnection. - * - * @param oaConf configuration data - * @param authData authentication data - * @param clientIPAddress client IP address - * @return A map, the keys being header names and values being corresponding header values. - *
    In case of authentication type "basic-auth", header fields - * username and password. - *
    In case of authentication type "header-auth", header fields - * derived from parameter mapping and authentication data provided. - *
    Otherwise, an empty map. - */ - public Map getAuthenticationHeaders ( - OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress); - - /** - * Returns request parameters to be added to a URLConnection. - * - * @param oaConf configuration data - * @param authData authentication data - * @param clientIPAddress client IP address - * @return A map, the keys being parameter names and values being corresponding parameter values. - *
    In case of authentication type "param-auth", parameters - * derived from parameter mapping and authentication data provided. - *
    Otherwise, an empty map. - */ - public Map getAuthenticationParameters ( - OAConfiguration oaConf, - AuthenticationData authData, - String clientIPAddress); - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolverFactory.java b/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolverFactory.java deleted file mode 100644 index 2ab245923..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/LoginParameterResolverFactory.java +++ /dev/null @@ -1,68 +0,0 @@ -package at.gv.egovernment.moa.id.proxy; - -import java.util.HashMap; -import java.util.Map; - -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.config.proxy.OAProxyParameter; - -/** - * Factory delivering a {@link LoginParameterResolver} implementation for - * an online application, initialized from configuration data. - * @author Paul Ivancsics - * @version $Id$ - */ -public class LoginParameterResolverFactory { - - /** default login parameter resolver to be used for online application - * where no special implementation of the LoginParameterResolver - * interface is configured - */ - private static LoginParameterResolver defaultLoginParameterResolver; - /** mapping from online application public URL prefix to an implementation - * of the LoginParameterResolver interface to be used; - * if no mapping is given for an online application, the - * DefaultLoginParameterResolver will be used */ - private static Map loginParameterResolverMap; - - /** - * Initializes the LoginParameterResolver map from the configuration data. - * @throws ConfigurationException when the configuration cannot be read, - * or when a class name configured cannot be instantiated - */ - public static void initialize() throws ConfigurationException { - defaultLoginParameterResolver = new DefaultLoginParameterResolver(); - loginParameterResolverMap = new HashMap(); - ProxyConfigurationProvider proxyConf = ProxyConfigurationProvider.getInstance(); - for (int i = 0; i < proxyConf.getOnlineApplicationParameters().length; i++) { - OAProxyParameter oaParam = proxyConf.getOnlineApplicationParameters()[i]; - String publicURLPrefix = oaParam.getPublicURLPrefix(); - String className = oaParam.getLoginParameterResolverImpl(); - if (className != null) { - try { - LoginParameterResolver lpr = (LoginParameterResolver)Class.forName(className).newInstance(); - loginParameterResolverMap.put(publicURLPrefix, lpr); - } - catch (Throwable ex) { - throw new ConfigurationException("config.07", new Object[] {publicURLPrefix}, ex); - } - } - } - } - - /** - * Gets the LoginParameterResolver implementation to be used for the given - * online application. - * @param publicURLPrefix public URL prefix of the online application - * @return LoginParameterResolver implementation - */ - public static LoginParameterResolver getLoginParameterResolver(String publicURLPrefix) { - LoginParameterResolver lpr = (LoginParameterResolver) loginParameterResolverMap.get(publicURLPrefix); - if (lpr == null) - return defaultLoginParameterResolver; - else - return lpr; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/MOAIDProxyInitializer.java b/id.server/src/at/gv/egovernment/moa/id/proxy/MOAIDProxyInitializer.java deleted file mode 100644 index da5d36678..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/MOAIDProxyInitializer.java +++ /dev/null @@ -1,91 +0,0 @@ -package at.gv.egovernment.moa.id.proxy; - -import iaik.pki.PKIException; -import iaik.pki.jsse.IAIKX509TrustManager; - -import java.io.IOException; -import java.security.GeneralSecurityException; - -import javax.net.ssl.SSLSocketFactory; - -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.proxy.OAProxyParameter; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.iaik.config.LoggerConfigImpl; -import at.gv.egovernment.moa.id.util.AxisSecureSocketFactory; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.id.util.SSLUtils; -import at.gv.egovernment.moa.logging.Logger; - -/** - * Web application initializer - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class MOAIDProxyInitializer { - - /** - * Initializes the web application components which need initialization: - * logging, JSSE, MOA-ID Auth configuration, Axis, session cleaner. - */ - public static void initialize() - throws ConfigurationException, IOException, GeneralSecurityException, PKIException { - - Logger.setHierarchy("moa.id.proxy"); - - // Restricts TLS cipher suites - System.setProperty("https.cipherSuites", "SSL_RSA_WITH_RC4_128_SHA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_3DES_EDE_CBC_SHA"); - - // load some jsse classes so that the integrity of the jars can be verified - // before the iaik jce is installed as the security provider - // this workaround is only needed when sun jsse is used in conjunction with - // iaik-jce (on jdk1.3) - ClassLoader cl = MOAIDProxyInitializer.class.getClassLoader(); - try { - cl.loadClass("javax.security.cert.Certificate"); // from jcert.jar - } - catch (ClassNotFoundException e) { - Logger.warn(MOAIDMessageProvider.getInstance().getMessage("init.01", null), e); - } - - // Initializes the SSLSocketFactory store - SSLUtils.initialize(); - - // Initializes IAIKX509TrustManager logging - String log4jConfigURL = System.getProperty("log4j.configuration"); - if (log4jConfigURL != null) { - IAIKX509TrustManager.initLog(new LoggerConfigImpl(log4jConfigURL)); - } - - // Loads the configuration - ProxyConfigurationProvider proxyConf = ProxyConfigurationProvider.reload(); - - // Initializes the Axis secure socket factory for use in calling the MOA-Auth web service, - // using configuration data - ConnectionParameter connParamAuth = proxyConf.getAuthComponentConnectionParameter(); - if (connParamAuth.isHTTPSURL()) { - SSLSocketFactory ssf = SSLUtils.getSSLSocketFactory(proxyConf, connParamAuth); - AxisSecureSocketFactory.initialize(ssf); - } - - // Initializes the Axis secure socket factories for use in calling the online applications, - // using configuration data - OAProxyParameter[] oaParams = proxyConf.getOnlineApplicationParameters(); - for (int i = 0; i < oaParams.length; i++) { - OAProxyParameter oaParam = oaParams[i]; - ConnectionParameter oaConnParam = oaParam.getConnectionParameter(); - if (oaConnParam.isHTTPSURL()) - SSLUtils.getSSLSocketFactory(proxyConf, oaConnParam); - } - - // Initializes the ConnectionBuilderFactory from configuration data - ConnectionBuilderFactory.initialize(); - - // Initializes the LoginParameterResolverFactory from configuration data - LoginParameterResolverFactory.initialize(); - - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/WebmailLoginParameterResolver.class b/id.server/src/at/gv/egovernment/moa/id/proxy/WebmailLoginParameterResolver.class deleted file mode 100644 index 49200265a..000000000 Binary files a/id.server/src/at/gv/egovernment/moa/id/proxy/WebmailLoginParameterResolver.class and /dev/null differ diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestBuilder.java b/id.server/src/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestBuilder.java deleted file mode 100644 index e0e1fde4a..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestBuilder.java +++ /dev/null @@ -1,55 +0,0 @@ -package at.gv.egovernment.moa.id.proxy.builder; - -import java.text.MessageFormat; -import java.util.Calendar; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.DateTimeUtils; - -/** - * Builder for the <samlp:Request> used for querying - * the authentication data <saml:Assertion>. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLRequestBuilder implements Constants { - /** samlp-Request template */ - private static final String REQUEST = - "" + - "{2}" + - ""; - - /** - * Constructor for SAMLRequestBuilder. - */ - public SAMLRequestBuilder() { - super(); - } - - /** - * Builds the <samlp:Request>. - * @param requestID request ID - * @param samlArtifactBase64 SAML artifact, encoded BASE64 - * @return the DOM element - */ - public Element build(String requestID, String samlArtifactBase64) throws BuildException { - try { - String issueInstant = DateTimeUtils.buildDateTime(Calendar.getInstance()); - String request = MessageFormat.format(REQUEST, new Object[] {requestID, issueInstant, samlArtifactBase64}); - Element requestElem = DOMUtils.parseDocument(request, false, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - return requestElem; - } - catch (Throwable ex) { - throw new BuildException( - "builder.00", - new Object[] {"samlp:Request", ex.toString()}, - ex); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/invoke/GetAuthenticationDataInvoker.java b/id.server/src/at/gv/egovernment/moa/id/proxy/invoke/GetAuthenticationDataInvoker.java deleted file mode 100644 index 4e9a72111..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/invoke/GetAuthenticationDataInvoker.java +++ /dev/null @@ -1,143 +0,0 @@ -package at.gv.egovernment.moa.id.proxy.invoke; - -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.util.Vector; - -import javax.xml.namespace.QName; -import javax.xml.rpc.Call; -import javax.xml.rpc.Service; -import javax.xml.rpc.ServiceFactory; - -import org.apache.axis.message.SOAPBodyElement; -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.id.ServiceException; -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.id.data.SAMLStatus; -import at.gv.egovernment.moa.id.proxy.builder.SAMLRequestBuilder; -import at.gv.egovernment.moa.id.proxy.parser.SAMLResponseParser; -import at.gv.egovernment.moa.id.proxy.servlet.ProxyException; -import at.gv.egovernment.moa.id.util.Random; - -/** - * Invoker of - *
      - *
    • either the GetAuthenticationData web service of MOA-ID Auth
    • - *
    • or the API call {@link at.gv.egovernment.moa.id.auth.AuthenticationServer#getAuthenticationData},
    • - *
    - * depending of the configuration. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class GetAuthenticationDataInvoker { - /** Create a new QName object for the webservice endpoint */ - private static final QName SERVICE_QNAME = new QName("GetAuthenticationData"); - - /** invoked object for API call of MOA-ID Auth */ - private static Object apiServer = null; - /** invoked method for API call of MOA-ID Auth */ - private static Method apiMethod = null; - - /** - * Invokes the service passing domain model objects. - * @param samlArtifact SAML artifact - * @return AuthenticationData object - * @throws ServiceException on any exception thrown - */ - /** - * Get authentication data from the MOA-ID Auth component, - * either via API call or via web service call. - * @param samlArtifact SAML artifact to be used as a parameter - * @return AuthenticationData - */ - public AuthenticationData getAuthenticationData(String samlArtifact) - throws ConfigurationException, ProxyException, BuildException, ServiceException, ParseException, AuthenticationException { - - ConnectionParameter authConnParam = - ProxyConfigurationProvider.getInstance().getAuthComponentConnectionParameter(); - if (authConnParam == null) { - try { - if (apiServer == null) { - Class serverClass = Class.forName("at.gv.egovernment.moa.id.auth.AuthenticationServer"); - Method getInstanceMethod = serverClass.getMethod("getInstance", null); - apiServer = getInstanceMethod.invoke(null, null); - apiMethod = serverClass.getMethod( - "getAuthenticationData", new Class[] {String.class}); - } - AuthenticationData authData = (AuthenticationData)apiMethod.invoke(apiServer, new Object[] {samlArtifact}); - return authData; - } - catch (InvocationTargetException ex) { - Throwable targetEx = ex.getTargetException(); - if (targetEx instanceof AuthenticationException) - throw (AuthenticationException) targetEx; - else - throw new ProxyException("proxy.09", new Object[] {targetEx.toString()}); - } - catch (Throwable ex) { - throw new ProxyException("proxy.09", new Object[] {ex.toString()}); - } - } - else { - Element samlpRequest = new SAMLRequestBuilder().build(Random.nextRandom(), samlArtifact); - Element samlpResponse = getAuthenticationData(samlpRequest); - SAMLResponseParser srp = new SAMLResponseParser(samlpResponse); - SAMLStatus status = srp.parseStatusCode(); - if (! "samlp:Success".equals(status.getStatusCode())) { - // on error status throw exception - String code = status.getStatusCode(); - if (status.getSubStatusCode() != null && status.getSubStatusCode().length() > 0) - code += "(" + status.getSubStatusCode() + ")"; - throw new ServiceException("service.02", new Object[] {code, status.getStatusMessage()}); - } - return srp.parseAuthenticationData(); - } - } - - /** - * Invokes the service passing DOM elements. - * @param request request DOM element - * @return response DOM element - * @throws ServiceException on any exception thrown - */ - public Element getAuthenticationData(Element request) throws ServiceException { - try { - Service service = ServiceFactory.newInstance().createService(SERVICE_QNAME); - Call call = service.createCall(); - SOAPBodyElement body = - new SOAPBodyElement(request); - SOAPBodyElement[] params = new SOAPBodyElement[] {body}; - Vector responses; - SOAPBodyElement response; - - String endPoint; - ConnectionParameter authConnParam = - ProxyConfigurationProvider.getInstance().getAuthComponentConnectionParameter(); - - //If the ConnectionParameter do NOT exist, we throw an exception .... - if (authConnParam!=null) { - endPoint = authConnParam.getUrl(); - call.setTargetEndpointAddress(endPoint); - responses = (Vector) call.invoke(SERVICE_QNAME, params); - response = (SOAPBodyElement) responses.get(0); - return response.getAsDOM(); - } - else - { - throw new ServiceException("service.01", null); - } - } - catch (Exception ex) { - throw new ServiceException("service.00", new Object[] {ex.toString()}, ex); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/parser/AuthenticationDataAssertionParser.java b/id.server/src/at/gv/egovernment/moa/id/proxy/parser/AuthenticationDataAssertionParser.java deleted file mode 100644 index ce0743b3d..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/parser/AuthenticationDataAssertionParser.java +++ /dev/null @@ -1,145 +0,0 @@ -package at.gv.egovernment.moa.id.proxy.parser; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.util.BoolUtils; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Parser for the <saml:Assertion> returned by the - * GetAuthenticationData web service. - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationDataAssertionParser implements Constants { - - /** Prefix for SAML-Xpath-expressions */ - private static String SAML = SAML_PREFIX + ":"; - /** Prefix for PersonData-Xpath-expressions */ - private static String PR = PD_PREFIX + ":"; - /** Prefix for Attribute MajorVersion in an Xpath-expression */ - private static String MAJOR_VERSION_XPATH = - "@MajorVersion"; - /** Prefix for Attribute MinorVersion in an Xpath-expression */ - private static String MINOR_VERSION_XPATH = - "@MinorVersion"; - /** Prefix for Attribute AssertionID in an Xpath-expression */ - private static String ASSERTION_ID_XPATH = - "@AssertionID"; - /** Prefix for Attribute Issuer in an Xpath-expression */ - private static String ISSUER_XPATH = - "@Issuer"; - /** Prefix for Attribute IssueInstant in an Xpath-expression */ - private static String ISSUE_INSTANT_XPATH = - "@IssueInstant"; - /** Prefix for Element AttributeStatement in an Xpath-expression */ - private static String ATTRIBUTESTATEMENT_XPATH = - SAML + "AttributeStatement/"; - /** Prefix for Element NameIdentifier in an Xpath-expression */ - private static String VPK_XPATH = - ATTRIBUTESTATEMENT_XPATH + - SAML + "Subject/" + - SAML + "NameIdentifier"; - /** Prefix for Element Person in an Xpath-expression */ - private static String PERSONDATA_XPATH = - ATTRIBUTESTATEMENT_XPATH + - SAML + "Attribute[@AttributeName=\"PersonData\"]/" + - SAML + "AttributeValue/" + - PR + "Person/"; - /** Prefix for Element Value in an Xpath-expression */ - private static String ZMRZAHL_XPATH = - PERSONDATA_XPATH + - PR + "Identification/" + - PR + "Value"; - /** Prefix for Element GivenName in an Xpath-expression */ - private static String GIVEN_NAME_XPATH = - PERSONDATA_XPATH + - PR + "Name/" + - PR + "GivenName"; - /** Prefix for Element FamilyName in an Xpath-expression */ - private static String FAMILY_NAME_XPATH = - PERSONDATA_XPATH + - PR + "Name/" + - PR + "FamilyName"; - /** Prefix for Element DateOfBirth in an Xpath-expression */ - private static String DATE_OF_BIRTH_XPATH = - PERSONDATA_XPATH + - PR + "DateOfBirth"; - /** Prefix for Element AttributeValue in an Xpath-expression */ - private static String IS_QUALIFIED_CERT_XPATH = - ATTRIBUTESTATEMENT_XPATH + - SAML + "Attribute[@AttributeName=\"isQualifiedCertificate\"]/" + - SAML + "AttributeValue"; - /** Prefix for Element AttributeValue in an Xpath-expression */ - private static String PUBLIC_AUTHORITY_XPATH = - ATTRIBUTESTATEMENT_XPATH + - SAML + "Attribute[@AttributeName=\"isPublicAuthority\"]/" + - SAML + "AttributeValue"; - /** Element samlAssertion represents the SAML:Assertion */ - private Element samlAssertion; - - /** - * Constructor - * @param samlAssertion samlpResponse the <samlp:Response> as a DOM element - */ - public AuthenticationDataAssertionParser(Element samlAssertion) { - this.samlAssertion = samlAssertion; - } - - /** - * Parses the <saml:Assertion>. - * @return AuthenticationData object - * @throws ParseException on any error - */ - public AuthenticationData parseAuthenticationData() - throws ParseException { - - try { - AuthenticationData authData = new AuthenticationData(); - //ÄNDERN: NUR der Identification-Teil - authData.setSamlAssertion(DOMUtils.serializeNode(samlAssertion)); - authData.setMajorVersion(new Integer( - XPathUtils.getAttributeValue(samlAssertion, MAJOR_VERSION_XPATH, "-1")).intValue()); - authData.setMinorVersion(new Integer( - XPathUtils.getAttributeValue(samlAssertion, MINOR_VERSION_XPATH, "-1")).intValue()); - authData.setAssertionID( - XPathUtils.getAttributeValue(samlAssertion, ASSERTION_ID_XPATH, "")); - authData.setIssuer( - XPathUtils.getAttributeValue(samlAssertion, ISSUER_XPATH, "")); - authData.setIssueInstant( - XPathUtils.getAttributeValue(samlAssertion, ISSUE_INSTANT_XPATH, "")); - authData.setVPK( - XPathUtils.getElementValue(samlAssertion, VPK_XPATH, "")); - authData.setIdentificationValue( - XPathUtils.getElementValue(samlAssertion, ZMRZAHL_XPATH, "")); - authData.setGivenName( - XPathUtils.getElementValue(samlAssertion, GIVEN_NAME_XPATH, "")); - authData.setFamilyName( - XPathUtils.getElementValue(samlAssertion, FAMILY_NAME_XPATH, "")); - authData.setDateOfBirth( - XPathUtils.getElementValue(samlAssertion, DATE_OF_BIRTH_XPATH, "")); - authData.setQualifiedCertificate(BoolUtils.valueOf( - XPathUtils.getElementValue(samlAssertion, IS_QUALIFIED_CERT_XPATH, ""))); - String publicAuthority = - XPathUtils.getElementValue(samlAssertion, PUBLIC_AUTHORITY_XPATH, null); - if (publicAuthority == null) { - authData.setPublicAuthority(false); - authData.setPublicAuthorityCode(""); - } - else { - authData.setPublicAuthority(true); - if (! publicAuthority.equalsIgnoreCase("true")) - authData.setPublicAuthorityCode(publicAuthority); - } - return authData; - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString() }, t); - } - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/parser/SAMLResponseParser.java b/id.server/src/at/gv/egovernment/moa/id/proxy/parser/SAMLResponseParser.java deleted file mode 100644 index 9f77578fd..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/parser/SAMLResponseParser.java +++ /dev/null @@ -1,100 +0,0 @@ -package at.gv.egovernment.moa.id.proxy.parser; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.id.data.SAMLStatus; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Parser for the <samlp:Response> returned by the - * GetAuthenticationData web service. - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLResponseParser implements Constants { - /** Element containing the samlResponse */ - private Element samlResponse; - /** Xpath prefix for reaching SAMLP Namespaces */ - private static String SAMLP = SAMLP_PREFIX + ":"; - /** Xpath prefix for reaching SAML Namespaces */ - private static String SAML = SAML_PREFIX + ":"; - /** Xpath prefix for reaching PersonData Namespaces */ - private static String PR = PD_PREFIX + ":"; - /** Xpath expression for reaching the SAMLP:Response element */ - private static final String ROOT = - "/" + SAMLP + "Response/"; - /** Xpath expression for reaching the SAMLP:Status element */ - private static final String STATUS_XPATH = - ROOT + - SAMLP + "Status/"; - /** Xpath expression for reaching the SAMLP:StatusCode_Value attribute */ - private static final String STATUSCODE_XPATH = - STATUS_XPATH + - SAMLP + "StatusCode/@Value"; - /** Xpath expression for reaching the SAMLP:SubStatusCode_Value attribute */ - private static final String SUBSTATUSCODE_XPATH = - STATUS_XPATH + - SAMLP + "StatusCode/" + - SAMLP + "StatusCode/@Value"; - /** Xpath expression for reaching the SAMLP:StatusMessage element */ - private static final String STATUSMESSAGE_XPATH = - STATUS_XPATH + - SAMLP + "StatusMessage"; - /** Xpath expression for reaching the SAML:Assertion element */ - private static String ASSERTION_XPATH = - ROOT + - SAML + "Assertion"; - - /** - * Constructor - * @param samlResponse the <samlp:Response> as a DOM element - */ - public SAMLResponseParser(Element samlResponse) { - this.samlResponse = samlResponse; - } - - /** - * Parses the <samlp:StatusCode> from the <samlp:Response>. - * @return AuthenticationData object - * @throws ParseException on any parsing error - */ - public SAMLStatus parseStatusCode() - throws ParseException { - - SAMLStatus status = new SAMLStatus(); - try { - status.setStatusCode( - XPathUtils.getAttributeValue(samlResponse, STATUSCODE_XPATH, "")); - status.setSubStatusCode( - XPathUtils.getAttributeValue(samlResponse, SUBSTATUSCODE_XPATH, "")); - status.setStatusMessage( - XPathUtils.getElementValue(samlResponse, STATUSMESSAGE_XPATH, "")); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString() }, t); - } - return status; - } - - /** - * Parses the <saml:Assertion> from the <samlp:Response>. - * @return AuthenticationData object - * @throws ParseException on any parsing error - */ - public AuthenticationData parseAuthenticationData() - throws ParseException { - - Element samlAssertion; - try { - samlAssertion = (Element)XPathUtils.selectSingleNode(samlResponse, ASSERTION_XPATH); - } - catch (Throwable t) { - throw new ParseException("parser.01", new Object[] { t.toString() }, t); - } - return new AuthenticationDataAssertionParser(samlAssertion).parseAuthenticationData(); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ConfigurationServlet.java b/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ConfigurationServlet.java deleted file mode 100644 index a00c48387..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ConfigurationServlet.java +++ /dev/null @@ -1,73 +0,0 @@ -package at.gv.egovernment.moa.id.proxy.servlet; - -import java.io.IOException; -import java.io.PrintWriter; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egovernment.moa.id.proxy.MOAIDProxyInitializer; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.logging.Logger; - -/** - * Servlet requested for updating the MOA-ID Auth configuration from configuration file - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class ConfigurationServlet extends HttpServlet { - /** The standard String for DTD Doc-type */ - private static final String DOC_TYPE = - "\n"; - - /** - * Handle a HTTP GET request, used to indicated that the MOA - * configuration needs to be updated (reloaded). - * - * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest, HttpServletResponse) - */ - public void doGet(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - - MOAIDMessageProvider msg = MOAIDMessageProvider.getInstance(); - PrintWriter out; - - response.setContentType("text/html"); - out = response.getWriter(); - out.println(DOC_TYPE); - out.println("MOA configuration update"); - out.println(""); - try { - MOAIDProxyInitializer.initialize(); - String message = msg.getMessage("config.00", null); - Logger.info(message); - out.println("

    "); - out.println(message); - out.println("

    "); - } catch (Throwable t) { - String errorMessage = msg.getMessage("config.04", null); - Logger.error(errorMessage, t); - out.println("

    "); - out.println(errorMessage); - out.println("

    "); - } - out.println(""); - - out.flush(); - out.close(); - } - - /** - * Do the same as doGet. - * - * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest, HttpServletResponse) - */ - public void doPost(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - doGet(request, response); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ProxyException.java b/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ProxyException.java deleted file mode 100644 index 0080c010e..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ProxyException.java +++ /dev/null @@ -1,35 +0,0 @@ -package at.gv.egovernment.moa.id.proxy.servlet; - -import at.gv.egovernment.moa.id.MOAIDException; - -/** - * Exception thrown while proxying a request to the online application - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class ProxyException extends MOAIDException { - - /** - * Constructor for ProxyException. - * @param messageId - * @param parameters - */ - public ProxyException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Constructor for ProxyException. - * @param messageId - * @param parameters - * @param wrapped - */ - public ProxyException( - String messageId, - Object[] parameters, - Throwable wrapped) { - super(messageId, parameters, wrapped); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ProxyServlet.java b/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ProxyServlet.java deleted file mode 100644 index c52de2ba8..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/proxy/servlet/ProxyServlet.java +++ /dev/null @@ -1,531 +0,0 @@ -package at.gv.egovernment.moa.id.proxy.servlet; - -import java.io.BufferedInputStream; -import java.io.BufferedOutputStream; -import java.io.IOException; -import java.io.OutputStream; -import java.io.PrintWriter; -import java.io.StringWriter; -import java.net.HttpURLConnection; -import java.net.URLEncoder; -import java.util.Enumeration; -import java.util.HashMap; -import java.util.Iterator; -import java.util.Map; - -import javax.net.ssl.SSLSocketFactory; -import javax.servlet.ServletConfig; -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.servlet.http.HttpSession; - -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.id.MOAIDException; -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.id.ServiceException; -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.config.proxy.OAConfiguration; -import at.gv.egovernment.moa.id.config.proxy.OAProxyParameter; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.id.data.CookieManager; -import at.gv.egovernment.moa.id.proxy.ConnectionBuilder; -import at.gv.egovernment.moa.id.proxy.ConnectionBuilderFactory; -import at.gv.egovernment.moa.id.proxy.LoginParameterResolver; -import at.gv.egovernment.moa.id.proxy.LoginParameterResolverFactory; -import at.gv.egovernment.moa.id.proxy.MOAIDProxyInitializer; -import at.gv.egovernment.moa.id.proxy.invoke.GetAuthenticationDataInvoker; -import at.gv.egovernment.moa.id.util.MOAIDMessageProvider; -import at.gv.egovernment.moa.id.util.SSLUtils; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.Base64Utils; - -/** - * Servlet requested for logging in at an online application, - * and then for proxying requests to the online application. - * @author Paul Ivancsics - * @version $Id$ - */ -public class ProxyServlet extends HttpServlet { - /** Name of the Parameter for the Target */ - private static final String PARAM_TARGET = "Target"; - /** Name of the Parameter for the SAMLArtifact */ - private static final String PARAM_SAMLARTIFACT = "SAMLArtifact"; - - /** Name of the Attribute for the PublicURLPrefix */ - private static final String ATT_PUBLIC_URLPREFIX = "PublicURLPrefix"; - /** Name of the Attribute for the RealURLPrefix */ - private static final String ATT_REAL_URLPREFIX = "RealURLPrefix"; - /** Name of the Attribute for the SSLSocketFactory */ - private static final String ATT_SSL_SOCKET_FACTORY = "SSLSocketFactory"; - /** Name of the Attribute for the LoginHeaders */ - private static final String ATT_LOGIN_HEADERS = "LoginHeaders"; - /** Name of the Attribute for the LoginParameters */ - private static final String ATT_LOGIN_PARAMETERS = "LoginParameters"; - - /** - * @see javax.servlet.http.HttpServlet#service(HttpServletRequest, HttpServletResponse) - */ - protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { - - Logger.debug("getRequestURL:" + req.getRequestURL().toString()); - try { - if (req.getParameter(PARAM_SAMLARTIFACT) != null && req.getParameter(PARAM_TARGET) != null) - login(req, resp); - else - tunnelRequest(req, resp); - } - catch (MOAIDException ex) { - handleError(resp, ex.toString(), ex); - } - catch (Throwable ex) { - handleError(resp, ex.toString(), ex); - } - } - - /** - * Login to online application at first call of servlet for a user session.
    - *
      - *
    • Acquires authentication data from the MOA-ID Auth component.
    • - *
    • Reads configuration data for the online application.
    • - *
    • Resolves login parameters.
    • - *
    • Sets up an SSLSocketFactory in case of a secure connection to the online application.
    • - *
    • For a stateless online application, stores data in the HttpSession.
    • - *
    • Tunnels the request to the online application.
    • - *
    - * @param req - * @param resp - * @throws ConfigurationException when wrong configuration is encountered - * @throws ProxyException when wrong configuration is encountered - * @throws BuildException while building the request for MOA-ID Auth - * @throws ServiceException while invoking MOA-ID Auth - * @throws ParseException while parsing the response from MOA-ID Auth - */ - private void login(HttpServletRequest req, HttpServletResponse resp) throws ConfigurationException, ProxyException, BuildException, ServiceException, ParseException, AuthenticationException { - - String samlArtifact = req.getParameter(PARAM_SAMLARTIFACT); - Logger.debug("moa-id-proxy login " + PARAM_SAMLARTIFACT + ": " + samlArtifact); - // String target = req.getParameter(PARAM_TARGET); parameter given but not processed - - // get authentication data from the MOA-ID Auth component - AuthenticationData authData = new GetAuthenticationDataInvoker().getAuthenticationData(samlArtifact); - - String urlRequested = req.getRequestURL().toString(); - - // read configuration data - ProxyConfigurationProvider proxyConf = ProxyConfigurationProvider.getInstance(); - OAProxyParameter oaParam = proxyConf.getOnlineApplicationParameter(urlRequested); - if (oaParam == null) { - throw new ProxyException("proxy.02", new Object[] { urlRequested }); - } - String publicURLPrefix = oaParam.getPublicURLPrefix(); - Logger.debug("OA: " + publicURLPrefix); - OAConfiguration oaConf = oaParam.getOaConfiguration(); - ConnectionParameter oaConnParam = oaParam.getConnectionParameter(); - String realURLPrefix = oaConnParam.getUrl(); - - // resolve login parameters to be forwarded to online application - LoginParameterResolver lpr = LoginParameterResolverFactory.getLoginParameterResolver(publicURLPrefix); - String clientIPAddress = req.getRemoteAddr(); - Map loginHeaders = null; - Map loginParameters = null; - if (oaConf.getAuthType().equals(OAConfiguration.PARAM_AUTH)) - loginParameters = lpr.getAuthenticationParameters(oaConf, authData, clientIPAddress); - else - loginHeaders = lpr.getAuthenticationHeaders(oaConf, authData, clientIPAddress); - - // setup SSLSocketFactory for communication with the online application - SSLSocketFactory ssf = null; - if (oaConnParam.isHTTPSURL()) { - try { - ssf = SSLUtils.getSSLSocketFactory(proxyConf, oaConnParam); - } - catch (Throwable ex) { - throw new ProxyException("proxy.05", new Object[] { oaConnParam.getUrl(), ex.toString()}, ex); - } - } - - try { - // for stateless online application, store data in HttpSession - String loginType = oaConf.getLoginType(); - Logger.debug("Login type: " + loginType); - if (loginType.equals(OAConfiguration.LOGINTYPE_STATELESS)) { - HttpSession session = req.getSession(); - int sessionTimeOut = oaParam.getSessionTimeOut(); - if (sessionTimeOut == 0) - sessionTimeOut = 60 * 60; // default 1 h - session.setMaxInactiveInterval(sessionTimeOut); - session.setAttribute(ATT_PUBLIC_URLPREFIX, publicURLPrefix); - session.setAttribute(ATT_REAL_URLPREFIX, realURLPrefix); - session.setAttribute(ATT_SSL_SOCKET_FACTORY, ssf); - session.setAttribute(ATT_LOGIN_HEADERS, loginHeaders); - session.setAttribute(ATT_LOGIN_PARAMETERS, loginParameters); - Logger.debug("moa-id-proxy: HTTPSession angelegt"); - } - - // tunnel request to the online application - int respcode = tunnelRequest(req, resp, loginHeaders, loginParameters, publicURLPrefix, realURLPrefix, ssf); - if (respcode == 401) - { - Logger.debug("Got 401, trying again"); - - respcode = tunnelRequest(req, resp, loginHeaders, loginParameters, publicURLPrefix, realURLPrefix, ssf); - if (respcode == 401) - throw new ProxyException("proxy.12", new Object[] { realURLPrefix}); - } - } - catch (ProxyException ex) { - throw new ProxyException("proxy.12", new Object[] { realURLPrefix}); - } - catch (Throwable ex) { - throw new ProxyException("proxy.04", new Object[] { urlRequested, ex.toString()}, ex); - } - } - - /** - * Tunnels a request to the stateless online application using data stored in the HTTP session. - * @param req HTTP request - * @param resp HTTP response - * @throws IOException if an I/O error occurs - */ - private void tunnelRequest(HttpServletRequest req, HttpServletResponse resp) throws ProxyException, IOException { - - Logger.debug("Tunnel request (stateless)"); - HttpSession session = req.getSession(false); - if (session == null) - throw new ProxyException("proxy.07", null); - String publicURLPrefix = (String) session.getAttribute(ATT_PUBLIC_URLPREFIX); - String realURLPrefix = (String) session.getAttribute(ATT_REAL_URLPREFIX); - SSLSocketFactory ssf = (SSLSocketFactory) session.getAttribute(ATT_SSL_SOCKET_FACTORY); - Map loginHeaders = (Map) session.getAttribute(ATT_LOGIN_HEADERS); - Map loginParameters = (Map) session.getAttribute(ATT_LOGIN_PARAMETERS); - if (publicURLPrefix == null || realURLPrefix == null) - throw new ProxyException("proxy.08", new Object[] { req.getRequestURL().toString()}); - - int respcode = tunnelRequest(req, resp, loginHeaders, loginParameters, publicURLPrefix, realURLPrefix, ssf); - if (respcode == 401) - { - Logger.debug("Got 401, trying again"); - respcode = tunnelRequest(req, resp, loginHeaders, loginParameters, publicURLPrefix, realURLPrefix, ssf); - if (respcode == 401) - throw new ProxyException("proxy.12", new Object[] { realURLPrefix}); - } - } - -/** - * Tunnels a request to the online application using given URL mapping and SSLSocketFactory. - * This method returns the ResponseCode of the request to the online application. - * @param req HTTP request - * @param resp HTTP response - * @param loginHeaders header field/values to be inserted for purposes of authentication; - * may be null - * @param loginParameters parameter name/values to be inserted for purposes of authentication; - * may be null - * @param publicURLPrefix prefix of request URL to be substituted for the realURLPrefix - * @param realURLPrefix prefix of online application URL to substitute the publicURLPrefix - * @param ssf SSLSocketFactory to use - * @throws IOException if an I/O error occurs - */ -private int tunnelRequest(HttpServletRequest req, HttpServletResponse resp, Map loginHeaders, Map loginParameters, String publicURLPrefix, String realURLPrefix, SSLSocketFactory ssf) - throws IOException { - - // collect headers from request - Map headers = new HashMap(); - for (Enumeration enum = req.getHeaderNames(); enum.hasMoreElements();) { - String headerKey = (String) enum.nextElement(); - //We ignore any Basic-Auth-Headers from the client - if (headerKey.equalsIgnoreCase("Authorization")) - { Logger.debug("Ignoring authorization-header from browser: " +req.getHeader(headerKey) ); - } - else - headers.put(headerKey, req.getHeader(headerKey)); - } - // collect login headers, possibly overwriting headers from request - if (loginHeaders != null) { - for (Iterator iter = loginHeaders.keySet().iterator(); iter.hasNext();) { - String headerKey = (String) iter.next(); - headers.put(headerKey, loginHeaders.get(headerKey)); - } - } - // collect parameters from request - Map parameters = new HashMap(); - for (Enumeration enum = req.getParameterNames(); enum.hasMoreElements();) { - String paramName = (String) enum.nextElement(); - parameters.put(paramName, req.getParameter(paramName)); - } - // collect login parameters, possibly overwriting parameters from request - if (loginParameters != null) { - for (Iterator iter = loginParameters.keySet().iterator(); iter.hasNext();) { - String paramName = (String) iter.next(); - parameters.put(paramName, loginParameters.get(paramName)); - } - } - - headers.remove("content-length"); - parameters.remove(PARAM_SAMLARTIFACT); - parameters.remove(PARAM_TARGET); - - ConnectionBuilder cb = ConnectionBuilderFactory.getConnectionBuilder(publicURLPrefix); - HttpURLConnection conn = cb.buildConnection(req, publicURLPrefix, realURLPrefix, ssf, parameters); - - //Set Cookies... - - String cookieString = CookieManager.getInstance().getCookie(req.getSession().getId()); - if (cookieString!=null) - { - //If we get Cookies from Client, we put them throgh if they dont exist/conflict with the stored Cookies - for (Iterator iter = headers.keySet().iterator(); iter.hasNext();) { - String headerKey = (String) iter.next(); - String headerValue = (String) headers.get(headerKey); - if (headerKey.equalsIgnoreCase("Cookie")) - CookieManager.getInstance().saveOldCookies(req.getSession().getId(), headerValue); - } - cookieString = CookieManager.getInstance().getCookie(req.getSession().getId()); - headers.put("cookie", cookieString); - } - - // set headers as request properties of URLConnection - for (Iterator iter = headers.keySet().iterator(); iter.hasNext();) { - String headerKey = (String) iter.next(); - String headerValue = (String) headers.get(headerKey); - conn.setRequestProperty(headerKey, headerValue); - Logger.debug("Req header " + headerKey + ": " + headers.get(headerKey)); - if (Logger.isDebugEnabled() && isBasicAuthenticationHeader(headerKey, headerValue)) { - String credentials = headerValue.substring(6); - String userIDPassword = new String(Base64Utils.decode(credentials, false)); - Logger.debug(":UserID:Password: :" + userIDPassword + ":"); - } - } - // Write out parameters into output stream of URLConnection. - // On GET request, do not send parameters in any case, - // otherwise HttpURLConnection would send a POST. - if (!"get".equalsIgnoreCase(req.getMethod()) && !parameters.isEmpty()) { - boolean firstParam = true; - StringWriter sb = new StringWriter(); - for (Iterator iter = parameters.keySet().iterator(); iter.hasNext();) { - String paramname = (String) iter.next(); - String value = URLEncoder.encode((String) parameters.get(paramname)); - if (firstParam) - firstParam = false; - else - sb.write("&"); - sb.write(paramname); - sb.write("="); - sb.write(value); - Logger.debug("Req param " + paramname + ": " + value); - } - PrintWriter reqOut = new PrintWriter(conn.getOutputStream()); - reqOut.write(sb.toString()); - reqOut.flush(); - reqOut.close(); - } - // connect - conn.connect(); - - // Read response status and content type. - // If the connection returns a 401 disconnect and return - // otherwise the attempt to read data from that connection - // will result in an error - - if (conn.getResponseCode()==HttpURLConnection.HTTP_UNAUTHORIZED) - { - Logger.debug("Found 401... searching cookies"); - String headerKey; - - int i = 1; - CookieManager cm = CookieManager.getInstance(); - while ((headerKey = conn.getHeaderFieldKey(i)) != null) { - String headerValue = conn.getHeaderField(i); - if (headerKey.equalsIgnoreCase("set-cookie")) - { cm.saveCookie(req.getSession().getId(), headerValue); - cm.add401(req.getSession().getId(),headerValue); - Logger.debug("Cookie " + headerValue); - Logger.debug("CookieSession " + req.getSession().getId()); - } - i++; - } - - conn.disconnect(); - return conn.getResponseCode(); - } - resp.setStatus(conn.getResponseCode()); - resp.setContentType(conn.getContentType()); - - // Read response headers - // Omit response header "content-length" if response header "Transfer-encoding: chunked" is set. - // Otherwise, the connection will not be kept alive, resulting in subsequent missing requests. - // See JavaDoc of javax.servlet.http.HttpServlet: - // When using HTTP 1.1 chunked encoding (which means that the response has a Transfer-Encoding header), do not set the Content-Length header. - Map respHeaders = new HashMap(); - boolean chunked = false; - String contentLengthKey = null; - String transferEncodingKey = null; - int i = 1; - String headerKey; - while ((headerKey = conn.getHeaderFieldKey(i)) != null) { - String headerValue = conn.getHeaderField(i); - respHeaders.put(headerKey, headerValue); - if (isTransferEncodingChunkedHeader(headerKey, headerValue)) { - chunked = true; - transferEncodingKey = headerKey; - } - CookieManager cm = CookieManager.getInstance(); - if (headerKey.equalsIgnoreCase("set-cookie")) - { cm.saveCookie(req.getSession().getId(), headerValue); - Logger.debug("Cookie " + headerValue); - Logger.debug("CookieSession " + req.getSession().getId()); - } - if ("content-length".equalsIgnoreCase(headerKey)) - contentLengthKey = headerKey; - Logger.debug("Resp header " + headerKey + ": " + headerValue); - i++; - } - if (chunked && contentLengthKey != null) { - respHeaders.remove(transferEncodingKey); - Logger.debug("Resp header " + transferEncodingKey + " REMOVED"); - } - - //Get a Hash-Map of all 401-set-cookies - HashMap cookies401 = CookieManager.getInstance().get401(req.getSession().getId()); - - for (Iterator iter = respHeaders.keySet().iterator(); iter.hasNext();) { - headerKey = (String) iter.next(); - - if (headerKey.equalsIgnoreCase("Set-Cookie")) - { - String headerValue = (String) respHeaders.get(headerKey); - Logger.debug("Found 'Set-Cookie' in ResponseHeaders: " + headerValue); - if(!cookies401.containsKey(headerValue.substring(0, headerValue.indexOf("=")))) - { - // If we dont already have a Set-Cookie-Value for THAT Cookie we create one... - CookieManager.getInstance().add401(req.getSession().getId(), headerValue); - } - } - } - - //write out all Responseheaders != "set-cookie" - for (Iterator iter = respHeaders.keySet().iterator(); iter.hasNext();) { - headerKey = (String) iter.next(); - if (!headerKey.equalsIgnoreCase("Set-Cookie")) - resp.addHeader(headerKey, (String) respHeaders.get(headerKey)); - } - - //write out all Responseheaders = "set-cookie" - cookies401 = CookieManager.getInstance().get401(req.getSession().getId()); - Iterator cookie_i = cookies401.values().iterator(); - while (cookie_i.hasNext()) { - String element = (String) cookie_i.next(); - resp.addHeader("Set-Cookie", element); - } - //Delete all "Set-Cookie" - Values - CookieManager.getInstance().clear401(req.getSession().getId()); - - // read response stream - Logger.debug("Resp from " + conn.getURL().toString() + ": status " + conn.getResponseCode()); - // Load content unless the server lets us know that the content is NOT MODIFIED... - if (conn.getResponseCode()!=HttpURLConnection.HTTP_NOT_MODIFIED) - { - BufferedInputStream respIn = new BufferedInputStream(conn.getInputStream()); - Logger.debug("Got Inputstream"); - BufferedOutputStream respOut = new BufferedOutputStream(resp.getOutputStream()); - Logger.debug("Got Outputstream"); - int ch; - while ((ch = respIn.read()) >= 0) - respOut.write(ch); - respOut.close(); - respIn.close(); - } - else - Logger.debug("Found 304 NOT MODIFIED..."); - conn.disconnect(); - Logger.debug("Request done"); - - - return conn.getResponseCode(); -} -/** - * Determines whether a HTTP header is a basic authentication header of the kind "Authorization: Basic ..." - * - * @param headerKey header name - * @param headerValue header value - * @return true for a basic authentication header - */ -private boolean isBasicAuthenticationHeader(String headerKey, String headerValue) { - if (!"authorization".equalsIgnoreCase(headerKey)) - return false; - if (headerValue.length() < "basic".length()) - return false; - String authenticationSchema = headerValue.substring(0, "basic".length()); - return "basic".equalsIgnoreCase(authenticationSchema); -} -/** - * Determines whether a HTTP header is "Transfer-encoding" header with value containing "chunked" - * - * @param headerKey header name - * @param headerValue header value - * @return true for a "Transfer-encoding: chunked" header - */ -private boolean isTransferEncodingChunkedHeader(String headerKey, String headerValue) { - if (!"transfer-encoding".equalsIgnoreCase(headerKey)) - return false; - return headerValue.indexOf("chunked") >= 0 || headerValue.indexOf("Chunked") >= 0 || headerValue.indexOf("CHUNKED") >= 0; -} - -/** - * Calls the web application initializer. - * - * @see javax.servlet.Servlet#init(ServletConfig) - */ -public void init(ServletConfig servletConfig) throws ServletException { - try { - MOAIDProxyInitializer.initialize(); - Logger.info(MOAIDMessageProvider.getInstance().getMessage("proxy.00", null)); - } - catch (Exception ex) { - Logger.fatal(MOAIDMessageProvider.getInstance().getMessage("proxy.06", null), ex); - throw new ServletException(ex); - } -} -/** - * Handles an error in proxying the request. - *
      - *
    • Logs the error.
    • - *
    • Outputs an HTML error page.
    • - *
    - * @param resp the HttpServletResponse - * @param errorMessage error message to be used - * @param ex the exception to be logged - */ -private void handleError(HttpServletResponse resp, String errorMessage, Throwable ex) { - Logger.error(errorMessage, ex); - String htmlCode = - "" - + "" - + MOAIDMessageProvider.getInstance().getMessage("proxy.10", null) - + "" - + "

    " - + MOAIDMessageProvider.getInstance().getMessage("proxy.10", null) - + "

    " - + "

    " - + MOAIDMessageProvider.getInstance().getMessage("proxy.11", null) - + "

    " - + "

    " - + errorMessage - + "

    " - + ""; - resp.setContentType("text/html"); - try { - OutputStream respOut = resp.getOutputStream(); - respOut.write(htmlCode.getBytes()); - respOut.flush(); - } - catch (IOException ioex) { - Logger.error("", ioex); - } -} - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/util/AxisSecureSocketFactory.java b/id.server/src/at/gv/egovernment/moa/id/util/AxisSecureSocketFactory.java deleted file mode 100644 index 8967bdbba..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/util/AxisSecureSocketFactory.java +++ /dev/null @@ -1,213 +0,0 @@ -package at.gv.egovernment.moa.id.util; - -import java.io.BufferedWriter; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.io.OutputStreamWriter; -import java.io.PrintWriter; -import java.net.Socket; -import java.security.GeneralSecurityException; -import java.util.Hashtable; - -import javax.net.ssl.SSLSocket; -import javax.net.ssl.SSLSocketFactory; - -import org.apache.axis.components.net.BooleanHolder; -import org.apache.axis.components.net.DefaultSocketFactory; -import org.apache.axis.components.net.SecureSocketFactory; -import org.apache.axis.components.net.TransportClientProperties; -import org.apache.axis.components.net.TransportClientPropertiesFactory; -import org.apache.axis.utils.Messages; -import org.apache.axis.utils.XMLUtils; - -import at.gv.egovernment.moa.logging.Logger; - -/** - * Secure socket factory for Axis webs service clients of the MOA-ID component, - * which are the MOA-SP calls from MOA-ID Auth, - * and the MOA-ID Auth calls from MOA-ID Proxy. - *
    Use this initialization code:
    - * // ConnectionParameter connParam = ... get from ConfigurationProvider - * AxisSecureSocketFactory.initialize(connParam); - *
    See the Apache Axis documentation on how to configure this class - * as the default secure socket factory to be used by Axis. - *
    - * This code has been copied from JSSESocketFactory, the - * method initialize() has been added. - * - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class AxisSecureSocketFactory - extends DefaultSocketFactory implements SecureSocketFactory { - - /** Field sslFactory */ - private static SSLSocketFactory sslFactory; - - /** - * Constructor for AxisSecureSocketFactory. - * @param attributes ??? - */ - public AxisSecureSocketFactory(Hashtable attributes) { - super(attributes); - } - /** - * Initializes the factory by setting the connection parameters to be used for - * setting the secure socket factory, and by setting the system property - * axis.socketSecureFactory. - * @param connParam ConnectionParameter to derive the - * secure socket factory from - */ - public static void initialize(SSLSocketFactory ssf) - throws IOException, GeneralSecurityException { - - Logger.debug("Initialize AxisSecureSocketFactory"); - sslFactory = ssf; - } - - /** - * creates a secure socket - * - * @param host - * @param port - * @param otherHeaders - * @param useFullURL - * - * @return Socket - * @throws Exception - */ - public Socket create( - String host, - int port, - StringBuffer otherHeaders, - BooleanHolder useFullURL) - throws Exception { - if (port == -1) { - port = 443; - } - - TransportClientProperties tcp = - TransportClientPropertiesFactory.create("https"); - - boolean hostInNonProxyList = - isHostInNonProxyList(host, tcp.getNonProxyHosts()); - - Socket sslSocket = null; - if (tcp.getProxyHost().length() == 0 || hostInNonProxyList) { - // direct SSL connection - sslSocket = sslFactory.createSocket(host, port); - } - else { - - // Default proxy port is 80, even for https - int tunnelPort = - (tcp.getProxyPort().length() != 0) - ? Integer.parseInt(tcp.getProxyPort()) - : 80; - if (tunnelPort < 0) - tunnelPort = 80; - - // Create the regular socket connection to the proxy - Socket tunnel = new Socket(tcp.getProxyHost(), tunnelPort); - - // The tunnel handshake method (condensed and made reflexive) - OutputStream tunnelOutputStream = tunnel.getOutputStream(); - PrintWriter out = - new PrintWriter( - new BufferedWriter(new OutputStreamWriter(tunnelOutputStream))); - - // More secure version... engage later? - // PasswordAuthentication pa = - // Authenticator.requestPasswordAuthentication( - // InetAddress.getByName(tunnelHost), - // tunnelPort, "SOCK", "Proxy","HTTP"); - // if(pa == null){ - // printDebug("No Authenticator set."); - // }else{ - // printDebug("Using Authenticator."); - // tunnelUser = pa.getUserName(); - // tunnelPassword = new String(pa.getPassword()); - // } - out.print( - "CONNECT " - + host - + ":" - + port - + " HTTP/1.0\r\n" - + "User-Agent: AxisClient"); - if (tcp.getProxyUser().length() != 0 - && tcp.getProxyPassword().length() != 0) { - - // add basic authentication header for the proxy - String encodedPassword = - XMLUtils.base64encode( - (tcp.getProxyUser() + ":" + tcp.getProxyPassword()).getBytes()); - - out.print("\nProxy-Authorization: Basic " + encodedPassword); - } - out.print("\nContent-Length: 0"); - out.print("\nPragma: no-cache"); - out.print("\r\n\r\n"); - out.flush(); - InputStream tunnelInputStream = tunnel.getInputStream(); - - if (log.isDebugEnabled()) { - log.debug( - Messages.getMessage( - "isNull00", - "tunnelInputStream", - "" + (tunnelInputStream == null))); - } - String replyStr = ""; - - // Make sure to read all the response from the proxy to prevent SSL negotiation failure - // Response message terminated by two sequential newlines - int newlinesSeen = 0; - boolean headerDone = false; /* Done on first newline */ - - while (newlinesSeen < 2) { - int i = tunnelInputStream.read(); - - if (i < 0) { - throw new IOException("Unexpected EOF from proxy"); - } - if (i == '\n') { - headerDone = true; - ++newlinesSeen; - } - else if (i != '\r') { - newlinesSeen = 0; - if (!headerDone) { - replyStr += String.valueOf((char) i); - } - } - } - if (!replyStr.startsWith("HTTP/1.0 200") - && !replyStr.startsWith("HTTP/1.1 200")) { - throw new IOException( - Messages.getMessage( - "cantTunnel00", - new String[] { tcp.getProxyHost(), "" + tunnelPort, replyStr })); - } - - // End of condensed reflective tunnel handshake method - sslSocket = sslFactory.createSocket(tunnel, host, port, true); - if (log.isDebugEnabled()) { - log.debug( - Messages.getMessage( - "setupTunnel00", - tcp.getProxyHost(), - "" + tunnelPort)); - } - } - - ((SSLSocket) sslSocket).startHandshake(); - if (log.isDebugEnabled()) { - log.debug(Messages.getMessage("createdSSL00")); - } - return sslSocket; - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/util/MOAIDMessageProvider.java b/id.server/src/at/gv/egovernment/moa/id/util/MOAIDMessageProvider.java deleted file mode 100644 index d31aa6ec1..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/util/MOAIDMessageProvider.java +++ /dev/null @@ -1,58 +0,0 @@ -package at.gv.egovernment.moa.id.util; - -import java.util.Locale; - -import at.gv.egovernment.moa.util.Messages; - -/** - * A singleton wrapper around a Message object, providing the messages used in MOA-ID. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class MOAIDMessageProvider { - - /** DEFAULT_MESSAGE_RESOURCES are resources/properties/id_messages */ - private static final String[] DEFAULT_MESSAGE_RESOURCES = - { "resources/properties/id_messages" }; - /** DEFAULT_MESSAGE_LOCALES are "de", "AT" */ - private static final Locale[] DEFAULT_MESSAGE_LOCALES = - new Locale[] { new Locale("de", "AT") }; - /** The instance for our singleton */ - private static MOAIDMessageProvider instance; - /** The Messages */ - private Messages messages; - - /** - * Returns the single instance of MOAIDMessageProvider. - * - * @return the single instance of MOAIDMessageProvider - */ - public static MOAIDMessageProvider getInstance() { - if (instance == null) - instance = new MOAIDMessageProvider(DEFAULT_MESSAGE_RESOURCES, DEFAULT_MESSAGE_LOCALES); - return instance; - } - - /** - * Create a MOAIDMessageProvider. - * - * @param resourceNames The names of the resources containing the messages. - * @param locales The corresponding locales. - */ - protected MOAIDMessageProvider(String[] resourceNames, Locale[] locales) { - this.messages = new Messages(resourceNames, locales); - } - - /** - * Get the message corresponding to a given message ID. - * - * @param messageId The ID of the message. - * @param parameters The parameters to fill in into the message arguments. - * @return The formatted message. - */ - public String getMessage(String messageId, Object[] parameters) { - return messages.getMessage(messageId, parameters); - } - -} diff --git a/id.server/src/at/gv/egovernment/moa/id/util/Random.java b/id.server/src/at/gv/egovernment/moa/id/util/Random.java deleted file mode 100644 index da75b4213..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/util/Random.java +++ /dev/null @@ -1,22 +0,0 @@ -package at.gv.egovernment.moa.id.util; - -import java.util.Date; - -/** - * Random number generator used to generate ID's - * @author Paul Ivancsics - * @version $Id$ - */ -public class Random { - - /** random number generator used */ - private static java.util.Random random = new java.util.Random(new Date().getTime()); - /** - * Creates a new random number, to be used as an ID. - * - * @return random long as a String - */ - public static String nextRandom() { - return "" + random.nextLong(); - } -} diff --git a/id.server/src/at/gv/egovernment/moa/id/util/SSLUtils.java b/id.server/src/at/gv/egovernment/moa/id/util/SSLUtils.java deleted file mode 100644 index f21b0880e..000000000 --- a/id.server/src/at/gv/egovernment/moa/id/util/SSLUtils.java +++ /dev/null @@ -1,156 +0,0 @@ -package at.gv.egovernment.moa.id.util; - -import iaik.pki.PKIConfiguration; -import iaik.pki.PKIException; -import iaik.pki.PKIFactory; -import iaik.pki.PKIProfile; -import iaik.pki.jsse.IAIKX509TrustManager; - -import java.io.BufferedInputStream; -import java.io.IOException; -import java.io.InputStream; -import java.net.URL; -import java.security.GeneralSecurityException; -import java.security.Security; -import java.util.HashMap; -import java.util.Map; - -import javax.net.ssl.SSLSocketFactory; - -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.iaik.config.PKIConfigurationImpl; -import at.gv.egovernment.moa.id.iaik.pki.PKIProfileImpl; -import at.gv.egovernment.moa.id.iaik.pki.jsse.MOAIDTrustManager; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.StreamUtils; - -import com.sun.net.ssl.HttpsURLConnection; -import com.sun.net.ssl.KeyManager; -import com.sun.net.ssl.SSLContext; -import com.sun.net.ssl.TrustManager; - -/** - * Utility for a obtaining a secure socket factory using IAIKX509TrustManager. - * This TrustManager implementation features CRL checking.
    - * SSLUtils caches secure socket factories for given ConnectionParameters. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class SSLUtils { - - /** SSLSocketFactory store, mapping URL->SSLSocketFactory **/ - private static Map sslSocketFactories = new HashMap(); - - /** - * Initializes the SSLSocketFactory store. - */ - public static void initialize() { - sslSocketFactories = new HashMap(); - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); - } - - /** - * Creates an SSLSocketFactory which utilizes an - * IAIKX509TrustManager for the given trust store, - * and the given key store. - * - * @param conf configuration provider providing a generic properties pointing - * to trusted CA store and certificate store root - * @param connParam connection parameter containing the client key store settings - * to be used in case of client authentication; - * if connParam.getClientKeyStore() == null, client authentication - * is assumed to be disabled - * @return SSLSocketFactory to be used by an HttpsURLConnection - * @throws IOException thrown while reading key store file - * @throws GeneralSecurityException thrown while creating the socket factory - * @throws ConfigurationException on invalid configuration data - * @throws PKIException while initializing the IAIKX509TrustManager - */ - public static SSLSocketFactory getSSLSocketFactory( - ConfigurationProvider conf, - ConnectionParameter connParam) - throws IOException, GeneralSecurityException, ConfigurationException, PKIException { - - Logger.debug("Get SSLSocketFactory for " + connParam.getUrl()); - // retrieve SSLSocketFactory if already created - SSLSocketFactory ssf = (SSLSocketFactory)sslSocketFactories.get(connParam.getUrl()); - if (ssf != null) - return ssf; - // else create new SSLSocketFactory - String trustStoreURL = conf.getTrustedCACertificates(); - if (trustStoreURL == null) - throw new ConfigurationException( - "config.08", new Object[] {"TrustedCACertificates"}); - String acceptedServerCertURL = connParam.getAcceptedServerCertificates(); - TrustManager[] tms = getTrustManagers(conf, trustStoreURL, acceptedServerCertURL); - KeyManager[] kms = at.gv.egovernment.moa.util.SSLUtils.getKeyManagers( - "pkcs12", connParam.getClientKeyStore(), connParam.getClientKeyStorePassword()); - SSLContext ctx = SSLContext.getInstance("TLS"); - ctx.init(kms, tms, null); - ssf = ctx.getSocketFactory(); - // store SSLSocketFactory - sslSocketFactories.put(connParam.getUrl(), ssf); - return ssf; - } - - /** - * Initializes an IAIKX509TrustManager for a given trust store, - * using configuration data. - * - * @param conf MOA-ID configuration provider - * @param trustStoreURL trust store URL - * @param acceptedServerCertURL file URL pointing to directory containing accepted server SSL certificates - * @return TrustManager array containing the IAIKX509TrustManager - * @throws ConfigurationException on invalid configuration data - * @throws IOException on data-reading problems - * @throws PKIException while initializing the IAIKX509TrustManager - */ - public static TrustManager[] getTrustManagers( - ConfigurationProvider conf, String trustStoreURL, String acceptedServerCertURL) - throws ConfigurationException, PKIException, IOException, GeneralSecurityException { - - PKIConfiguration cfg = null; - if (! PKIFactory.getInstance().isAlreadyConfigured()) - cfg = new PKIConfigurationImpl(conf); - PKIProfile profile = new PKIProfileImpl(trustStoreURL); - // This call fixes a bug occuring when PKIConfiguration is - // initialized by the MOA-SP initialization code, in case - // MOA-SP is called by API - MOAIDTrustManager.initializeLoggingContext(); - IAIKX509TrustManager tm = new MOAIDTrustManager(acceptedServerCertURL); - tm.init(cfg, profile); - return new TrustManager[] {tm}; - } - /** - * Reads a file, given by URL, into a byte array, - * securing the connection by IAIKX509TrustManager. - * @param connParam containing URL and accepted server certificates - * @param conf ConfigurationProvider for reading - * @return file content - * @throws ConfigurationException on invalid configuration data - * @throws PKIException on invalid configuration data - * @throws IOException on data-reading problems - * @throws GeneralSecurityException on security issues - */ - public static byte[] readHttpsURL(ConfigurationProvider conf, ConnectionParameter connParam) - throws ConfigurationException, PKIException, IOException, GeneralSecurityException { - - URL url = new URL(connParam.getUrl()); - HttpsURLConnection conn = (HttpsURLConnection)url.openConnection(); - conn.setRequestMethod("GET"); - conn.setDoInput(true); - SSLSocketFactory sslSocketFactory = getSSLSocketFactory(conf, connParam); - conn.setSSLSocketFactory(sslSocketFactory); - conn.connect(); - InputStream in = new BufferedInputStream(conn.getInputStream()); - byte[] content = StreamUtils.readStream(in); - in.close(); - conn.disconnect(); - return content; - } - -} diff --git a/id.server/src/test/MOAIDTestCase.java b/id.server/src/test/MOAIDTestCase.java deleted file mode 100644 index 725fa1386..000000000 --- a/id.server/src/test/MOAIDTestCase.java +++ /dev/null @@ -1,203 +0,0 @@ -package test; - -import java.io.ByteArrayInputStream; -import java.io.IOException; -import java.io.InputStream; - -import javax.xml.transform.TransformerException; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.FileUtils; -import at.gv.egovernment.moa.util.StreamUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -import iaik.ixsil.algorithms.Transform; -import iaik.ixsil.algorithms.TransformImplExclusiveCanonicalXML; -import iaik.ixsil.exceptions.AlgorithmException; -import iaik.ixsil.exceptions.InitException; -import iaik.ixsil.exceptions.URIException; -import iaik.ixsil.init.IXSILInit; -import iaik.ixsil.util.URI; -import test.at.gv.egovernment.moa.MOATestCase; - -/* - * @author Paul Ivancsics - * @version $Id$ - */ -public class MOAIDTestCase extends MOATestCase implements Constants { - - public static final String XML_DECL = - ""; - protected static final String nl = "\n"; - - public MOAIDTestCase(String name) { - super(name); - } - - protected void initIxsil() throws InitException, URIException { - IXSILInit.init(new URI("init/properties/init.properties")); - // Switch on debug information - IXSILInit.setPrintDebugLog(true); - } - //STRING <==> STRING - protected void assertXmlEquals(String xml1, String xml2) - throws AlgorithmException, IOException, InitException, URIException{ - initIxsil(); - String canXml1 = canonicalTransform(xml1); - String canXml2 = canonicalTransform(xml2); - assertEquals(canXml1, canXml2); } - // ELEMENT <==> ELEMENT - protected void assertXmlEquals(Element xml1, Element xml2) - throws AlgorithmException, IOException, InitException , URIException, TransformerException{ - initIxsil(); - assertEquals(canonicalTransform(DOMUtils.serializeNode(xml1)),canonicalTransform(DOMUtils.serializeNode(xml2))); - } - // INPUTSTREAM <==> INPUTSTREAM - protected void assertXmlEquals(InputStream xml1, InputStream xml2) - throws AlgorithmException, IOException, InitException , URIException{ - initIxsil(); - assertEquals(canonicalTransform(xml1),canonicalTransform(xml2)); - } - // ELEMENT <==> STRING - protected void assertXmlEquals(Element xml1, String xml2) - throws AlgorithmException, IOException, InitException , URIException, TransformerException { - initIxsil(); - assertEquals(canonicalTransform(xml1),canonicalTransform(xml2)); - } - // ELEMENT <==> INPUTSTREAM - protected void assertXmlEquals(Element xml1, InputStream xml2) - throws AlgorithmException, IOException, InitException , URIException, TransformerException{ - initIxsil(); - assertEquals(canonicalTransform(xml1),canonicalTransform(xml2)); - } - // STRING <==> INPUTSTREAM - protected void assertXmlEquals(String xml1, InputStream xml2) - throws AlgorithmException, IOException, InitException , URIException{ - initIxsil(); - assertEquals(canonicalTransform(xml1),canonicalTransform(xml2)); - } - - /** - * Method canonicalTransform. - * @param input as STRING - * @return String - */ - protected String canonicalTransform(String input) - throws AlgorithmException, IOException { - - Transform tr = new TransformImplExclusiveCanonicalXML(); - InputStream s = new ByteArrayInputStream(input.getBytes("UTF-8")); - tr.setInput(s, null); - ByteArrayInputStream transResult = (ByteArrayInputStream) tr.transform(); - return killWhiteSpace(readString(transResult)); - } - /** - * Method canonicalTransform. - * @param input as Element - * @return String - */ - protected String canonicalTransform(Element input) - throws AlgorithmException, IOException { - - Transform tr = new TransformImplExclusiveCanonicalXML(); - tr.setInput(XPathUtils.selectNodeList(input, XPathUtils.ALL_NODES_XPATH), null); - ByteArrayInputStream transResult = (ByteArrayInputStream) tr.transform(); - - return killWhiteSpace(readString(transResult)); - } - - /** - * Method canonicalTransform. - * @param input as InputStream - * @return String - */ - protected String canonicalTransform(InputStream input) - throws AlgorithmException, IOException { - - Transform tr = new TransformImplExclusiveCanonicalXML(); tr.setInput(input, null); - ByteArrayInputStream transResult = (ByteArrayInputStream) tr.transform(); - - return killWhiteSpace(readString(transResult)); - } - - public static String killWhiteSpace(String input) - { - int start=0; - int ende; - String result; - String middle; - result = input; - do { - start = result.indexOf(">", start); - ende = result.indexOf("<", start); - middle = result.substring(start+1,ende).trim(); - result = result.substring(0,start+1) +middle + result.substring(ende,result.length()); - start++; - } while (result.indexOf("<", ende + 1)>0); - - return result; - } - - /** - * Method killExclusive.: The values startsWith and endsWith will be included into the answer. - * @param input - * @param startsWith - * @param endsWith - * @param newValue - * @return String - */ - public static String killExclusive(String input, String startsWith, String endsWith, String newValue) - { - int start=0; - int ende; - String result; - result = input; - do { - start = result.indexOf(startsWith, start) + startsWith.length(); - ende = result.indexOf(endsWith, start); - result = result.substring(0,start) + newValue + result.substring(ende,result.length()); - start++; - } while (result.indexOf(startsWith, ende + 1)>0); - - return result; - } - - /** - * Method killInclusive. : The values startsWith and endsWith will NOT be included into the answer. - * @param input - * @param startsWith - * @param endsWith - * @param newValue - * @return String - */ - public static String killInclusive(String input, String startsWith, String endsWith, String newValue) - { - int start=0; - int ende; - String result; - result = input; - do { - start = result.indexOf(startsWith, start) + startsWith.length(); - ende = result.indexOf(endsWith, start); - result = result.substring(0,start - startsWith.length() ) + newValue + result.substring(ende + endsWith.length(),result.length()); - start++; - } while (result.indexOf(startsWith, ende + 1)>0); - - return result; - } - - protected String readFile(String filename) throws IOException { - return readFile(filename, "UTF-8"); - } - protected String readFile(String filename, String encoding) throws IOException { - return FileUtils.readFile(filename, encoding); - } - protected String readString(InputStream input) throws IOException - { - return StreamUtils.readStream(input, "UTF-8"); - } - -} diff --git a/id.server/src/test/abnahme/A/Test100StartAuthentication.java b/id.server/src/test/abnahme/A/Test100StartAuthentication.java deleted file mode 100644 index 0d72691aa..000000000 --- a/id.server/src/test/abnahme/A/Test100StartAuthentication.java +++ /dev/null @@ -1,171 +0,0 @@ -package test.abnahme.A; - -import test.abnahme.AbnahmeTestCase; -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.auth.WrongParametersException; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class Test100StartAuthentication extends AbnahmeTestCase { - - public Test100StartAuthentication(String name) { - super(name); - } - - public void testA101() throws Exception { - try { - String htmlForm = server.startAuthentication("https://localhost:8443/auth", //authURL - "gb", //target - "http://localhost:9080/", //oaURL - "file:" + findXmldata("AuthTemplate.html"), - "http://localhost:3495/http-security-layer-request", - null); - htmlForm = killExclusive(htmlForm, "MOASessionID=","\"","DELETED"); - //writeXmldata("htmlForm_out.html",htmlForm.getBytes("UTF-8")); - assertEquals(readXmldata("htmlForm.html"),htmlForm); - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA102() throws Exception { - try { - String htmlForm = server.startAuthentication("https://localhost:8443/auth", //authURL - "gb", //target - "http://localhost:9080/", //oaURL - null, - "http://localhost:3495/http-security-layer-request", null); - htmlForm = killExclusive(htmlForm, "MOASessionID=","\"","DELETED"); - //writeXmldata("htmlForm_out.html",htmlForm.getBytes("UTF-8")); - assertEquals(readXmldata("htmlForm.html"),htmlForm); - - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA103() throws Exception { - try { - String htmlForm = server.startAuthentication("https://localhost:8443/auth", //authURL - "gb", //target - "http://localhost:9080/", //oaURL - "file:" + findXmldata("AuthTemplate.html"), - null, - null); - htmlForm = killExclusive(htmlForm, "MOASessionID=","\"","DELETED"); - //writeXmldata("htmlForm_out.html",htmlForm.getBytes("UTF-8")); - assertEquals(readXmldata("htmlForm.html"),htmlForm); - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA151() throws Exception { - try { - try { - server.startAuthentication(null, //authURL - "gb", //target - "http://localhost:9080/", //oaURL - null, null, null); - //assertEquals("",htmlForm); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (WrongParametersException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA152() throws Exception { - try { - try { - server.startAuthentication("http://localhost:8080/auth", //authURL - "gb", "http://localhost:9080/", //oaURL - null, null, null); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA153() throws Exception { - try { - try { - server.startAuthentication("https://localhost:8443/auth", //authURL - "gb", "http://host_not_in_config/", //oaURL - null, null, null); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA154() throws Exception { - try { - try { - server.startAuthentication("https://localhost:8443/auth", //authURL - "gb", null, //oaURL - null, null, null); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (WrongParametersException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA155() throws Exception { - try { - try { - server.startAuthentication("https://localhost:8443/auth", //authURL - null, "http://localhost:9080/", //oaURL - null, null, null); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (WrongParametersException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - //assertEquals("",htmlForm); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - -} diff --git a/id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java b/id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java deleted file mode 100644 index ed4410521..000000000 --- a/id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java +++ /dev/null @@ -1,336 +0,0 @@ -package test.abnahme.A; - -import org.w3c.dom.Element; -import test.abnahme.AbnahmeTestCase; - -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.id.auth.builder.VerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.invoke.SignatureVerificationInvoker; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; -import at.gv.egovernment.moa.id.auth.parser.VerifyXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.validator.ValidateException; -import at.gv.egovernment.moa.id.auth.validator.VerifyXMLSignatureResponseValidator; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class Test200VerifyIdentityLink extends AbnahmeTestCase { - - public Test200VerifyIdentityLink(String name) { - super(name); - } - - public void testA201() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - - String createXMLSignatureRequest = server.verifyIdentityLink(sessionID, infoboxReadResponse); - - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, AuthConfigurationProvider.getInstance().getMoaSpAuthBlockTrustProfileID()); - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker().verifyXMLSignature(domVerifyXMLSignatureRequest); - - VerifyXMLSignatureResponseParser respParser = new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse); - VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), AuthConfigurationProvider.getInstance().getIdentityLinkX509SubjectNames(), VerifyXMLSignatureResponseValidator.CHECK_IDENTITY_LINK); - - /* - * HINWEIS: clearSamlAssertion löscht aus einer beliebiegen String-Repräsentation einer XML-Struktur - * AUSSLIESSLICH die Attribute IssueInstand und die AssertionID heraus, von dem her ist diese - * Method hier verwendbar - */ - - assertXmlEquals(clearSamlAssertion(readXmldata("CreateXMLSignatureRequest.xml")), clearSamlAssertion(createXMLSignatureRequest)); - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - - } - public void testA251() throws Exception { - try { - startAuthentication(); - String sessionID = "0"; - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA252() throws Exception { - try { - String sessionID = startAuthentication(); - - server.setSecondsSessionTimeOut(-100); - server.cleanup(); - server.setSecondsSessionTimeOut(1000); - - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA253() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA254() throws Exception { - try { - String sessionID = startAuthentication(); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA255() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - } - catch (ParseException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA256() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA257() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA258() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA259() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA260() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA261() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA262() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - new InfoboxReadResponseParser(infoboxReadResponse).parseIdentityLink(); - // System.out.println(infoboxReadResponse); - - try { - server.verifyIdentityLink(sessionID, infoboxReadResponse); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA263() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - server.verifyIdentityLink(sessionID, infoboxReadResponse); - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, AuthConfigurationProvider.getInstance().getMoaSpAuthBlockTrustProfileID()); - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker().verifyXMLSignature(domVerifyXMLSignatureRequest); - - VerifyXMLSignatureResponseParser respParser = new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse); - - // String createXMLSignatureRequest = server.verifyIdentityLink(sessionID, infoboxReadResponse); - // System.out.println(createXMLSignatureRequest); - // String createXMLSignatureResponse = readFile(TESTDATA_ROOT + "xmldata/standard/"+"CreateXMLSignatureResponse.xml"); - // String samlArtifact = server.verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); - try { - VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), new String[] { "CN=TEST,OU=TEST,O=TEST,C=AT" }, VerifyXMLSignatureResponseValidator.CHECK_IDENTITY_LINK); - System.err.println(this.getName() + " hat KEINE FEHLER geworfen"); - fail(this.getName() + " hat KEINE FEHLER geworfen"); - } - catch (ValidateException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } -} diff --git a/id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java b/id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java deleted file mode 100644 index d9e69eba4..000000000 --- a/id.server/src/test/abnahme/A/Test300VerifyAuthBlock.java +++ /dev/null @@ -1,597 +0,0 @@ -package test.abnahme.A; - -import java.util.Calendar; - -import org.w3c.dom.Element; -import test.abnahme.AbnahmeTestCase; - -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.id.ParseException; -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.auth.builder.AuthenticationDataAssertionBuilder; -import at.gv.egovernment.moa.id.auth.builder.PersonDataBuilder; -import at.gv.egovernment.moa.id.auth.builder.VPKBuilder; -import at.gv.egovernment.moa.id.auth.builder.VerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.data.AuthenticationSession; -import at.gv.egovernment.moa.id.auth.data.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.data.VerifyXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.invoke.SignatureVerificationInvoker; -import at.gv.egovernment.moa.id.auth.parser.CreateXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; -import at.gv.egovernment.moa.id.auth.parser.VerifyXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.validator.CreateXMLSignatureResponseValidator; -import at.gv.egovernment.moa.id.auth.validator.ValidateException; -import at.gv.egovernment.moa.id.auth.validator.VerifyXMLSignatureResponseValidator; -import at.gv.egovernment.moa.id.config.ConfigurationException; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.config.auth.OAAuthParameter; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.id.util.Random; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.DateTimeUtils; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ - -public class Test300VerifyAuthBlock extends AbnahmeTestCase { - - public Test300VerifyAuthBlock(String name) { - super(name); - } - - public void testA301() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServer(sessionID); - //authDataWriter(authData,this.getName()+"new.xml"); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA302() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServer(sessionID); - //authDataWriter(authData,this.getName()+"new.xml"); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA303() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServer(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA304() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServer(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA305() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServer(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA306() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServer(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA307() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServer(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA308() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServer(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - - } - - public void testA309() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServerWithoutValidateAuthBlock(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA310() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServerWithoutValidateAuthBlock(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA311() throws Exception { - try { - String sessionID = startAuthentication(); - AuthenticationData authData = initServerWithoutValidateAuthBlock(sessionID); - assertXmlEquals(readXmldata("AuthenticationData.xml"), clearSamlAssertion(authData.getSamlAssertion())); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA351() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - server.verifyIdentityLink(sessionID, infoboxReadResponse); - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, AuthConfigurationProvider.getInstance().getMoaSpAuthBlockTrustProfileID()); - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker().verifyXMLSignature(domVerifyXMLSignatureRequest); - new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse); - //VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), AuthConfigurationProvider.getInstance().getIdentityLinkX509SubjectNames()); - // System.out.println(createXMLSignatureRequest); - String createXMLSignatureResponse = readXmldata("CreateXMLSignatureResponse.xml"); - - // nicht existierende Session.... - try { - server.verifyAuthenticationBlock("0", createXMLSignatureResponse); - fail(); - } - catch (AuthenticationException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA352() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - server.verifyIdentityLink(sessionID, infoboxReadResponse); - server.setSecondsSessionTimeOut(-100); - server.cleanup(); - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, AuthConfigurationProvider.getInstance().getMoaSpAuthBlockTrustProfileID()); - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker().verifyXMLSignature(domVerifyXMLSignatureRequest); - new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse); - //VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), AuthConfigurationProvider.getInstance().getIdentityLinkX509SubjectNames()); - // System.out.println(createXMLSignatureRequest); - String createXMLSignatureResponse = readXmldata("CreateXMLSignatureResponse.xml"); - - // abgelaufene Session.... - server.setSecondsSessionTimeOut(1000); - try { - server.verifyAuthenticationBlock("0", createXMLSignatureResponse); - fail(); - } - catch (AuthenticationException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA353() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - - String createXMLSignatureResponse = readXmldata("CreateXMLSignatureResponse.xml"); - - // Session for VerifyIdentityLink-Aufruf - try { - - server.verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); - fail(); - } - //NOCH SEHR UNSCHÖN..... (fliegt raus im AuthenticationServer, Methode buildAuthenticationData - // ( IdentityLink identityLink = session.getIdentityLink(); ==> liefert dann NULL... - catch (NullPointerException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA354() throws Exception { - try { - String sessionID = startAuthentication(); - System.out.println(sessionID); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - server.verifyIdentityLink(sessionID, infoboxReadResponse); - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, AuthConfigurationProvider.getInstance().getMoaSpAuthBlockTrustProfileID()); - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker().verifyXMLSignature(domVerifyXMLSignatureRequest); - new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse); - //VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), AuthConfigurationProvider.getInstance().getIdentityLinkX509SubjectNames()); - // System.out.println(createXMLSignatureRequest); - String createXMLSignatureResponse = readXmldata("CreateXMLSignatureResponse.xml"); - - // nicht existierende Session.... - - server.verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); - try { - server.verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); - fail(); - } - catch (AuthenticationException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA355() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ParseException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA356() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ParseException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA357() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA358() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA359() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA360() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA361() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA362() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA363() throws Exception { - try { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA364() throws Exception { - try { - String sessionID = startAuthentication(); - try { - - initServer(sessionID); - fail(); - } - catch (ValidateException e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - /* public void testA365() throws Exception { - String sessionID = startAuthentication(); - try { - // wegen sinnlosigkeit gestrichen - initServer(sessionID); - fail(); - } - catch (ValidateException e) {System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage()+ "-----------------------");} - }*/ - - public void testA366() throws Exception { - - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) {System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage()+ "-----------------------");} - } - public void testA367() throws Exception { - String sessionID = startAuthentication(); - try { - initServer(sessionID); - fail(); - } - catch (ValidateException e) {System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage()+ "-----------------------");} - } - - - private AuthenticationData initServer(String sessionID) throws Exception { - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - server.verifyIdentityLink(sessionID, infoboxReadResponse); - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, "TrustProfile1"); - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker().verifyXMLSignature(domVerifyXMLSignatureRequest); - new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse); - //VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), AuthConfigurationProvider.getInstance().getIdentityLinkX509SubjectNames()); - // System.out.println(createXMLSignatureRequest); - String createXMLSignatureResponse = readXmldata("CreateXMLSignatureResponse.xml"); - // CreateXMLSignatureResponseValidator.getInstance().validate(new CreateXMLSignatureResponseParser(createXMLSignatureResponse).parseResponse(),"gb","https://localhost:9443/"); - String samlArtifact = server.verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); - AuthenticationData authData = server.getAuthenticationData(samlArtifact); - return authData; - } - - private AuthenticationData initServerWithoutValidateAuthBlock(String sessionID) throws Exception { - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - server.verifyIdentityLink(sessionID, infoboxReadResponse); - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, "TrustProfile1"); - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker().verifyXMLSignature(domVerifyXMLSignatureRequest); - new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse); - //VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), AuthConfigurationProvider.getInstance().getIdentityLinkX509SubjectNames()); - // System.out.println(createXMLSignatureRequest); - String createXMLSignatureResponse = readXmldata("CreateXMLSignatureResponse.xml"); - // CreateXMLSignatureResponseValidator.getInstance().validate(new CreateXMLSignatureResponseParser(createXMLSignatureResponse).parseResponse(),"gb","https://localhost:9443/"); - - AuthenticationSession session = AuthenticationServer.getSession(sessionID); - AuthConfigurationProvider authConf = AuthConfigurationProvider.getInstance(); - // parses - CreateXMLSignatureResponse csresp = - new CreateXMLSignatureResponseParser(createXMLSignatureResponse).parseResponse(); - // validates - new CreateXMLSignatureResponseValidator().validate(csresp, session.getTarget(), session.getPublicOAURLPrefix()); - // builds a for a MOA-SPSS call - String[] vtids = authConf.getMoaSpAuthBlockVerifyTransformsInfoIDs(); - String tpid = authConf.getMoaSpAuthBlockTrustProfileID(); - Element domVsreq = new VerifyXMLSignatureRequestBuilder().build(csresp, vtids, tpid); - // invokes the call - Element domVsresp = new SignatureVerificationInvoker().verifyXMLSignature(domVsreq); - // parses the - VerifyXMLSignatureResponse vsresp = new VerifyXMLSignatureResponseParser(domVsresp).parseData(); - // validates the - VerifyXMLSignatureResponseValidator.getInstance().validate(vsresp, null, VerifyXMLSignatureResponseValidator.CHECK_AUTH_BLOCK); - // compares the public keys from the identityLink with the AuthBlock - - // builds authentication data and stores it together with a SAML artifact - AuthenticationData authData = buildAuthenticationData(session, vsresp); - return authData; - } - private AuthenticationData buildAuthenticationData( - AuthenticationSession session, - VerifyXMLSignatureResponse verifyXMLSigResp) - throws ConfigurationException, BuildException { - - IdentityLink identityLink = session.getIdentityLink(); - AuthenticationData authData = new AuthenticationData(); - authData.setMajorVersion(1); - authData.setMinorVersion(0); - authData.setAssertionID(Random.nextRandom()); - authData.setIssuer(session.getAuthURL()); - authData.setIssueInstant(DateTimeUtils.buildDateTime(Calendar.getInstance())); - String vpkBase64 = new VPKBuilder().buildVPK( - identityLink.getIdentificationValue(), identityLink.getDateOfBirth(), session.getTarget()); - authData.setVPK(vpkBase64); - authData.setGivenName(identityLink.getGivenName()); - authData.setFamilyName(identityLink.getFamilyName()); - authData.setDateOfBirth(identityLink.getDateOfBirth()); - authData.setQualifiedCertificate(verifyXMLSigResp.isQualifiedCertificate()); - authData.setPublicAuthority(verifyXMLSigResp.isPublicAuthority()); - authData.setPublicAuthorityCode(verifyXMLSigResp.getPublicAuthorityCode()); - OAAuthParameter oaParam = - AuthConfigurationProvider.getInstance().getOnlineApplicationParameter( - session.getPublicOAURLPrefix()); - String prPerson = new PersonDataBuilder().build( - identityLink, oaParam.getProvideZMRZahl()); - - try { - String ilAssertion = - oaParam.getProvideIdentityLink() ? DOMUtils.serializeNode(identityLink.getSamlAssertion()) : ""; - String authBlock = oaParam.getProvideAuthBlock() ? session.getAuthBlock() : ""; - String samlAssertion = new AuthenticationDataAssertionBuilder().build( - authData, prPerson, authBlock, ilAssertion); - authData.setSamlAssertion(samlAssertion); - return authData; - } - catch (Throwable ex) { - throw new BuildException( - "builder.00", - new Object[] { "AuthenticationData", ex.getMessage() }, - ex); - } - } -} diff --git a/id.server/src/test/abnahme/A/Test400GetAuthenticationData.java b/id.server/src/test/abnahme/A/Test400GetAuthenticationData.java deleted file mode 100644 index b05e2b92c..000000000 --- a/id.server/src/test/abnahme/A/Test400GetAuthenticationData.java +++ /dev/null @@ -1,129 +0,0 @@ -package test.abnahme.A; - -import org.w3c.dom.Element; -import test.abnahme.AbnahmeTestCase; - -import at.gv.egovernment.moa.id.AuthenticationException; -import at.gv.egovernment.moa.id.auth.builder.VerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.invoke.SignatureVerificationInvoker; -import at.gv.egovernment.moa.id.auth.parser.CreateXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; -import at.gv.egovernment.moa.id.auth.parser.VerifyXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.validator.CreateXMLSignatureResponseValidator; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.data.AuthenticationData; - -/** - * @author Stefan Knirsch - * @version $Id$ - */ - -public class Test400GetAuthenticationData extends AbnahmeTestCase { - - private String samlArtifact; - - public Test400GetAuthenticationData(String name) { - super(name); - } - - protected void setUp() throws Exception { - super.setUp(); - String sessionID = startAuthentication(); - String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml"); - server.verifyIdentityLink(sessionID, infoboxReadResponse); - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, AuthConfigurationProvider.getInstance().getMoaSpAuthBlockTrustProfileID()); - Element domVerifyXMLSignatureResponse = new SignatureVerificationInvoker().verifyXMLSignature(domVerifyXMLSignatureRequest); - new VerifyXMLSignatureResponseParser(domVerifyXMLSignatureResponse); - //VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), AuthConfigurationProvider.getInstance().getIdentityLinkX509SubjectNames()); - // System.out.println(createXMLSignatureRequest); - String createXMLSignatureResponse = readXmldata("CreateXMLSignatureResponse.xml"); - CreateXMLSignatureResponseValidator.getInstance().validate(new CreateXMLSignatureResponseParser(createXMLSignatureResponse).parseResponse(), "gb", "https://localhost:9443/"); - samlArtifact = server.verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); - } - - public void testA401() throws Exception { - try { - - AuthenticationData authData = server.getAuthenticationData(samlArtifact); -// authDataWriter(authData,"NEWA401"); - assertXmlEquals(clearSamlAssertion(authData.getSamlAssertion()), readXmldata("AuthenticationData.xml")); - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA451() throws Exception { - try { - try { - AuthenticationData authData = server.getAuthenticationData("AAGu1JFbyGKqJ+3NAonwMu5bNyUc7kooeMK6bxeXBbnK6NL0DfuVJsGi"); - authDataWriter(authData, "A45"); - if (authData != null) - fail(); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA452() throws Exception { - try { - server.getAuthenticationData(samlArtifact); - try { - server.getAuthenticationData(samlArtifact); - fail(); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA453() throws Exception { - try { - server.setSecondsAuthDataTimeOut(-1000); - server.cleanup(); - try { - server.getAuthenticationData(samlArtifact); - fail(); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA454() throws Exception { - try { - try { - server.getAuthenticationData("blabla123"); - fail(); - } - catch (AuthenticationException e) { - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "\n-----------------------"); - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - -} diff --git a/id.server/src/test/abnahme/A/Test500StartAuthenticationServlet.java b/id.server/src/test/abnahme/A/Test500StartAuthenticationServlet.java deleted file mode 100644 index f4f37a871..000000000 --- a/id.server/src/test/abnahme/A/Test500StartAuthenticationServlet.java +++ /dev/null @@ -1,305 +0,0 @@ -package test.abnahme.A; - -import java.io.OutputStream; -import java.net.URL; -import java.security.Security; - -import javax.net.ssl.SSLSocketFactory; - -import test.abnahme.AbnahmeTestCase; - -import at.gv.egovernment.moa.util.StreamUtils; -import at.gv.egovernment.moa.util.URLEncoder; - -import com.sun.net.ssl.HostnameVerifier; -import com.sun.net.ssl.HttpsURLConnection; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class Test500StartAuthenticationServlet extends AbnahmeTestCase { - - private String testdataRoot = TESTDATA_ROOT + "xmldata/standard/"; - SSLSocketFactory ssf; - public Test500StartAuthenticationServlet(String name) { - super(name); - } - protected void setUp() throws Exception { - super.setUp(); - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); - System.setProperty("javax.net.ssl.trustStore", "C:/Programme/ApacheGroup/abnahme/server.keystore"); - System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); - } - - public void testA501() throws Exception { - //NUR einmal für alle folgenden Testfälle - //---------------------------------------- - - //---------------------------------------- - - try { - String targetURL = getURL("https://localhost:8443/moa-id-auth/", "gb", "https://localhost:9443/"); - HttpsURLConnection conn = giveConnection(targetURL, "GET"); - conn.connect(); - int resultCode = conn.getResponseCode(); - String contentType = conn.getHeaderField("Content-Type"); - if (resultCode != 200) - fail("Wrong HTTP-Code"); - if (!conn.getHeaderField("Content-Type").equalsIgnoreCase("text/html")) - fail("Wrong contentType: expected text/html and was " + conn.getHeaderField("Content-Type")); - conn.disconnect(); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA502() throws Exception { - try { - String URL = getURL("https://localhost:8443/moa-id-auth/", "gb", "https://localhost:9443/"); - HttpsURLConnection conn = giveConnection(URL, "GET"); - conn.connect(); - int resultCode = conn.getResponseCode(); - String contentType = conn.getHeaderField("Content-Type"); - if (resultCode != 200) - fail("Wrong HTTP-Code: expected '200' and was '" + resultCode + "'"); - if (!conn.getHeaderField("Content-Type").equalsIgnoreCase("text/html")) - fail("Wrong contentType: expected text/html and was " + conn.getHeaderField("Content-Type")); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - - conn.disconnect(); - - URL = parseDataURL(result); - conn = giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - - String infoboxReadResponse = readXmldata("InfoboxReadResponse.xml"); - System.out.println("File gelesen, Daten in Outputstream einpflegen"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes("UTF-8")); - out.flush(); - out.close(); - - System.out.println("Verbinden zu " + URL); - conn.connect(); - resultCode = conn.getResponseCode(); - System.out.println("resultCode :" + resultCode); - String redirectLoc = conn.getHeaderField("Location"); - System.out.println("redirectLoc :" + redirectLoc); - // Austausch von VerifyIdentityLink in der POST-URL durch VerifyAuthBlock... rest MUSS gleich sein! - if (!killInclusive(URL, "VerifyI", "Link", "VerifyAuthBlock").equals(redirectLoc)) - fail("Wrong Redirect-Location: expected " + URL + " and was " + conn.getHeaderField("Location")); - if (!conn.getHeaderField("Content-Type").equalsIgnoreCase("text/xml")) - fail("Wrong contentType: expected text/xml and was " + conn.getHeaderField("Content-Type")); - conn.disconnect(); - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA503() throws Exception { - try { - String URL = getURL("https://localhost:8443/moa-id-auth/", "gb", "https://localhost:9443/"); - HttpsURLConnection conn = giveConnection(URL, "GET"); - conn.connect(); - - assertEquals(200,conn.getResponseCode()); - if (!conn.getHeaderField("Content-Type").equalsIgnoreCase("text/html")) - fail("Wrong contentType: expected text/html and was " + conn.getHeaderField("Content-Type")); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - URL = parseDataURL(result); - - conn.disconnect(); - conn = giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - String infoboxReadResponse = readXmldata("InfoboxReadResponse.xml"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes()); - out.flush(); - out.close(); - conn.connect(); - String redirectLoc = conn.getHeaderField("Location"); - // Austausch von VerifyIdentityLink in der POST-URL durch VerifyAuthBlock... rest MUSS gleich sein! - if (!killInclusive(URL, "VerifyI", "Link", "VerifyAuthBlock").equals(redirectLoc)) - fail("Wrong Redirect-Location: expected " + URL + " and was " + conn.getHeaderField("Location")); - if (!conn.getHeaderField("Content-Type").equalsIgnoreCase("text/xml")) - fail("Wrong contentType: expected text/xml and was " + conn.getHeaderField("Content-Type")); - conn.disconnect(); - - conn = giveConnection(redirectLoc, "POST"); - System.out.println("Redirect Location: " + redirectLoc); - String createXMLSignatureResponse = URLEncoder.encode(readXmldata("CreateXMLSignatureResponse.xml"), "UTF-8"); - out = conn.getOutputStream(); - out.write(("XMLResponse=" +createXMLSignatureResponse).getBytes()); - out.flush(); - out.close(); - - System.out.println("Sending Data to " + redirectLoc); - conn.connect(); - - redirectLoc = conn.getHeaderField("Location"); - System.out.println("redirectLoc: " + redirectLoc); - /* RandomAccessFile raf = new RandomAccessFile("C://503.xml", "rw"); - raf.write(StreamUtils.readStream(conn.getInputStream())); - raf.close();*/ - conn.disconnect(); - assertEquals(302, conn.getResponseCode()); - assertTrue(redirectLoc.startsWith("https://localhost:9443/?Target=gb&SAMLArtifact=")); - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA551() throws Exception { - try { - String targetURL = getURL("https://localhost:8443/moa-id-auth/", "gb", ""); - HttpsURLConnection conn = giveConnection(targetURL, "GET"); - conn.connect(); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - assertTrue(result.indexOf("Die Angabe der Parameter ist unvollständig") >= 0); - conn.disconnect(); - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: Die Angabe der Parameter ist unvollständig.\n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA552() throws Exception { - try { - String URL = getURL("https://localhost:8443/moa-id-auth/", "gb", "https://localhost:9443/"); - HttpsURLConnection conn = giveConnection(URL, "GET"); - conn.connect(); - int resultCode = conn.getResponseCode(); - assertEquals(200, resultCode); - if (!conn.getHeaderField("Content-Type").equalsIgnoreCase("text/html")) - fail("Wrong contentType: expected text/html and was " + conn.getHeaderField("Content-Type")); - conn.disconnect(); - URL = "https://localhost:8443/moa-id-auth/" + "VerifyIdentityLink?MOASessionID=0000"; - conn = giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - - String infoboxReadResponse = readXmldata("InfoboxReadResponse.xml"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes()); - out.flush(); - out.close(); - - conn.connect(); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - assertTrue(result.indexOf("MOASessionID ist unbekannt") >= 0); - System.out.println("Fehler in testA552 erfolgreich abgefangen: MOASessionID ist unbekannt"); - conn.disconnect(); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testA553() throws Exception { - try { - String URL = getURL("https://localhost:8443/moa-id-auth/", "gb", "https://localhost:9443/"); - HttpsURLConnection conn = giveConnection(URL, "GET"); - conn.connect(); - int resultCode = conn.getResponseCode(); - assertEquals(200,resultCode); - if (!conn.getHeaderField("Content-Type").equalsIgnoreCase("text/html")) - fail("Wrong contentType: expected text/html and was " + conn.getHeaderField("Content-Type")); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - String MOASessionID = parseSessionIDFromForm(result); - URL = parseDataURL(result); - conn.disconnect(); - - conn = giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - - String infoboxReadResponse = readXmldata("InfoboxReadResponse.xml"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes()); - out.flush(); - out.close(); - conn.connect(); - result = new String(StreamUtils.readStream(conn.getInputStream())); - String redirectLoc = conn.getHeaderField("Location"); - // Austausch von VerifyIdentityLink in der POST-URL durch VerifyAuthBlock... rest MUSS gleich sein! - if (!killInclusive(URL, "VerifyI", "Link", "VerifyAuthBlock").equals(redirectLoc)) - fail("Wrong Redirect-Location: expected " + URL + " and was " + conn.getHeaderField("Location")); - if (!conn.getHeaderField("Content-Type").equalsIgnoreCase("text/xml")) - fail("Wrong contentType: expected text/xml and was " + conn.getHeaderField("Content-Type")); - conn.disconnect(); - conn = giveConnection(redirectLoc + "XXX", "POST"); - System.out.println("Redirect Location: " + redirectLoc + "XXX"); - String createXMLSignatureResponse = "XMLResponse=" + URLEncoder.encode(readXmldata("CreateXMLSignatureResponse.xml"), "UTF-8"); - - out = conn.getOutputStream(); - out.write(new String("MOASessionID=" + MOASessionID + "&").getBytes()); - out.write(createXMLSignatureResponse.getBytes("UTF-8")); - out.flush(); - out.close(); - System.out.println("Sending Data to " + redirectLoc); - conn.connect(); - resultCode = conn.getResponseCode(); - - result = new String(StreamUtils.readStream(conn.getInputStream())); - conn.disconnect(); - assertEquals(200, resultCode); - assertTrue(result.indexOf("MOASessionID ist unbekannt") >= 0); - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - private String parseDataURL(String input) { - String ret = getSubString(input.substring(input.indexOf("DataURL"), input.length()), "value=\"", "\""); - return ret; - } - - private String getSubString(String input, String startsWith, String endsWith) { - return input.substring(input.indexOf(startsWith) + startsWith.length(), input.indexOf(endsWith, input.indexOf(startsWith) + startsWith.length())); - } - private String getURL(String authURL, String target, String oaURL) { - return authURL + "StartAuthentication?Target=" + target + "&OA=" + oaURL; - } - private String parseSessionIDFromForm(String htmlForm) { - String parName = "MOASessionID="; - assertTrue("HTML Form enthält keine SessionID", htmlForm.indexOf(parName) >= 0); - int i1 = htmlForm.indexOf(parName) + parName.length(); - int i2 = htmlForm.indexOf("\"", i1); - assertTrue("HTML Form enthält keine gültige SessionID", i2 > i1); - return htmlForm.substring(i1, i2); - } - - private class HostnameVerifierHack implements HostnameVerifier { - public boolean verify(String arg0, String arg1) { - return true; - } - } - private HttpsURLConnection giveConnection(String targetURL, String requestMethod) throws Exception { - URL url = new URL(targetURL); - HttpsURLConnection conn = (HttpsURLConnection) url.openConnection(); - conn.setRequestMethod(requestMethod); - conn.setDoInput(true); - conn.setDoOutput(true); - conn.setUseCaches(false); - conn.setAllowUserInteraction(false); - conn.setHostnameVerifier(new HostnameVerifierHack()); - return conn; - } - -} \ No newline at end of file diff --git a/id.server/src/test/abnahme/A/Test600GetAuthenticationDataService.java b/id.server/src/test/abnahme/A/Test600GetAuthenticationDataService.java deleted file mode 100644 index b44852346..000000000 --- a/id.server/src/test/abnahme/A/Test600GetAuthenticationDataService.java +++ /dev/null @@ -1,281 +0,0 @@ -package test.abnahme.A; - -import java.io.OutputStream; -import java.net.URL; -import java.security.Security; -import java.util.Calendar; -import java.util.Vector; - -import javax.xml.namespace.QName; -import javax.xml.rpc.Call; -import javax.xml.rpc.Service; -import javax.xml.rpc.ServiceFactory; - -import org.apache.axis.message.SOAPBodyElement; -import org.w3c.dom.Element; - -import com.sun.net.ssl.HostnameVerifier; -import com.sun.net.ssl.HttpsURLConnection; - -import test.abnahme.AbnahmeTestCase; - -import at.gv.egovernment.moa.id.proxy.builder.SAMLRequestBuilder; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.DateTimeUtils; -import at.gv.egovernment.moa.util.StreamUtils; -import at.gv.egovernment.moa.util.URLDecoder; -import at.gv.egovernment.moa.util.URLEncoder; - -/** - * @author Stefan Knirsch - * @version $Id$ - */ - -public class Test600GetAuthenticationDataService extends AbnahmeTestCase { - - private String moaSessionID; - private String samlArtifact; - private static final QName SERVICE_QNAME = new QName("SignatureCreation"); - - public Test600GetAuthenticationDataService(String name) { - super(name); - } - - protected void setUp() throws Exception { - super.setUp(); - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); - System.setProperty("javax.net.ssl.trustStore", "C:/Programme/ApacheGroup/abnahme/server.keystore"); - System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); - } - - public void testA601() throws Exception { - try { - - // Anmelden - String URL = getURL("https://localhost:8443/moa-id-auth/", "gb", "https://localhost:9443/"); - HttpsURLConnection conn = giveConnection(URL, "GET"); - conn.connect(); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - String MOASessionID = parseSessionIDFromForm(result); - conn.disconnect(); - - URL = parseDataURL(result); - // Verify Identity Link - conn = giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - String infoboxReadResponse = readXmldata("InfoboxReadResponse.xml"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes()); - out.flush(); - out.close(); - conn.connect(); - String redirectLoc = conn.getHeaderField("Location"); - conn.disconnect(); - //Verify Auth Block - conn = giveConnection(redirectLoc, "POST"); - String createXMLSignatureResponse = URLEncoder.encode(readXmldata("CreateXMLSignatureResponse.xml"), "UTF-8"); - out = conn.getOutputStream(); - out.write(("MOASessionID=" + moaSessionID + "&XMLResponse=" + createXMLSignatureResponse).getBytes("UTF-8")); - out.flush(); - out.close(); - conn.connect(); - redirectLoc = conn.getHeaderField("Location"); - samlArtifact = parseSamlArtifact(redirectLoc); - System.out.println("SamlArtifact: " + samlArtifact); - conn.disconnect(); - - assertTrue(redirectLoc.startsWith("https://localhost:9443/?Target=gb&SAMLArtifact=")); - - conn = null; - - SAMLRequestBuilder srb = new SAMLRequestBuilder(); - - Element erg = doCall(srb.build(moaSessionID,URLDecoder.decode(samlArtifact, "UTF-8"))); - result = DOMUtils.serializeNode(erg); - result = killInclusive(result,"IssueInstant=\"","\"",""); - result = killInclusive(result,"AssertionID=\"","\"",""); - result = killInclusive(result,"ResponseID=\"","\"",""); - -// writeXmldata("GetAuthenticationDataWebServiceResponse.xml", result.getBytes("UTF-8")); - - assertEquals(result,readXmldata("GetAuthenticationDataWebServiceResponse.xml")); - - System.out.println("-----------------------\nTestfall " + this.getName() + " erfolgreich abgearbeitet! \n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA651() throws Exception { - try { - - // Anmelden - String URL = getURL("https://localhost:8443/moa-id-auth/", "gb", "https://localhost:9443/"); - HttpsURLConnection conn = giveConnection(URL, "GET"); - conn.connect(); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - String MOASessionID = parseSessionIDFromForm(result); - conn.disconnect(); - - URL = parseDataURL(result); - // Verify Identity Link - conn = giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - String infoboxReadResponse = readXmldata("InfoboxReadResponse.xml"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes()); - out.flush(); - out.close(); - conn.connect(); - String redirectLoc = conn.getHeaderField("Location"); - conn.disconnect(); - //Verify Auth Block - conn = giveConnection(redirectLoc, "POST"); - String createXMLSignatureResponse = URLEncoder.encode(readXmldata("CreateXMLSignatureResponse.xml"), "UTF-8"); - out = conn.getOutputStream(); - out.write(("MOASessionID=" + moaSessionID + "&XMLResponse=" + createXMLSignatureResponse).getBytes("UTF-8")); - out.flush(); - out.close(); - conn.connect(); - redirectLoc = conn.getHeaderField("Location"); - samlArtifact = "AAGu1JFbyGKqJ+3NAonwMu5bNyUc7kooeMK6bxeXBbnK6NL0DfuVJsGi"; - System.out.println("SamlArtifact: " + samlArtifact); - conn.disconnect(); - - assertTrue(redirectLoc.startsWith("https://localhost:9443/?Target=gb&SAMLArtifact=")); - - conn = null; - - SAMLRequestBuilder srb = new SAMLRequestBuilder(); - Element samlPRequest = srb.build(moaSessionID,samlArtifact); - - assertTrue(DOMUtils.serializeNode(doCall(samlPRequest)).indexOf("unbekanntes SAML-Artifakt")!=-1); - - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: Fehler beim Abholen der Anmeldedaten, unbekanntes SAML-Artifakt\n-----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testA652() throws Exception { - try { - - // Anmelden - String URL = getURL("https://localhost:8443/moa-id-auth/", "gb", "https://localhost:9443/"); - HttpsURLConnection conn = giveConnection(URL, "GET"); - conn.connect(); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - String MOASessionID = parseSessionIDFromForm(result); - conn.disconnect(); - - URL = parseDataURL(result); - // Verify Identity Link - conn = giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - String infoboxReadResponse = readXmldata("InfoboxReadResponse.xml"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes()); - out.flush(); - out.close(); - conn.connect(); - String redirectLoc = conn.getHeaderField("Location"); - conn.disconnect(); - //Verify Auth Block - conn = giveConnection(redirectLoc, "POST"); - String createXMLSignatureResponse = URLEncoder.encode(readXmldata("CreateXMLSignatureResponse.xml"), "UTF-8"); - out = conn.getOutputStream(); - out.write(("MOASessionID=" + moaSessionID + "&XMLResponse=" + createXMLSignatureResponse).getBytes("UTF-8")); - out.flush(); - out.close(); - conn.connect(); - redirectLoc = conn.getHeaderField("Location"); - samlArtifact = parseSamlArtifact(redirectLoc); - System.out.println("SamlArtifact: " + samlArtifact); - conn.disconnect(); - - assertTrue(redirectLoc.startsWith("https://localhost:9443/?Target=gb&SAMLArtifact=")); - - conn = null; - String request = - "" + - ""; - - Element samlPRequest = DOMUtils.parseDocument(request, false, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - - assertTrue(DOMUtils.serializeNode(doCall(samlPRequest)).indexOf("Fehlerhaftes Requestformat")!=-1); -// writeXmldata("GetAuthenticationDataWebServiceResponse.xml", result.getBytes("UTF-8")); - System.out.println("-----------------------\nFehler in " + this.getName() + " erfolgreich abgefangen: Fehlerhaftes Requestformat\n-----------------------"); } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - protected Element doCall(Element request) - throws Exception { - QName serviceName = new QName("GetAuthenticationData"); - String endPoint = "http://localhost:8080/moa-id-auth/services/GetAuthenticationData"; - Service service = ServiceFactory.newInstance().createService(serviceName); - Call call = service.createCall(); - SOAPBodyElement body = - new SOAPBodyElement(request); - SOAPBodyElement[] params = new SOAPBodyElement[] {body}; - Vector responses; - SOAPBodyElement response; - - call.setTargetEndpointAddress(endPoint); - responses = (Vector) call.invoke(params); - response = (SOAPBodyElement) responses.get(0); - - return response.getAsDOM(); - } - - private String parseDataURL(String input) - { - return getSubString(input.substring(input.indexOf("DataURL"),input.length()),"value=\"","\""); - } - private String parseSamlArtifact(String input) - { - return getSubString(input+"@@@","SAMLArtifact=","@@@"); - } - private String getSubString(String input, String startsWith, String endsWith) - { - return input.substring(input.indexOf(startsWith)+startsWith.length(), input.indexOf(endsWith, input.indexOf(startsWith)+startsWith.length())); - } - private String getURL(String authURL, String target, String oaURL) - { - return authURL + "StartAuthentication?Target=" + target + "&OA=" + oaURL; - } - private String parseSessionIDFromForm(String htmlForm) { - String parName = "MOASessionID="; - assertTrue( - "HTML Form enthält keine SessionID", - htmlForm.indexOf(parName) >= 0); - int i1 = htmlForm.indexOf(parName) + parName.length(); - int i2 = htmlForm.indexOf("\"", i1); - assertTrue("HTML Form enthält keine gültige SessionID", i2 > i1); - return htmlForm.substring(i1, i2); - } - private HttpsURLConnection giveConnection(String targetURL, String requestMethod) throws Exception { - HttpsURLConnection conn = (HttpsURLConnection) new URL(targetURL).openConnection(); - conn.setRequestMethod(requestMethod); - conn.setDoInput(true); - conn.setDoOutput(true); - conn.setUseCaches(false); - conn.setAllowUserInteraction(false); - conn.setHostnameVerifier(new HostnameVerifierHack()); - return conn; - } - private class HostnameVerifierHack implements HostnameVerifier { - public boolean verify(String arg0, String arg1) { - return true; - } - } -} diff --git a/id.server/src/test/abnahme/A/Test700SelectBKU.java b/id.server/src/test/abnahme/A/Test700SelectBKU.java deleted file mode 100644 index 9cfa47033..000000000 --- a/id.server/src/test/abnahme/A/Test700SelectBKU.java +++ /dev/null @@ -1,63 +0,0 @@ -package test.abnahme.A; - -import test.abnahme.AbnahmeTestCase; - -/* - * @author Paul Ivancsics - * @version $Id$ - */ -public class Test700SelectBKU extends AbnahmeTestCase { - - public Test700SelectBKU(String name) { - super(name); - } - - public void testA701() throws Exception { - try { - String form = server.selectBKU( - "https://localhost:8443/auth", - "gb", - "https://localhost:9443/", - "file:" + getTestCaseDirectory() + "BKUSelectionTemplate.html", - "file:" + getTestCaseDirectory() + "Template.html"); - //writeXmldata("SelectBKUForm_out.html", form.getBytes()); - assertEqualsIgnoreSessionID(readXmldata("SelectBKUForm.html"), form); - } - catch (Exception ex) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + ex.getLocalizedMessage()); - throw ex; - } - } - public void testA702() throws Exception { - try { - String form = server.selectBKU( - "https://localhost:8443/auth", - "gb", - "https://localhost:9443/", - null, - null); - //writeXmldata("SelectBKUForm_out.html", form.getBytes()); - assertEqualsIgnoreSessionID(readXmldata("SelectBKUForm.html"), form); - } - catch (Exception ex) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + ex.getLocalizedMessage()); - throw ex; - } - } - public void testA703() throws Exception { - try { - String form = server.selectBKU( - "https://localhost:8443/auth", - "gb", - "https://localhost:9443/", - null, - null); - //writeXmldata("SelectBKUForm_out.html", form.getBytes()); - assertEqualsIgnoreSessionID(readXmldata("SelectBKUForm.html"), form); - } - catch (Exception ex) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + ex.getLocalizedMessage()); - throw ex; - } - } -} diff --git a/id.server/src/test/abnahme/AbnahmeTestCase.java b/id.server/src/test/abnahme/AbnahmeTestCase.java deleted file mode 100644 index e0e6fc183..000000000 --- a/id.server/src/test/abnahme/AbnahmeTestCase.java +++ /dev/null @@ -1,163 +0,0 @@ -package test.abnahme; - -import java.io.File; -import java.io.IOException; -import java.io.RandomAccessFile; - -import test.MOAIDTestCase; - -import at.gv.egovernment.moa.id.MOAIDException; -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.data.AuthenticationData; - -/** - * Base class for MOA ID test cases. - * - * Provides some utility functions. - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class AbnahmeTestCase extends MOAIDTestCase { - - protected static final String TESTDATA_ROOT = "data/abnahme-test/"; - protected static final String TESTDATA_XMLDATA = "data/abnahme-test/xmldata/"; - protected static final String AUTH_ENDPOINT = "http://localhost:8080/moa-id-auth/"; - protected AuthenticationServer server; - - /** - * Constructor for MOATestCase. - * @param arg0 - */ - public AbnahmeTestCase(String name) { - super(name); - } - /** - * Set up a transaction context with a test configuration. - */ - protected void setUp() throws Exception { - - System.out.print("--------S-T-A-R-T----V-O-N----"); - System.out.print(getName().toUpperCase().substring(4,getName().length())); - System.out.print("-----------------------------\n"); - - // Set moa.spss.server.configuration property - System.setProperty("moa.spss.server.configuration",TESTDATA_ROOT + "conf/moa/ConfigurationTest.xml"); - - // Set moa.id.configuration property - String pathname = findXmldata("Configuration.xml"); - System.setProperty(ConfigurationProvider.CONFIG_PROPERTY_NAME, pathname); - System.out.println("Konfiguration " + pathname); - AuthConfigurationProvider.reload(); - - server = AuthenticationServer.getInstance(); - } - /** Test case z.B. "A153" */ - protected String getID() { - return getName().toUpperCase().substring(4,getName().length()); - } - /** Test group z.B. "A100" */ - protected String getTestGroup() { - return getID().substring(0, 2) + "00"; - } - /** Test case data directory */ - protected String getTestCaseDirectory() { - return getTestGroupDirectory() + getID() + "/"; - } - /** Test group data directory */ - protected String getTestGroupDirectory() { - return TESTDATA_XMLDATA + getTestGroup() + "/"; - } - /** Finds a file in the xmldata directory */ - protected String findXmldata(String filename) { - String pathname = getTestCaseDirectory() + filename; - if (! new File(pathname).exists()) { - pathname = getTestGroupDirectory() + filename; - if (! new File(pathname).exists()) { - pathname = TESTDATA_XMLDATA + filename; - } - } - return pathname; - } - /** Finds and reads a file in the xmldata directory */ - protected String readXmldata(String filename) throws IOException { - String pathname = findXmldata(filename); - System.out.println("Read file " + pathname); - return readFile(pathname); - } - protected void writeXmldata(String filename, byte[] content) throws Exception { - String pathname = getTestCaseDirectory() + filename; - System.out.println("Write file " + pathname); - RandomAccessFile raf = new RandomAccessFile(pathname, "rw"); - byte[] data = content; - raf.write(data); - raf.setLength(data.length); - raf.close(); - } - - /** - * Creates a session using standard parameters, - * and returns the session ID. - */ - protected String startAuthentication() throws MOAIDException { - return startAuthentication("https://localhost:9443/"); - } - /** - * Creates a session using standard parameters, - * and returns the session ID. - */ - protected String startAuthentication(String oaURL) throws MOAIDException { - String htmlForm = AuthenticationServer.getInstance().startAuthentication( - "https://localhost:8443/auth", - "gb", - oaURL, - null, - null, - null); - String sessionID = parseSessionIDFromForm(htmlForm); - return sessionID; - } - private String parseSessionIDFromForm(String htmlForm) { - String parName = "MOASessionID="; - assertTrue( - "HTML Form enthält keine SessionID", - htmlForm.indexOf(parName) >= 0); - int i1 = htmlForm.indexOf(parName) + parName.length(); - int i2 = i1; - while(i2 < htmlForm.length() && - (htmlForm.charAt(i2) == '-' || (htmlForm.charAt(i2) >= '0' && htmlForm.charAt(i2) <= '9'))) - i2++; - assertTrue("HTML Form enthält keine gültige SessionID", i2 > i1); - return htmlForm.substring(i1, i2); - } - protected String clearSessionID(String htmlForm) { - String sessionID = parseSessionIDFromForm(htmlForm); - int i1 = htmlForm.indexOf(sessionID); - int i2 = i1 + sessionID.length(); - return htmlForm.substring(0, i1) + htmlForm.substring(i2); - } - protected void assertEqualsIgnoreSessionID(String s1, String s2) { - String ss1 = clearSessionID(s1); - String ss2 = clearSessionID(s2); - assertEquals(ss1, ss2); - } - protected void authDataWriter(AuthenticationData authData, String filename) throws Exception - { - writeXmldata("AuthenticationDataNEW.xml", clearSamlAssertion(authData.getSamlAssertion()).getBytes("UTF-8")); - } - - /** - * clearSamlAssertion löscht aus einer beliebiegen String-Repräsentation einer XML-Struktur - * AUSSLIESSLICH die Attribute 'IssueInstant' und 'AssertionID' heraus. - * @param samlAssertion - * @return String - */ - protected String clearSamlAssertion(String samlAssertion) - { - String result = killInclusive(samlAssertion,"IssueInstant='", "'",""); - result = killInclusive(result,"AssertionID='", "'",""); - return result; - } -} \ No newline at end of file diff --git a/id.server/src/test/abnahme/AllTests.java b/id.server/src/test/abnahme/AllTests.java deleted file mode 100644 index 56a38be28..000000000 --- a/id.server/src/test/abnahme/AllTests.java +++ /dev/null @@ -1,49 +0,0 @@ -package test.abnahme; - -import junit.awtui.TestRunner; -import junit.framework.*; - -import test.abnahme.A.Test100StartAuthentication; -import test.abnahme.A.Test200VerifyIdentityLink; -import test.abnahme.A.Test300VerifyAuthBlock; -import test.abnahme.A.Test400GetAuthenticationData; -import test.abnahme.A.Test500StartAuthenticationServlet; -import test.abnahme.A.Test600GetAuthenticationDataService; -import test.abnahme.A.Test700SelectBKU; -import test.abnahme.C.Test100Konfiguration; -import test.abnahme.P.Test100LoginParameterResolver; - - - - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class AllTests { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(Test100StartAuthentication.class); - suite.addTestSuite(Test200VerifyIdentityLink.class); - suite.addTestSuite(Test300VerifyAuthBlock.class); - suite.addTestSuite(Test400GetAuthenticationData.class); - suite.addTestSuite(Test500StartAuthenticationServlet.class); - suite.addTestSuite(Test600GetAuthenticationDataService.class); - suite.addTestSuite(Test700SelectBKU.class); - - suite.addTestSuite(Test100LoginParameterResolver.class); - - suite.addTestSuite(Test100Konfiguration.class); - return suite; - } - - public static void main(String[] args) { - try { - TestRunner.run(AllTests.class); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/id.server/src/test/abnahme/C/Test100Konfiguration.java b/id.server/src/test/abnahme/C/Test100Konfiguration.java deleted file mode 100644 index 7da5a7449..000000000 --- a/id.server/src/test/abnahme/C/Test100Konfiguration.java +++ /dev/null @@ -1,60 +0,0 @@ -package test.abnahme.C; - -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; - -import test.abnahme.AbnahmeTestCase; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ - -public class Test100Konfiguration extends AbnahmeTestCase { - - public Test100Konfiguration(String name) { - super(name); - } - - public void testC001() throws Exception { - try { - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testC002() throws Exception { - try { - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testC003() throws Exception { - try { - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - public void testC051() throws Exception { - try { - // Set moa.id.configuration property - String pathname = findXmldata("ConfigurationC051.xml"); - System.setProperty(ConfigurationProvider.CONFIG_PROPERTY_NAME, pathname); - System.out.println("Konfiguration " + pathname); - AuthConfigurationProvider.reload(); - } - catch (Exception e) { - System.out.println("-----------------------Fehler in " + this.getName() + " erfolgreich abgefangen: " + e.getLocalizedMessage() + "-----------------------"); - } - // AuthConfigurationProvider.getInstance().getBKUConnectionParameter().getAcceptedServerCertificates() - } -} diff --git a/id.server/src/test/abnahme/P/Test100LoginParameterResolver.java b/id.server/src/test/abnahme/P/Test100LoginParameterResolver.java deleted file mode 100644 index 8b7b2002f..000000000 --- a/id.server/src/test/abnahme/P/Test100LoginParameterResolver.java +++ /dev/null @@ -1,146 +0,0 @@ -package test.abnahme.P; -import java.util.Map; - -import sun.misc.BASE64Decoder; -import test.abnahme.AbnahmeTestCase; - -import at.gv.egovernment.moa.id.config.proxy.OAConfiguration; -import at.gv.egovernment.moa.id.config.proxy.OAProxyParameter; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.id.proxy.LoginParameterResolver; -import at.gv.egovernment.moa.id.proxy.LoginParameterResolverFactory; -import at.gv.egovernment.moa.util.Base64Utils; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ - -public class Test100LoginParameterResolver extends AbnahmeTestCase { - - private static final String CLIENT_IP_ADDRESS = "56.246.75.11"; - private OAConfiguration oaConf; - private LoginParameterResolver lpr; - - public Test100LoginParameterResolver(String name) { - super(name); - } - - private void setUp(String publicURLPrefix) - throws Exception { - - // get configuration data - ProxyConfigurationProvider proxyConf = ProxyConfigurationProvider.getInstance(); - OAProxyParameter oaParam = proxyConf.getOnlineApplicationParameter(publicURLPrefix); - oaConf = oaParam.getOaConfiguration(); - System.out.println("Parameterübergabe: " + oaConf.getAuthType()); - - // get login parameter resolver - LoginParameterResolverFactory.initialize(); - lpr = LoginParameterResolverFactory.getLoginParameterResolver(publicURLPrefix); - } - public void testP101() throws Exception { - try { - // read configuration and set up LoginParameterResolver - setUp("https://testP101:9443/"); - if (! oaConf.getAuthType().equals(OAConfiguration.BASIC_AUTH)) - fail(); - - // assemble authentication data - AuthenticationData authData = new AuthenticationData(); - authData.setFamilyName("Huber"); - authData.setGivenName("Hugo"); - - // resolve login headers - Map loginHeaders = lpr.getAuthenticationHeaders(oaConf, authData, CLIENT_IP_ADDRESS); - - // validate login headers - assertEquals(1, loginHeaders.keySet().size()); - System.out.println("Header Authorization: " + loginHeaders.get("Authorization")); - System.out.println("Decoded UserID:Password " + - new String(new BASE64Decoder().decodeBuffer(((String)loginHeaders.get("Authorization")).substring(6)))); - String userIDPassword = "Hugo:Huber"; - String credentials = Base64Utils.encode(userIDPassword.getBytes()); - assertEquals("Basic " + credentials, loginHeaders.get("Authorization")); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - - } - public void testP102() throws Exception { - try { - // read configuration and set up LoginParameterResolver - setUp("https://testP102:9443/"); - if (! oaConf.getAuthType().equals(OAConfiguration.PARAM_AUTH)) - fail(); - - // assemble authentication data - AuthenticationData authData = new AuthenticationData(); - String DATE_OF_BIRTH = "1963-12-29"; - String VPK = "kp6hOq6LRAkLtrqm6EvDm6bMwJw="; - authData.setDateOfBirth(DATE_OF_BIRTH); - authData.setVPK(VPK); - - // resolve login parameters - Map loginParameters = lpr.getAuthenticationParameters(oaConf, authData, CLIENT_IP_ADDRESS); - - // validate login headers - assertEquals(2, loginParameters.keySet().size()); - System.out.println("Param1: " + loginParameters.get("Param1")); - System.out.println("Param2: " + loginParameters.get("Param2")); - assertEquals(DATE_OF_BIRTH, loginParameters.get("Param1")); - assertEquals(VPK, loginParameters.get("Param2")); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } - - public void testP103() throws Exception { - try { - // read configuration and set up LoginParameterResolver - setUp("https://localhost:9443/"); - if (! oaConf.getAuthType().equals(OAConfiguration.HEADER_AUTH)) - fail(); - - // assemble authentication data - AuthenticationData authData = new AuthenticationData(); - boolean PUBLIC_AUTH = true; - String BKZ = "FinanzamtWien23Leitstelle"; - boolean QUAL_CERT = false; - String ZMR_ZAHL = "3456789012"; - authData.setPublicAuthority(PUBLIC_AUTH); - authData.setPublicAuthorityCode(BKZ); - authData.setQualifiedCertificate(QUAL_CERT); - authData.setIdentificationValue(ZMR_ZAHL); - - // resolve login headers - Map loginHeaders = lpr.getAuthenticationHeaders(oaConf, authData, CLIENT_IP_ADDRESS); - - // validate login headers - assertEquals(5, loginHeaders.keySet().size()); - System.out.println("Header Param1: " + loginHeaders.get("Param1")); - System.out.println("Header Param2: " + loginHeaders.get("Param2")); - System.out.println("Header Param3: " + loginHeaders.get("Param3")); - System.out.println("Header Param4: " + loginHeaders.get("Param4")); - System.out.println("Header Param5: " + loginHeaders.get("Param5")); - assertEquals(String.valueOf(PUBLIC_AUTH), loginHeaders.get("Param1")); - assertEquals(BKZ, loginHeaders.get("Param2")); - assertEquals(String.valueOf(QUAL_CERT), loginHeaders.get("Param3")); - assertEquals(ZMR_ZAHL, loginHeaders.get("Param4")); - assertEquals(CLIENT_IP_ADDRESS, loginHeaders.get("Param5")); - System.out.println("-----------------------Testfall " + this.getName() + " erfolgreich abgearbeitet! -----------------------"); - } - catch (Exception e) { - System.err.println("------ FEHLER IN " + this.getName() + ":" + e.getLocalizedMessage()); - throw e; - } - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/AllTests.java b/id.server/src/test/at/gv/egovernment/moa/id/AllTests.java deleted file mode 100644 index 69ed3d12b..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/AllTests.java +++ /dev/null @@ -1,41 +0,0 @@ -package test.at.gv.egovernment.moa.id; - -import test.at.gv.egovernment.moa.id.auth.AuthenticationServerTest; -import test.at.gv.egovernment.moa.id.auth.servlet.GetAuthenticationDataServiceTest; -import test.at.gv.egovernment.moa.id.auth.invoke.SignatureVerificationTest; -import test.at.gv.egovernment.moa.id.config.auth.MOAIDAuthConfigurationProviderTest; -import test.at.gv.egovernment.moa.id.config.proxy.MOAIDProxyConfigurationProviderTest; - -import junit.awtui.TestRunner; -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class AllTests { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(AuthenticationServerTest.class); - suite.addTest(test.at.gv.egovernment.moa.id.auth.builder.AllTests.suite()); - suite.addTest(test.at.gv.egovernment.moa.id.auth.parser.AllTests.suite()); - suite.addTestSuite(GetAuthenticationDataServiceTest.class); - suite.addTestSuite(SignatureVerificationTest.class); - suite.addTestSuite(MOAIDAuthConfigurationProviderTest.class); - suite.addTestSuite(MOAIDProxyConfigurationProviderTest.class); - suite.addTest(test.at.gv.egovernment.moa.id.proxy.AllTests.suite()); - - return suite; - } - - public static void main(String[] args) { - try { - TestRunner.run(AllTests.class); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/UnitTestCase.java b/id.server/src/test/at/gv/egovernment/moa/id/UnitTestCase.java deleted file mode 100644 index 8309a4f7e..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/UnitTestCase.java +++ /dev/null @@ -1,35 +0,0 @@ -package test.at.gv.egovernment.moa.id; - -import test.MOAIDTestCase; - -import at.gv.egovernment.moa.id.config.ConfigurationProvider; - -/** - * Base class for MOA ID test cases. - * - * Provides some utility functions. - * - * @author Patrick Peck - * @version $Id$ - */ -public class UnitTestCase extends MOAIDTestCase { - - protected static final String TESTDATA_ROOT = "data/test/"; - - /** - * Constructor for MOATestCase. - * @param arg0 - */ - public UnitTestCase(String name) { - super(name); - } - /** - * Set up a transaction context with a test configuration. - */ - protected void setUp() throws Exception { - System.setProperty( - ConfigurationProvider.CONFIG_PROPERTY_NAME, - TESTDATA_ROOT + "conf/ConfigurationTest.xml"); - } - -} \ No newline at end of file diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/AuthenticationServerTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/AuthenticationServerTest.java deleted file mode 100644 index 753b2ef12..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/AuthenticationServerTest.java +++ /dev/null @@ -1,50 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth; - -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.data.AuthenticationData; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationServerTest extends UnitTestCase { - - public AuthenticationServerTest(String name) { - super(name); - } - - public void testStandard() throws Exception { - doTest( - "standard", - "https://localhost:8443/auth", - "gb", - "https://localhost:9443/", - null, - null); - } - public void doTest(String testdataDirectory, String authURL, String target, String oaURL, String bkuURL, String templateURL) throws Exception { - String testdataRoot = TESTDATA_ROOT + "xmldata/" + testdataDirectory + "/"; - AuthenticationServer server = AuthenticationServer.getInstance(); - String htmlForm = server.startAuthentication(authURL, target, oaURL, templateURL, bkuURL, null); - String sessionID = parseSessionIDFromForm(htmlForm); - String infoboxReadResponse = readFile(TESTDATA_ROOT + "xmldata/testperson1/" + "InfoboxReadResponse.xml"); - String createXMLSignatureRequest = server.verifyIdentityLink(sessionID, infoboxReadResponse); - String createXMLSignatureRequestShould = readFile(testdataRoot + "CreateXMLSignatureRequest.xml"); - assertXmlEquals(createXMLSignatureRequestShould, createXMLSignatureRequest); - String createXMLSignatureResponse = readFile(testdataRoot + "CreateXMLSignatureResponse.xml"); - String samlArtifact = server.verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); - AuthenticationData authData = server.getAuthenticationData(samlArtifact); - String authDataShould = readFile(testdataRoot + "AuthenticationDataAssertion.xml"); - assertXmlEquals(authDataShould, authData.getSamlAssertion()); - } - private String parseSessionIDFromForm(String htmlForm) { - String parName = "MOASessionID="; - assertTrue("HTML Form enthält keine SessionID", htmlForm.indexOf(parName) >= 0); - int i1 = htmlForm.indexOf(parName) + parName.length(); - int i2 = htmlForm.indexOf("\"", i1); - assertTrue("HTML Form enthält keine gültige SessionID", i2 > i1); - return htmlForm.substring(i1, i2); - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java deleted file mode 100644 index afaf4a199..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/MOAIDAuthInitialiserTest.java +++ /dev/null @@ -1,55 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth; - -import java.io.ByteArrayInputStream; -import java.security.KeyStore; -import java.util.Enumeration; - -import iaik.pkcs.pkcs12.PKCS12; -import iaik.security.provider.IAIK; - -import at.gv.egovernment.moa.id.auth.MOAIDAuthInitializer; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.util.SSLUtils; -import at.gv.egovernment.moa.util.FileUtils; -import at.gv.egovernment.moa.util.KeyStoreUtils; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class MOAIDAuthInitialiserTest extends UnitTestCase { - - public MOAIDAuthInitialiserTest(String name) { - super(name); - } - - public void testInit() throws Exception - { -// System.setProperty( -// ConfigurationProvider.CONFIG_PROPERTY_NAME,"C://Programme/ApacheGroup/abnahme/conf/moa-id/SampleMOAIDConfiguration.xml"); -// System.setProperty( -// ConfigurationProvider.CONFIG_PROPERTY_NAME,"D://Daten/_Projects/moa_id_maengel/SampleMOAIDConfiguration.xml"); - SSLUtils.initialize(); - - try { - KeyStore s = KeyStoreUtils.loadKeyStore("pkcs12","file:C:/Programme/ApacheGroup/abnahme/cert/keystore.p12","changeit"); - System.out.println(s.getProvider().getClass().getName()); - Enumeration enum = s.aliases(); - while (enum.hasMoreElements()) { - String element = (String) enum.nextElement(); - System.out.print(element+":"); - System.out.println(s.getCertificate(element).getPublicKey().getAlgorithm()); - System.out.println(s.getCertificate(element).getType()); - } - - - System.out.println(s.getCertificate("pc41408").getPublicKey().getFormat()); - - } - catch (Exception e) {e.printStackTrace();}; - - } - - } diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/AllTests.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/AllTests.java deleted file mode 100644 index 77dff29aa..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/AllTests.java +++ /dev/null @@ -1,33 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.builder; - -import junit.awtui.TestRunner; -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * @author patrick - * @version $Id$ - */ -public class AllTests { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(AuthenticationBlockAssertionBuilderTest.class); - suite.addTestSuite(CreateXMLSignatureBuilderTest.class); - suite.addTestSuite(GetIdentityLinkFormBuilderTest.class); - suite.addTestSuite(InfoboxReadRequestBuilderTest.class); - suite.addTestSuite(PersonDataBuilderTest.class); - suite.addTestSuite(SAMLArtifactBuilderTest.class); - - return suite; - } - - public static void main(String[] args) { - try { - TestRunner.run(AllTests.class); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilderTest.java deleted file mode 100644 index 2717ee8c0..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilderTest.java +++ /dev/null @@ -1,46 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.builder; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -import at.gv.egovernment.moa.id.auth.builder.AuthenticationBlockAssertionBuilder; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class AuthenticationBlockAssertionBuilderTest extends UnitTestCase { - private static final String nl = "\n"; - private static final String ISSUER = "Hugo Mustermann"; - private static final String ISSUE_INSTANT = "2003-03-15T22:50:21+01:00"; - private static final String AUTH_URL = "https://auth.moa.gv.at/"; - private static final String TARGET = "Grundbuch"; - private static final String OA_URL = "https://grundbuch.gv.at/"; - - // wird auch von CreateXMLSignatureBuilderTest verwendet ! - public static final String ASSERTION_SHOULD = -"" + nl + -" " + nl + -" " + nl + -" " + AUTH_URL + "" + nl + -" " + nl + -" " + nl + -" " + TARGET + "" + nl + -" " + nl + -" " + nl + -" " + OA_URL + "" + nl + -" " + nl + -" " + nl + -""; - - public AuthenticationBlockAssertionBuilderTest(String name) { - super(name); - } - - public void testBuild() throws Exception { - AuthenticationBlockAssertionBuilder builder = new AuthenticationBlockAssertionBuilder(); - String assertionBuilt = builder.build(ISSUER, ISSUE_INSTANT, AUTH_URL, TARGET, OA_URL); - assertionBuilt = XML_DECL + assertionBuilt; - String assertionShould = XML_DECL + ASSERTION_SHOULD; - assertXmlEquals(assertionShould, assertionBuilt); - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureBuilderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureBuilderTest.java deleted file mode 100644 index 13f86efee..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureBuilderTest.java +++ /dev/null @@ -1,58 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.builder; - -import at.gv.egovernment.moa.id.auth.builder.CreateXMLSignatureRequestBuilder; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class CreateXMLSignatureBuilderTest extends UnitTestCase { - private static final String nl = "\n"; - public static final String TRANSFORMS_INFO = - " " + nl + - " " + nl + - " " + nl + - " " + nl + -"" + nl + -"" + nl + -"" + nl + -"" + nl + -"" + nl + -"" + nl + -"" + nl + -"" + nl + - " " + nl + - " " + nl + - " " + nl + - " text/html" + nl + - " " + nl + - " " + nl; - public static final String REQUEST_SHOULD = -"" + nl + -"" + nl + -" SecureSignatureKeypair" + nl + -" " + nl + -" " + nl + -TRANSFORMS_INFO + -" " + nl + -" " + nl + -" " + nl + -" " + AuthenticationBlockAssertionBuilderTest.ASSERTION_SHOULD + "" + nl + -" " + nl + -" /saml:Assertion" + nl + -" " + nl + -""; - - public CreateXMLSignatureBuilderTest(String name) { - super(name); - } - - public void testBuild() throws Exception { - String request = new CreateXMLSignatureRequestBuilder().build( - AuthenticationBlockAssertionBuilderTest.ASSERTION_SHOULD, - new String[] {TRANSFORMS_INFO}); - assertXmlEquals(REQUEST_SHOULD, request); - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilderTest.java deleted file mode 100644 index 9142a8e42..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilderTest.java +++ /dev/null @@ -1,73 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.builder; - -import java.text.MessageFormat; - -import junit.framework.TestCase; - -import at.gv.egovernment.moa.id.auth.builder.CertInfoVerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.builder.GetIdentityLinkFormBuilder; -import at.gv.egovernment.moa.id.auth.builder.InfoboxReadRequestBuilder; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class GetIdentityLinkFormBuilderTest extends TestCase { - private static String nl = "\n"; - public static String FORM = - "" + nl + - "" + nl + - "" + nl + - "Auslesen der Personenbindung" + nl + - "" + nl + - "" + nl + - "
    " + nl + - " " + nl + - " " + nl + - " " + nl + - "
    " + nl + - "
    " + nl + - " " + nl + - " " + nl + - " " + nl + - "
    " + nl + - "" + nl + - ""; - public static String BKU = - "http://localhost:3495/http-security-layer-request"; - - public void testBuild() throws Exception { - String xmlRequest = new InfoboxReadRequestBuilder().build(); - String dataURL = "https://1.2.3.4/auth/VerifyIdentityLink?MOASessionID=1234567"; - String infoRequest = new CertInfoVerifyXMLSignatureRequestBuilder().build(); - String infoDataURL = "https://1.2.3.4/auth/StartAuthentication?Target=gb&OA=https://oa.gv.at/"; - String form = new GetIdentityLinkFormBuilder().build(null, null, xmlRequest, dataURL, infoRequest, infoDataURL); - String formShould = MessageFormat.format( - FORM, new Object[] { BKU, xmlRequest, dataURL, infoRequest, infoDataURL }); - assertEquals(formShould, form); - } - public void testBuildCustomBKU() throws Exception { - String xmlRequest = new InfoboxReadRequestBuilder().build(); - String dataURL = "https://1.2.3.4/auth/AuthServlet/StartAuthentication?MOASessionID=1234567"; - String infoRequest = new CertInfoVerifyXMLSignatureRequestBuilder().build(); - String infoDataURL = "https://1.2.3.4/auth/StartAuthentication?Target=gb&OA=https://oa.gv.at/"; - String bkuURL = "http://bku.at/"; - String form = new GetIdentityLinkFormBuilder().build(null, bkuURL, xmlRequest, dataURL, infoRequest, infoDataURL); - String formShould = MessageFormat.format( - FORM, new Object[] { bkuURL, xmlRequest, dataURL, infoRequest, infoDataURL }); - assertEquals(formShould, form); - } - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/InfoboxReadRequestBuilderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/InfoboxReadRequestBuilderTest.java deleted file mode 100644 index b65fc9ecf..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/InfoboxReadRequestBuilderTest.java +++ /dev/null @@ -1,29 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.builder; - -import org.w3c.dom.Document; -import test.at.gv.egovernment.moa.id.UnitTestCase; - -import at.gv.egovernment.moa.id.auth.builder.InfoboxReadRequestBuilder; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class InfoboxReadRequestBuilderTest extends UnitTestCase implements Constants { - - public InfoboxReadRequestBuilderTest(String name) { - super(name); - } - - public void testBuild() throws Exception { - InfoboxReadRequestBuilder builder = new InfoboxReadRequestBuilder(); - String xmlBuilt = builder.build(); - Document docBuilt = DOMUtils.parseDocument(xmlBuilt, false, ALL_SCHEMA_LOCATIONS, null); - String xmlBuiltSerialized = DOMUtils.serializeNode(docBuilt); - // xmlShould was generated by Hot:Sign Tester - String xmlShould = "IdentityLink"; - assertXmlEquals(xmlShould, xmlBuiltSerialized); - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/PersonDataBuilderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/PersonDataBuilderTest.java deleted file mode 100644 index 504679fd5..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/PersonDataBuilderTest.java +++ /dev/null @@ -1,51 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.builder; - -import at.gv.egovernment.moa.id.auth.builder.PersonDataBuilder; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; -import at.gv.egovernment.moa.util.Constants; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class PersonDataBuilderTest extends UnitTestCase implements Constants { - - /** - * Constructor for PersonDataBuilderTest. - */ - public PersonDataBuilderTest(String arg) { - super(arg); - } - public void testBuild() throws Exception { - String xmlInfoboxReadResponse = readFile("data/test/xmldata/testperson1/InfoboxReadResponse.xml"); - IdentityLink il = new InfoboxReadResponseParser(xmlInfoboxReadResponse).parseIdentityLink(); - String xmlPersonData = new PersonDataBuilder().build(il, true); - String xmlPersonDataShould = "123456789012http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahlHermannMuster1968-10-22"; - assertPersonDataEquals(xmlPersonDataShould, xmlPersonData); - } - public void testBuildNoZMRZahl() throws Exception { - String xmlInfoboxReadResponse = readFile("data/test/xmldata/testperson1/InfoboxReadResponse.xml"); - IdentityLink il = new InfoboxReadResponseParser(xmlInfoboxReadResponse).parseIdentityLink(); - String xmlPersonData = new PersonDataBuilder().build(il, false); - String xmlPersonDataShould = XML_DECL + "HermannMuster1968-10-22"; - assertPersonDataEquals(xmlPersonDataShould, xmlPersonData); - } - private void assertPersonDataEquals(String s1, String s2) throws Exception { - String ss1 = insertPrNS(s1); - String ss2 = insertPrNS(s2); - assertXmlEquals(ss1, ss2); - } - private String insertPrNS(String xmlPersonData) { - int startNS = xmlPersonData.indexOf("Person") + "Person".length() + 1; - String s = - xmlPersonData.substring(0, startNS) + - "xmlns:pr=\"" + PD_NS_URI + "\" " + - "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " + - xmlPersonData.substring(startNS); - return s; - } - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/SAMLArtifactBuilderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/SAMLArtifactBuilderTest.java deleted file mode 100644 index 3ec73ee4c..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/SAMLArtifactBuilderTest.java +++ /dev/null @@ -1,52 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.builder; - -import at.gv.egovernment.moa.id.BuildException; -import at.gv.egovernment.moa.id.auth.builder.SAMLArtifactBuilder; -import at.gv.egovernment.moa.util.Base64Utils; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLArtifactBuilderTest extends UnitTestCase { - - private static final String AUTH_URL = "https://moa.gv.at/auth/"; - private static final String SESSION_ID_1 = "123456"; - private static final String SESSION_ID_2 = "123457"; - private static final String SESSION_ID_3 = "1234567"; - - private SAMLArtifactBuilder builder; - private byte[] artifact1; - private byte[] artifact2; - private byte[] artifact3; - - public SAMLArtifactBuilderTest(String name) { - super(name); - } - protected void setUp() throws Exception { - builder = new SAMLArtifactBuilder(); - artifact1 = Base64Utils.decode(builder.build(AUTH_URL, SESSION_ID_1), false); - artifact2 = Base64Utils.decode(builder.build(AUTH_URL, SESSION_ID_2), false); - artifact3 = Base64Utils.decode(builder.build(AUTH_URL, SESSION_ID_3), false); - } - - public void testBuildArtifactLength() throws BuildException { - assertEquals(42, artifact1.length); - assertEquals(42, artifact2.length); - assertEquals(42, artifact3.length); - } - public void testBuildSameArtifact() throws Exception { - byte[] artifact1Clone = Base64Utils.decode(builder.build(AUTH_URL, SESSION_ID_1), false); - assertEquals(new String(artifact1), new String(artifact1Clone)); - } - public void testBuildDifferentArtifacts() throws BuildException { - String msg = "SAML Artifacts should be different"; - assertFalse(msg, new String(artifact1).equals(new String(artifact2))); - assertFalse(msg, new String(artifact1).equals(new String(artifact3))); - assertFalse(msg, new String(artifact3).equals(new String(artifact2))); - } - - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilderTest.java deleted file mode 100644 index 5b3bb5906..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilderTest.java +++ /dev/null @@ -1,93 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.builder; - -import java.io.FileInputStream; -import java.io.RandomAccessFile; - -import org.w3c.dom.Element; -import test.at.gv.egovernment.moa.id.auth.invoke.MOASPSSTestCase; - -import at.gv.egovernment.moa.id.auth.builder.VerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.data.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.parser.CreateXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; -import at.gv.egovernment.moa.id.auth.invoke.SignatureVerificationInvoker; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; - - - -/** - * Test case for the signature verification web service. - * - * This test requires a running SignatureVerification web service. - * - * @author Stefan Knirsch - * @version $Id$ - */ -public class VerifyXMLSignatureRequestBuilderTest extends MOASPSSTestCase { - - - private SignatureVerificationInvoker caller; - - public VerifyXMLSignatureRequestBuilderTest(String name) { - super(name); - } - - public void setUp() { - System.setProperty( - ConfigurationProvider.CONFIG_PROPERTY_NAME, - "data/test/conf/ConfigurationTest.xml"); - caller = new SignatureVerificationInvoker(); - } - - public void testVerifyXMLSignatureRequestBuilderIdentityLink() throws Exception { - - RandomAccessFile infoBox = new RandomAccessFile( - "data/test/xmldata/testperson1/InfoboxReadResponse.xml","r"); - byte[] b = new byte[(int) infoBox.length()]; - infoBox.read(b); - infoBox.close(); - String xmlInfoboxReadResponse = new String(b, "UTF-8"); - - - RandomAccessFile vr = new RandomAccessFile( - "data/test/xmldata/standard/VerifyXMLSignatureRequestIdentityLink.xml","r"); - b = new byte[(int) vr.length()]; - vr.read(b); - vr.close(); - String xmlResponse = new String(b, "UTF-8"); - - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(xmlInfoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - VerifyXMLSignatureRequestBuilder vsrb = new VerifyXMLSignatureRequestBuilder(); - AuthConfigurationProvider authConf = AuthConfigurationProvider.getInstance(); - - Element requestBuild = vsrb.build(idl, authConf.getMoaSpIdentityLinkTrustProfileID()); - - assertXmlEquals(requestBuild, xmlResponse); - - } - - public void testVerifyXMLSignature2() throws Exception { - - RandomAccessFile s = new RandomAccessFile("data/test/xmldata/standard/CreateXMLSignatureResponse.xml","r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - s.close(); - String xmlCreateXMLSignatureResponse = new String(b, "UTF-8"); - - CreateXMLSignatureResponseParser cXMLsrp = new CreateXMLSignatureResponseParser(xmlCreateXMLSignatureResponse); - CreateXMLSignatureResponse csr = cXMLsrp.parseResponse(); - - VerifyXMLSignatureRequestBuilder vsrb = new VerifyXMLSignatureRequestBuilder(); - - AuthConfigurationProvider authConf = AuthConfigurationProvider.getInstance(); - - Element request = vsrb.build(csr, authConf.getMoaSpAuthBlockVerifyTransformsInfoIDs(), authConf.getMoaSpIdentityLinkTrustProfileID()); - - // check the result - assertXmlEquals(request, new FileInputStream("data/test/xmldata/standard/VerifyXMLSignatureRequestCreateXML.xml")); - - } - } diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/invoke/MOASPSSTestCase.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/invoke/MOASPSSTestCase.java deleted file mode 100644 index 7ae6f70ef..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/invoke/MOASPSSTestCase.java +++ /dev/null @@ -1,38 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.invoke; - -import java.security.Security; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -/** - * Base class for end-to-end tests of MOA web-services. - * - * Initializes the test system and provides some properties. - * - * @author Patrick Peck - * @version $Id$ - */ -public class MOASPSSTestCase extends UnitTestCase { - - public MOASPSSTestCase(String name) { - super(name); - } - - - protected void setupSSL() { - System.setProperty("javax.net.debug", "all"); - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - System.setProperty( - "java.protocol.handler.pkgs", - "com.sun.net.ssl.internal.www.protocol"); - System.setProperty( - "javax.net.ssl.keyStore", - "data/test/security/client.keystore"); - System.setProperty("javax.net.ssl.keyStorePassword", "changeit"); - System.setProperty( - "javax.net.ssl.trustStore", - "data/test/security/client.keystore"); - System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); - } - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationTest.java deleted file mode 100644 index e56dcde91..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/invoke/SignatureVerificationTest.java +++ /dev/null @@ -1,166 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.invoke; - -import java.io.RandomAccessFile; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.auth.builder.VerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.data.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.data.VerifyXMLSignatureResponse; -import at.gv.egovernment.moa.id.auth.parser.CreateXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; -import at.gv.egovernment.moa.id.auth.parser.VerifyXMLSignatureResponseParser; -import at.gv.egovernment.moa.id.auth.invoke.SignatureVerificationInvoker; -import at.gv.egovernment.moa.id.auth.validator.VerifyXMLSignatureResponseValidator; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.util.DOMUtils; - - - -/** - * Test case for the signature verification web service. - * - * This test requires a running SignatureVerification web service. - * - * @author Patrick Peck - * @author Fatemeh Philippi - * @version $Id$ - */ -public class SignatureVerificationTest extends MOASPSSTestCase { - - - private SignatureVerificationInvoker caller; - - public SignatureVerificationTest(String name) { - super(name); - } - - public void setUp() { -System.setProperty( - ConfigurationProvider.CONFIG_PROPERTY_NAME, - "data/test/conf/ConfigurationTest.xml"); - caller = new SignatureVerificationInvoker(); - } - -/* public void testVerifyCMSSignature() throws Exception { - Element request = - parseXml("data/test/xml/VCSQ000.xml").getDocumentElement(); - Element result; - - // call the service - result = caller.verifyXMLSignature(request); - - // check the result - assertEquals("VerifyCMSSignatureResponse", result.getTagName()); - }*/ - - public void testVerifyXMLSignature1() throws Exception { - - //Momentan zeigt die Konfiguration als Endpunkt aus localhost:8081 zum - //Protokollieren per TCPMon... der ECHT Endpunkt ist 10.16.46.108:8080 - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/testperson1/InfoboxReadResponse.xml","r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String xmlInfoboxReadResponse =new String(b,"UTF8"); - - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(xmlInfoboxReadResponse); - IdentityLink idl = irrp.parseIdentityLink(); - VerifyXMLSignatureRequestBuilder vsrb = new VerifyXMLSignatureRequestBuilder(); - - AuthConfigurationProvider authConf = AuthConfigurationProvider.getInstance(); - - Element request = vsrb.build(idl, authConf.getMoaSpIdentityLinkTrustProfileID()); - s =new RandomAccessFile("D://PatricksVerifyXMLSignatureRequestWithInfoboxReadResponse.xml","rw"); - s.write(DOMUtils.serializeNode(request).getBytes("UTF-8")); - s.close(); -// Element request = DOMUtils.parseDocument(vsrb.build(xmlInfoboxReadResponse,"TrustProfile1"),false,null,null).getDocumentElement(); -// Element request = DOMUtils.parseDocument(xmlInfoboxReadResponse,false,null,null).getDocumentElement(); -// call the service - Element response = caller.verifyXMLSignature(request); - VerifyXMLSignatureResponseParser vParser = new VerifyXMLSignatureResponseParser(response); - VerifyXMLSignatureResponse vData = vParser.parseData(); - VerifyXMLSignatureResponseValidator vValidate = VerifyXMLSignatureResponseValidator.getInstance(); - vValidate.validate(vData, authConf.getIdentityLinkX509SubjectNames(), VerifyXMLSignatureResponseValidator.CHECK_IDENTITY_LINK); - vValidate.validateCertificate(vData,idl); - - // check the result - assertXmlEquals(response, request); - - } - - public void testVerifyXMLSignature2() throws Exception { - // Prüft den 2. Aufruf mit dem CreateXMLSIgnatureResponse als Parameter - //Momentan zeigt die Konfiguration als Endpunkt aus localhost:8081 zum - //Protokollieren per TCPMon... der ECHT Endpunkt ist 10.16.46.108:8080 - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/standard/CreateXMLSignatureResponse.xml","r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String xmlCreateXMLSignatureResponse = new String(b, "UTF8"); - - CreateXMLSignatureResponseParser cXMLsrp = new CreateXMLSignatureResponseParser(xmlCreateXMLSignatureResponse); -// CreateXMLSignatureResponseParser cXMLsrp = new CreateXMLSignatureResponseParser(xmlCreateXMLSignatureResponse); - CreateXMLSignatureResponse csr = cXMLsrp.parseResponse(); - - VerifyXMLSignatureRequestBuilder vsrb = new VerifyXMLSignatureRequestBuilder(); - - AuthConfigurationProvider authConf = AuthConfigurationProvider.getInstance(); - - Element request = vsrb.build(csr, authConf.getMoaSpAuthBlockVerifyTransformsInfoIDs(), authConf.getMoaSpIdentityLinkTrustProfileID()); - // Element request = DOMUtils.parseDocument(vsrb.build(xmlInfoboxReadResponse,"TrustProfile1"),false,null,null).getDocumentElement(); -// Element request = DOMUtils.parseDocument(xmlInfoboxReadResponse,false,null,null).getDocumentElement(); - Element result; -/*s =new RandomAccessFile("D://PatricksVerifyXMLSignatureRequestWithAuthBlock.xml","rw"); - s.write(DOMUtils.serializeNode(request).getBytes("UTF-8")); - s.close();*/ - // call the service - result = caller.verifyXMLSignature(request); - // check the result - assertEquals("VerifyXMLSignatureResponse", result.getTagName()); - - } - - - public void testParseCreateXMLSignatureResponse() throws Exception { - - //Später soll die Datei direkt vom Server geholt werden... - - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/standard/CreateXMLSignatureResponse.xml", - - "r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String xmlCreateXMLSignatureResponse = new String(b, "UTF-8"); - - CreateXMLSignatureResponseParser cXMLsrp = new CreateXMLSignatureResponseParser(xmlCreateXMLSignatureResponse); - CreateXMLSignatureResponse csr = cXMLsrp.parseResponse(); - - } - - public void testParseVerifyXMLSignatureResponse() throws Exception { - - //Später soll die Datei direkt vom Server geholt werden... - - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/standard/VerifyXMLSignaterResponse.xml", - - "r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String xmlVerifyXMLSignatureResponse = new String(b, "UTF-8"); - - VerifyXMLSignatureResponseParser vXMLsrp = new VerifyXMLSignatureResponseParser(xmlVerifyXMLSignatureResponse); - VerifyXMLSignatureResponse vsr = vXMLsrp.parseData(); - - } - - - } diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/AllTests.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/AllTests.java deleted file mode 100644 index 84f5110b0..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/AllTests.java +++ /dev/null @@ -1,29 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.parser; - -import junit.awtui.TestRunner; -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class AllTests { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(IdentityLinkAssertionParserTest.class); - suite.addTestSuite(SAMLArtifactParserTest.class); - - return suite; - } - - public static void main(String[] args) { - try { - TestRunner.run(AllTests.class); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java deleted file mode 100644 index 77eb360bc..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/IdentityLinkAssertionParserTest.java +++ /dev/null @@ -1,137 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.parser; - -import iaik.security.rsa.RSAPublicKey; - -import java.io.FileOutputStream; -import java.io.RandomAccessFile; -import java.security.PublicKey; - -import org.w3c.dom.Document; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -import at.gv.egovernment.moa.id.auth.builder.VerifyXMLSignatureRequestBuilder; -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.parser.ECDSAKeyValueConverter; -import at.gv.egovernment.moa.id.auth.parser.IdentityLinkAssertionParser; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; -import at.gv.egovernment.moa.id.auth.validator.IdentityLinkValidator; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class IdentityLinkAssertionParserTest extends UnitTestCase { - - IdentityLinkAssertionParser ilap; - - public IdentityLinkAssertionParserTest(String name) { - super(name); - } - - public void setUp() { - try { - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/testperson1/InfoboxReadResponse.xml", - "r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String xmlInfoboxReadResponse = new String(b, "UTF-8"); - - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(xmlInfoboxReadResponse); - ilap = new IdentityLinkAssertionParser(irrp.parseSAMLAssertion()); - } - catch (Exception e) { - e.printStackTrace(); - } - } - - public void testParseIdentityLink() throws Exception { - IdentityLink idl = ilap.parseIdentityLink(); - System.out.println(idl.getGivenName()); - System.out.println(idl.getFamilyName()); - System.out.println(idl.getDateOfBirth()); - System.out.println(idl.getIdentificationValue()); - - VerifyXMLSignatureRequestBuilder vx = new VerifyXMLSignatureRequestBuilder(); - - // Element zurück bekommen: vx.build(idl.getSamlAssertion()); - - IdentityLinkValidator idVali = IdentityLinkValidator.getInstance(); - idVali.validate(idl); - - } - - public void testParseIdentityLinkECC() throws Exception { - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/IL.ResponseToRequest.01.ECDSA.xml", - "r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String xmlInfoboxReadResponse = new String(b); - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(xmlInfoboxReadResponse); - String SAML = irrp.parseSAMLAssertion(); - ilap = new IdentityLinkAssertionParser(SAML); - IdentityLink idl = ilap.parseIdentityLink(); - System.out.println(idl.getGivenName()); - System.out.println(idl.getFamilyName()); - System.out.println(idl.getDateOfBirth()); - System.out.println(idl.getIdentificationValue()); - - VerifyXMLSignatureRequestBuilder vx = new VerifyXMLSignatureRequestBuilder(); - - // Element zurück bekommen: vx.build(idl.getSamlAssertion()); - - IdentityLinkValidator idVali = IdentityLinkValidator.getInstance(); - idVali.validate(idl); - - } - - public void testRSAPublicKeys() throws Exception { - if (ilap.getPublicKeys()[0].getClass().getName().equals("iaik.security.rsa.RSAPublicKey")) - { - - for (int i = 0; i < ilap.getPublicKeys().length; i++) { - RSAPublicKey result = (RSAPublicKey)ilap.getPublicKeys()[i]; - System.out.println("RSA Public Key No" + i); - System.out.println("Modulus: " + result.getModulus()); - System.out.println("Exponent: " + result.getPublicExponent()); - } - - } - } - - public void testECDSAPublicKeys() throws Exception { - - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/ECDSAKeyExample.xml", - "r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String ecdsaKey = new String(b, "UTF-8"); - Document e = DOMUtils.parseDocument(ecdsaKey,true,Constants.ALL_SCHEMA_LOCATIONS, null); - PublicKey p = ECDSAKeyValueConverter.element2ECDSAPublicKey(e.getDocumentElement()); - - } - - - public void testDsigCertificates() throws Exception { - - String[] result = ilap.getCertificates(); - for (int i = 0; i < result.length; i++) { - - System.out.println("DSIG Certificate Length: " + result[i].length() + " No" + i + "\n" + result[i]); - FileOutputStream raf = new FileOutputStream("data/test/certs/cert" + i + ".cer"); - raf.write(result[i].getBytes()); - raf.flush(); - raf.close(); - } - - } - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/InfoboxReadResponseParserTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/InfoboxReadResponseParserTest.java deleted file mode 100644 index 9a878be2c..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/InfoboxReadResponseParserTest.java +++ /dev/null @@ -1,67 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.parser; - -import java.io.RandomAccessFile; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -import at.gv.egovernment.moa.id.auth.data.IdentityLink; -import at.gv.egovernment.moa.id.auth.parser.IdentityLinkAssertionParser; -import at.gv.egovernment.moa.id.auth.parser.InfoboxReadResponseParser; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class InfoboxReadResponseParserTest extends UnitTestCase { - - IdentityLinkAssertionParser ilap; - - public InfoboxReadResponseParserTest(String name) { - super(name); - } - - public void setUp() { - } - - public void testParseInfoboxReadResponse() throws Exception { - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/testperson1/InfoboxReadResponse.xml", - "r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String xmlInfoboxReadResponse = new String(b, "UTF-8"); - - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(xmlInfoboxReadResponse); - ilap = new IdentityLinkAssertionParser(irrp.parseSAMLAssertion()); - - IdentityLink idl = ilap.parseIdentityLink(); - System.out.println(idl.getGivenName()); - System.out.println(idl.getFamilyName()); - System.out.println(idl.getDateOfBirth()); - System.out.println(idl.getIdentificationValue()); - - } - - public void testParseInfoboxReadResponseError() throws Exception { - RandomAccessFile s = - new RandomAccessFile( - "data/test/xmldata/ErrorResponse.xml", - "r"); - byte[] b = new byte[(int) s.length()]; - s.read(b); - String xmlInfoboxReadResponse = new String(b, "UTF-8"); - - InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(xmlInfoboxReadResponse); - ilap = new IdentityLinkAssertionParser(irrp.parseSAMLAssertion()); - - IdentityLink idl = ilap.parseIdentityLink(); - System.out.println(idl.getGivenName()); - System.out.println(idl.getFamilyName()); - System.out.println(idl.getDateOfBirth()); - System.out.println(idl.getIdentificationValue()); - - } - - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/SAMLArtifactParserTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/SAMLArtifactParserTest.java deleted file mode 100644 index 992e799bd..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/parser/SAMLArtifactParserTest.java +++ /dev/null @@ -1,55 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.parser; - -import at.gv.egovernment.moa.id.auth.builder.SAMLArtifactBuilder; -import at.gv.egovernment.moa.id.auth.parser.SAMLArtifactParser; -import at.gv.egovernment.moa.id.util.Random; -import test.at.gv.egovernment.moa.id.UnitTestCase; - -/* - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLArtifactParserTest extends UnitTestCase { - - private static String URL1 = "http://moa.gv.at/auth"; - private static String URL2 = "https://moa.gv.at/auth"; - - public SAMLArtifactParserTest(String name) { - super(name); - } - - public void testParseTypeCode() throws Exception { - String sessionID = Random.nextRandom(); - String samlArtifact = new SAMLArtifactBuilder().build(URL1, sessionID); - byte[] typeCode = new SAMLArtifactParser(samlArtifact).parseTypeCode(); - assertEquals(typeCode[0], 0); - assertEquals(typeCode[1], 1); - } - public void testParseAssertionHandleSameSessionID() throws Exception { - // SAML artifacts for different authURL's but same sessionID MUST give same assertion handle - String sessionID = Random.nextRandom(); - String samlArtifact1 = new SAMLArtifactBuilder().build(URL1, sessionID); - String samlArtifact2 = new SAMLArtifactBuilder().build(URL2, sessionID); - String assertionHandle1 = new SAMLArtifactParser(samlArtifact1).parseAssertionHandle(); - String assertionHandle2 = new SAMLArtifactParser(samlArtifact2).parseAssertionHandle(); - assertEquals(assertionHandle1, assertionHandle2); - } - public void testParseAssertionHandleSameURL() throws Exception { - // SAML artifacts for same authURL but different sessionID's MUST give different assertion handles - String sessionID1 = Random.nextRandom(); - String sessionID2 = Random.nextRandom(); - String samlArtifact1 = new SAMLArtifactBuilder().build(URL1, sessionID1); - String samlArtifact2 = new SAMLArtifactBuilder().build(URL1, sessionID2); - String assertionHandle1 = new SAMLArtifactParser(samlArtifact1).parseAssertionHandle(); - String assertionHandle2 = new SAMLArtifactParser(samlArtifact2).parseAssertionHandle(); - assertFalse(assertionHandle1.equals(assertionHandle2)); - } - public void testParseAssertionHandleSameSAMLArtifact() throws Exception { - // SAML artifact parsed twice MUST give same assertion handle each time - String sessionID = Random.nextRandom(); - String samlArtifact = new SAMLArtifactBuilder().build(URL1, sessionID); - String assertionHandle1 = new SAMLArtifactParser(samlArtifact).parseAssertionHandle(); - String assertionHandle2 = new SAMLArtifactParser(samlArtifact).parseAssertionHandle(); - assertEquals(assertionHandle1, assertionHandle2); - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataServiceTest.java b/id.server/src/test/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataServiceTest.java deleted file mode 100644 index c78651fdb..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/auth/servlet/GetAuthenticationDataServiceTest.java +++ /dev/null @@ -1,91 +0,0 @@ -package test.at.gv.egovernment.moa.id.auth.servlet; - -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -import at.gv.egovernment.moa.id.auth.servlet.GetAuthenticationDataService; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -/** - * Test case instantiates GetAuthenticationDataService and calls the Request() method. - * It DOES NOT call the web service via Axis. - * - * @author Paul Ivancsics - * @version $Id$ - */ -public class GetAuthenticationDataServiceTest extends UnitTestCase implements Constants { - - private GetAuthenticationDataService service; - - public GetAuthenticationDataServiceTest(String arg0) { - super(arg0); - } - protected void setUp() throws Exception { - service = new GetAuthenticationDataService(); - } - - public void testService2Requests() throws Exception { - String requestString = - "" + - "" + - "123" + - ""; - Element request = DOMUtils.parseDocument(requestString, false, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - Element response = service.Request(new Element[] {request, request})[0]; - assertStatus(response, "samlp:Requester", "samlp:TooManyResponses"); - } - public void testServiceNoSAMLArtifact() throws Exception { - String requestString = - "" + - "" + - "123" + - ""; - Element request = DOMUtils.parseDocument(requestString, false, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - Element response = service.Request(new Element[] {request})[0]; - assertStatus(response, "samlp:Requester", null); - } - public void testService2SAMLArtifacts() throws Exception { - String requestString = - "" + - "" + - "123" + - "456" + - ""; - Element request = DOMUtils.parseDocument(requestString, false, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - Element response = service.Request(new Element[] {request})[0]; - assertStatus(response, "samlp:Requester", "samlp:TooManyResponses"); - } - public void testServiceWrongFormat() throws Exception { - String requestString = - "" + - "" + - ""; - Element request = DOMUtils.parseDocument(requestString, false, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - Element response = service.Request(new Element[] {request})[0]; - assertStatus(response, "samlp:Requester", null); - } - public void testServiceWrongSAMLArtifact() throws Exception { - String requestString = - "" + - "" + - "WRONGARTIFACT" + - ""; - Element request = DOMUtils.parseDocument(requestString, false, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - Element response = service.Request(new Element[] {request})[0]; - assertStatus(response, "samlp:Requester", "samlp:ResourceNotRecognized"); - } - private void assertStatus(Element response, String statusCodeShould, String subStatusCodeShould) throws Exception { - Element statusCodeNode = (Element)XPathUtils.selectSingleNode(response, "//samlp:StatusCode"); - String statusCode = statusCodeNode.getAttribute("Value"); - Element subStatusCodeNode = (Element)XPathUtils.selectSingleNode(statusCodeNode, "//samlp:StatusCode/samlp:StatusCode"); - String subStatusCode = subStatusCodeNode == null ? null : subStatusCodeNode.getAttribute("Value"); - System.out.println(statusCode + subStatusCode); - assertEquals(statusCodeShould, statusCode); - assertEquals(subStatusCodeShould, subStatusCode); - } - - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/config/auth/MOAIDAuthConfigurationProviderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/config/auth/MOAIDAuthConfigurationProviderTest.java deleted file mode 100644 index 7935c5179..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/config/auth/MOAIDAuthConfigurationProviderTest.java +++ /dev/null @@ -1,112 +0,0 @@ -package test.at.gv.egovernment.moa.id.config.auth; - -import java.util.Map; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.config.auth.OAAuthParameter; - -/** - * @author Stefan Knirsch - * @version $Id$ - */ -public class MOAIDAuthConfigurationProviderTest extends UnitTestCase { - private AuthConfigurationProvider provider; - - /** - * Constructor for MOAAuthConfigTest. - * @param name - */ - public MOAIDAuthConfigurationProviderTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - - provider = - new AuthConfigurationProvider(TESTDATA_ROOT + "conf/ConfigurationTest.xml"); - - } - public void testGetTransformsInfoFileNames() { - String[] transformsInfoFileNames; - transformsInfoFileNames = provider.getTransformsInfoFileNames(); -// for (int i = 0; i < transformsInfoFileNames.length; i++) { -// System.out.println( -// "getTransformsInfoFileNames: " + transformsInfoFileNames[i]); - assertEquals(transformsInfoFileNames[0],"http://StringsecLayerTranformsInfo1"); - assertEquals(transformsInfoFileNames[1],"http://StringsecLayerTranformsInfo2"); -// } - - } - - public void testGetMOASPConnectionParameters() { - ConnectionParameter cp; - cp = provider.getMoaSpConnectionParameter(); - assertEquals(cp.getUrl(),"MOA-SP-URL"); - assertEquals(cp.getAcceptedServerCertificates(),"http://AcceptedServerCertificates"); - assertEquals(cp.getClientKeyStorePassword(),"Keystore Pass"); - assertEquals(cp.getClientKeyStore(),"URLtoClientKeystoreAUTH"); -/* System.out.println(); - System.out.println("getMoaSpConnectionParameter :" + cp.getUrl()); - System.out.println( - "getMoaSpConnectionParameter :" + cp.getAcceptedServerCertificates()); - System.out.println( - "getMoaSpConnectionParameter :" + cp.getClientKeyStorePassword()); - System.out.println( - "getMoaSpConnectionParameter :" + cp.getClientKeyStore());*/ - } - public void testGetMoaSpIdentityLinkTrustProfileID() { - - assertEquals(provider.getMoaSpIdentityLinkTrustProfileID(),"StringVerifyIdentiyLinkTrustID"); - - } - public void testGetMoaSpAuthBlockTrustProfileID() { - assertEquals(provider.getMoaSpAuthBlockTrustProfileID(),"StringVerifyAuthBlockTransformID"); - } - - public void testGetMoaSpAuthBlockVerifyTransformsInfoIDs() { - String[] result = provider.getMoaSpAuthBlockVerifyTransformsInfoIDs(); - assertEquals(result[0],"StringVerifyTransformsInfoID1"); - assertEquals(result[1],"StringVerifyTransformsInfoID2"); - - } - - public void testGetOnlineApplicationAuthParameter() { - OAAuthParameter[] result = provider.getOnlineApplicationParameters(); - - assertEquals(result[0].getPublicURLPrefix(),"StringOALoginURL"); - assertEquals(result[0].getProvideZMRZahl(),false); - assertEquals(result[0].getProvideAuthBlock(),false); - assertEquals(result[0].getProvideIdentityLink(),false); - - assertEquals(result[1].getPublicURLPrefix(),"StringOALoginURL2"); - assertEquals(result[1].getProvideZMRZahl(),true); - assertEquals(result[1].getProvideAuthBlock(),true); - assertEquals(result[1].getProvideIdentityLink(),true); - - -/* for (int i = 0; i < result.length; i++) { - System.out.println(); - System.out.println("getOnlineApplicationParameters Url: " + result[i].getUrl()); - System.out.println("getOnlineApplicationParameters ProvideZMRZahl: " + result[i].getProvideZMRZahl()); - System.out.println("getOnlineApplicationParameters ProvideAuthBlock: " + result[i].getProvideAuthBlock()); - System.out.println("getOnlineApplicationParameters ProvideIdentityLink: " + result[i].getProvideIdentityLink()); - }*/ - } - - public void testGetGenericConfiguration() { - Map result = provider.getGenericConfiguration(); - assertEquals(result.containsKey("Generic Name 1"),true); - assertEquals(result.containsKey("Generic Name 2"),true); - assertEquals(result.get("Generic Name 1"),"Value1"); - assertEquals(result.get("Generic Name 2"),"Value2"); - /* for (Iterator iter = result.keySet().iterator(); iter.hasNext();) { - String element = (String) iter.next(); - System.out.println("getGenericConfiguration Key:" + element); - System.out.println("getGenericConfiguration Value:" + result.get(element)); - }*/ - } - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/config/proxy/MOAIDProxyConfigurationProviderTest.java b/id.server/src/test/at/gv/egovernment/moa/id/config/proxy/MOAIDProxyConfigurationProviderTest.java deleted file mode 100644 index 12eddf8c3..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/config/proxy/MOAIDProxyConfigurationProviderTest.java +++ /dev/null @@ -1,127 +0,0 @@ -package test.at.gv.egovernment.moa.id.config.proxy; - -import java.util.Map; - -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.proxy.OAConfiguration; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.config.proxy.OAProxyParameter; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - - - -/** - * @author Stefan Knirsch - * @version $Id$ - */ -public class MOAIDProxyConfigurationProviderTest extends UnitTestCase { - private ProxyConfigurationProvider provider; - - /** - * Constructor for MOAProxyConfigTest. - * @param name - */ - public MOAIDProxyConfigurationProviderTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - - provider = -// new ProxyConfigurationProvider(TESTDATA_ROOT + "conf/ConfigurationTest.xml"); - new ProxyConfigurationProvider("data/deploy/conf/moa-id/ConfigurationTest.xml"); - } - public void testGetAuthComponentConnectionParameter() - { - ConnectionParameter cp; - cp = provider.getAuthComponentConnectionParameter(); - assertEquals(cp.getUrl(),"AuthComponentURL"); - assertEquals( cp.getAcceptedServerCertificates(),"http://www.altova.com"); - assertEquals(cp.getClientKeyStorePassword(),"String"); - assertEquals(cp.getClientKeyStore(),"http://www.altova.com"); - /* System.out.println(); - System.out.println("getProxyComponentConnectionParameter :" + cp.getUrl()); - System.out.println( - "getProxyComponentConnectionParameter :" + cp.getAcceptedServerCertificates()); - System.out.println( - "getProxyComponentConnectionParameter :" + cp.getClientKeyStorePassword()); - System.out.println( - "getProxyComponentConnectionParameter :" + cp.getClientKeyStore());*/ -} - - public void testGetOAProxyParameter() { - OAProxyParameter[] result = provider.getOnlineApplicationParameters(); - - assertEquals("http://localhost:9080/", result[0].getPublicURLPrefix()); - assertEquals("file:data/test/conf/OAConfParamAuth.xml", result[0].getConfigFileURL()); - assertEquals(10, result[0].getSessionTimeOut()); - assertEquals("StringloginParameterResolverImpl1", result[0].getLoginParameterResolverImpl()); - assertEquals("StringconnectionBuilderImpl1", result[0].getConnectionBuilderImpl()); - - assertEquals("ProxyComponentURL", result[0].getConnectionParameter().getUrl()); - assertEquals("url:AcceptedServerCertificates", result[0].getConnectionParameter().getAcceptedServerCertificates()); - assertEquals("URL:toClientKeystoreOA", result[0].getConnectionParameter().getClientKeyStore()); - assertEquals("ClientKeystoreOAPAss", result[0].getConnectionParameter().getClientKeyStorePassword()); - - assertEquals("StringOALoginURL2", result[1].getPublicURLPrefix()); - assertEquals("file:data/test/conf/OAConfHeaderAuth.xml", result[1].getConfigFileURL()); - assertEquals(20, result[1].getSessionTimeOut()); - assertEquals("StringloginParameterResolverImpl2",result[1].getLoginParameterResolverImpl()); - assertEquals("StringconnectionBuilderImpl2", result[1].getConnectionBuilderImpl()); - - assertEquals("ProxyComponentURL2", result[1].getConnectionParameter().getUrl()); - assertEquals("url:AcceptedServerCertificates2", result[1].getConnectionParameter().getAcceptedServerCertificates()); - assertEquals("URL:toClientKeystoreOA2", result[1].getConnectionParameter().getClientKeyStore()); - assertEquals("ClientKeystoreOAPAss2", result[1].getConnectionParameter().getClientKeyStorePassword()); - - assertEquals("StringOALoginURL3", result[2].getPublicURLPrefix()); - assertEquals("file:data/test/conf/OAConfBasicAuth.xml", result[2].getConfigFileURL()); - assertEquals(20, result[2].getSessionTimeOut()); - assertEquals("StringloginParameterResolverImpl3",result[2].getLoginParameterResolverImpl()); - assertEquals("StringconnectionBuilderImpl3", result[2].getConnectionBuilderImpl()); - - assertEquals("ProxyComponentURL3", result[2].getConnectionParameter().getUrl()); - assertEquals("url:AcceptedServerCertificates3", result[2].getConnectionParameter().getAcceptedServerCertificates()); - assertEquals("URL:toClientKeystoreOA3", result[2].getConnectionParameter().getClientKeyStore()); - assertEquals("ClientKeystoreOAPAss3", result[2].getConnectionParameter().getClientKeyStorePassword()); - } - - public void testGetGenericConfiguration() { - Map result = provider.getGenericConfiguration(); - assertEquals(true, result.containsKey("authenticationSessionTimeOut")); - assertEquals(true, result.containsKey("authenticationDataTimeOut")); - assertEquals("600", result.get("authenticationSessionTimeOut")); - assertEquals("120", result.get("authenticationDataTimeOut")); - } - - public void testOAConfigurationProvider() throws Exception - { - OAProxyParameter[] result = provider.getOnlineApplicationParameters(); - // für jeden Parameter müsste theoretisch bereits ein Provider instanziiert worden sein, - // aus diesem Grund braucht man NICHT mehr die File-URL anzugeben, PublicURLPrefix reicht - - // sollte ParamAuth sein - OAConfiguration oac1 = result[0].getOaConfiguration(); - assertEquals(OAConfiguration.PARAM_AUTH, oac1.getAuthType()); - assertEquals("MOADateOfBirth", oac1.getParamAuthMapping().get("Param1")); - assertEquals("MOAVPK", oac1.getParamAuthMapping().get("Param2")); - // sollte HeaderAuth sein - OAConfiguration oac2 = result[1].getOaConfiguration(); - assertEquals(OAConfiguration.HEADER_AUTH, oac2.getAuthType()); - assertEquals("MOAPublicAuthority", oac2.getHeaderAuthMapping().get("Param1")); - assertEquals("MOABKZ", oac2.getHeaderAuthMapping().get("Param2")); - assertEquals("MOAQualifiedCertificate", oac2.getHeaderAuthMapping().get("Param3")); - assertEquals("MOAZMRZahl", oac2.getHeaderAuthMapping().get("Param4")); - assertEquals("MOAIPAddress", oac2.getHeaderAuthMapping().get("Param5")); - - // sollte BasicAuth sein - OAConfiguration oac3 = result[2].getOaConfiguration(); - assertEquals(OAConfiguration.BASIC_AUTH, oac3.getAuthType()); - assertEquals("MOAGivenName", oac3.getBasicAuthUserIDMapping()); - assertEquals("MOAFamilyName", oac3.getBasicAuthPasswordMapping()); - //Fehlerfall: - - - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/proxy/AllTests.java b/id.server/src/test/at/gv/egovernment/moa/id/proxy/AllTests.java deleted file mode 100644 index 2dd6cd35e..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/proxy/AllTests.java +++ /dev/null @@ -1,31 +0,0 @@ -package test.at.gv.egovernment.moa.id.proxy; - -import test.at.gv.egovernment.moa.id.proxy.builder.SAMLRequestBuilderTest; -import test.at.gv.egovernment.moa.id.proxy.parser.SAMLResponseParserTest; -import junit.awtui.TestRunner; -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * @author Paul Ivancsics - * @version $Id$ - */ -public class AllTests { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(SAMLRequestBuilderTest.class); - suite.addTestSuite(SAMLResponseParserTest.class); - - return suite; - } - - public static void main(String[] args) { - try { - TestRunner.run(AllTests.class); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/DOMTreeCompare.java b/id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/DOMTreeCompare.java deleted file mode 100644 index aec14ce1c..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/DOMTreeCompare.java +++ /dev/null @@ -1,462 +0,0 @@ -package test.at.gv.egovernment.moa.id.proxy.builder; - -import java.io.PrintStream; -import java.util.ArrayList; - -import org.w3c.dom.Element; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; -import org.w3c.dom.Text; - -import at.gv.egovernment.moa.util.Base64Utils; - -/** - * @author Administrator - * - * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. - * To enable and disable the creation of type comments go to - * Window>Preferences>Java>Code Generation. - */ -public class DOMTreeCompare { - - boolean debug = true; - - private static PrintStream Log = null; - - static - { - Log = System.out; - } - - public boolean compareElements(Element root1, Element root2) - { - //Log.println("----- Compare Elements:"+root1.getNodeName()+" "+root2.getNodeName()); - filterTree(root1); - filterTree(root2); - return compareNodes(root1,root2,0,"root/",false); - } - - private boolean compareNodes(Node n1, Node n2, int level,String path,boolean attribute) - { - /*try { - Log.println(DOMUtils.serializeNode(n1)); - } - catch(Exception e) - { - e.printStackTrace(); - }*/ - boolean equal = false; - //Log.println("----- Compare Node "+level+":"+n1+" "+n2); - //Log.println("----- Compare Node "+level+":"+n1.getNodeName()+" "+n2.getNodeName()); - //Log.println("----- Checking:"+path+getPathString(n1)); - NodeList nl1 = n1.getChildNodes(); - NodeList nl2 = n2.getChildNodes(); - - int size1 = nl1.getLength(); - int size2 = nl2.getLength(); - - if(debug)display_one(n1); - if(debug)display_one(n2); - - - if(debug) - if(n1.getNodeName().equals("Base64Content") && n2.getNodeName().equals("Base64Content")) - { - try { - Log.println("CONT:"+new String(Base64Utils.decode(strip(n1.getChildNodes().item(0).getNodeValue()),false))); - Log.println("CONT:"+new String(Base64Utils.decode(strip(n2.getChildNodes().item(0).getNodeValue()),false))); - } - catch(Exception e) - { - e.printStackTrace(); - } - } - - if(size1 != size2) - { - Log.println("----- Anzahl der Kinder nicht gleich:"+path+getPathString(n1)+":"+getPathString(n2)); - return false; - } - - equal = compareNodeExact(n1,n2,level,path+getPathString(n1)+"/"); - if(!equal) - { - Log.println("----- Knoten sind nicht identisch:"+path+getPathString(n1)); - return false; - } - - if(n1.hasAttributes() || n2.hasAttributes()) - { - equal = compareNodeAttriubtes(n1,n2,level+1,path+getPathString(n1)+"/(a)"); - if(!equal) - { - Log.println("----- Attribute stimmen nicht überein:"+path+getPathString(n1)); - return false; - } - } - if(size1==0) - { - return true; - } - - for(int counter=0;counter" + - "" + samlArtifact + "" + - ""; - Element request = new SAMLRequestBuilder().build(requestID, samlArtifact); - Element requestShould = DOMUtils.parseDocument(REQUEST_SHOULD, false, ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - assertTrue(new SAMLRequestCompare().compareElements(requestShould, request)); - } - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestCompare.java b/id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestCompare.java deleted file mode 100644 index 5685129a1..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/proxy/builder/SAMLRequestCompare.java +++ /dev/null @@ -1,19 +0,0 @@ -package test.at.gv.egovernment.moa.id.proxy.builder; - -/* - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLRequestCompare extends test.at.gv.egovernment.moa.id.proxy.builder.DOMTreeCompare { - - - /* - * @see at.gv.egovernment.moa.util.SAMLRequestCompare#specialAttributes(java.lang.String, java.lang.String) - */ - public boolean specialAttributes(String path,String attr1_name,String value1,String attr2_name,String value2) { - if(attr1_name.equals("IssueInstant")) - return true; - return false; - } - -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/proxy/parser/SAMLResponseParserTest.java b/id.server/src/test/at/gv/egovernment/moa/id/proxy/parser/SAMLResponseParserTest.java deleted file mode 100644 index 39e7240d1..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/proxy/parser/SAMLResponseParserTest.java +++ /dev/null @@ -1,180 +0,0 @@ -package test.at.gv.egovernment.moa.id.proxy.parser; - -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.id.UnitTestCase; - -import at.gv.egovernment.moa.id.data.AuthenticationData; -import at.gv.egovernment.moa.id.data.SAMLStatus; -import at.gv.egovernment.moa.id.proxy.parser.SAMLResponseParser; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; - -/* - * @author Paul Ivancsics - * @version $Id$ - */ -public class SAMLResponseParserTest extends UnitTestCase { - - public SAMLResponseParserTest(String arg0) { - super(arg0); - } - - public void testParse() throws Exception { - String samlResponse = - "" + - "" + - "" + - "" + - "Ollas leiwand" + - "" + -"" + - "" + - "" + - "MTk2OC0xMC0yMmdi" + - "" + - "http://reference.e-government.gv.at/namespace/moa/20020822#cm" + - "" + - "" + - "" + - "" + - "http://localhost:8080/moa-id-auth/" + - "" + - "" + - "gb" + - "" + - "" + - "https://localhost:9443/" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "urn:oasis:names:tc:SAML:1.0:cm:sender-vouches" + - "" + - "" + - "" + - "123456789012" + - "http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl" + - "" + - "" + - "Hermann" + - "Muster" + - "" + - "1968-10-22" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a f2daYYuO8dycQw3xg6U=" + - "AQAB" + - "" + - "" + - "" + - "" + - "" + - "" + - "i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn pIpdAwR9sw5xnIvTySc=" + - "AQAB" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "not(ancestor-or-self::pr:Identification)" + - "" + - "" + - "" + - "" + - "s7TfoZrYo36OMdlxGxuIfAw/wr8=" + - "" + - "" + - "" + - "" + - "ancestor-or-self::dsig:Manifest" + - "" + - "" + - "" + - "dO+RSn4xLHT3cuq8uopFtZyUBqo=" + - "" + - "" + - "MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz 5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP 3mZkRYWJDxxsVzI7E+Y=" + - "" + - "" + - "MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 +UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 Btxup/kgjGMnnS7C" + - "MIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia 2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv 7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ik" + - "MIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB /wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 kFfp23o/juVtJNw=" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "BqzfCB7dNg4G3u4YaxpD1tALdKI=" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "" + - "123456789012" + - "http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl" + - "" + - "" + - "Hermann" + - "Muster" + - "" + - "1968-10-22" + - "" + - "" + - "" + - "" + - "true" + - "" + - "" + -"" + - ""; - - Element samlResponseElem = - DOMUtils.parseDocument(samlResponse, true, Constants.ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); - SAMLResponseParser parser = new SAMLResponseParser(samlResponseElem); - SAMLStatus status = parser.parseStatusCode(); - assertEquals("samlp:Success", status.getStatusCode()); - assertEquals("samlp:Success", status.getSubStatusCode()); - assertEquals("Ollas leiwand", status.getStatusMessage()); - AuthenticationData authData = parser.parseAuthenticationData(); - assertEquals(1, authData.getMajorVersion()); - assertEquals(0, authData.getMinorVersion()); - assertEquals("-4633313027464114584", authData.getAssertionID()); - assertEquals("http://localhost:8080/moa-id-auth/", authData.getIssuer()); - assertEquals("2003-04-02T14:55:42+02:00", authData.getIssueInstant()); - assertEquals("123456789012", authData.getIdentificationValue()); - assertEquals("MTk2OC0xMC0yMmdi", authData.getVPK()); - assertEquals("Hermann", authData.getGivenName()); - assertEquals("Muster", authData.getFamilyName()); - assertEquals("1968-10-22", authData.getDateOfBirth()); - assertTrue(authData.isQualifiedCertificate()); - assertFalse(authData.isPublicAuthority()); - } -} diff --git a/id.server/src/test/at/gv/egovernment/moa/id/util/SSLUtilsTest.java b/id.server/src/test/at/gv/egovernment/moa/id/util/SSLUtilsTest.java deleted file mode 100644 index 351ca0bd5..000000000 --- a/id.server/src/test/at/gv/egovernment/moa/id/util/SSLUtilsTest.java +++ /dev/null @@ -1,92 +0,0 @@ -package test.at.gv.egovernment.moa.id.util; - -import iaik.pki.jsse.IAIKX509TrustManager; - -import java.net.URL; -import java.security.Security; - -import javax.net.ssl.SSLException; -import javax.net.ssl.SSLSocketFactory; - -import com.sun.net.ssl.HttpsURLConnection; - -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.ConnectionParameter; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.config.proxy.OAProxyParameter; -import at.gv.egovernment.moa.id.config.proxy.ProxyConfigurationProvider; -import at.gv.egovernment.moa.id.iaik.config.LoggerConfigImpl; -import at.gv.egovernment.moa.id.util.SSLUtils; -import test.at.gv.egovernment.moa.id.UnitTestCase; - -/* - * @author Paul Ivancsics - * @version $Id$ - */ -public class SSLUtilsTest extends UnitTestCase { - - public SSLUtilsTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - //System.setProperty("javax.net.debug", "all"); - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); - IAIKX509TrustManager.initLog(new LoggerConfigImpl("file:" + TESTDATA_ROOT + "conf/log4j.properties")); - System.setProperty("https.cipherSuites", "SSL_DHE_DSS_WITH_DES_CBC_SHA,SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA,SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA,SSL_RSA_WITH_DES_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_EXPORT_WITH_RC4_40_MD5"); - } - - public void testVerisignOK() throws Exception { - doTestOA("conf/ConfigurationTest.xml", "http://verisign.moa.gv.at/", true, null); - } - public void testATrustOK() throws Exception { - doTestOA("conf/ConfigurationTest.xml", "http://a-trust.moa.gv.at/", true, null); - } - public void testBaltimoreOK() throws Exception { - doTestOA("conf/ConfigurationTest.xml", "http://baltimore.moa.gv.at/", true, null); - } - public void testCIOOK() throws Exception { - doTestOA("conf/ConfigurationTest.xml", "http://cio.moa.gv.at/", true, null); - } - public void testMOASPOK() throws Exception { - System.setProperty(ConfigurationProvider.CONFIG_PROPERTY_NAME, - TESTDATA_ROOT + "conf/ConfigurationTest.xml"); - ConnectionParameter connParam = AuthConfigurationProvider.getInstance().getMoaSpConnectionParameter(); - doTest(connParam, true, null); - } - private void doTestOA(String configFile, String publicURLPrefix, boolean shouldOK, String exMessageFragment) throws Exception { - System.setProperty(ConfigurationProvider.CONFIG_PROPERTY_NAME, - TESTDATA_ROOT + configFile); - ProxyConfigurationProvider proxyConf = - ProxyConfigurationProvider.getInstance(); - OAProxyParameter oaParam = proxyConf.getOnlineApplicationParameter(publicURLPrefix); - ConnectionParameter connParam = oaParam.getConnectionParameter(); - doTest(connParam, shouldOK, exMessageFragment); - } - private void doTest(ConnectionParameter connParam, boolean shouldOK, String exMessageFragment) throws Exception { - SSLUtils.initialize(); - AuthConfigurationProvider authConf = AuthConfigurationProvider.getInstance(); - SSLSocketFactory ssf = SSLUtils.getSSLSocketFactory(authConf, connParam); - URL url = new URL(connParam.getUrl()); - HttpsURLConnection conn = (HttpsURLConnection)url.openConnection(); - conn.setRequestMethod("GET"); - conn.setDoInput(true); - conn.setDoOutput(true); - conn.setUseCaches(false); - conn.setAllowUserInteraction(false); - conn.setSSLSocketFactory(ssf); - try { - conn.connect(); - assertTrue(shouldOK); - assertEquals(200, conn.getResponseCode()); - conn.disconnect(); - } - catch (SSLException ex) { - ex.printStackTrace(); - assertFalse(shouldOK); - assertTrue(ex.getMessage().indexOf(exMessageFragment) >= 0); - } - } - -} diff --git a/id.server/src/test/lasttest/Dispatcher.java b/id.server/src/test/lasttest/Dispatcher.java deleted file mode 100644 index ad8f10fb4..000000000 --- a/id.server/src/test/lasttest/Dispatcher.java +++ /dev/null @@ -1,64 +0,0 @@ -package test.lasttest; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class Dispatcher extends Thread { - private LasttestClient parent = null; - private int max; - private int turns; - private int turn_counter; - private int turn; - private int time; - private long sum; - private int turnnum; - - public Dispatcher(LasttestClient parent, int max, int turns, int time, long sum) { - this.parent = parent; - this.max = max; - this.turns = turns; - this.time = time; - this.sum = sum; - turnnum=0; - } - - public void run() { - this.setPriority(Thread.NORM_PRIORITY + 1); - System.out.println("Dispatcher wird gestartet..."); - TestThread[] old_reqs = buildRequests(0); - for (turn_counter = 0; turns == 0 ? true : (turn_counter < turns); turn_counter++) { - try { -// LasttestClient.Log.write(("Starte Durchlauf " + turn_counter + "\n").getBytes()); - } - catch (Exception e) {} - -// System.out.println("Starte Durchlauf " + turn_counter); - turn = turn_counter; - if (turns == 0) - turn_counter--; - TestThread[] reqs = buildRequests(turn_counter); - for (int counter = 0; counter < max; counter++) { - old_reqs[counter].start(); - } - old_reqs = reqs; - try { - Thread.sleep(time); - } - catch (Exception e) { - e.printStackTrace(); - } - } - parent.stop = true; - } - - public TestThread[] buildRequests(int turnNo) { - TestThread[] ret = new TestThread[max]; - for (int counter = 0; counter < max; counter++) { -// turnnum ++; - ret[counter] = new TestThread(parent, turnNo); - } - return ret; - } -} diff --git a/id.server/src/test/lasttest/HostnameVerifierHack.java b/id.server/src/test/lasttest/HostnameVerifierHack.java deleted file mode 100644 index cf34b621a..000000000 --- a/id.server/src/test/lasttest/HostnameVerifierHack.java +++ /dev/null @@ -1,13 +0,0 @@ -package test.lasttest; - -import com.sun.net.ssl.HostnameVerifier; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class HostnameVerifierHack implements HostnameVerifier{ - public boolean verify(String arg0, String arg1) { - return true; - }} diff --git a/id.server/src/test/lasttest/LasttestClient.java b/id.server/src/test/lasttest/LasttestClient.java deleted file mode 100644 index bad5161ba..000000000 --- a/id.server/src/test/lasttest/LasttestClient.java +++ /dev/null @@ -1,218 +0,0 @@ -package test.lasttest; - -import java.io.FileOutputStream; -import java.io.OutputStream; -import java.io.PrintStream; -import java.security.Security; -import java.util.Date; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.auth.AuthenticationServer; -import at.gv.egovernment.moa.id.config.ConfigurationProvider; -import at.gv.egovernment.moa.id.config.auth.AuthConfigurationProvider; -import at.gv.egovernment.moa.id.proxy.builder.SAMLRequestBuilder; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.StreamUtils; -import at.gv.egovernment.moa.util.URLDecoder; -import at.gv.egovernment.moa.util.URLEncoder; -import com.sun.net.ssl.HttpsURLConnection; - -/** - * @author Sven - * - * To change this generated comment edit the template variable "typecomment": - * Window>Preferences>Java>Templates. - * To enable and disable the creation of type comments go to - * Window>Preferences>Java>Code Generation. - * - * Aufruf: Requestdatei (==null), ServerURL, Anzahl der Requests pro Sekunde, Anzahl der Wiederholungen - * z.b. "data/CX0/TestGeneratorCX0.001.Req.xml" "http://127.0.0.1:8080/" 5 100 - * - * ==> GEÄNDERT: ersten 2 Parameter gekillt... nur noch 5 100 - */ -public class LasttestClient { - - protected static final String TESTDATA_ROOT = "data/abnahme-test/"; - protected static final String MOA_AUTH_SERVER = "https://localhost:8443/moa-id-auth/"; - protected AuthenticationServer server; - - public int max_thread_count = 300; - public int thread_counter = 0; - public int error_count = 0; - public int turns = 0; - public long sum = 0; - public long max = 0; - public long min = Long.MAX_VALUE; - - public static PrintStream Log = null; - - public boolean stop = false; - - public static final String trustStore = "javax.net.ssl.trustStore"; - public static final String trustStorePassword = "javax.net.ssl.trustStorePassword"; - public static final String handler = "java.protocol.handler.pkgs"; - - public void startTest(int req_per_second, int turns, int time) throws Exception { - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - - System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); - System.setProperty("javax.net.ssl.trustStore", "C:/Programme/ApacheGroup/abnahme/server.keystore"); - System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); - - System.setProperty(ConfigurationProvider.CONFIG_PROPERTY_NAME, TESTDATA_ROOT + "xmldata/L000/Configuration.xml"); - - AuthConfigurationProvider.reload(); - - this.turns = turns; - - boolean result = new TestThread(this,0).doRequest(0);// doTestRequest(); - if (result) { - System.out.println("TestRequest OK. Lasttest wird gestartet."); - sum=0; - max=0; - Dispatcher dp = new Dispatcher(this, req_per_second, turns, time, sum); - dp.start(); - while (!stop) { - try { - Log.println(new String(("Checking Stop Condition ...(Running " + thread_counter + ", Min " + (min) + ", Max " + (max) + ", " + new Date(System.currentTimeMillis()) + ")"))); - Log.flush(); - } - catch (Exception e) {} - - System.out.println("Checking Stop Condition ...(Running " + thread_counter + ", Min " + (min) + ", Max " + (max) + ", " + new Date(System.currentTimeMillis()) + ")"); - Thread.sleep(10000); - } - System.out.println("Fehler:" + error_count + " (Running " + thread_counter + ", Min " + (min) + ", Max " + (max) + ", " + new Date(System.currentTimeMillis()) + ")"); - } - else { - System.out.println("TestRequest lieferte einen Fehler. Lasttest wird nicht gestartet."); - } - } - - - public boolean doTestRequest() throws Exception { - - try { - - TestThread tt = new TestThread(null,0); - - // Anmelden - String URL = tt.getURL(MOA_AUTH_SERVER, "gb", "http://10.16.126.28:9080/moa-id-proxy/"); - HttpsURLConnection conn = tt.giveConnection(URL, "GET"); - - conn.connect(); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - String MOASessionID = tt.parseSessionIDFromForm(result); - conn.disconnect(); - - URL = tt.parseDataURL(result); - // Verify Identity Link - conn = tt.giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - String infoboxReadResponse = tt.readXmldata("InfoboxReadResponse.xml"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes()); - out.flush(); - out.close(); - conn.connect(); - String redirectLoc = conn.getHeaderField("Location"); - conn.disconnect(); - //Verify Auth Block - conn = tt.giveConnection(redirectLoc, "POST"); - String createXMLSignatureResponse = URLEncoder.encode(tt.readXmldata("CreateXMLSignatureResponse.xml"), "UTF-8"); - out = conn.getOutputStream(); - out.write(("XMLResponse=" + createXMLSignatureResponse).getBytes("UTF-8")); - out.flush(); - out.close(); - conn.connect(); - redirectLoc = conn.getHeaderField("Location"); - String samlArtifact = tt.parseSamlArtifact(redirectLoc); - System.out.println("SamlArtifact: " + samlArtifact); - - conn.disconnect(); - - conn = null; - - SAMLRequestBuilder srb = new SAMLRequestBuilder(); - - Element erg = tt.doCall(srb.build(MOASessionID, URLDecoder.decode(samlArtifact, "UTF-8")),MOA_AUTH_SERVER); - result = DOMUtils.serializeNode(erg); - if (result.indexOf("saml:Assertion")<0) - { - System.err.println("Falsche Antwort vom Webservice:\n" + result); - throw new Exception("Falsche Antwort vom Webservice"); - - } - } - catch (Exception e) { - System.err.println("------ FEHLER IN LASTTEST :" + e.getLocalizedMessage()); - throw e; - } - - return true; - - } - - public String replaceString(String input, String oldPart, String newPart) throws Exception { - String erg = null; - - //First Part - erg = input.substring(0, input.indexOf(oldPart)); - //Insert new Part - erg += newPart; - - //insert REST - erg += input.substring(input.indexOf(oldPart) + oldPart.length(), input.length()); - - return erg; - } - - public static void main(String[] args) throws Exception { - Log = new PrintStream(new FileOutputStream("C:/Lasttest.log")); - int time = 0; - int sek = 0; - int turns = 0; - - if (args.length != 3) { - System.out.println("Parameteranzahl falsch. Bitte verwenden Sie die Syntax "); - return; - } - - try { - sek = Integer.parseInt(args[0]); - time = Integer.parseInt(args[2]); - if (args[1].equals("INF")) { - turns = 0; - } - else - turns = Integer.parseInt(args[1]); - } - catch (NumberFormatException e) { - System.out.println("Einer der Parameter (Requestanzahl oder Testanzahl) ist keine Zahl !"); - return; - } - - System.out.println("Starte Lastest mit folgenden Parametern ..."); - System.out.println("ServerURL: " + MOA_AUTH_SERVER); - double reqPerSek = sek*1000; - System.out.println("Requests pro Sekunde: " + reqPerSek/time); - System.out.println("Durchläufe: " + (turns == 0 ? "INF" : turns + "")); - - Log.println("Starte Lastest mit folgenden Parametern ..."); - Log.println("ServerURL: " + MOA_AUTH_SERVER); - Log.println("Requests pro Sekunde: " + reqPerSek / time); - Log.println("Durchläufe: " + (turns == 0 ? "INF" : turns + "")); - - - try { - LasttestClient lc = new LasttestClient(); - //lc.startTest("data/CX0/TestGeneratorCX0.001.Req.xml","http://161.106.2.255:8080/",10,1000); - lc.startTest(sek, turns, time); - } - catch (Exception e) { - e.printStackTrace(); - } - } -} - diff --git a/id.server/src/test/lasttest/TestThread.java b/id.server/src/test/lasttest/TestThread.java deleted file mode 100644 index 0d2973c7f..000000000 --- a/id.server/src/test/lasttest/TestThread.java +++ /dev/null @@ -1,251 +0,0 @@ -package test.lasttest; - -import java.io.OutputStream; -import java.net.URL; -import java.util.Vector; - -import javax.xml.namespace.QName; -import javax.xml.rpc.Call; -import javax.xml.rpc.Service; -import javax.xml.rpc.ServiceFactory; - -import org.apache.axis.message.SOAPBodyElement; -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.id.proxy.builder.SAMLRequestBuilder; -import at.gv.egovernment.moa.id.util.AxisSecureSocketFactory; -import at.gv.egovernment.moa.util.FileUtils; -import at.gv.egovernment.moa.util.StreamUtils; -import at.gv.egovernment.moa.util.URLDecoder; -import at.gv.egovernment.moa.util.URLEncoder; -import com.sun.net.ssl.HttpsURLConnection; - -/** - * @author Stefan Knirsch - * @version $Id$ - * - */ -public class TestThread extends Thread { - private LasttestClient parent = null; - private int turn_no; - private Dispatcher disp = null; - - public TestThread( LasttestClient parent, int durchlauf_nr) { - turn_no = durchlauf_nr; - this.parent = parent; - - } - - protected Element doCall(Element request, String server) throws Exception { - - /* QName serviceName = new QName("GetAuthenticationData"); - - String endPoint = server + "services/GetAuthenticationData"; - Service service = ServiceFactory.newInstance().createService(serviceName); - Call call = service.createCall(); - SOAPBodyElement body = new SOAPBodyElement(request); - SOAPBodyElement[] params = new SOAPBodyElement[] { body }; - Vector responses; - SOAPBodyElement response; - - - System.out.println(DOMUtils.serializeNode(body.getAsDOM())); - call.setTargetEndpointAddress(endPoint); - System.out.println("Rufe WS auf: " + endPoint); - responses = (Vector) call.invoke(params); - System.out.println("WS aufgerufen."); - response = (SOAPBodyElement) responses.get(0); - System.out.println(DOMUtils.serializeNode(response.getAsDOM())); - return response.getAsDOM();*/ - - QName serviceName = new QName("GetAuthenticationData"); - String endPoint = server + "services/GetAuthenticationData"; - Service service = ServiceFactory.newInstance().createService(serviceName); - Call call = service.createCall(); - - System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); - System.setProperty("javax.net.ssl.trustStore", "C:/Programme/ApacheGroup/abnahme/server.keystore"); - System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); - SOAPBodyElement body = new SOAPBodyElement(request); - SOAPBodyElement[] params = new SOAPBodyElement[] { body }; - Vector responses; - SOAPBodyElement response; - - call.setTargetEndpointAddress(endPoint); - responses = (Vector) call.invoke(params); - response = (SOAPBodyElement) responses.get(0); - return response.getAsDOM(); - } - - public boolean doRequest(int turnNo) throws Exception { - long start = System.currentTimeMillis(); - - try { - LasttestClient.Log.write(("Starte Durchlauf " + turnNo + "\n").getBytes()); - } - catch (Exception e) {} - - System.out.println("Starte Durchlauf " + turnNo); - // Anmelden - String URL = getURL(LasttestClient.MOA_AUTH_SERVER, "gb", "http://10.16.126.28:9080/moa-id-proxy/"); - HttpsURLConnection conn = giveConnection(URL, "GET"); - conn.connect(); - String result = new String(StreamUtils.readStream(conn.getInputStream())); - /* - * FOR DEBUG ONLY - */ - // System.out.println(URL); - // System.out.println(result); - //---------------- - - String MOASessionID = parseSessionIDFromForm(result); - conn.disconnect(); - - URL = parseDataURL(result); - // Verify Identity Link - conn = giveConnection(URL, "POST"); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); - String infoboxReadResponse = readXmldata("InfoboxReadResponse.xml"); - OutputStream out = conn.getOutputStream(); - out.write(new String("XMLResponse=" + URLEncoder.encode(infoboxReadResponse, "UTF-8")).getBytes()); - out.flush(); - out.close(); - conn.connect(); - - /* - * FOR DEBUG ONLY - */ - // System.out.println(URL); - // System.out.println(new String(StreamUtils.readStream(conn.getInputStream()))); - //---------------- - - String redirectLoc = conn.getHeaderField("Location"); - conn.disconnect(); - //Verify Auth Block - conn = giveConnection(redirectLoc, "POST"); - String createXMLSignatureResponse = URLEncoder.encode(readXmldata("CreateXMLSignatureResponse.xml"), "UTF-8"); - out = conn.getOutputStream(); - out.write(("XMLResponse=" + createXMLSignatureResponse).getBytes("UTF-8")); - out.flush(); - out.close(); - conn.connect(); - redirectLoc = conn.getHeaderField("Location"); - - /* - * FOR DEBUG ONLY - */ - // System.out.println(redirectLoc); - // System.out.println(new String(StreamUtils.readStream(conn.getInputStream()))); - //---------------- - String samlArtifact = parseSamlArtifact(redirectLoc); - - // System.out.println("SamlArtifact: " + samlArtifact); - - AxisSecureSocketFactory.initialize(conn.getSSLSocketFactory()); - conn.disconnect(); - - conn = null; - - SAMLRequestBuilder srb = new SAMLRequestBuilder(); - - doCall(srb.build(MOASessionID, URLDecoder.decode(samlArtifact, "UTF-8")), LasttestClient.MOA_AUTH_SERVER); - // writeXmldata("GetAuthenticationDataWebServiceResponse.xml", result.getBytes("UTF-8")); - - long end = System.currentTimeMillis(); - long diff = end - start; - parent.sum +=diff; - if (parent.max < diff) { - parent.max = diff; - } - if (parent.min > diff) { - parent.min = diff; - } - if (turnNo>0) { - long totalmem = Runtime.getRuntime().totalMemory(); - long freemem = Runtime.getRuntime().freeMemory(); - try { - LasttestClient.Log.write(new String("Ende Durchlauf: " + turnNo + " ==> Dauer:" + diff + " Schnitt: " + (parent.sum/turnNo/2) + " Total-Mem: " + totalmem + " Free-Mem: " + freemem + "\n").getBytes()); - LasttestClient.Log.flush(); - } - catch (Exception e) {} - System.out.println(new String("Ende Durchlauf: " + turnNo + " ==> Dauer:" + diff + " Schnitt: " + (parent.sum/turnNo/2) + " Total-Mem: " + totalmem + " Free-Mem: " + freemem)); - } - return true; - - } - - public String getSubString(String input, String startsWith, String endsWith) { - return input.substring(input.indexOf(startsWith) + startsWith.length(), input.indexOf(endsWith, input.indexOf(startsWith) + startsWith.length())); - } - - public String getURL(String authURL, String target, String oaURL) { - return authURL + "StartAuthentication?Target=" + target + "&OA=" + oaURL; - } - - public HttpsURLConnection giveConnection(String targetURL, String requestMethod) throws Exception { - HttpsURLConnection conn = (HttpsURLConnection) new URL(targetURL).openConnection(); - conn.setRequestMethod(requestMethod); - conn.setDoInput(true); - conn.setDoOutput(true); - conn.setUseCaches(false); - conn.setAllowUserInteraction(false); - conn.setHostnameVerifier(new HostnameVerifierHack()); - return conn; - } - - public String killInclusive(String input, String startsWith, String endsWith, String newValue) { - int start = 0; - int ende; - String result; - result = input; - do { - start = result.indexOf(startsWith, start) + startsWith.length(); - ende = result.indexOf(endsWith, start); - result = result.substring(0, start - startsWith.length()) + newValue + result.substring(ende + endsWith.length(), result.length()); - start++; - } - while (result.indexOf(startsWith, ende + 1) > 0); - - return result; - } - - public String parseDataURL(String input) { - return getSubString(input.substring(input.indexOf("DataURL"), input.length()), "value=\"", "\""); - } - - public String parseSamlArtifact(String input) { -// System.out.println(input); - return getSubString(input + "@@@", "SAMLArtifact=", "@@@"); - } - - public String parseSessionIDFromForm(String htmlForm) { - String parName = "MOASessionID="; - int i1 = htmlForm.indexOf(parName) + parName.length(); - int i2 = htmlForm.indexOf("\"", i1); - return htmlForm.substring(i1, i2); - } - - public String readXmldata(String filename) throws Exception { - - return FileUtils.readFile(LasttestClient.TESTDATA_ROOT + "xmldata/L000/" + filename, "UTF-8"); - } - - /** - * @see java.lang.Runnable#run() - */ - public void run() { - parent.thread_counter++; - - try { - if (!doRequest(turn_no)) { - parent.error_count++; - } - } - catch (Exception e) { - e.printStackTrace(); - parent.error_count++; - } - parent.thread_counter--; - } - -} diff --git a/spss.server/.checkstyle b/spss.server/.checkstyle deleted file mode 100644 index 0ca3f3e78..000000000 --- a/spss.server/.checkstyle +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/spss.server/.classpath b/spss.server/.classpath deleted file mode 100644 index ac7c752a3..000000000 --- a/spss.server/.classpath +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spss.server/.cvsignore b/spss.server/.cvsignore deleted file mode 100644 index 7c18d5ded..000000000 --- a/spss.server/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -bin -tmp diff --git a/spss.server/.project b/spss.server/.project deleted file mode 100644 index f4d9dc540..000000000 --- a/spss.server/.project +++ /dev/null @@ -1,19 +0,0 @@ - - - MOA spss.server - - - MOA common - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - com.sysdeo.eclipse.tomcat.tomcatnature - - diff --git a/spss.server/.tomcatplugin b/spss.server/.tomcatplugin deleted file mode 100644 index 66a889120..000000000 --- a/spss.server/.tomcatplugin +++ /dev/null @@ -1,8 +0,0 @@ - - - /moa-spss - false - false - - - diff --git a/spss.server/build.xml b/spss.server/build.xml deleted file mode 100644 index c80e32306..000000000 --- a/spss.server/build.xml +++ /dev/null @@ -1,417 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - set up directories etc. - - - - - - - - - - - - - - - - - compile everything - - - - - - package the server war file - - - - - - - - - - - - - - - - - - - - - - package the library jar file - - - - - - - - - package the configuration tools - - - - - - - create JavaDoc for the server internal classes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MOA SP/SS Server Internal API]]> - - - - - - create JavaDoc for the SP/SS API - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MOA SP/SS API]]> - - - - - - create the webservice distributable - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - create the webservice-distributable, including all documentation - - - - - - - - - - - - create the zipped webservice distributable - - - - - - - - create the library distributable - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - create the library distributable, including all documentation - - - - - - - - - - - - create the zipped library distributable - - - - - - - - create the source distributable - - - - - - - - - - - - - - - - - - - - - - - - - - create all distributables - - - - - deploy the webservice to catalina (needs CATALINA_HOME defined) - - - - - - - - - - - - - - - clean temporary files - - - diff --git a/spss.server/data/deploy/conf/moa-spss/MOA-SPSSConfiguration.xml b/spss.server/data/deploy/conf/moa-spss/MOA-SPSSConfiguration.xml deleted file mode 100644 index d0cf5ab79..000000000 --- a/spss.server/data/deploy/conf/moa-spss/MOA-SPSSConfiguration.xml +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - SWKeyModule1 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - - - SWKeyModule2 - - CN=IAIK ECDSA Test,OU=JavaSecurity,O=IAIK,C=AT - 68172 - - - - - - - - - - - CN=Patrick Peck, OU=MOA Team, O=BRZ, L=Vienna, ST=Vienna, C=AT - 1046888262 - - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - - - - - - - - - - - - - - - - - - diff --git a/spss.server/data/deploy/conf/moa-spss/MinimalSPConfig.xml b/spss.server/data/deploy/conf/moa-spss/MinimalSPConfig.xml deleted file mode 100644 index be07f602e..000000000 --- a/spss.server/data/deploy/conf/moa-spss/MinimalSPConfig.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/spss.server/data/deploy/conf/moa-spss/MinimalSSConfig.xml b/spss.server/data/deploy/conf/moa-spss/MinimalSSConfig.xml deleted file mode 100644 index c8a0a65b4..000000000 --- a/spss.server/data/deploy/conf/moa-spss/MinimalSSConfig.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - SWKeyModule1 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - - - - - - diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/032F2123890A879585CE96674CA4C37B55986729/E1201A308CC10323C27D9084B048996E44B8F710 b/spss.server/data/deploy/conf/moa-spss/certstore/032F2123890A879585CE96674CA4C37B55986729/E1201A308CC10323C27D9084B048996E44B8F710 deleted file mode 100644 index a7948e488..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/032F2123890A879585CE96674CA4C37B55986729/E1201A308CC10323C27D9084B048996E44B8F710 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/0F843FB1E0C626540BE638B79A2987E2611CE630 b/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/0F843FB1E0C626540BE638B79A2987E2611CE630 deleted file mode 100644 index 29d93550e..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/0F843FB1E0C626540BE638B79A2987E2611CE630 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/69F21C82DC9A7A940ACEC414593E59C9E61E522F b/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/69F21C82DC9A7A940ACEC414593E59C9E61E522F deleted file mode 100644 index 2a88295a7..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/69F21C82DC9A7A940ACEC414593E59C9E61E522F and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/FC72939DC06EDDF8C51549ECF00AC92BF2B39F35 b/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/FC72939DC06EDDF8C51549ECF00AC92BF2B39F35 deleted file mode 100644 index 84a1690d2..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/0AF04E7099C9829BD1F8437362BA0036E0705C4D/FC72939DC06EDDF8C51549ECF00AC92BF2B39F35 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/20DD04B052D2D364E5FF851A3FD314F0FD91253E/6814C7316CEA7191C9CB3BE58199B4A957210D9C b/spss.server/data/deploy/conf/moa-spss/certstore/20DD04B052D2D364E5FF851A3FD314F0FD91253E/6814C7316CEA7191C9CB3BE58199B4A957210D9C deleted file mode 100644 index 4dd2c49bf..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/20DD04B052D2D364E5FF851A3FD314F0FD91253E/6814C7316CEA7191C9CB3BE58199B4A957210D9C and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/AC36A78C66FEC87CC0FD2C32B49214C65676E0C5 b/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/AC36A78C66FEC87CC0FD2C32B49214C65676E0C5 deleted file mode 100644 index f2f1c6562..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/AC36A78C66FEC87CC0FD2C32B49214C65676E0C5 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/C92238A7178A6C61F8BACA22D6CF7E50772BA9F0 b/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/C92238A7178A6C61F8BACA22D6CF7E50772BA9F0 deleted file mode 100644 index 476a3efb2..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/C92238A7178A6C61F8BACA22D6CF7E50772BA9F0 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/DFAE695342AC81A521025904406884399822B233 b/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/DFAE695342AC81A521025904406884399822B233 deleted file mode 100644 index 5c88b668a..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/23A16796B3D718035F1E0DB209A42938767631DA/DFAE695342AC81A521025904406884399822B233 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/2C976220B378E08DF5E68CBC54C05CE41224FD29/0CC37CC35E18F9909E43E4E9894D0CDF06EE9A38 b/spss.server/data/deploy/conf/moa-spss/certstore/2C976220B378E08DF5E68CBC54C05CE41224FD29/0CC37CC35E18F9909E43E4E9894D0CDF06EE9A38 deleted file mode 100644 index 69a8e4872..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/2C976220B378E08DF5E68CBC54C05CE41224FD29/0CC37CC35E18F9909E43E4E9894D0CDF06EE9A38 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F b/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F deleted file mode 100644 index 69de75609..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/0F5A0342F5CD448799C3C6D178607E3F2B5BCB8F and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/9E0512DD61DA5949D1D8631C3F19D75F496C3733 b/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/9E0512DD61DA5949D1D8631C3F19D75F496C3733 deleted file mode 100644 index 289fc2198..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/9E0512DD61DA5949D1D8631C3F19D75F496C3733 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/E6E6FC88719177C9B7421825757C5E47BCAC85F6 b/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/E6E6FC88719177C9B7421825757C5E47BCAC85F6 deleted file mode 100644 index b7d4b08a6..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/3B2F8C424AA88CA305C519FDEFCF29DDB7E96AE2/E6E6FC88719177C9B7421825757C5E47BCAC85F6 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/3B76D7A5CE7EC6022D7990CFEA534C908717DF54/C0C699EFE6E837CB5E4CFC3A61077617A22C1A9E b/spss.server/data/deploy/conf/moa-spss/certstore/3B76D7A5CE7EC6022D7990CFEA534C908717DF54/C0C699EFE6E837CB5E4CFC3A61077617A22C1A9E deleted file mode 100644 index b2beddaa5..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/3B76D7A5CE7EC6022D7990CFEA534C908717DF54/C0C699EFE6E837CB5E4CFC3A61077617A22C1A9E and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/4224231A54F64581FBA2AB6ED82ADE467F144BDC/65EF37033859C2F709A64086D3A5BD1B8F1A85A4 b/spss.server/data/deploy/conf/moa-spss/certstore/4224231A54F64581FBA2AB6ED82ADE467F144BDC/65EF37033859C2F709A64086D3A5BD1B8F1A85A4 deleted file mode 100644 index 6e17b9db5..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/4224231A54F64581FBA2AB6ED82ADE467F144BDC/65EF37033859C2F709A64086D3A5BD1B8F1A85A4 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/6F5F08A3A5D59CA877CB146F00BB0264369B2304/ADEC5673B57A18F16EFAF75EEFBFAD4841E2CD2B b/spss.server/data/deploy/conf/moa-spss/certstore/6F5F08A3A5D59CA877CB146F00BB0264369B2304/ADEC5673B57A18F16EFAF75EEFBFAD4841E2CD2B deleted file mode 100644 index d361d919f..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/6F5F08A3A5D59CA877CB146F00BB0264369B2304/ADEC5673B57A18F16EFAF75EEFBFAD4841E2CD2B and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/738B34854780955AE8FAF12349F2C9C52105A52C/474BC41135FB88BF58B5A8D976A1D5583378D85E b/spss.server/data/deploy/conf/moa-spss/certstore/738B34854780955AE8FAF12349F2C9C52105A52C/474BC41135FB88BF58B5A8D976A1D5583378D85E deleted file mode 100644 index c9da41583..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/738B34854780955AE8FAF12349F2C9C52105A52C/474BC41135FB88BF58B5A8D976A1D5583378D85E and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/738B34854780955AE8FAF12349F2C9C52105A52C/6B618820CE6A5EC0B5E63A9170335E5EA9F3BA01 b/spss.server/data/deploy/conf/moa-spss/certstore/738B34854780955AE8FAF12349F2C9C52105A52C/6B618820CE6A5EC0B5E63A9170335E5EA9F3BA01 deleted file mode 100644 index 28fbdf42f..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/738B34854780955AE8FAF12349F2C9C52105A52C/6B618820CE6A5EC0B5E63A9170335E5EA9F3BA01 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/7A9DC855647136050A8D75D6571AC64739F36C6C/BF648929E7DAABD8D97B3202F48D6C4A19C78F6C b/spss.server/data/deploy/conf/moa-spss/certstore/7A9DC855647136050A8D75D6571AC64739F36C6C/BF648929E7DAABD8D97B3202F48D6C4A19C78F6C deleted file mode 100644 index 4989f3e73..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/7A9DC855647136050A8D75D6571AC64739F36C6C/BF648929E7DAABD8D97B3202F48D6C4A19C78F6C and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 b/spss.server/data/deploy/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 deleted file mode 100644 index 1cdc15c6e..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37 b/spss.server/data/deploy/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37 deleted file mode 100644 index c0c60558a..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/8B23D64DBA1572885563DF070BE9C22A39A3BD26/3B8484BF1370941BF03F206B5C4958DA4E1559BB b/spss.server/data/deploy/conf/moa-spss/certstore/8B23D64DBA1572885563DF070BE9C22A39A3BD26/3B8484BF1370941BF03F206B5C4958DA4E1559BB deleted file mode 100644 index 6f97837a2..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/8B23D64DBA1572885563DF070BE9C22A39A3BD26/3B8484BF1370941BF03F206B5C4958DA4E1559BB and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/96107213A757FFB88DECEE469373162636D7146C/45B43346251FDF9E95DCB7F36928785D46D63913 b/spss.server/data/deploy/conf/moa-spss/certstore/96107213A757FFB88DECEE469373162636D7146C/45B43346251FDF9E95DCB7F36928785D46D63913 deleted file mode 100644 index f3cf5e676..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/96107213A757FFB88DECEE469373162636D7146C/45B43346251FDF9E95DCB7F36928785D46D63913 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/96107213A757FFB88DECEE469373162636D7146C/E33619C88426E4FE956041E6751ADDEC9C10F0BC b/spss.server/data/deploy/conf/moa-spss/certstore/96107213A757FFB88DECEE469373162636D7146C/E33619C88426E4FE956041E6751ADDEC9C10F0BC deleted file mode 100644 index fc5bd433b..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/96107213A757FFB88DECEE469373162636D7146C/E33619C88426E4FE956041E6751ADDEC9C10F0BC and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/975729FFAF7EB667BCF68E9B886EA876E44F46D0/35202B14F69409EAA51CD8AB547AC0CD5E993F3F b/spss.server/data/deploy/conf/moa-spss/certstore/975729FFAF7EB667BCF68E9B886EA876E44F46D0/35202B14F69409EAA51CD8AB547AC0CD5E993F3F deleted file mode 100644 index 3beb4529a..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/975729FFAF7EB667BCF68E9B886EA876E44F46D0/35202B14F69409EAA51CD8AB547AC0CD5E993F3F and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/3F4E01DF7547CDD38DCCFCCD76170C299ECEB9F6 b/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/3F4E01DF7547CDD38DCCFCCD76170C299ECEB9F6 deleted file mode 100644 index 781d1e4f2..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/3F4E01DF7547CDD38DCCFCCD76170C299ECEB9F6 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/9D4CB7E3DBF24AE596972D59C375DD6384BB5E8B b/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/9D4CB7E3DBF24AE596972D59C375DD6384BB5E8B deleted file mode 100644 index 8286cabbc..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/9D4CB7E3DBF24AE596972D59C375DD6384BB5E8B and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/A562C4B99E2847251CB4A1F05DA1FF43E7296F0B b/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/A562C4B99E2847251CB4A1F05DA1FF43E7296F0B deleted file mode 100644 index a0148f63b..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/9D3E6FACCD6AF894CDD2B91D1B9E3C2E310EAB93/A562C4B99E2847251CB4A1F05DA1FF43E7296F0B and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/9039DBD29DB8AD0F8E2015F05FCD40582CCCBE8C b/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/9039DBD29DB8AD0F8E2015F05FCD40582CCCBE8C deleted file mode 100644 index 61d346a8f..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/9039DBD29DB8AD0F8E2015F05FCD40582CCCBE8C and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/9F0E0FBB25F66FF88C8E033EFF358923C84A2926 b/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/9F0E0FBB25F66FF88C8E033EFF358923C84A2926 deleted file mode 100644 index 9ae7ffa0c..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/9F0E0FBB25F66FF88C8E033EFF358923C84A2926 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/C87D1855227D995C332C4C9072A2E2053F2CC623 b/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/C87D1855227D995C332C4C9072A2E2053F2CC623 deleted file mode 100644 index a68ae2db7..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/9F5A9B8D0F919C96B9472442BFBBDD34232A627D/C87D1855227D995C332C4C9072A2E2053F2CC623 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/A07E912CAA2AB620034B05353E7D4B91807880ED/42AD1897A4643D2AA634D980F16349E6694F3B1B b/spss.server/data/deploy/conf/moa-spss/certstore/A07E912CAA2AB620034B05353E7D4B91807880ED/42AD1897A4643D2AA634D980F16349E6694F3B1B deleted file mode 100644 index f1d7b6a28..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/A07E912CAA2AB620034B05353E7D4B91807880ED/42AD1897A4643D2AA634D980F16349E6694F3B1B and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/A07E912CAA2AB620034B05353E7D4B91807880ED/FE7891B6ED7B178F528A28B21478299F865889BD b/spss.server/data/deploy/conf/moa-spss/certstore/A07E912CAA2AB620034B05353E7D4B91807880ED/FE7891B6ED7B178F528A28B21478299F865889BD deleted file mode 100644 index c1b90c0f4..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/A07E912CAA2AB620034B05353E7D4B91807880ED/FE7891B6ED7B178F528A28B21478299F865889BD and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/A4B140FBD4D5EA2AC3A570299945D8FCBBAD2231/20CAECDCA766243AAD6FA1327618FC81BA65DC0F b/spss.server/data/deploy/conf/moa-spss/certstore/A4B140FBD4D5EA2AC3A570299945D8FCBBAD2231/20CAECDCA766243AAD6FA1327618FC81BA65DC0F deleted file mode 100644 index b596d82e3..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/A4B140FBD4D5EA2AC3A570299945D8FCBBAD2231/20CAECDCA766243AAD6FA1327618FC81BA65DC0F and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/DFA7DDEF5C212F0F0651E2A9DE1CE4A1AC63AF7A b/spss.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/DFA7DDEF5C212F0F0651E2A9DE1CE4A1AC63AF7A deleted file mode 100644 index b6f39e354..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/DFA7DDEF5C212F0F0651E2A9DE1CE4A1AC63AF7A and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/F825578F8F5484DFB40F81867C392D6CB0012B92 b/spss.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/F825578F8F5484DFB40F81867C392D6CB0012B92 deleted file mode 100644 index f9f27442b..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/A95F0C3FA54CA93E3D5BA61AD23459300FA498D6/F825578F8F5484DFB40F81867C392D6CB0012B92 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/AAB27F0E98B28AF253454415F6490CB5F43A4B49/A9D28607928FA8615E2615CC9D71B535C5D0D419 b/spss.server/data/deploy/conf/moa-spss/certstore/AAB27F0E98B28AF253454415F6490CB5F43A4B49/A9D28607928FA8615E2615CC9D71B535C5D0D419 deleted file mode 100644 index 10a1f7141..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/AAB27F0E98B28AF253454415F6490CB5F43A4B49/A9D28607928FA8615E2615CC9D71B535C5D0D419 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/BED4C70D83B5042F4254459064FDEACD43DD1EDF/7BE0C8E441786C69A3CB35BDBEF235F8B5310E04 b/spss.server/data/deploy/conf/moa-spss/certstore/BED4C70D83B5042F4254459064FDEACD43DD1EDF/7BE0C8E441786C69A3CB35BDBEF235F8B5310E04 deleted file mode 100644 index 0a8de4bb9..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/BED4C70D83B5042F4254459064FDEACD43DD1EDF/7BE0C8E441786C69A3CB35BDBEF235F8B5310E04 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/8AB0A3519AFA7F3C04074522678BAA1CB3DC734F b/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/8AB0A3519AFA7F3C04074522678BAA1CB3DC734F deleted file mode 100644 index c34d0f380..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/8AB0A3519AFA7F3C04074522678BAA1CB3DC734F and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/DF47B3040E7632614464BD2EC4ECD1B8030F53E3 b/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/DF47B3040E7632614464BD2EC4ECD1B8030F53E3 deleted file mode 100644 index d894e92ca..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/DF47B3040E7632614464BD2EC4ECD1B8030F53E3 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/E117479B4A41D7F3223FCAE50560B0D57B22217D b/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/E117479B4A41D7F3223FCAE50560B0D57B22217D deleted file mode 100644 index 380486f65..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/CE91CC7CF2DDDEE6623A1A91B3298DCAD2375F2B/E117479B4A41D7F3223FCAE50560B0D57B22217D and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/D708C897515970D33EF7CD0C2474449D3AB6AA83/52ED0FAFBD38A868C678174D7EB03D266ADB221C b/spss.server/data/deploy/conf/moa-spss/certstore/D708C897515970D33EF7CD0C2474449D3AB6AA83/52ED0FAFBD38A868C678174D7EB03D266ADB221C deleted file mode 100644 index 42a64da07..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/D708C897515970D33EF7CD0C2474449D3AB6AA83/52ED0FAFBD38A868C678174D7EB03D266ADB221C and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/DF5F53FDADAFC93F4789141B5A7627EB9F3BD29F/4832F0A28C3724A92F6CB3314F747D0E74FC7344 b/spss.server/data/deploy/conf/moa-spss/certstore/DF5F53FDADAFC93F4789141B5A7627EB9F3BD29F/4832F0A28C3724A92F6CB3314F747D0E74FC7344 deleted file mode 100644 index 7085c5ac9..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/DF5F53FDADAFC93F4789141B5A7627EB9F3BD29F/4832F0A28C3724A92F6CB3314F747D0E74FC7344 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/E6A4C843059A6043B4DC967F9EF892B695990777/B4B77C83465979E3679E3A33F972F48EE3730A18 b/spss.server/data/deploy/conf/moa-spss/certstore/E6A4C843059A6043B4DC967F9EF892B695990777/B4B77C83465979E3679E3A33F972F48EE3730A18 deleted file mode 100644 index 6225c0ca7..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/E6A4C843059A6043B4DC967F9EF892B695990777/B4B77C83465979E3679E3A33F972F48EE3730A18 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/F1B84756A1EAB09C171B2783DD163B42A9BD0BBB/ED5608CE67EA5CB79AC024CEA7445F9BCBE48703 b/spss.server/data/deploy/conf/moa-spss/certstore/F1B84756A1EAB09C171B2783DD163B42A9BD0BBB/ED5608CE67EA5CB79AC024CEA7445F9BCBE48703 deleted file mode 100644 index 069640ffc..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/F1B84756A1EAB09C171B2783DD163B42A9BD0BBB/ED5608CE67EA5CB79AC024CEA7445F9BCBE48703 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/certstore/F48B57F89BACD8687EBB12223A5B8E5EF3774583/CAF84A42305615AC2C582F6412BDA3E36DAC3D25 b/spss.server/data/deploy/conf/moa-spss/certstore/F48B57F89BACD8687EBB12223A5B8E5EF3774583/CAF84A42305615AC2C582F6412BDA3E36DAC3D25 deleted file mode 100644 index 83aeb1fce..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/certstore/F48B57F89BACD8687EBB12223A5B8E5EF3774583/CAF84A42305615AC2C582F6412BDA3E36DAC3D25 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/keys/ecc(ego).p12 b/spss.server/data/deploy/conf/moa-spss/keys/ecc(ego).p12 deleted file mode 100644 index f84e793c5..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/keys/ecc(ego).p12 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12 b/spss.server/data/deploy/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12 deleted file mode 100644 index efaeb9b98..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12 and /dev/null differ diff --git a/spss.server/data/deploy/conf/moa-spss/log4j.properties b/spss.server/data/deploy/conf/moa-spss/log4j.properties deleted file mode 100644 index 31096ff73..000000000 --- a/spss.server/data/deploy/conf/moa-spss/log4j.properties +++ /dev/null @@ -1,40 +0,0 @@ -# -# Sample log4j configuration for the MOA-SPSS web service -# - -# commons-logging setup -org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory - -# Define log4j root loggers for the 'moa.spss.server' and 'iaik.server' -# logging hierarchies. -# All logging output is written to the 'stdout' and 'R' appenders. -# Add JDBC if you also want to write it to the database -log4j.rootLogger=info, stdout, R -log4j.logger.moa.spss.server=info -log4j.logger.iaik.server=info - -# Configure the 'stdout appender' to write logging output to the console -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n - -# Configure the rolling file appender 'R' to write logging output -# to the file 'moa-spss.log'. The file is rolled over every 1000KB, -# and a maximum history of 4 log files is being kept. -log4j.appender.R=org.apache.log4j.RollingFileAppender -log4j.appender.R.File=moa-spss.log -log4j.appender.R.MaxFileSize=1000KB -log4j.appender.R.MaxBackupIndex=4 -log4j.appender.R.layout=org.apache.log4j.PatternLayout -log4j.appender.R.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %t | %m%n - -# Configure the jdbc appender 'JDBC' to write logging output -# to the given PostgreSQL database -# a suitable table called 'spss_log' must have been created in the -# database using the command: -# create table spss_log (log_time timestamp, log_level char(5), log_msg text) -log4j.appender.JDBC=org.apache.log4j.jdbc.JDBCAppender -log4j.appender.JDBC.driver=org.postgresql.Driver -log4j.appender.JDBC.URL=jdbc:postgresql://10.16.46.108/moa?user=moa&password=moatest -log4j.appender.JDBC.layout=org.apache.log4j.PatternLayout -log4j.appender.JDBC.sql=INSERT INTO spss_log (log_time, log_level, log_msg) VALUES ('%d{ yyyy-MM-dd HH:mm:ss.SSS}', '%5p', '%m') \ No newline at end of file diff --git a/spss.server/data/deploy/conf/moa-spss/trustProfiles/trustProfile1/IAIKRoot.cer b/spss.server/data/deploy/conf/moa-spss/trustProfiles/trustProfile1/IAIKRoot.cer deleted file mode 100644 index c0c60558a..000000000 Binary files a/spss.server/data/deploy/conf/moa-spss/trustProfiles/trustProfile1/IAIKRoot.cer and /dev/null differ diff --git a/spss.server/data/deploy/tomcat/server.mod_jk.xml b/spss.server/data/deploy/tomcat/server.mod_jk.xml deleted file mode 100644 index e6035b8be..000000000 --- a/spss.server/data/deploy/tomcat/server.mod_jk.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spss.server/data/deploy/tomcat/server.xml b/spss.server/data/deploy/tomcat/server.xml deleted file mode 100644 index 3e5966ca9..000000000 --- a/spss.server/data/deploy/tomcat/server.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spss.server/data/deploy/tomcat/unix/moa-env.sh b/spss.server/data/deploy/tomcat/unix/moa-env.sh deleted file mode 100644 index 01d2605c2..000000000 --- a/spss.server/data/deploy/tomcat/unix/moa-env.sh +++ /dev/null @@ -1,12 +0,0 @@ -MOA_START=`pwd` - -CONFIG_OPT=-Dmoa.spss.server.configuration=$MOA_START/conf/moa-spss/MOA-SPSSConfiguration.xml -LOGGING_OPT=-Dlog4j.configuration=file:$MOA_START/conf/moa-spss/log4j.properties -# NODE_ID_OPT=-Dmoa.node-id=node1 -# TRUST_STORE_OPT=-Djavax.net.ssl.trustStore=truststore.jks -# TRUST_STORE_PASS_OPT=-Djavax.net.ssl.trustStorePassword=changeit -# TRUST_STORE_TYPE_OPT=-Djavax.net.ssl.trustStoreType=jks - -export CATALINA_OPTS="$CONFIG_OPT $LOGGING_OPT $NODE_ID_OPT $TRUST_STORE_OPT $TRUST_STORE_PASS_OPT $TRUST_STORE_TYPE_OPT" - -echo CATALINA_OPTS=$CATALINA_OPTS diff --git a/spss.server/data/deploy/tomcat/uriworkermap.properties b/spss.server/data/deploy/tomcat/uriworkermap.properties deleted file mode 100644 index 673acf65d..000000000 --- a/spss.server/data/deploy/tomcat/uriworkermap.properties +++ /dev/null @@ -1,4 +0,0 @@ -# a sample mod_jk uriworkermap.properties file for mapping -# MOA SP/SS web service requests to workers - -/moa-spss/*=moaworker \ No newline at end of file diff --git a/spss.server/data/deploy/tomcat/win32/installTomcatAsService.bat b/spss.server/data/deploy/tomcat/win32/installTomcatAsService.bat deleted file mode 100644 index 8044d7e8e..000000000 --- a/spss.server/data/deploy/tomcat/win32/installTomcatAsService.bat +++ /dev/null @@ -1,26 +0,0 @@ -rem ---------------------------------------------------------------------------------------------- -rem Modify these entries according to your needs - -rem JDK home directory (no trailing path separator) -set JAVA_HOME= - -rem Tomcat 4.1.x home directory (no trailing path separator) -set CATALINA_HOME= - -rem ---------------------------------------------------------------------------------------------- - -set MOA_SPSS_CFG_HOME=%CATALINA_HOME%\conf\moa-spss - -set PARAM_SPSSCONFIG=-Dmoa.spss.server.configuration=%MOA_SPSS_CFG_HOME%\MOA-SPSSConfiguration.xml -set PARAM_LOGGING=-Dlog4j.configuration=file:%MOA_SPSS_CFG_HOME%\log4j.properties -set PARAM_NODEID=-Dmoa.node-id=Node1 -set PARAMS_MOA=%PARAM_SPSSCONFIG% %PARAM_LOGGING% %PARAM_NODEID% - -rem set PARAM_TRUST_STORE=-Djavax.net.ssl.trustStore=truststore.jks -rem set PARAM_TRUST_STORE_PASS=-Djavax.net.ssl.trustStorePassword=changeit -rem set PARAM_TRUST_STORE_TYPE=-Djavax.net.ssl.trustStoreType=jks -rem set PARAMS_SSL=%PARAM_TRUST_STORE% %PARAM_TRUST_STORE_PASS% %PARAM_TRUST_STORE_TYPE% - -set CATALINA_OPTS=%PARAMS_MOA% %PARAMS_SSL% - -%CATALINA_HOME%\bin\tomcat -install "Jakarta Tomcat 4.1" %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed -Xrs -start org.apache.catalina.startup.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap -params stop -out %CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log -current %CATALINA_HOME% diff --git a/spss.server/data/deploy/tomcat/win32/startTomcat.bat b/spss.server/data/deploy/tomcat/win32/startTomcat.bat deleted file mode 100644 index f97c5214e..000000000 --- a/spss.server/data/deploy/tomcat/win32/startTomcat.bat +++ /dev/null @@ -1,27 +0,0 @@ -rem ---------------------------------------------------------------------------------------------- -rem Modify these entries according to your needs - -rem JDK home directory (no trailing path separator) -set JAVA_HOME= - -rem Tomcat 4.1.x home directory (no trailing path separator) -set CATALINA_HOME= - -rem ---------------------------------------------------------------------------------------------- - -set MOA_SPSS_CFG_HOME=%CATALINA_HOME%\conf\moa-spss - -set PARAM_SPSSCONFIG=-Dmoa.spss.server.configuration=%MOA_SPSS_CFG_HOME%\MOA-SPSSConfiguration.xml -set PARAM_LOGGING=-Dlog4j.configuration=file:%MOA_SPSS_CFG_HOME%\log4j.properties -set PARAM_NODEID=-Dmoa.node-id=Node1 -set PARAMS_MOA=%PARAM_SPSSCONFIG% %PARAM_LOGGING% %PARAM_NODEID% - -rem set PARAM_TRUST_STORE=-Djavax.net.ssl.trustStore=truststore.jks -rem set PARAM_TRUST_STORE_PASS=-Djavax.net.ssl.trustStorePassword=changeit -rem set PARAM_TRUST_STORE_TYPE=-Djavax.net.ssl.trustStoreType=jks -rem set PARAMS_SSL=%PARAM_TRUST_STORE% %PARAM_TRUST_STORE_PASS% %PARAM_TRUST_STORE_TYPE% - -set CATALINA_OPTS=%PARAMS_MOA% %PARAMS_SSL% - -cd %CATALINA_HOME% -bin\catalina.bat start \ No newline at end of file diff --git a/spss.server/data/deploy/tomcat/win32/stopTomcat.bat b/spss.server/data/deploy/tomcat/win32/stopTomcat.bat deleted file mode 100644 index 09dd83f2d..000000000 --- a/spss.server/data/deploy/tomcat/win32/stopTomcat.bat +++ /dev/null @@ -1,13 +0,0 @@ -rem ---------------------------------------------------------------------------------------------- -rem Modify these entries according to your needs - -rem JDK home directory (no trailing path separator) -set JAVA_HOME= - -rem Tomcat 4.1.x home directory (no trailing path separator) -set CATALINA_HOME= - -rem ---------------------------------------------------------------------------------------------- - -cd %CATALINA_HOME% -bin\catalina.bat stop \ No newline at end of file diff --git a/spss.server/data/deploy/tomcat/win32/uninstallTomcatAsService.bat b/spss.server/data/deploy/tomcat/win32/uninstallTomcatAsService.bat deleted file mode 100644 index 63992316e..000000000 --- a/spss.server/data/deploy/tomcat/win32/uninstallTomcatAsService.bat +++ /dev/null @@ -1,12 +0,0 @@ -rem ---------------------------------------------------------------------------------------------- -rem Modify these entries according to your needs - -rem JDK home directory (no trailing path separator) -set JAVA_HOME= - -rem Tomcat 4.1.x home directory (no trailing path separator) -set CATALINA_HOME= - -rem ---------------------------------------------------------------------------------------------- - -%CATALINA_HOME%\bin\tomcat -uninstall "Jakarta Tomcat 4.1" diff --git a/spss.server/data/deploy/tomcat/workers.properties b/spss.server/data/deploy/tomcat/workers.properties deleted file mode 100644 index 9350ddc77..000000000 --- a/spss.server/data/deploy/tomcat/workers.properties +++ /dev/null @@ -1,6 +0,0 @@ -# a sample workers.properties file defining a single mod_jk worker - -worker.list=moaworker -worker.moaworker.type=ajp13 -worker.moaworker.host=localhost -worker.moaworker.port=8009 diff --git a/spss.server/data/deploy/tools/certtool.bat b/spss.server/data/deploy/tools/certtool.bat deleted file mode 100644 index 4d0fb39e1..000000000 --- a/spss.server/data/deploy/tools/certtool.bat +++ /dev/null @@ -1,25 +0,0 @@ -@echo off - -rem -rem Script to invoke the CertTool class -rem -rem Author: Patrick Peck -rem Version: $Id: certtool.bat,v 1.6 2003/05/08 11:46:29 peck Exp $ -rem - - -if %OS%=="Windows_NT" @setlocal - -set CERTTOOL=at.gv.egovernment.moa.spss.server.tools.CertTool -set TOOLSPATH=%~p0 -set CLASSPATH=%TOOLSPATH%tools.jar;%TOOLSPATH%iaik-moa-full.jar;%TOOLSPATH%iaik_jce_full.jar;%TOOLSPATH%iaik_ecc.jar;%TOOLSPATH%log4j-1.2.7.jar - -if "%JAVA_HOME%"=="" goto noJavaHome -%JAVA_HOME%\bin\java.exe -classpath %CLASSPATH% %CERTTOOL% %1 %2 %3 %4 %5 %6 %7 %8 %9 -goto end - -:noJavaHome -echo error: JAVA_HOME not defined - -:end -if %OS%=="Windows_NT" @endlocal \ No newline at end of file diff --git a/spss.server/data/deploy/tools/certtool.sh b/spss.server/data/deploy/tools/certtool.sh deleted file mode 100644 index b97b2ed53..000000000 --- a/spss.server/data/deploy/tools/certtool.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# -# Script to invoke the CertTool class -# -# Author:Patrick Peck -# Version: $Id: certtool.sh,v 1.9 2003/06/23 16:01:27 peck Exp $ -# - - -if [ -z "$JAVA_HOME" ]; then - echo "error: JAVA_HOME not defined"; - exit; -fi - -CERTOOL=at.gv.egovernment.moa.spss.server.tools.CertTool -TOOLSPATH=`dirname $PWD/$0` -CLASSPATH=$TOOLSPATH/tools.jar:$TOOLSPATH/iaik-moa-full.jar:$TOOLSPATH/iaik_jce_full.jar:$TOOLSPATH/iaik_ecc.jar:$TOOLSPATH/log4j-1.2.7.jar - -$JAVA_HOME/bin/java -classpath $CLASSPATH $CERTOOL $* diff --git a/spss.server/data/test/conf/moa-spss/MOA-SPSSConfiguration.xml b/spss.server/data/test/conf/moa-spss/MOA-SPSSConfiguration.xml deleted file mode 100644 index da27ece8b..000000000 --- a/spss.server/data/test/conf/moa-spss/MOA-SPSSConfiguration.xml +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - MOAHSM - - C=AT,OU=MOA,O=BRZ,CN=MOAHSMRSAKEY - 1 - - - - - - - SWKeyModule1 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - - - - SWKeyModule2 - - CN=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 10 - - - - - - - SWKeyModule3 - - CN=IAIK ECDSA Test,OU=JavaSecurity,O=IAIK,C=AT - 68172 - - - - - - - SWKeyModule4 - - CN=IAIK DSA Test CA,OU=JavaSecurity,O=IAIK,C=AT - 761791 - - - - - - SWKeyModule5 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1050061309775 - - - - - - SWKeyModule6 - - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium f\C3\BCr \C3\B6ffentliche Leistung und Sport,C=AT - 4 - - - - - - SWKeyModule1 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - SWKeyModule2 - - CN=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 10 - - - - SWKeyModule3 - - CN=IAIK ECDSA Test,OU=JavaSecurity,O=IAIK,C=AT - 68172 - - - - SWKeyModule4 - - CN=IAIK DSA Test CA,OU=JavaSecurity,O=IAIK,C=AT - 761791 - - - - SWKeyModule5 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1050061309775 - - - - SWKeyModule6 - - CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium f\C3\BCr \C3\B6ffentliche Leistung und Sport,C=AT - 4 - - - - - - - - - - - - - - - CN=TestUser,OU=MOA,O=BRZ,C=AT - 12345678 - - - - - - CN=A-Trust-nQual-01,OU=A-Trust-nQual-01,O=A-Trust,C=AT - 536 - - - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - - - - - - - - - - - - - diff --git a/spss.server/data/test/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 b/spss.server/data/test/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 deleted file mode 100644 index 1cdc15c6e..000000000 Binary files a/spss.server/data/test/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37 b/spss.server/data/test/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37 deleted file mode 100644 index c0c60558a..000000000 Binary files a/spss.server/data/test/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/keys/Beispielservice_1(password=bspsrv1).p12 b/spss.server/data/test/conf/moa-spss/keys/Beispielservice_1(password=bspsrv1).p12 deleted file mode 100644 index a18356bf3..000000000 Binary files a/spss.server/data/test/conf/moa-spss/keys/Beispielservice_1(password=bspsrv1).p12 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/keys/DSA.512.p12 b/spss.server/data/test/conf/moa-spss/keys/DSA.512.p12 deleted file mode 100644 index 8f7a201ac..000000000 Binary files a/spss.server/data/test/conf/moa-spss/keys/DSA.512.p12 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/keys/ecc(ego).p12 b/spss.server/data/test/conf/moa-spss/keys/ecc(ego).p12 deleted file mode 100644 index f84e793c5..000000000 Binary files a/spss.server/data/test/conf/moa-spss/keys/ecc(ego).p12 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/keys/normal-eeExpired.p12 b/spss.server/data/test/conf/moa-spss/keys/normal-eeExpired.p12 deleted file mode 100644 index ff65f9fde..000000000 Binary files a/spss.server/data/test/conf/moa-spss/keys/normal-eeExpired.p12 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/keys/sicher-demo(buergerkarte).p12 b/spss.server/data/test/conf/moa-spss/keys/sicher-demo(buergerkarte).p12 deleted file mode 100644 index efaeb9b98..000000000 Binary files a/spss.server/data/test/conf/moa-spss/keys/sicher-demo(buergerkarte).p12 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12 b/spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12 deleted file mode 100644 index efaeb9b98..000000000 Binary files a/spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal_verw_oid.p12 b/spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal_verw_oid.p12 deleted file mode 100644 index 13c7253ce..000000000 Binary files a/spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal_verw_oid.p12 and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/profiles/CSEP.xml b/spss.server/data/test/conf/moa-spss/profiles/CSEP.xml deleted file mode 100644 index 326dbc6a0..000000000 --- a/spss.server/data/test/conf/moa-spss/profiles/CSEP.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - //data:Document - diff --git a/spss.server/data/test/conf/moa-spss/profiles/CX1_bookprofile.xsl b/spss.server/data/test/conf/moa-spss/profiles/CX1_bookprofile.xsl deleted file mode 100644 index ca41d793f..000000000 --- a/spss.server/data/test/conf/moa-spss/profiles/CX1_bookprofile.xsl +++ /dev/null @@ -1 +0,0 @@ -

    Buch:

    text/html
    \ No newline at end of file diff --git a/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile1.xml b/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile1.xml deleted file mode 100644 index 02b1c6373..000000000 --- a/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile1.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Dies sind Testdaten -2. Zeile -3. Zeile -aus - - diff --git a/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile2.xml b/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile2.xml deleted file mode 100644 index 7f84eb822..000000000 --- a/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile2.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxIdWdvPg0K -CVRlc3QNCjwvSHVnbz4= - - diff --git a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1.xml b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1.xml deleted file mode 100644 index e7fb9a9ea..000000000 --- a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1.xml +++ /dev/null @@ -1 +0,0 @@ -PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHNsOnN0eWxlc2hlZXQgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFuc2Zvcm0iIHZlcnNpb249IjEuMCI+PHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIiBpbmRlbnQ9Im5vIi8+PHhzbDp0ZW1wbGF0ZSBtYXRjaD0iZGF0YTpib29rIiB4bWxuczpkYXRhPSJodHRwOi8vdXJpLmRhdGEub3JnIj48SFRNTD48Qk9EWT48SDE+QnVjaDogPHhzbDp2YWx1ZS1vZiBzZWxlY3Q9ImRhdGE6dGl0bGUiLz48L0gxPjwvQk9EWT48L0hUTUw+PC94c2w6dGVtcGxhdGU+PC94c2w6c3R5bGVzaGVldD4= \ No newline at end of file diff --git a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1MOAID.xml b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1MOAID.xml deleted file mode 100644 index f973ac7e9..000000000 --- a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1MOAID.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    diff --git a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2.xml b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2.xml deleted file mode 100644 index 12d6bc28b..000000000 --- a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - diff --git a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2MOAID.xml b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2MOAID.xml deleted file mode 100644 index dc4a97716..000000000 --- a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2MOAID.xml +++ /dev/null @@ -1,3 +0,0 @@ - - -id('refetsi')/etsi:QualifyingProperties/etsi:SignedProperties diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/Buergerkarte01Root.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/Buergerkarte01Root.cer deleted file mode 100644 index 18e6bc109..000000000 Binary files a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/Buergerkarte01Root.cer and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/C.CA.DS.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/C.CA.DS.cer deleted file mode 100644 index fc5bd433b..000000000 Binary files a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/C.CA.DS.cer and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRoot.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRoot.cer deleted file mode 100644 index c0c60558a..000000000 Binary files a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRoot.cer and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRootMusterbehoerde.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRootMusterbehoerde.cer deleted file mode 100644 index 21dc972b9..000000000 Binary files a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRootMusterbehoerde.cer and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/TestPersonMOA4.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/TestPersonMOA4.cer deleted file mode 100644 index 99936caa8..000000000 Binary files a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/TestPersonMOA4.cer and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer deleted file mode 100644 index fc5bd433b..000000000 Binary files a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-nQual-01.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-nQual-01.cer deleted file mode 100644 index 84518a6a8..000000000 Binary files a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-nQual-01.cer and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/ecdsaroot_der.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/ecdsaroot_der.cer deleted file mode 100644 index dac166e9a..000000000 Binary files a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/ecdsaroot_der.cer and /dev/null differ diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/hsm.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/hsm.cer deleted file mode 100644 index 278cb8fab..000000000 --- a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/hsm.cer +++ /dev/null @@ -1,13 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIB6TCCAVICAQEwDQYJKoZIhvcNAQEFBQAwPTESMBAGA1UEAxMJSFNNUlNBS0VZ -MQwwCgYDVQQKEwNCUloxDDAKBgNVBAsTA01PQTELMAkGA1UEBhMCQVQwHhcNMDMw -NDAzMTEwNjQ5WhcNMDQwNDAzMTEwNjQ5WjA9MRIwEAYDVQQDEwlIU01SU0FLRVkx -DDAKBgNVBAoTA0JSWjEMMAoGA1UECxMDTU9BMQswCQYDVQQGEwJBVDCBnzANBgkq -hkiG9w0BAQEFAAOBjQAwgYkCgYEA2nygG6QL8ksWZFNAUWcLcAkRR7WHck3PFu4z -ce2D/jeWk2pf3dC+49ZRkmJbKYclySx90BZFG6iSUkhI41eXbrRzIScFz15P9K4F -rSg8redcdysWY/WJ2ybW05PuK8jNooyc4yAGoSfiNv7GlDfAqsZpSXB2YFvd6erF -In5e7WECAwDL2zANBgkqhkiG9w0BAQUFAAOBgQCUhQ1YQg14ZtUGj1Zn1J5O3XXu -RZmckYjRbqMxpY3iim+yH9+eSrDcfESUeoYQHzOB+qfOx+kU33qkWBzvP1079EbC -v5eVi4mhJ6F/8xItuvroUtuQokiiEY8g8CSM1C124MLcJr0y90Nmb2q2cHhlBkw8 -s5uQpf4EtuqJAwMrcQ== ------END CERTIFICATE----- diff --git a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/moahsmcert.cer b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/moahsmcert.cer deleted file mode 100644 index 160390f35..000000000 --- a/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/moahsmcert.cer +++ /dev/null @@ -1,13 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIB7zCCAVgCAQEwDQYJKoZIhvcNAQEFBQAwQDEVMBMGA1UEAxMMTU9BSFNNUlNB -S0VZMQwwCgYDVQQKEwNCUloxDDAKBgNVBAsTA01PQTELMAkGA1UEBhMCQVQwHhcN -MDMwNDA3MTQwNzM3WhcNMDQwNDA3MTQwNzM3WjBAMRUwEwYDVQQDEwxNT0FIU01S -U0FLRVkxDDAKBgNVBAoTA0JSWjEMMAoGA1UECxMDTU9BMQswCQYDVQQGEwJBVDCB -nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuQJeLj5quuES22ZlXY2W5C/JF/7a -WZM/EBj2hZff3i66IQYe3272E9p1utzIGvY3AfAlW0sKiOhZUpOnvFlAn+Bl86J2 -kE/mQMgVHd4fxb3onCNA+x/x5BdYVdx35il6iQy9xE0kpc01CMrUMMy0+GMcz4OR -ziJf0WHsi9JL1nECAwCYrzANBgkqhkiG9w0BAQUFAAOBgQCDpmYSMnkjfJ4JXwwc -Y6eqqiDBexZeVwNLjjJxwf5md4ZRiewwfY3aydcA8ffjcUh4/5XXdn5y2S2n8JEg -N2EuHHC+k/CE2JJJylkikltE+nawdfa6MukhQ0sPKjyJ+Nr2nXOwX6O2bveaTw9J -E2+9uU+Tuf4VG9HEHEL+IaU2tA== ------END CERTIFICATE----- diff --git a/spss.server/data/test/security/A-Trust-nQual-01.p7b b/spss.server/data/test/security/A-Trust-nQual-01.p7b deleted file mode 100644 index 9c498239c..000000000 Binary files a/spss.server/data/test/security/A-Trust-nQual-01.p7b and /dev/null differ diff --git a/spss.server/data/test/security/client.cer b/spss.server/data/test/security/client.cer deleted file mode 100644 index 05c18b53c..000000000 Binary files a/spss.server/data/test/security/client.cer and /dev/null differ diff --git a/spss.server/data/test/security/client.keystore b/spss.server/data/test/security/client.keystore deleted file mode 100644 index 4b489f259..000000000 Binary files a/spss.server/data/test/security/client.keystore and /dev/null differ diff --git a/spss.server/data/test/security/server.cer b/spss.server/data/test/security/server.cer deleted file mode 100644 index 0ac744758..000000000 Binary files a/spss.server/data/test/security/server.cer and /dev/null differ diff --git a/spss.server/data/test/security/server.crt.pem b/spss.server/data/test/security/server.crt.pem deleted file mode 100644 index b023d4065..000000000 --- a/spss.server/data/test/security/server.crt.pem +++ /dev/null @@ -1,14 +0,0 @@ ------BEGIN CERTIFICATE----- -MIICMDCCAZkCBD3vd6wwDQYJKoZIhvcNAQEEBQAwXzELMAkGA1UEBhMCQVQxDzAN -BgNVBAgTBlZpZW5uYTEPMA0GA1UEBxMGVmllbm5hMQwwCgYDVQQKEwNCUloxDDAK -BgNVBAsTA01PQTESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTAyMTIwNTE1NTgzNloX -DTAzMDMwNTE1NTgzNlowXzELMAkGA1UEBhMCQVQxDzANBgNVBAgTBlZpZW5uYTEP -MA0GA1UEBxMGVmllbm5hMQwwCgYDVQQKEwNCUloxDDAKBgNVBAsTA01PQTESMBAG -A1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2Qwkh -SMVyrrs62G5CbYKoyz3ZD/H5/vMdXfwxeOQyh9kqTsJnHcmRba31Dk1oAvASLK4U -dD5XO4n87/FPwzbkiLFTL1ldtvOEzj3toLTkzW+evQzGuE4bnqXMeTzo1NJWBV3a -EPWG/jQ8uvHFQHdKygrqhCKrlNoXmIWjatBsRwIDAQABMA0GCSqGSIb3DQEBBAUA -A4GBAKt/1ymeuucEi3Hnzwn6afAZcvDqsjJ3BFSFgh24Na2Q8p11Swf73HyXasFF -BMKeiBg/l6i+o8Us/I8Tz1m3k418PYLtO31lvvSiRvjFdQhKNtZyRRP/w6Tapp1X -XRG4UZVM0SZ0xbptMIwPTtEgPhNRqU8pN5GqeLM+UZoHHZ4I ------END CERTIFICATE----- diff --git a/spss.server/data/test/security/server.key.pem b/spss.server/data/test/security/server.key.pem deleted file mode 100644 index 98ed15c2c..000000000 --- a/spss.server/data/test/security/server.key.pem +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,07A153976C2CFAF5 - -7t6tPNTNkearGYsAaZZC6zO0puw4//Fm71V+V6Wxf3NBD6gqt46FuFkvwI3zpkHF -AO3SdBGmAKpBaJ2igpDKI7zHbhJWG66eGaPz+zUVMkbqI5PQRN1zGkKK4c6Pleuq -CrNASVxtbd2aaSrwnesWm9dUfl3vYBXeBdxnKPnOzgCbeCv8AL8dHJP4bpOtym/r -5arkBLs+KzHfkg2qjKmadwuQwe++EJINZ2uIR/QR9LkjvL7gi9tktmK3jQkcpPXs -rnqs7lUoq2nT6EIm90Hq5w5ytj80z6rV4xPuu/4nAN/L3lOpaMmZ0nmB5Nkyl7pU -A2QnBC/YHIY7D+FHUApYUGUxOcktJeLc4981sFpvWbUIGqpB5o/tb3kbrbTNNiev -Cl6LzQlbNKkd1Gk4MxB3ZBLQeGnzHMBssckOSSGivZRR601uj/sL6zs8xOzo9ZC/ -83NInEAkPyeK3Fw1cg0poj2BhU61hsobm0uGLMlQYcJtI9H2svh1oAbz2AnT/rab -oRqV58Esmh0IsPBqEIar94Jl5YT8HU1MPHx4tF5wYUz79O7o54gr/WXQrycv9n2k -nEzCtQxp1cBJZx0W/Xh30YrRmnyKBfHl9kz0VHP0JCYyvDpotYCByilfq1dszyWG -QnU5cUSh6n4vwo2DuWZApgEn0BVV2plSKTrT6gTFY+2RgBHyeEYZ1lZa4EQJUsSn -4m/mW94GQQnQG5sms0GRMZaJJUDk18o+3h9+cJi/DUeRGsptizg/kQ7YA7gIRwgs -L635wYFlRjH0gzOb4/MeaxzrOXuxETrpx2gdQHVYjcyfmFcsPIEp7g== ------END RSA PRIVATE KEY----- diff --git a/spss.server/data/test/security/server.keystore b/spss.server/data/test/security/server.keystore deleted file mode 100644 index d8a135651..000000000 Binary files a/spss.server/data/test/security/server.keystore and /dev/null differ diff --git a/spss.server/data/test/security/server.pfx b/spss.server/data/test/security/server.pfx deleted file mode 100644 index a98f1537f..000000000 Binary files a/spss.server/data/test/security/server.pfx and /dev/null differ diff --git a/spss.server/data/test/xml/CreateXMLSignature/Req000.xml b/spss.server/data/test/xml/CreateXMLSignature/Req000.xml deleted file mode 100644 index 765fa4fe9..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/Req000.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - PKCS12RSAKey1 - - - - my xml data - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/Req001.xml b/spss.server/data/test/xml/CreateXMLSignature/Req001.xml deleted file mode 100644 index bc8f976a0..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/Req001.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - validKeyIdentifier(RSAinPKCS12) - - - - - testdaten - - - - - - - - - - - - text/xml - - - - - - - - diff --git a/spss.server/data/test/xml/CreateXMLSignature/Req002.xml b/spss.server/data/test/xml/CreateXMLSignature/Req002.xml deleted file mode 100644 index 1fb5ea72d..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/Req002.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - validKeyIdentifier(RSAinPKCS12) - - - - - testdaten - - - - - text/xml - - - - - - - - daten - - - - /Envelop - - - - - - - diff --git a/spss.server/data/test/xml/CreateXMLSignature/Req004.xml b/spss.server/data/test/xml/CreateXMLSignature/Req004.xml deleted file mode 100644 index dfc9c11fe..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/Req004.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - pkcs12rsakey1 - - - - - - Gesundheitliche Auswirkungen elektronischer Signaturen - Ellipse - Kurvenreich - 1951-04-16 - Hinterm Berg - 6-930-21512-12 - - - - - - - - /data:book/data:first-name - - - - text/html - - - - - - - - diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.001.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.001.Req.xml deleted file mode 100644 index 32ed2e31c..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.001.Req.xml +++ /dev/null @@ -1,17 +0,0 @@ - - PKCS12RSAKey1 - - - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.004.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.004.Req.xml deleted file mode 100644 index 6a704c66d..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.004.Req.xml +++ /dev/null @@ -1,17 +0,0 @@ - - VKTRUE - - - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.005.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.005.Req.xml deleted file mode 100644 index 815f45f8e..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.005.Req.xml +++ /dev/null @@ -1,17 +0,0 @@ - - PKCS12ECDSAKey1 - - - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.007.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.007.Req.xml deleted file mode 100644 index c0b235585..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.007.Req.xml +++ /dev/null @@ -1,19 +0,0 @@ - - PKCS12RSAKey1 - - - - Dies sind Testdaten - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.008.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.008.Req.xml deleted file mode 100644 index ace117fd9..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.008.Req.xml +++ /dev/null @@ -1,19 +0,0 @@ - - PKCS12RSAKey1 - - - - RGllcyBzaW5kIFRlc3RkYXRlbg== - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.009.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.009.Req.xml deleted file mode 100644 index 5a1b39e12..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.009.Req.xml +++ /dev/null @@ -1,17 +0,0 @@ - - PKCS12RSAKey1 - - - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.010.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.010.Req.xml deleted file mode 100644 index 120f76ee0..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.010.Req.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - PKCS12RSAKey1 - - - - Dies sind Testdaten - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.014.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.014.Req.xml deleted file mode 100644 index ead2fd581..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.014.Req.xml +++ /dev/null @@ -1,17 +0,0 @@ - - PKCS12RSAKey1 - - - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.015.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.015.Req.xml deleted file mode 100644 index 5386b7a1f..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.015.Req.xml +++ /dev/null @@ -1,27 +0,0 @@ - - PKCS12RSAKey1 - - - - - - - text/plain - - - - - - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.018.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.018.Req.xml deleted file mode 100644 index a09303eec..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.018.Req.xml +++ /dev/null @@ -1,29 +0,0 @@ - - PKCS12RSAKey1 - - - - - - - text/plain - - - - - - - - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.057.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.057.Req.xml deleted file mode 100644 index 18c0e3385..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.057.Req.xml +++ /dev/null @@ -1,19 +0,0 @@ - - PKCS12RSAKeyExpired - - - - - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.001.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.001.Req.xml deleted file mode 100644 index bc998c406..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.001.Req.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - PKCS12RSAKey1 - - - - - - Gesundheitliche Auswirkungen elektronischer Signaturen - Ellipse - Kurvenreich - 1951-04-16 - Hinterm Berg - 6-930-21512-12 - - - - - - - - - - - - -

    Buch: -

    - - -
    -
    -
    - -
    - - text/html - http://www.description.com - -
    - -
    -
    - -
    -
    \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.003.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.003.Req.xml deleted file mode 100644 index cf06a6821..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.003.Req.xml +++ /dev/null @@ -1 +0,0 @@ -PKCS12RSAKey1Gesundheitliche Auswirkungen elektronischer SignaturenEllipseKurvenreich1951-04-16Hinterm Berg6-930-21512-12//data:book/data:first-nametext/plainhttp://www.description.com \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.004.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.004.Req.xml deleted file mode 100644 index c4384ef67..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.004.Req.xml +++ /dev/null @@ -1 +0,0 @@ -PKCS12RSAKey1Gesundheitliche Auswirkungen elektronischer SignaturenEllipseKurvenreich1951-04-16Hinterm Berg6-930-21512-12//data:book/data:first-nametext/xmlhttp://www.description.com \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.009.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.009.Req.xml deleted file mode 100644 index ddd39adda..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.009.Req.xml +++ /dev/null @@ -1 +0,0 @@ -PKCS12RSAKey1text/htmlhttp://www.description.comText//env:Document \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.011.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.011.Req.xml deleted file mode 100644 index ec05ecf6a..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.011.Req.xml +++ /dev/null @@ -1 +0,0 @@ -PKCS12RSAKey1Gesundheitliche Auswirkungen elektronischer SignaturenEllipseKurvenreich1951-04-16Hinterm Berg6-930-21512-12text/htmlhttp://www.description.com

    Buch:

    \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.001.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.001.Req.xml deleted file mode 100644 index 77aa7ac5f..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.001.Req.xml +++ /dev/null @@ -1 +0,0 @@ -PKCS12RSAKey1Dies sind Testdatentext/plainDies sind Testdaten//data:Document \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.004.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.004.Req.xml deleted file mode 100644 index 6644cebd0..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.004.Req.xml +++ /dev/null @@ -1 +0,0 @@ - UMLAUT Dies sind Testdaten text/plain Dies sind Testdaten //data:Document \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.006.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.006.Req.xml deleted file mode 100644 index 328c3196e..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.006.Req.xml +++ /dev/null @@ -1 +0,0 @@ -PKCS12RSAKey1Dies sind Testdatentext/plainDies sind TestdatenCreateSignatureEnvironmentProfile1 \ No newline at end of file diff --git a/spss.server/data/test/xml/CreateXMLSignature/invalid.xml b/spss.server/data/test/xml/CreateXMLSignature/invalid.xml deleted file mode 100644 index ea635b943..000000000 --- a/spss.server/data/test/xml/CreateXMLSignature/invalid.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - validKeyIdentifier(RSAinPKCS12) - some invalid element - - - - testdaten - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml b/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml deleted file mode 100644 index 9866113ea..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - 2001-12-17T09:30:47-05:00 - U3Zlbg== - - - text/plain - anyURI - - - U3Zlbg== - - - TrustProfile1 - - - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/Req001.xml b/spss.server/data/test/xml/VerifyCMSSignature/Req001.xml deleted file mode 100644 index 17c2b0879..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/Req001.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - 2001-12-17T09:30:47-05:00 - MIIF5QYJKoZIhvcNAQcCoIIF1jCCBdICAQExCzAJBgUrDgMCGgUAMCAGCSqGSIb3DQEHAaATBBFUaGlzIGlzIGEgbWVzc2FnZaCCA9swggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMxMjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYMKwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBiZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzWj8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQADgYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMjI1MTIzMzI1WjAjBgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAoTw/ezMjs4lYuIEWfx3YRHHbOuzgcVtNp97SaViu4GXCoGR6EetYT2ZhNNJq34BkUXV1DTSc1pPRZhkXy5WjpsXX96QDyBjvoev+0NLfdsogNTfVjlcOfBol3+btuwyNz/4KK/owRYsmxqaFKyA3PAgsq4fje2jyxiwtkZWa1eA== - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.001.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.001.Req.xml deleted file mode 100644 index 573677265..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.001.Req.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw -ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx -MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU -RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j -ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G -CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR -97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb -/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T -AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYM -KwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBi -ZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6 -Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzW -j8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQAD -gYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj -2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd -2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w -GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj -BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u -NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k -9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx -fY5lsQ35KJpqWw== - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.002.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.002.Req.xml deleted file mode 100644 index 9fdbbda30..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.002.Req.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIHPwYJKoZIhvcNAQcCoIIHMDCCBywCAQExGTAJBgUrDgMCGgUAMAwGCCqGSIb3DQIFBQAwCwYJ -KoZIhvcNAQcBoIID2zCCA9cwggNEoAMCAQICBgDzJH01OzAJBgUrDgMCHQUAMIGsMQswCQYDVQQG -EwJBVDEmMCQGA1UEChMdR1JBWiBVTklWRVJTSVRZIE9GIFRFQ0hOT0xPR1kxRzBFBgNVBAsTPklu -c2l0dXRlIGZvciBBcHBsaWVkIEluZm9ybWF0aW9uIFByb2Nlc3NpbmcgYW5kIENvbW11bmljYXRp -b25zMRUwEwYDVQQLEwxJQUlLIFRlc3QgQ0ExFTATBgNVBAMTDElBSUsgVGVzdCBDQTAeFw0wMzAy -MDMxNjIwNTVaFw0wMzEyMzAyMjU5MzBaMIGYMQswCQYDVQQGEwJBVDEmMCQGA1UEChMdR1JBWiBV -TklWRVJTSVRZIE9GIFRFQ0hOT0xPR1kxRzBFBgNVBAsTPkluc2l0dXRlIGZvciBBcHBsaWVkIElu -Zm9ybWF0aW9uIFByb2Nlc3NpbmcgYW5kIENvbW11bmljYXRpb25zMRgwFgYDVQQDFA9Jc29sZGUg -QvxyZ2VyaW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOd5tKp4Ojvc1SALidtj7PdV/qXX -YTIgPT9ELrDHsUPkBJH3uN5xBSE6FGd7rqAEBXfp+DFzOg+vLWXLRlOTuFuQKv2xIyOHnyB0tBE4 -c4DQMpqpk/WfSCBIapv9Y4UOEl01t98t1595cdug4k3gKX7bkAd/PGJVfkbPq08hfYkVAgMBAAGj -ggEcMIIBGDAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIGwDARBglghkgBhvhCAQEEBAMCBSAw -ZwYDVR0gBGAwXjBcBgwrBgEEAZUSAQJ7AQEwTDBKBggrBgEFBQcCAjA+GjxUaGlzIGNlcnRpZmlj -YXRlIG9ubHkgbWF5IGJlIHVzZWQgZm9yIGRlbW9uc3RyYXRpb24gcHVycG9zZXMwPAYDVR0fBDUw -MzAxoC+gLYYraHR0cDovL3d3dy5pYWlrLmF0L3Rlc3RDQS9pYWlrX3Rlc3Rfc2lnLmNybDAdBgNV -HQ4EFgQUKDrqCMUvDNaPw02ZCVLNJZzeQO0wHwYDVR0jBBgwFoAUTCCwVgIM94gKloilFLRRzDq1 -8r8wCQYFKw4DAh0FAAOBgQAmPNaPJs2/GArkzIHqZckpuZwJMY7L9U+Z/x889XC30gyWdB8jU1cf -xg7M2Pg8dvDHVvugy6PZ1j0hP+D/pPR1yXv8BMgL+ODq476cxhio6qHN1/L+K8zKOjAUTZbrtJt8 -taZLU1f6uGolg/52xl3a5/wKCgLzkgEN0Hul/nU/9TGCAx4wggG5AgEBMIG3MIGsMQswCQYDVQQG -EwJBVDEmMCQGA1UEChMdR1JBWiBVTklWRVJTSVRZIE9GIFRFQ0hOT0xPR1kxRzBFBgNVBAsTPklu -c2l0dXRlIGZvciBBcHBsaWVkIEluZm9ybWF0aW9uIFByb2Nlc3NpbmcgYW5kIENvbW11bmljYXRp -b25zMRUwEwYDVQQLEwxJQUlLIFRlc3QgQ0ExFTATBgNVBAMTDElBSUsgVGVzdCBDQQIGAPMkfTU7 -MAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0w -MzAzMTAxMjIwMTZaMCMGCSqGSIb3DQEJBDEWBBSyytIeh9vVfxoZKOQBO1b7VTu4KjANBgkqhkiG -9w0BAQEFAASBgAHmPi43ASoCWp73pCdYA33yTy7cty+u2WJXQZqd5JwdKEdYo6Uz1X4Sqv4h5TQ9 -IQ4dvqJq3kTcWJGBbST2WH1uslx1b1jGdRVsnVUogBHj4hxNUEGMDGAFi1Y+libGM/IUhbyu3WWi -yumkY9UMJBZBSd7BQfF9jmWxDfkommpbMIIBXQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNV -BAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3Ig -QXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UE -CxMMSUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAMBggqhkiG9w0C -BQUAMA0GCSqGSIb3DQEBAQUABIGAO/8oo+LJbhlUrsbfF/phaqu7MaMcxlBR8F2xsLbvs+YuZ42c -xFwAUN1lGwKY+GvDmB97XQQxnuMGjFDaaBSWmMhlkJ56u7x8lYQhmbD79kMJgOdMcNdJ6nMxf5ZW -yFMx3nKvQgDlF8ReKZsDvmd/vcMMvB+lVEEPkNpHtqGLBAQ= - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.003.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.003.Req.xml deleted file mode 100644 index c5b82a7f9..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.003.Req.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw -ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx -MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU -RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j -ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G -CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR -97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb -/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T -AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYM -KwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBi -ZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6 -Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzW -j8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQAD -gYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj -2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd -2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w -GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj -BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u -NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k -9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx -fY5lsQ35KJpqWw== - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.004.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.004.Req.xml deleted file mode 100644 index 318c99cb6..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.004.Req.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw -ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx -MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU -RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j -ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G -CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR -97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb -/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T -AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYM -KwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBi -ZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6 -Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzW -j8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQAD -gYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj -2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd -2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w -GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj -BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u -NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k -9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx -fY5lsQ35KJpqWw== - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.005.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.005.Req.xml deleted file mode 100644 index 573677265..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.005.Req.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw -ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx -MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU -RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j -ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G -CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR -97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb -/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T -AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYM -KwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBi -ZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6 -Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzW -j8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQAD -gYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj -2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd -2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w -GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj -BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u -NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k -9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx -fY5lsQ35KJpqWw== - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.006.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.006.Req.xml deleted file mode 100644 index b5dd80315..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.006.Req.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIF5QYJKoZIhvcNAQcCoIIF1jCCBdICAQExCzAJBgUrDgMCGgUAMCAGCSqGSIb3DQEHAaATBBFU -aGlzIGlzIGEgbWVzc2FnZaCCA9swggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDEL -MAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYD -VQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21t -dW5pY2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0Ew -HhcNMDMwMjAzMTYyMDU1WhcNMDMxMjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQP -SXNvbGRlIEL8cmdlcmluMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nb -Y+z3Vf6l12EyID0/RC6wx7FD5ASR97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMj -h58gdLQROHOA0DKaqZP1n0ggSGqb/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2J -FQIDAQABo4IBHDCCARgwDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEB -BAQDAgUgMGcGA1UdIARgMF4wXAYMKwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBj -ZXJ0aWZpY2F0ZSBvbmx5IG1heSBiZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwG -A1UdHwQ1MDMwMaAvoC2GK2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5j -cmwwHQYDVR0OBBYEFCg66gjFLwzWj8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaI -pRS0Ucw6tfK/MAkGBSsOAwIdBQADgYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IM -lnQfI1NXH8YOzNj4PHbwx1b7oMuj2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjow -FE2W67SbfLWmS1NX+rhqJYP+dsZd2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDEL -MAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYD -VQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21t -dW5pY2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EC -BgDzJH01OzAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0B -CQUxDxcNMDMwMzEwMTIyMDE2WjAjBgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCow -DQYJKoZIhvcNAQEBBQAEgYAB5j4uNwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+ -Eqr+IeU0PSEOHb6iat5E3FiRgW0k9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPy -FIW8rt1losrppGPVDCQWQUnewUHxfY5lsQ35KJpqWw== - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.007.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.007.Req.xml deleted file mode 100644 index 3f00c5901..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.007.Req.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw -ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx -MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU -RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j -ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G -CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR -97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb -/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T -AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYM -KwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBi -ZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6 -Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzW -j8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQAD -gYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj -2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd -2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w -GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj -BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u -NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k -9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx -fY5lsQ35KJpqWw== - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.008.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.008.Req.xml deleted file mode 100644 index a51a7ff09..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.008.Req.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw -ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx -MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU -RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j -ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G -CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR -97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb -/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T -AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYM -KwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBi -ZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6 -Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzW -j8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQAD -gYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj -2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd -2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w -GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj -BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u -NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k -9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx -fY5lsQ35KJpqWw== - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.009.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.009.Req.xml deleted file mode 100644 index b3155112a..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.009.Req.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw -ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx -MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU -RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j -ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G -CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR -97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb -/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T -AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYM -KwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBi -ZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6 -Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzW -j8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQAD -gYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj -2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd -2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w -GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj -BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u -NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k -9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx -fY5lsQ35KJpqWw== - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.010.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.010.Req.xml deleted file mode 100644 index 9b33e1139..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.010.Req.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - 2003-04-04T09:30:47-05:00 - MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw -ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx -MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU -RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j -ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G -CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR -97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb -/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T -AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYM -KwYBBAGVEgECewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBi -ZSB1c2VkIGZvciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6 -Ly93d3cuaWFpay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzW -j8NNmQlSzSWc3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQAD -gYEAJjzWjybNvxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj -2dY9IT/g/6T0dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd -2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT -HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw -bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM -SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w -GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj -BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u -NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k -9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx -fY5lsQ35KJpqWw== - - - text/plain - http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt - - - - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.011.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.011.Req.xml deleted file mode 100644 index 7b86a7b5e..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.011.Req.xml +++ /dev/null @@ -1,49 +0,0 @@ - 2003-04-04T09:30:47-05:00 MIII2AIBATELMAkGBSsOAwIaBQAwggECBgkqhkiG9w0BBwGggfQEgfE8c2wxMDpJ -bmZvYm94UmVhZFJlcXVlc3QgeG1sbnM6c2wxMD0naHR0cDovL3d3dy5idWVyZ2Vy -a2FydGUuYXQvbmFtZXNwYWNlcy9zZWN1cml0eWxheWVyLzIwMDIwMjI1Iyc+PHNs -MTA6SW5mb2JveElkZW50aWZpZXI+SWRlbnRpdHlMaW5rPC9zbDEwOkluZm9ib3hJ -ZGVudGlmaWVyPjxzbDEwOkJpbmFyeUZpbGVQYXJhbWV0ZXJzIENvbnRlbnRJc1hN -TEVudGl0eT0ndHJ1ZScvPjwvc2wxMDpJbmZvYm94UmVhZFJlcXVlc3Q+oIIFKTCC -BSUwggQNoAMCAQICAhk3MA0GCSqGSIb3DQEBBQUAMIGhMQswCQYDVQQGEwJBVDFI -MEYGA1UEChM/QS1UcnVzdCBHZXMuIGYuIFNpY2hlcmhlaXRzc3lzdGVtZSBpbSBl -bGVrdHIuIERhdGVudmVya2VociBHbWJIMSMwIQYDVQQLExphLXNpZ24tVEVTVC1Q -cmVtaXVtLUVuYy0wMTEjMCEGA1UEAxMaYS1zaWduLVRFU1QtUHJlbWl1bS1FbmMt -MDEwHhcNMDMwMjEwMTMyMDU4WhcNMDYwMjEwMTMyMDU4WjBqMQswCQYDVQQGEwJB -VDEcMBoGA1UEAxMTVGVzdHBlcnNvbiBNT0E0IEJSWjEMMAoGA1UEBBMDQlJaMRgw -FgYDVQQqEw9UZXN0cGVyc29uIE1PQTQxFTATBgNVBAUTDDc5MDE4NzQ2MTYzMzCB -nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0v1Ftf7WXgoexx0Jo/GrlExHOHnQ -IEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EMA6P18Z/YyTIuP7fN -GzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7af2da -YYuO8dycQw3xg6UCAwEAAaOCAh8wggIbMBMGA1UdIwQMMAqACEuzgMNxkzzYMCcG -CCsGAQUFBwEDAQH/BBgwFjAIBgYEAI5GAQEwCgYIKwYBBQUHCwEwgYIGCCsGAQUF -BwEBBHYwdDApBggrBgEFBQcwAYYdaHR0cDovL3d3dy5hLXRydXN0LmF0OjgyL29j -c3AwRwYIKwYBBQUHMAKGO2h0dHA6Ly93d3cuYS10cnVzdC5hdC9jZXJ0cy9hLXNp -Z24tVEVTVC1QcmVtaXVtLVNpZy0wMWEuY3J0MIGUBgNVHSAEgYwwgYkwfQYGKigA -EQEEMHMwNQYIKwYBBQUHAgEWKWh0dHA6Ly93d3cuYS10cnVzdC5hdC9kb2NzL2Nw -L2Etc2lnbi1URVNUMDoGCCsGAQUFBwICMC4aLERpZXNlcyBaZXJ0aWZpa2F0IGRp -ZW50IG51ciB6dSBUZXN0endlY2tlbiAhMAgGBgQAizABATBvBgNVHR8EaDBmMGSg -YqBghl5sZGFwOi8vbGRhcC5hLXRydXN0LmF0L291PWEtc2lnbi1URVNULVByZW1p -dW0tRW5jLTAxLG89QS1UcnVzdCxjPUFUP2NlcnRpZmljYXRlcmV2b2NhdGlvbmxp -c3Q/MBEGA1UdDgQKBAhOA8S/ZMuDPjAOBgNVHQ8BAf8EBAMCBsAwIAYDVR0RBBkw -F4EVdGVzdHBlcnNvbjRAYnJ6Lmd2LmF0MAkGA1UdEwQCMAAwDQYJKoZIhvcNAQEF -BQADggEBAIqFb7GTfjZ0MVzExnYyr3kwTEU2Mx35ZEgvJSPV15bT+fpoyLqAdk5+ -r6KLwPHV8/Y07J0LfH/MntAi9m0kvVFQ9Y7/EqN22r6rlvh5ZGQQGby9/QDzSz41 -FJ1p9EDp60ACeluO1MBgFIBMNynAXCWhGuF2//JFI+tfMRs1pel9JirFacZK3/uQ -o/p5sA6goZZdPP/dDJoUmODORa75kPRowDeRR1bJNBT6dNrSgkc6ASbc6QdQ1ih5 -YIgx1AF8uXg9FyOz13mzzWeCJ72P4wvyB/D0S3SU9uPWEJlMWeJ3k7RQ72/AtUIe -pO9uX4d4Vcal/GcMFo/fohkFZOdytwgxggKRMIICjQIBATCBqDCBoTELMAkGA1UE -BhMCQVQxSDBGBgNVBAoTP0EtVHJ1c3QgR2VzLiBmLiBTaWNoZXJoZWl0c3N5c3Rl -bWUgaW0gZWxla3RyLiBEYXRlbnZlcmtlaHIgR21iSDEjMCEGA1UECxMaYS1zaWdu -LVRFU1QtUHJlbWl1bS1FbmMtMDExIzAhBgNVBAMTGmEtc2lnbi1URVNULVByZW1p -dW0tRW5jLTAxAgIZNzAJBgUrDgMCGgUAoIIBPjAjBgkqhkiG9w0BCQQxFgQU7Cdd -FuGLuHFvEIPT80IThplXPXowNAYLKoZIhvcNAQkQAgQxJTAjDBZ0ZXh0L3htbDtj -aGFyc2V0PVVURi04BgkqhkiG9w0BBwEwgeAGCyqGSIb3DQEJEAITMYHQMIHNMIHK -MIHHBBQWuG7WjiYviBAd0lxTTFID+HgI4TCBrjCBp6SBpDCBoTELMAkGA1UEBhMC -QVQxSDBGBgNVBAoTP0EtVHJ1c3QgR2VzLiBmLiBTaWNoZXJoZWl0c3N5c3RlbWUg -aW0gZWxla3RyLiBEYXRlbnZlcmtlaHIgR21iSDEjMCEGA1UECxMaYS1zaWduLVRF -U1QtUHJlbWl1bS1FbmMtMDExIzAhBgNVBAMTGmEtc2lnbi1URVNULVByZW1pdW0t -RW5jLTAxAgIZNzANBgkqhkiG9w0BAQEFAASBgJCZ0BwFdXjChqrS8cHWJcqfe+up -x4VVNV1YOJil/KWMuBCn3DHQsbBFJFrmGUUJGenBbre5L86brr43NwvndrtyyRrw -vG4/QWmYIxowXKuRlqGDCOmTaC6ddrjyVxQ54yal+XhlrWfc6kcdb6NK6dt6X7wR - - TrustProfile1 \ No newline at end of file diff --git a/spss.server/data/test/xml/VerifyXMLSignature/Req000.xml b/spss.server/data/test/xml/VerifyXMLSignature/Req000.xml deleted file mode 100644 index 2ed8acff9..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/Req000.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - 2002-12-01T09:30:47-05:00 - - - - - - - - - - U3Zlbg== - - - U3Zlbg== - - - - //dsig:Signature - - - TrustProfile1 - - - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/Req001.xml b/spss.server/data/test/xml/VerifyXMLSignature/Req001.xml deleted file mode 100644 index 7cb71f6d2..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/Req001.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - 2002-12-01T09:30:47-05:00 - - - - - - - - - - U3Zlbg== - - - U3Zlbg== - - - - anValidXPathExpression - - - - - text/plain - aValidURI - - - U3Zlbg== - - - - aValidSupplementProfileID - aValidTrustProfileID - - - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml b/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml deleted file mode 100644 index a834f1225..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - 2002-12-01T09:30:47-05:00 - - - - - - - - - - U3Zlbg== - - - U3Zlbg== - - - - anValidXPathExpression - - - - - - - - - - - PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8dGVzdD48L3Rlc3Q+ - - - validID - - - aValidTrustProfileID - - - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.001.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.001.Req.xml deleted file mode 100644 index 22db26930..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.001.Req.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - 2003-03-25T14:22:59+01:00 - - - WVob54034HfToUBDAErL5z6GFxo=30H2FC1IKju7ebEsN2YMWem/ZUgrjLFAt7U5mJoUAFtXjufa1bNb5E6pWg1ysQIe -OYAr1Mo73sbh+7/G40Nd6GX428yZqdihfqBnyU/lWI7RqnQZragMQnGNr4zONhBc -cWYbxSux1CzoLQW2v8Usv7myQzV8RFiOkMLNaeuzH2w=MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow -gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg -VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT -+LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/BfwEstfXs/xf6z4IF2KO -mmRMDI1z8SE1701SFTUoYd9ZB8KUtyp6dFd4cIujO84DME+6RAZxtsGWLwIDAQAB -o4GhMIGeMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMDgGA1Ud -HwQxMC8wLaAroCmGJ2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0LWNhL3Rlc3RQQ0Eu -Y3JsbDAdBgNVHQ4EFgQUTCCwVgIM94gKloilFLRRzDq18r8wHwYDVR0jBBgwFoAU -TCCwVgIM94gKloilFLRRzDq18r8wCQYFKw4DAh0FAAOBgQCCx6VPjmUdeqGctQTh -Sg2dEYdlal/X5k523nQ54SsoX2shIQK/8zJOGzQdMjebupIK+tPiZ7SJzsAaMUi4 -Hgqq3j1FK+KxLiqtt35twofVYOu15Zj0XIu8EMzvE05yntlPjtGbp9ll8dwMvabP -+jWhCXAn6w2c2xdphL8nokSNLA==MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1 - //dsig:Signature - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.002.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.002.Req.xml deleted file mode 100644 index 97db01c26..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.002.Req.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - O3POtgZXrGmw+2btYrduSvptSdo=uBvOjC5KqIE1kJlrmm6BarlFxN5Hw8CIOQirPNQaFhasC8CoRtV6I8nC3ukIfbGv -ZgrB8pAomCB7iRx26ofjKyl853IsJEd8Vba5dDopFMRkgUs5F6p9VWc/P4mtmG2T -PhRggb9/vc385obikEPop1MqlgyPFojyiZrLxeRRtrQ=MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow -gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg -VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT -+LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/BfwEstfXs/xf6z4IF2KO -mmRMDI1z8SE1701SFTUoYd9ZB8KUtyp6dFd4cIujO84DME+6RAZxtsGWLwIDAQAB -o4GhMIGeMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMDgGA1Ud -HwQxMC8wLaAroCmGJ2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0LWNhL3Rlc3RQQ0Eu -Y3JsbDAdBgNVHQ4EFgQUTCCwVgIM94gKloilFLRRzDq18r8wHwYDVR0jBBgwFoAU -TCCwVgIM94gKloilFLRRzDq18r8wCQYFKw4DAh0FAAOBgQCCx6VPjmUdeqGctQTh -Sg2dEYdlal/X5k523nQ54SsoX2shIQK/8zJOGzQdMjebupIK+tPiZ7SJzsAaMUi4 -Hgqq3j1FK+KxLiqtt35twofVYOu15Zj0XIu8EMzvE05yntlPjtGbp9ll8dwMvabP -+jWhCXAn6w2c2xdphL8nokSNLA==MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1 - //dsig:Signature - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.003.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.003.Req.xml deleted file mode 100644 index 191de2ccd..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.003.Req.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - 2003-03-11T18:14:19+01:00 - - - O3POtgZXrGmw+2btYrduSvptSdo=uBvOjC5KqIE1kJlrmm6BarlFxN5Hw8CIOQirPNQaFhasC8CoRtV6I8nC3ukIfbGv -ZgrB8pAomCB7iRx26ofjKyl853IsJEd8Vba5dDopFMRkgUs5F6p9VWc/P4mtmG2T -PhRggb9/vc385obikEPop1MqlgyPFojyiZrLxeRRtrQ=MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow -gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg -VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT -+LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/BfwEstfXs/xf6z4IF2KO -mmRMDI1z8SE1701SFTUoYd9ZB8KUtyp6dFd4cIujO84DME+6RAZxtsGWLwIDAQAB -o4GhMIGeMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMDgGA1Ud -HwQxMC8wLaAroCmGJ2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0LWNhL3Rlc3RQQ0Eu -Y3JsbDAdBgNVHQ4EFgQUTCCwVgIM94gKloilFLRRzDq18r8wHwYDVR0jBBgwFoAU -TCCwVgIM94gKloilFLRRzDq18r8wCQYFKw4DAh0FAAOBgQCCx6VPjmUdeqGctQTh -Sg2dEYdlal/X5k523nQ54SsoX2shIQK/8zJOGzQdMjebupIK+tPiZ7SJzsAaMUi4 -Hgqq3j1FK+KxLiqtt35twofVYOu15Zj0XIu8EMzvE05yntlPjtGbp9ll8dwMvabP -+jWhCXAn6w2c2xdphL8nokSNLA==MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1 - //dsig:Signature - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.004.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.004.Req.xml deleted file mode 100644 index 508da73b8..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.004.Req.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - 2003-03-12T18:14:19+01:00 - - - O3POtgZXrGmw+2btYrduSvptSdo=uBvOjC5KqIE1kJlrmm6BarlFxN5Hw8CIOQirPNQaFhasC8CoRtV6I8nC3ukIfbGv -ZgrB8pAomCB7iRx26ofjKyl853IsJEd8Vba5dDopFMRkgUs5F6p9VWc/P4mtmG2T -PhRggb9/vc385obikEPop1MqlgyPFojyiZrLxeRRtrQ=MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow -gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg -VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT -+LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/BfwEstfXs/xf6z4IF2KO -mmRMDI1z8SE1701SFTUoYd9ZB8KUtyp6dFd4cIujO84DME+6RAZxtsGWLwIDAQAB -o4GhMIGeMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMDgGA1Ud -HwQxMC8wLaAroCmGJ2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0LWNhL3Rlc3RQQ0Eu -Y3JsbDAdBgNVHQ4EFgQUTCCwVgIM94gKloilFLRRzDq18r8wHwYDVR0jBBgwFoAU -TCCwVgIM94gKloilFLRRzDq18r8wCQYFKw4DAh0FAAOBgQCCx6VPjmUdeqGctQTh -Sg2dEYdlal/X5k523nQ54SsoX2shIQK/8zJOGzQdMjebupIK+tPiZ7SJzsAaMUi4 -Hgqq3j1FK+KxLiqtt35twofVYOu15Zj0XIu8EMzvE05yntlPjtGbp9ll8dwMvabP -+jWhCXAn6w2c2xdphL8nokSNLA==MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1 - //dsig:Signature - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.005.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.005.Req.xml deleted file mode 100644 index 2af2a0a95..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.005.Req.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - 2003-04-30T13:54:24+01:00 - - - - //dsig:Signature - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.007.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.007.Req.xml deleted file mode 100644 index 1b5d43ac8..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.007.Req.xml +++ /dev/null @@ -1,85 +0,0 @@ -DQo8ZGF0YTpEb2N1bWVudCBJZD0ibXlEb2N1bWVudCIgeG1sbnM6ZGF0YT0iaHR0 -cDovL3VyaS5kYXRhLm9yZyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8y -MDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRw -Oi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIGh0dHA6Ly93d3cudzMub3Jn -L1RSL3htbGRzaWctY29yZS94bWxkc2lnLWNvcmUtc2NoZW1hLnhzZCI+PGRzaWc6 -U2lnbmF0dXJlIHhtbG5zOmRzaWc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkv -eG1sZHNpZyMiPjxkc2lnOlNpZ25lZEluZm8+PGRzaWc6Q2Fub25pY2FsaXphdGlv -bk1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnL1RSLzIwMDEvUkVD -LXhtbC1jMTRuLTIwMDEwMzE1Ii8+PGRzaWc6U2lnbmF0dXJlTWV0aG9kIEFsZ29y -aXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI3JzYS1zaGEx -Ii8+PGRzaWc6UmVmZXJlbmNlIFVSST0iI215RG9jdW1lbnQiPjxkc2lnOlRyYW5z -Zm9ybXM+PGRzaWc6VHJhbnNmb3JtIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5v -cmcvMjAwMC8wOS94bWxkc2lnI2VudmVsb3BlZC1zaWduYXR1cmUiLz48L2RzaWc6 -VHJhbnNmb3Jtcz48ZHNpZzpEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8v -d3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjc2hhMSIvPjxkc2lnOkRpZ2VzdFZh -bHVlPmszRlY0N1VZVnlacSszaVZ4VmN2dEhtYzhwZz08L2RzaWc6RGlnZXN0VmFs -dWU+PC9kc2lnOlJlZmVyZW5jZT48L2RzaWc6U2lnbmVkSW5mbz48ZHNpZzpTaWdu -YXR1cmVWYWx1ZT5KekxRZXJwOCtPaDdTanByci9ISTVoYXNXOG9iNUNwcy9kK1Y1 -bFJ0T25xd0dlSDU5VlRwNWl1SndpNU0xdGt3DQpCbUJkV0I0a1doaXRpVTBWVmZ2 -aWhHUlV1ajMxL2ZVemxoWXhlUU1HVE0rdHkvUHNXclRaQ0ZHNTFVUGdKcU1CDQpz -am5MbEFuYkl5RFpiSkVzRG1TdTZxbjV0S3ZOdnpyRjBYSnQxSDBUMUNrPTwvZHNp -ZzpTaWduYXR1cmVWYWx1ZT48ZHNpZzpLZXlJbmZvPjxkc2lnOlg1MDlEYXRhPjxk -c2lnOlg1MDlDZXJ0aWZpY2F0ZT5NSUlEYnpDQ0F0eWdBd0lCQWdJR0FQTWtBNFpz -TUFrR0JTc09Bd0lkQlFBd2dhd3hDekFKQmdOVkJBWVRBa0ZVDQpNU1l3SkFZRFZR -UUtFeDFIVWtGYUlGVk9TVlpGVWxOSlZGa2dUMFlnVkVWRFNFNVBURTlIV1RGSE1F -VUdBMVVFDQpDeE0rU1c1emFYUjFkR1VnWm05eUlFRndjR3hwWldRZ1NXNW1iM0p0 -WVhScGIyNGdVSEp2WTJWemMybHVaeUJoDQpibVFnUTI5dGJYVnVhV05oZEdsdmJu -TXhGVEFUQmdOVkJBc1RERWxCU1VzZ1ZHVnpkQ0JEUVRFVk1CTUdBMVVFDQpBeE1N -U1VGSlN5QlVaWE4wSUVOQk1CNFhEVEF6TURJd016RTBNRGMwTlZvWERUQXpNVEl6 -TURJeU5Ua3pNRm93DQpnYXd4Q3pBSkJnTlZCQVlUQWtGVU1TWXdKQVlEVlFRS0V4 -MUhVa0ZhSUZWT1NWWkZVbE5KVkZrZ1QwWWdWRVZEDQpTRTVQVEU5SFdURkhNRVVH -QTFVRUN4TStTVzV6YVhSMWRHVWdabTl5SUVGd2NHeHBaV1FnU1c1bWIzSnRZWFJw -DQpiMjRnVUhKdlkyVnpjMmx1WnlCaGJtUWdRMjl0YlhWdWFXTmhkR2x2Ym5NeEZU -QVRCZ05WQkFzVERFbEJTVXNnDQpWR1Z6ZENCRFFURVZNQk1HQTFVRUF4TU1TVUZK -U3lCVVpYTjBJRU5CTUlHZk1BMEdDU3FHU0liM0RRRUJBUVVBDQpBNEdOQURDQmlR -S0JnUUNVV0tsNnV5Ui9pc3R5MkRMVmRCengwNzRxT2ZKK09QOEo2UFZpOUdYNTI3 -dTBUVFdUDQorTExMOGJnWUN3UE9GUVNycHFTbWIyd09keFd3WVFmaGF0S3Z6dlV3 -NFViL0Jmd0VzdGZYcy94ZjZ6NElGMktPDQptbVJNREkxejhTRTE3MDFTRlRVb1lk -OVpCOEtVdHlwNmRGZDRjSXVqTzg0RE1FKzZSQVp4dHNHV0x3SURBUUFCDQpvNEdo -TUlHZU1CSUdBMVVkRXdFQi93UUlNQVlCQWY4Q0FRQXdEZ1lEVlIwUEFRSC9CQVFE -QWdIR01EZ0dBMVVkDQpId1F4TUM4d0xhQXJvQ21HSjJoMGRIQTZMeTkzZDNjdWFX -RnBheTVoZEM5MFpYTjBMV05oTDNSbGMzUlFRMEV1DQpZM0pzYkRBZEJnTlZIUTRF -RmdRVVRDQ3dWZ0lNOTRnS2xvaWxGTFJSekRxMThyOHdId1lEVlIwakJCZ3dGb0FV -DQpUQ0N3VmdJTTk0Z0tsb2lsRkxSUnpEcTE4cjh3Q1FZRkt3NERBaDBGQUFPQmdR -Q0N4NlZQam1VZGVxR2N0UVRoDQpTZzJkRVlkbGFsL1g1azUyM25RNTRTc29YMnNo -SVFLLzh6Sk9HelFkTWplYnVwSUsrdFBpWjdTSnpzQWFNVWk0DQpIZ3FxM2oxRksr -S3hMaXF0dDM1dHdvZlZZT3UxNVpqMFhJdThFTXp2RTA1eW50bFBqdEdicDlsbDhk -d012YWJQDQoraldoQ1hBbjZ3MmMyeGRwaEw4bm9rU05MQT09PC9kc2lnOlg1MDlD -ZXJ0aWZpY2F0ZT48ZHNpZzpYNTA5Q2VydGlmaWNhdGU+TUlJRDF6Q0NBMFNnQXdJ -QkFnSUdBUE1rZlRVN01Ba0dCU3NPQXdJZEJRQXdnYXd4Q3pBSkJnTlZCQVlUQWtG -VQ0KTVNZd0pBWURWUVFLRXgxSFVrRmFJRlZPU1ZaRlVsTkpWRmtnVDBZZ1ZFVkRT -RTVQVEU5SFdURkhNRVVHQTFVRQ0KQ3hNK1NXNXphWFIxZEdVZ1ptOXlJRUZ3Y0d4 -cFpXUWdTVzVtYjNKdFlYUnBiMjRnVUhKdlkyVnpjMmx1WnlCaA0KYm1RZ1EyOXRi -WFZ1YVdOaGRHbHZibk14RlRBVEJnTlZCQXNUREVsQlNVc2dWR1Z6ZENCRFFURVZN -Qk1HQTFVRQ0KQXhNTVNVRkpTeUJVWlhOMElFTkJNQjRYRFRBek1ESXdNekUyTWpB -MU5Wb1hEVEF6TVRJek1ESXlOVGt6TUZvdw0KZ1pneEN6QUpCZ05WQkFZVEFrRlVN -U1l3SkFZRFZRUUtFeDFIVWtGYUlGVk9TVlpGVWxOSlZGa2dUMFlnVkVWRA0KU0U1 -UFRFOUhXVEZITUVVR0ExVUVDeE0rU1c1emFYUjFkR1VnWm05eUlFRndjR3hwWldR -Z1NXNW1iM0p0WVhScA0KYjI0Z1VISnZZMlZ6YzJsdVp5QmhibVFnUTI5dGJYVnVh -V05oZEdsdmJuTXhHREFXQmdOVkJBTVVEMGx6YjJ4aw0KWlNCQy9ISm5aWEpwYmpD -Qm56QU5CZ2txaGtpRzl3MEJBUUVGQUFPQmpRQXdnWWtDZ1lFQTUzbTBxbmc2Tzl6 -Vg0KSUF1SjIyUHM5MVgrcGRkaE1pQTlQMFF1c01leFErUUVrZmU0M25FRklUb1Va -M3V1b0FRRmQrbjRNWE02RDY4dA0KWmN0R1U1TzRXNUFxL2JFakk0ZWZJSFMwRVRo -emdOQXltcW1UOVo5SUlFaHFtLzFqaFE0U1hUVzMzeTNYbjNseA0KMjZEaVRlQXBm -dHVRQjM4OFlsVitScytyVHlGOWlSVUNBd0VBQWFPQ0FSd3dnZ0VZTUF3R0ExVWRF -d0VCL3dRQw0KTUFBd0RnWURWUjBQQVFIL0JBUURBZ2JBTUJFR0NXQ0dTQUdHK0VJ -QkFRUUVBd0lGSURCbkJnTlZIU0FFWURCZQ0KTUZ3R0RDc0dBUVFCbFJJQkFuc0JB -VEJNTUVvR0NDc0dBUVVGQndJQ01ENGFQRlJvYVhNZ1kyVnlkR2xtYVdOaA0KZEdV -Z2IyNXNlU0J0WVhrZ1ltVWdkWE5sWkNCbWIzSWdaR1Z0YjI1emRISmhkR2x2YmlC -d2RYSndiM05sY3pBOA0KQmdOVkhSOEVOVEF6TURHZ0w2QXRoaXRvZEhSd09pOHZk -M2QzTG1saGFXc3VZWFF2ZEdWemRFTkJMMmxoYVd0Zg0KZEdWemRGOXphV2N1WTNK -c01CMEdBMVVkRGdRV0JCUW9PdW9JeFM4TTFvL0RUWmtKVXMwbG5ONUE3VEFmQmdO -Vg0KSFNNRUdEQVdnQlJNSUxCV0FnejNpQXFXaUtVVXRGSE1Pclh5dnpBSkJnVXJE -Z01DSFFVQUE0R0JBQ1k4MW84bQ0KemI4WUN1VE1nZXBseVNtNW5Ba3hqc3YxVDVu -L0h6ejFjTGZTREpaMEh5TlRWeC9HRHN6WStEeDI4TWRXKzZETA0KbzluV1BTRS80 -UCtrOUhYSmUvd0V5QXY0NE9yanZwekdHS2pxb2MzWDh2NHJ6TW82TUJSTmx1dTBt -M3kxcGt0VA0KVi9xNGFpV0QvbmJHWGRybi9Bb0tBdk9TQVEzUWU2WCtkVC8xPC9k -c2lnOlg1MDlDZXJ0aWZpY2F0ZT48L2RzaWc6WDUwOURhdGE+PC9kc2lnOktleUlu -Zm8+PC9kc2lnOlNpZ25hdHVyZT4NCmRhdGVuDQo8L2RhdGE6RG9jdW1lbnQ+//dsig:Signature - - PCFFTEVNRU5UIGRhdGE6RG9jdW1lbnQgQU5ZPjwhQVRUTElTVCBkYXRhOkRvY3Vt -ZW50IElkIElEICNSRVFVSVJFRD4NCg== - - -TrustProfile1 \ No newline at end of file diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.106.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.106.Req.xml deleted file mode 100644 index 8ca984b7c..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.106.Req.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - 2003-03-17T10:01:13+01:00 - - - O3POtgZXrGmw+2btYrduSvptSdo=uBvOjC5KqIE1kJlrmm6BarlFxN5Hw8CIOQirPNQaFhasC8CoRtV6I8nC3ukIfbGv -ZgrB8pAomCB7iRx26ofjKyl853IsJEd8Vba5dDopFMRkgUs5F6p9VWc/P4mtmG2T -PhRggb9/vc385obikEPop1MqlgyPFojyiZrLxeRRtrQ=MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow -gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg -VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT -+LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/BfwEstfXs/xf6z4IF2KO -mmRMDI1z8SE1701SFTUoYd9ZB8KUtyp6dFd4cIujO84DME+6RAZxtsGWLwIDAQAB -o4GhMIGeMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMDgGA1Ud -HwQxMC8wLaAroCmGJ2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0LWNhL3Rlc3RQQ0Eu -Y3JsbDAdBgNVHQ4EFgQUTCCwVgIM94gKloilFLRRzDq18r8wHwYDVR0jBBgwFoAU -TCCwVgIM94gKloilFLRRzDq18r8wCQYFKw4DAh0FAAOBgQCCx6VPjmUdeqGctQTh -Sg2dEYdlal/X5k523nQ54SsoX2shIQK/8zJOGzQdMjebupIK+tPiZ7SJzsAaMUi4 -Hgqq3j1FK+KxLiqtt35twofVYOu15Zj0XIu8EMzvE05yntlPjtGbp9ll8dwMvabP -+jWhCXAn6w2c2xdphL8nokSNLA==MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1 - //dsig:Signature - -SupplementProfile1SupplementProfile2 TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.201.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.201.Req.xml deleted file mode 100644 index 1e6780cb8..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.201.Req.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - 2003-04-01T12:53:57+01:00 - - - gJhOZajRF42VUda+ZBhWNdljSLc=cJybGx+5JVkh1WYQr90ozzlcSSA=dP0FIjMdub6Q9Km7VnqgYGbptbk=jwi/XtAABYZ0AYo+svauDOiLUcjgNccEsU72VudeAi1CV3bjfhF0q3UMirgRR0DF -Vk//dX4/EeAI8yNaJ6PuoSx8o6bcFQXic3S/MMesVcFxoCN7uP8Al1u00Jvf6SlD -wEDtPaGkMIB8+RCqWy+aXk3ROWxidmLC//Ka5F2beFY=MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow -gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg -VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT -+LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/BfwEstfXs/xf6z4IF2KO -mmRMDI1z8SE1701SFTUoYd9ZB8KUtyp6dFd4cIujO84DME+6RAZxtsGWLwIDAQAB -o4GhMIGeMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMDgGA1Ud -HwQxMC8wLaAroCmGJ2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0LWNhL3Rlc3RQQ0Eu -Y3JsbDAdBgNVHQ4EFgQUTCCwVgIM94gKloilFLRRzDq18r8wHwYDVR0jBBgwFoAU -TCCwVgIM94gKloilFLRRzDq18r8wCQYFKw4DAh0FAAOBgQCCx6VPjmUdeqGctQTh -Sg2dEYdlal/X5k523nQ54SsoX2shIQK/8zJOGzQdMjebupIK+tPiZ7SJzsAaMUi4 -Hgqq3j1FK+KxLiqtt35twofVYOu15Zj0XIu8EMzvE05yntlPjtGbp9ll8dwMvabP -+jWhCXAn6w2c2xdphL8nokSNLA==MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1nFsrjFH4fx13UtHEeaiuNAew5aA=2003-04-01T12:53:57+01:00dL59VDpBsujcngd207z0ohPl1/U=CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1044289238331text/html - //dsig:Signature - - -PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHNsOnN0eWxl -c2hlZXQgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFu -c2Zvcm0iIHZlcnNpb249IjEuMCI+PHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIi8+ -PHhzbDp0ZW1wbGF0ZSBtYXRjaD0iZGF0YTpib29rIiB4bWxuczpkYXRhPSJodHRw -Oi8vdXJpLmRhdGEub3JnIj48SFRNTD48Qk9EWT48SDE+QnVjaDogPHhzbDp2YWx1 -ZS1vZiBzZWxlY3Q9ImRhdGE6dGl0bGUiLz48L0gxPjwvQk9EWT48L0hUTUw+PC94 -c2w6dGVtcGxhdGU+PC94c2w6c3R5bGVzaGVldD4= TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.203.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.203.Req.xml deleted file mode 100644 index d55428293..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.203.Req.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 2003-03-18T11:19:32+01:00 - - - - -gJhOZajRF42VUda+ZBhWNdljSLc=ZBo95yK3oQncxbbDgd1cZMliD/I=4cI+eWoq8xiz5HtRSmeVEwLOJ3c=pAdOJTnU28mlWj1g7ijp2WWW0k0W4A0dSF2WEam/nn+fjlmsnfqMnPRqQk1h8tDs -/ONxffgpbeO7SVnKwLXTUUcg+qVZbuG73PGWPapFrJd3OA8KbZAZO2U05+gAQueS -xNp5pFulWmb8NSzi7vUCKlIJ5pquYTdGlltEpDoxZ98=MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow -gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg -VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT -+LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/BfwEstfXs/xf6z4IF2KO -mmRMDI1z8SE1701SFTUoYd9ZB8KUtyp6dFd4cIujO84DME+6RAZxtsGWLwIDAQAB -o4GhMIGeMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMDgGA1Ud -HwQxMC8wLaAroCmGJ2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0LWNhL3Rlc3RQQ0Eu -Y3JsbDAdBgNVHQ4EFgQUTCCwVgIM94gKloilFLRRzDq18r8wHwYDVR0jBBgwFoAU -TCCwVgIM94gKloilFLRRzDq18r8wCQYFKw4DAh0FAAOBgQCCx6VPjmUdeqGctQTh -Sg2dEYdlal/X5k523nQ54SsoX2shIQK/8zJOGzQdMjebupIK+tPiZ7SJzsAaMUi4 -Hgqq3j1FK+KxLiqtt35twofVYOu15Zj0XIu8EMzvE05yntlPjtGbp9ll8dwMvabP -+jWhCXAn6w2c2xdphL8nokSNLA==MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1cnqPpPuFKVuCtePNvRdIBJNPHh4=2003-03-18T11:19:32+01:00dL59VDpBsujcngd207z0ohPl1/U=CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1044289238331text/html - //dsig:Signature - - - - -PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjx4c2w6c3R5 -bGVzaGVldCB4bWxuczp4c2w9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvWFNML1Ry -YW5zZm9ybSIgdmVyc2lvbj0iMS4wIj4NCgk8eHNsOm91dHB1dCBtZXRob2Q9Imh0 -bWwiLz4NCgk8eHNsOnRlbXBsYXRlIG1hdGNoPSJkYXRhOmJvb2siIHhtbG5zOmRh -dGE9Imh0dHA6Ly91cmkuZGF0YS5vcmciPg0KCQk8SFRNTD4NCgkJCTxCT0RZPg0K -CQkJCTxIMT5CdWNoOiA8eHNsOnZhbHVlLW9mIHNlbGVjdD0iZGF0YTp0aXRsZSIv -Pg0KCQkJCTwvSDE+DQoJCQk8L0JPRFk+DQoJCTwvSFRNTD4NCgk8L3hzbDp0ZW1w -bGF0ZT4NCjwveHNsOnN0eWxlc2hlZXQ+DQo= TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.252.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.252.Req.xml deleted file mode 100644 index 485ff4191..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.252.Req.xml +++ /dev/null @@ -1,163 +0,0 @@ - - - - - 2003-04-01T19:58:19+01:00 - - - - - - - - - - - - - - - - gJhOZajRF42VUda+ZBhWNdljSLc= - - - - cJybGx+5JVkh1WYQr90ozzlcSSA= - - - - WKzmN8eskIcXvr8x7PKcSzEscLI= - - - Wk6pj3QB4KJdFRJVfOG0pGdmaILYO6Y1NecU0aHWT/9sFeHShyW6Sifs92fnn6p/ -oiIXdiAG9KwWob5yDNirQTEdBCSDu0dyQbh3fIpeA1J3qM/Z+5FM0kBlZmpsBl4x -Lq2u4A7XjVnZE0WkdKg1ZepPwxgKcgOf8z/OTOBQY8g= - - - MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow -gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg -VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA -A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT -+LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/BfwEstfXs/xf6z4IF2KO -mmRMDI1z8SE1701SFTUoYd9ZB8KUtyp6dFd4cIujO84DME+6RAZxtsGWLwIDAQAB -o4GhMIGeMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMDgGA1Ud -HwQxMC8wLaAroCmGJ2h0dHA6Ly93d3cuaWFpay5hdC90ZXN0LWNhL3Rlc3RQQ0Eu -Y3JsbDAdBgNVHQ4EFgQUTCCwVgIM94gKloilFLRRzDq18r8wHwYDVR0jBBgwFoAU -TCCwVgIM94gKloilFLRRzDq18r8wCQYFKw4DAh0FAAOBgQCCx6VPjmUdeqGctQTh -Sg2dEYdlal/X5k523nQ54SsoX2shIQK/8zJOGzQdMjebupIK+tPiZ7SJzsAaMUi4 -Hgqq3j1FK+KxLiqtt35twofVYOu15Zj0XIu8EMzvE05yntlPjtGbp9ll8dwMvabP -+jWhCXAn6w2c2xdphL8nokSNLA== - MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1 - - - - - - - nFsrjFH4fx13UtHEeaiuNAew5aA= - - - - - - - - 2003-04-01T19:58:19+01:00 - - - - - dL59VDpBsujcngd207z0ohPl1/U= - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - - - - - - - text/html - - - - - - - - //dsig:Signature - - - - - - - - - - - - - PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHNsOnN0eWxl -c2hlZXQgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFu -c2Zvcm0iIHZlcnNpb249IjEuMCI+PHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIi8+ -PHhzbDp0ZW1wbGF0ZSBtYXRjaD0iZGF0YTpib29rIiB4bWxuczpkYXRhPSJodHRw -Oi8vdXJpLmRhdGEub3JnIj48SFRNTD48Qk9EWT48SDE+QnVjaDogPHhzbDp2YWx1 -ZS1vZiBzZWxlY3Q9ImRhdGE6dGl0bGUiLz48L0gxPjwvQk9EWT48L0hUTUw+PC94 -c2w6dGVtcGxhdGU+PC94c2w6c3R5bGVzaGVldD4= - - - - - - - - - - - - - - PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHNsOnN0eWxl -c2hlZXQgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFu -c2Zvcm0iIHZlcnNpb249IjEuMCI+PHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIi8+ -PHhzbDp0ZW1wbGF0ZSBtYXRjaD0iZGF0YTpib29rIiB4bWxuczpkYXRhPSJodHRw -Oi8vdXJpLmRhdGEub3JnIj48SFRNTD48Qk9EWT48SDE+QnVjaDogPHhzbDp2YWx1 -ZS1vZiBzZWxlY3Q9ImRhdGE6dGl0bGUiLz48L0gxPjwvQk9EWT48L0hUTUw+PC94 -c2w6dGVtcGxhdGU+PC94c2w6c3R5bGVzaGVldD4= - - - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.359.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.359.Req.xml deleted file mode 100644 index 849c1b464..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.359.Req.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - 2003-04-01T19:58:22+01:00 - - - bluTLafswdmsDkwdNk/j/HVd1eo=nK7gJ9m6E9MMl0DuL2m/F/wyrFc2V5wTV2eYj3UAO1qbFhQzKtbz4dKrV+4HlaxT -u/1IbP+ZWvmylwNnsT+WSGAPGw5/L9YNUVkxRi14Pal6nHgx0Cr5zN48hd278jcg -7kNgVHFHqutWLPXPVuTrR8C96JdFINiFdnCKEALsk+A=Dies sind Testdaten -2. Zeile -3. Zeile -aus - //dsig:Signature - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID.xml b/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID.xml deleted file mode 100644 index deb41a87f..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 000264107610 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Paul - Ivancsics - - 1963-12-29 - - - - - - - - tr/uFAdnHIsXqrb5MaweaIOnEHFbZESGPUxtYYrbg9xPIokLNNHSJRc+Rd/odZmi601604lj5EkX m8nQLVjaLLYT8ep91pR6U7EJPI5sNmNWUcGBWXHF6LTU5rThHRRun5Hrrr8FalDYyXd9tjXwvWU+ Qm0ohPboHnlo+Wl86mM= - AQAB - - - - - - - iVosMHmFSmIZjg549FIDZokgboM+dg9wSd7areBticT0RN7AI0eprMeSMHwbc41OmMlbyBC9pHHN yXdftjH2DpO1yNxG8ZNxDIL10TJXCEkqNGXVoUi6FW70+o5kgz4j/zlkISkRdjD74Dhe/ExY7cC6 uuq2W788D7nbz6tG2ts= - AQAB - - - -not(ancestor-or-self::pr:Identification)tEW27LHCMLltnWoEznBQhlSRdHc=ancestor-or-self::dsig:ManifestTMQ82sCekPS+PFS8YaWHDRT+ky0=X5HrMC7WMTOGezepSJj49uV7uwWq8e8ChhPLRmVTOY7WV0cEl7NdLDwcTwq011bTACL66jCJZleS x5Ngo+MJGYtc+Kq5B/WwZieb65mb2nSXzrPNr5xno6+fTyFF1nf+u4vNUGxvexkc7lL1wnc6yYz6 30Keq7JN/u8E99+l2/o=MIIEuTCCA6GgAwIBAgICFywwDQYJKoZIhvcNAQEFBQAwgZ8xCzAJBgNVBAYTAkFU MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIjAgBgNVBAsTGWEtc2lnbi1jb3Jw b3JhdGUtbGlnaHQtMDExIjAgBgNVBAMTGWEtc2lnbi1jb3Jwb3JhdGUtbGlnaHQt MDEwHhcNMDMwMTA5MTc1NzIxWhcNMDYwMTA5MTc1NzIxWjA8MQswCQYDVQQGEwJB VDEMMAoGA1UEChMDQk1JMREwDwYDVQQLEwhCTUktSVYtMjEMMAoGA1UEAxMDem1y MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmnYUwzJD6qCAVR7HVEmKk40qC tZuXktFzeo6KM2MKuxnHM/hn3+dInHXYdR7ysGba23kIj7LkGB7HuUBUtelz1+oU DmObXPgQSrIZybReZITpZMg4C//6kFz4EOkE2uieNHRO9ACz4H6609UpUIM7p8QI F2lsbB8AvBV3l3q6NQIDAQABo4IB4zCCAd8wCQYDVR0TBAIwADARBgNVHQ4ECgQI SC119bpHIu8wWAYDVR0gBFEwTzBNBgcqKAARAQcBMEIwQAYIKwYBBQUHAgEWNGh0 dHA6Ly93d3cuYS10cnVzdC5hdC9kb2NzL2NwL2Etc2lnbi1jb3Jwb3JhdGUtbGln aHQwPAYDVR0RBDUwM4ExaHR0cHM6Ly9wb3J0YWwuYm1pLmd2LmF0L3JlZi9wa2kv ZGllbnN0ZS96bXIuaHRtbDATBgNVHSMEDDAKgAhOnn/UL8kfHzCBgQYIKwYBBQUH AQEEdTBzMCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIvb2Nz cDBGBggrBgEFBQcwAoY6aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Etc2ln bi1jb3Jwb3JhdGUtbGlnaHQtMDFhLmNydDAOBgNVHQ8BAf8EBAMCB4AwbgYDVR0f BGcwZTBjoGGgX4ZdbGRhcDovL2xkYXAuYS10cnVzdC5hdC9vdT1hLXNpZ24tY29y cG9yYXRlLWxpZ2h0LTAxLG89QS1UcnVzdCxjPUFUP2NlcnRpZmljYXRlcmV2b2Nh dGlvbmxpc3Q/MA4GByooAAoBAQEEAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAEHGu iPQMfUk+nb2/CzLJgOKiTYV6U5vdSVChiI5vRS4nrrA5V+YnCDapHFAeX11njt1M YUGmgKy4PM2PmSvXJXGnPrA7n2Puow14rHJB0CNNNiavkj6MTcphQVLZypMBuHjv kxY08DDaCE84qViPbw2/Hz7ratDIFKJttgAXpXz8qHN+q/SxxRc3j/4tODxDS/BW FJblFrchcFbRhmh26rUMOcXvXqS0/7+6rfY5NVTX5rVfRmCWGAiK7u4rjEwXqtPB AOP/TtRVed1BqY3IHmrp9PxcuXElKOGIZ5A3lG0I6FUo2+VfEAw1d89oEjnPK7Gk eWRN1eWl78GlueNN9Q==cTwSdrSyhdTDhe8wlqFCJyjcr+E= //dsig:Signature not(ancestor-or-self::pr:Identification) TrustProfile1 \ No newline at end of file diff --git a/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID1.xml b/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID1.xml deleted file mode 100644 index 14ec0d81f..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID1.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz 5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP 3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 +UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia 2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv 7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB /wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= //dsig:Signature not(ancestor-or-self::pr:Identification) TrustProfile1 \ No newline at end of file diff --git a/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request1.xml b/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request1.xml deleted file mode 100644 index e66f3e268..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request1.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn pIpdAwR9sw5xnIvTySc= - AQAB - - - - - - - - - - - - not(ancestor-or-self::pr:Identification) - - - - - s7TfoZrYo36OMdlxGxuIfAw/wr8= - - - - - ancestor-or-self::dsig:Manifest - - - - dO+RSn4xLHT3cuq8uopFtZyUBqo= - - - MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz 5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP 3mZkRYWJDxxsVzI7E+Y= - - - MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 +UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 Btxup/kgjGMnnS7C - MIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia 2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv 7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ik - MIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB /wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 kFfp23o/juVtJNw= - - - - - - - - - - BqzfCB7dNg4G3u4YaxpD1tALdKI= - - - - - - - //dsig:Signature - - - - - - - not(ancestor-or-self::pr:Identification) - - - - - - - - TrustProfile1 - diff --git a/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request2.xml b/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request2.xml deleted file mode 100644 index d81cf6158..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request2.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - http://localhost:8080/moa-id-auth/ - - - gb - - - https://localhost:9443/ - - - - - -Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben: -
    - - - - - - -
    Name:
    Zeit:
    Applikation:
    Geschäftsbereich:
    Anmeldeserver:
    - - -
    -
    us9gT0wkEOgg2KCLGT5Z4i0tW30=
    id('refetsi')/etsi:QualifyingProperties/etsi:SignedPropertiesc/r6XEssLoHZerXUdQQUKvZ/aVY=
    fCl9QrTFBxygAnRFEJZU/mHuKNgQip50IrjBJKI79+L2XBR1W0M41akciraauQ0n FkIJPL4wnoupoXeWrpt7ycp9xMHVdZUNYXiPStHhi0ElhFppPjaN6Mn+1W25ofy0 YRapLXeDdGIxe5wSgTTBhAWbJAgusQ8bQY9vZnyW8TU=MIIFJTCCBA2gAwIBAgICGTcwDQYJKoZIhvcNAQEFBQAwgaExCzAJBgNVBAYTAkFU MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIzAhBgNVBAsTGmEtc2lnbi1URVNU LVByZW1pdW0tRW5jLTAxMSMwIQYDVQQDExphLXNpZ24tVEVTVC1QcmVtaXVtLUVu Yy0wMTAeFw0wMzAyMTAxMzIwNThaFw0wNjAyMTAxMzIwNThaMGoxCzAJBgNVBAYT AkFUMRwwGgYDVQQDExNUZXN0cGVyc29uIE1PQTQgQlJaMQwwCgYDVQQEEwNCUlox GDAWBgNVBCoTD1Rlc3RwZXJzb24gTU9BNDEVMBMGA1UEBRMMNzkwMTg3NDYxNjMz MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDS/UW1/tZeCh7HHQmj8auUTEc4 edAgRDkUVKOm0tF3kE3WZlhGDZL0p84xsdIKyI+bwDCMATATkQwDo/Xxn9jJMi4/ t80bNyRsHk9giA0wcvz9NgmEcDwKNqawGsR9gNeK8TyIC8AuDkj1EwtkAObMvtp/ Z1phi47x3JxDDfGDpQIDAQABo4ICHzCCAhswEwYDVR0jBAwwCoAIS7OAw3GTPNgw JwYIKwYBBQUHAQMBAf8EGDAWMAgGBgQAjkYBATAKBggrBgEFBQcLATCBggYIKwYB BQUHAQEEdjB0MCkGCCsGAQUFBzABhh1odHRwOi8vd3d3LmEtdHJ1c3QuYXQ6ODIv b2NzcDBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5hLXRydXN0LmF0L2NlcnRzL2Et c2lnbi1URVNULVByZW1pdW0tU2lnLTAxYS5jcnQwgZQGA1UdIASBjDCBiTB9BgYq KAARAQQwczA1BggrBgEFBQcCARYpaHR0cDovL3d3dy5hLXRydXN0LmF0L2RvY3Mv Y3AvYS1zaWduLVRFU1QwOgYIKwYBBQUHAgIwLhosRGllc2VzIFplcnRpZmlrYXQg ZGllbnQgbnVyIHp1IFRlc3R6d2Vja2VuICEwCAYGBACLMAEBMG8GA1UdHwRoMGYw ZKBioGCGXmxkYXA6Ly9sZGFwLmEtdHJ1c3QuYXQvb3U9YS1zaWduLVRFU1QtUHJl bWl1bS1FbmMtMDEsbz1BLVRydXN0LGM9QVQ/Y2VydGlmaWNhdGVyZXZvY2F0aW9u bGlzdD8wEQYDVR0OBAoECE4DxL9ky4M+MA4GA1UdDwEB/wQEAwIGwDAgBgNVHREE GTAXgRV0ZXN0cGVyc29uNEBicnouZ3YuYXQwCQYDVR0TBAIwADANBgkqhkiG9w0B AQUFAAOCAQEAioVvsZN+NnQxXMTGdjKveTBMRTYzHflkSC8lI9XXltP5+mjIuoB2 Tn6voovA8dXz9jTsnQt8f8ye0CL2bSS9UVD1jv8So3bavquW+HlkZBAZvL39APNL PjUUnWn0QOnrQAJ6W47UwGAUgEw3KcBcJaEa4Xb/8kUj618xGzWl6X0mKsVpxkrf +5Cj+nmwDqChll08/90MmhSY4M5FrvmQ9GjAN5FHVsk0FPp02tKCRzoBJtzpB1DW KHlgiDHUAXy5eD0XI7PXebPNZ4InvY/jC/IH8PRLdJT249YQmUxZ4neTtFDvb8C1 Qh6k725fh3hVxqX8ZwwWj9+iGQVk53K3CA==2003-04-02T12:55:33ZFrhu1o4mL4gQHdJcU0xSA/h4COE=CN=a-sign-TEST-Premium-Enc-01,OU=a-sign-TEST-Premium-Enc-01,O=A-Trust Ges. f. Sicherheitssysteme im elektr. Datenverkehr GmbH,C=AT6455text/html
    -
    //dsig:Signature
    TransformsInfoProfile1MOAID TrustProfile1
    \ No newline at end of file diff --git a/spss.server/data/test/xml/VerifyXMLSignature/testsig.xml b/spss.server/data/test/xml/VerifyXMLSignature/testsig.xml deleted file mode 100644 index 9f4789cb1..000000000 --- a/spss.server/data/test/xml/VerifyXMLSignature/testsig.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - urn:oasis:names:tc:SAML:1.0:cm:sender-vouches - - - - 123456789012 - http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl - - - Hermann - Muster - - 1968-10-22 - - - - - - - - 0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM -A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a -f2daYYuO8dycQw3xg6U= - AQAB - - - - - - - i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp -AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn -pIpdAwR9sw5xnIvTySc= - AQAB - - - -not(ancestor-or-self::pr:Identification)s7TfoZrYo36OMdlxGxuIfAw/wr8=ancestor-or-self::dsig:ManifestdO+RSn4xLHT3cuq8uopFtZyUBqo=MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz -5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP -3mZkRYWJDxxsVzI7E+Y=MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w -MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU -ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 -+UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 -lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY -hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E -BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAnsB -ATBCMEAGCCsGAQUFBwICMDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxy -IFRlc3R6d2Vja2UgZ2VlaWduZXQuMB0GA1UdDgQWBBRDC612dCgZetTmAKyV6DII -NkOoYTAWBgcqKAAKAQEBBAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZ -etTmAKyV6DIINkOoYTAJBgUrDgMCHQUAA4GBAHj0xBNWGYLijaocjOX1AkL+r+G2 -fZsX4z3S/2eEvtUp+EUHaOPMLTS0MIP1nwj5f4ZluAIrDLXihqMdi4xRv0W6QYbN -aDxICNz3/QbrzMlFPeC8odesdRlT+GGswX0ZGUtVIZm1HVhxRk5ZEW2pr2afo5c0 -Btxup/kgjGMnnS7CMIIDiTCCAvagAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTI1MTRaFw0w -MzEyMzEyMjU5MzBaMIGZMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu -aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG -A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxJjAkBgNVBAMTHU1PQSBU -ZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB -iQKBgQCw7ULOYSNji09Ein7Ar4j3Rjxjq05spBmZDmbSomEZMnGEtVTyIRzKc8ia -2kcXUMz5MEoFaVmvqRim31m20T21uvHFIs86gqzC/prOAz7V7HWok5F+9M/5gR1S -BvpdqiEAXYeRXFPiOe8XSmpwhic7+n2jfuoBeYiRBEMGoP1DkwIDAQABo4HxMIHu -MBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgHGMBEGCWCGSAGG+EIB -AQQEAwIBAjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAgMBATBCMEAGCCsGAQUFBwIC -MDQaMkRpZXNlcyBaZXJ0aWZpa2F0IGlzdCBudXIgZvxyIFRlc3R6d2Vja2UgZ2Vl -aWduZXQuMB0GA1UdDgQWBBSeRWvUfxEjKZSfxImJr/fpBDtMmTAWBgcqKAAKAQEB -BAsMCUJNT0xTLUlLVDAfBgNVHSMEGDAWgBRDC612dCgZetTmAKyV6DIINkOoYTAJ -BgUrDgMCHQUAA4GBAIMa4C2z3SbkcjEiMNAsHKaKUCJkBbMtNaab6U/cwwYmG6nl -ga7xyEmbfY2SKzOqkcIwuv83Tma3rcr1f+OLUeGUaGLHt2Pl1a/s8BZGQZHWvLXv -7hV4RceEUHzVGAfvDD8iBJqBmfq/z/fBPFsgSup4nO1YECkDYfQ+sqCIP4ikMIIDZzCCAtSgAwIBAgIBADAJBgUrDgMCHQUAMIGZMQswCQYDVQQGEwJBVDE9MDsG -A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n -IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx -JjAkBgNVBAMTHU1PQSBUZXN0IENBIC0gU2lnbmF0dXJkaWVuc3RlMB4XDTAzMDIx -MTE1MzI0NVoXDTAzMDgxMTE0MzI0NVowgYUxCzAJBgNVBAYTAkFUMSYwJAYDVQQK -FB1CdW5kZXNtaW5pc3Rlcml1bSBm/HIgSW5uZXJlczEgMB4GA1UECxMXWmVudHJh -bGVzIE1lbGRlcmVnaXN0ZXIxLDAqBgNVBAMTI1Rlc3QgU2lnbmF0dXJkaWVuc3Qg -UGVyc29uZW5iaW5kdW5nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEzkpk -QjbGjZwssN1+vMBE/ALMcA8LWFcILI3uxXaTSWGfTiLo9ECfzjuwYJG7FjEaeWrW -nPEcp4VfMNocrm3T7Hw/ikpE5/+FsfTzD4MpIwwUPd/CUfA5vDNXK5CiP7qKKR1e -vATO2s6lfDul+CS/eEbwzKmUQvZGrJggxg2m5wIDAQABo4HYMIHVMAwGA1UdEwEB -/wQCMAAwDgYDVR0PAQH/BAQDAgbAMF0GA1UdIARWMFQwUgYMKwYBBAGVEgECAwEB -MEIwQAYIKwYBBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg -VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj -v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp -lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv -RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr -BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 -kFfp23o/juVtJNw=BqzfCB7dNg4G3u4YaxpD1tALdKI= //dsig:Signature not(ancestor-or-self::pr:Identification) TrustProfile1 \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/base64.xml b/spss.server/data/test/xml/dsigTransform/base64.xml deleted file mode 100644 index 12aba6e6e..000000000 --- a/spss.server/data/test/xml/dsigTransform/base64.xml +++ /dev/null @@ -1,3 +0,0 @@ - - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/canonicalization.xml b/spss.server/data/test/xml/dsigTransform/canonicalization.xml deleted file mode 100644 index 15edd7a96..000000000 --- a/spss.server/data/test/xml/dsigTransform/canonicalization.xml +++ /dev/null @@ -1,3 +0,0 @@ - - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/canonicalizationWithComments.xml b/spss.server/data/test/xml/dsigTransform/canonicalizationWithComments.xml deleted file mode 100644 index 6e608b6c4..000000000 --- a/spss.server/data/test/xml/dsigTransform/canonicalizationWithComments.xml +++ /dev/null @@ -1,3 +0,0 @@ - - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/enveloped.xml b/spss.server/data/test/xml/dsigTransform/enveloped.xml deleted file mode 100644 index 4f749feb5..000000000 --- a/spss.server/data/test/xml/dsigTransform/enveloped.xml +++ /dev/null @@ -1,3 +0,0 @@ - - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/exclusiveCanonicalization.xml b/spss.server/data/test/xml/dsigTransform/exclusiveCanonicalization.xml deleted file mode 100644 index 33905b8e2..000000000 --- a/spss.server/data/test/xml/dsigTransform/exclusiveCanonicalization.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/illegalAlgorithm.xml b/spss.server/data/test/xml/dsigTransform/illegalAlgorithm.xml deleted file mode 100644 index a0ae610aa..000000000 --- a/spss.server/data/test/xml/dsigTransform/illegalAlgorithm.xml +++ /dev/null @@ -1,3 +0,0 @@ - - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/transforms.xml b/spss.server/data/test/xml/dsigTransform/transforms.xml deleted file mode 100644 index 5c923362f..000000000 --- a/spss.server/data/test/xml/dsigTransform/transforms.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - -

    Buch:

    -

    Autor:

    -

    - Geboren am: - - Ort: - -

    -

    - ISBN-Nummer: - -

    -
    -
    -
    - - //ToBeSigned/Data - -
    \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/xpath.xml b/spss.server/data/test/xml/dsigTransform/xpath.xml deleted file mode 100644 index f8f781301..000000000 --- a/spss.server/data/test/xml/dsigTransform/xpath.xml +++ /dev/null @@ -1,4 +0,0 @@ - - //ToBeSigned/Data - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/xpath2.xml b/spss.server/data/test/xml/dsigTransform/xpath2.xml deleted file mode 100644 index 912e714b3..000000000 --- a/spss.server/data/test/xml/dsigTransform/xpath2.xml +++ /dev/null @@ -1,7 +0,0 @@ - - //ToBeSigned - //NotToBeSigned - //ReallyToBeSigned - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/xpath2Different.xml b/spss.server/data/test/xml/dsigTransform/xpath2Different.xml deleted file mode 100644 index 616d80f7a..000000000 --- a/spss.server/data/test/xml/dsigTransform/xpath2Different.xml +++ /dev/null @@ -1,6 +0,0 @@ - - //ToBeSigned - //ReallyToBeSigned - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/xpathDifferent.xml b/spss.server/data/test/xml/dsigTransform/xpathDifferent.xml deleted file mode 100644 index 4b2c52da5..000000000 --- a/spss.server/data/test/xml/dsigTransform/xpathDifferent.xml +++ /dev/null @@ -1,4 +0,0 @@ - - //ToBeSigned/MoreData - \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/xslt.xml b/spss.server/data/test/xml/dsigTransform/xslt.xml deleted file mode 100644 index 5a8135bd9..000000000 --- a/spss.server/data/test/xml/dsigTransform/xslt.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - -

    Buch:

    -

    Autor:

    -

    - Geboren am: - - Ort: - -

    -

    - ISBN-Nummer: - -

    -
    -
    -
    \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/xsltDifferent.xml b/spss.server/data/test/xml/dsigTransform/xsltDifferent.xml deleted file mode 100644 index 81972e9db..000000000 --- a/spss.server/data/test/xml/dsigTransform/xsltDifferent.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - -

    Buch:

    -

    Autor:

    -

    - Geboren am: - - Ort: - -

    -
    -
    -
    \ No newline at end of file diff --git a/spss.server/data/test/xml/dsigTransform/xsltEqual.xml b/spss.server/data/test/xml/dsigTransform/xsltEqual.xml deleted file mode 100644 index 6ec14616f..000000000 --- a/spss.server/data/test/xml/dsigTransform/xsltEqual.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - -

    Buch:

    -

    Autor:

    -

    - Geboren am: - - Ort: - -

    -

    - ISBN-Nummer: - -

    -
    -
    -
    \ No newline at end of file diff --git a/spss.server/doc/api-doc-internal/allclasses-frame.html b/spss.server/doc/api-doc-internal/allclasses-frame.html deleted file mode 100644 index 0cd563a77..000000000 --- a/spss.server/doc/api-doc-internal/allclasses-frame.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -All Classes - - - - - -All Classes -
    - - - - - -
    AbstractKeyModuleConfigurationImpl -
    -AbstractObservableConfiguration -
    -ArchiveConfigurationImpl -
    -AxisHandler -
    -Base64TransformationImpl -
    -Base64Utils -
    -BoolUtils -
    -ByteArrayDataObjectImpl -
    -ByteStreamDataObjectImpl -
    -CanonicalizationImpl -
    -CertStoreConfigurationImpl -
    -CertTool -
    -CMSSignatureVerificationInvoker -
    -CMSSignatureVerificationProfileFactory -
    -CMSSignatureVerificationProfileImpl -
    -CollectionUtils -
    -ConfigurationDataImpl -
    -ConfigurationException -
    -ConfigurationPartsBuilder -
    -ConfigurationProvider -
    -ConfigurationServlet -
    -ConfiguratorImpl -
    -Constants -
    -CreateXMLSignatureResponseBuilder -
    -CRLDistributionPointAdapter -
    -DataBaseArchiveParameterImpl -
    -DataObjectFactory -
    -DataObjectImpl -
    -DataObjectTreatmentImpl -
    -DateTimeUtils -
    -DirectoryCertStoreParametersImpl -
    -DistributionPoint -
    -DOMUtils -
    -EntityResolverChain -
    -EnvelopedSignatureTransformationImpl -
    -ExclusiveCanonicalizationImpl -
    -ExternalURIResolver -
    -FileUtils -
    -HardwareCryptoModule -
    -HardwareCryptoModuleConfigurationImpl -
    -HardwareKeyModule -
    -HardwareKeyModuleConfigurationImpl -
    -IaikConfigurator -
    -IaikExceptionMapper -
    -IaikLog -
    -IaikLogFactory -
    -IaikLogMsg -
    -IdGenerator -
    -InvokerUtils -
    -IssuerAndSerial -
    -KeyGroup -
    -KeyGroupEntry -
    -KeyModule -
    -KeyStoreUtils -
    -Logger -
    -LoggerConfigImpl -
    -LoggingContext -
    -LoggingContextManager -
    -LogMsg -
    -MessageProvider -
    -MessageProvider -
    -Messages -
    -MOAApplicationException -
    -MOADefaultHandler -
    -MOAEntityResolver -
    -MOAErrorHandler -
    -MOAException -
    -MOASystemException -
    -MOATimer -
    -NodeIteratorAdapter -
    -NodeListAdapter -
    -PKIConfigurationImpl -
    -PKIProfileImpl -
    -ProfileMapper -
    -ResourceBundleChain -
    -RevocationArchiveCleaner -
    -RevocationConfigurationImpl -
    -RevocationProfileImpl -
    -ServiceContextUtils -
    -ServiceUtils -
    -SignatureCreationService -
    -SignatureCreationServiceImpl -
    -SignatureVerificationService -
    -SignatureVerificationServiceImpl -
    -SigningTimeImpl -
    -SoftwareKeyModule -
    -SoftwareKeyModuleConfigurationImpl -
    -SSLUtils -
    -StreamEntityResolver -
    -StreamUtils -
    -SystemInitializer -
    -TransactionContext -
    -TransactionContextManager -
    -TransactionId -
    -TransactionIDGenerator -
    -TransformationFactory -
    -TransformationImpl -
    -TrustProfile -
    -TrustStoreProfileImpl -
    -URLDecoder -
    -URLEncoder -
    -ValidationConfigurationImpl -
    -ValidationProfileImpl -
    -VerifyCMSSignatureResponseBuilder -
    -VerifyXMLSignatureResponseBuilder -
    -XMLDataObjectImpl -
    -XMLNodeListDataObjectImpl -
    -XMLSignatureCreationInvoker -
    -XMLSignatureCreationProfileFactory -
    -XMLSignatureCreationProfileImpl -
    -XMLSignatureImpl -
    -XMLSignatureInsertionLocationImpl -
    -XMLSignatureVerificationInvoker -
    -XMLSignatureVerificationProfileFactory -
    -XMLSignatureVerificationProfileImpl -
    -XPath2FilterImpl -
    -XPath2TransformationImpl -
    -XPathException -
    -XPathTransformationImpl -
    -XPathUtils -
    -XSLTTransformationImpl -
    -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LogMsg.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LogMsg.html deleted file mode 100644 index 12c5849d7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LogMsg.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class LogMsg - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.logging -
    -Class LogMsg

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.logging.LogMsg
    -
    -
    -
    -
    public class LogMsg
    extends Object
    - -

    -A unified message type to log messages from inside the MOA subsystem. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    LogMsg(Object message) - -
    -          Create a LogMsg object.
    -  - - - - - - - - - - - -
    -Method Summary
    - StringtoString() - -
    -          Convert this log message to a String.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -LogMsg

    -
    -public LogMsg(Object message)
    -
    -
    Create a LogMsg object.
    -
    Parameters:
    message - The actual message to log. May be null.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -toString

    -
    -public String toString()
    -
    -
    Convert this log message to a String.
    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    The String representation of this log message.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/Logger.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/Logger.html deleted file mode 100644 index ae7d62cf7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/Logger.html +++ /dev/null @@ -1,480 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class Logger - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.logging -
    -Class Logger

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.logging.Logger
    -
    -
    -
    -
    public class Logger
    extends Object
    - -

    -A utility class acting as a facade to the logging subsystem. - - Configure the logging defaultHierarchy that the Logger uses by - calling setHierarchy once before calling any of the logging - output functions. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    Logger() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static voiddebug(Object message) - -
    -          Log a debug message.
    -static voiderror(Object message) - -
    -          Log an error message.
    -static voiderror(Object message, - Throwable t) - -
    -          Log an error message.
    -static voidfatal(Object message) - -
    -          Log a fatal error message.
    -static voidfatal(Object message, - Throwable t) - -
    -          Log a fatal error message.
    -static voidinfo(Object message) - -
    -          Log an info message.
    -static booleanisDebugEnabled() - -
    -          Test, if the debug log level is enabled.
    -static booleanisDebugEnabled(String hierarchy) - -
    -          Test, if the debug log level is enabled for a given hierarchy.
    -static booleanisTraceEnabled() - -
    -          Test, if the trace log level is enabled.
    -static booleanisTraceEnabled(String hierarchy) - -
    -          Test, if the trace log level is enabled for a given hierarchy.
    -static voidsetHierarchy(String hierarchy) - -
    -          Set the default hierarchy to which the Logger should send its - logging output.
    -static voidtrace(Object message) - -
    -          Trace a message.
    -static voidwarn(Object message) - -
    -          Log a warning message.
    -static voidwarn(Object message, - Throwable t) - -
    -          Log a warning message.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -Logger

    -
    -public Logger()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setHierarchy

    -
    -public static void setHierarchy(String hierarchy)
    -
    -
    Set the default hierarchy to which the Logger should send its - logging output.
    -
    Parameters:
    hierarchy - The logging defaultHierarchy.
    -
    -
    -
    - -

    -isTraceEnabled

    -
    -public static boolean isTraceEnabled()
    -
    -
    Test, if the trace log level is enabled.
    -
    Returns:
    boolean true, if tracing output is enabled - false otherwise.
    -
    -
    -
    - -

    -isTraceEnabled

    -
    -public static boolean isTraceEnabled(String hierarchy)
    -
    -
    Test, if the trace log level is enabled for a given hierarchy.
    -
    Parameters:
    hierarchy - requested log hierarchy
    Returns:
    boolean true, if tracing output is enabled - false otherwise.
    -
    -
    -
    - -

    -trace

    -
    -public static void trace(Object message)
    -
    -
    Trace a message.
    -
    Parameters:
    message - The message to trace.
    -
    -
    -
    - -

    -isDebugEnabled

    -
    -public static boolean isDebugEnabled()
    -
    -
    Test, if the debug log level is enabled.
    -
    Returns:
    boolean true, if debug output is enabled - false otherwise.
    -
    -
    -
    - -

    -isDebugEnabled

    -
    -public static boolean isDebugEnabled(String hierarchy)
    -
    -
    Test, if the debug log level is enabled for a given hierarchy.
    -
    Parameters:
    hierarchy - requested log hierarchy
    Returns:
    boolean true, if debug output is enabled - false otherwise.
    -
    -
    -
    - -

    -debug

    -
    -public static void debug(Object message)
    -
    -
    Log a debug message.
    -
    Parameters:
    message - The message to log.
    -
    -
    -
    - -

    -info

    -
    -public static void info(Object message)
    -
    -
    Log an info message.
    -
    Parameters:
    message - The message to log.
    -
    -
    -
    - -

    -warn

    -
    -public static void warn(Object message)
    -
    -
    Log a warning message.
    -
    Parameters:
    message - The message to log.
    -
    -
    -
    - -

    -warn

    -
    -public static void warn(Object message,
    -                        Throwable t)
    -
    -
    Log a warning message.
    -
    Parameters:
    message - The message to log.
    t - An exception that may be the cause of the warning.
    -
    -
    -
    - -

    -error

    -
    -public static void error(Object message)
    -
    -
    Log an error message.
    -
    Parameters:
    message - The message to log.
    -
    -
    -
    - -

    -error

    -
    -public static void error(Object message,
    -                         Throwable t)
    -
    -
    Log an error message.
    -
    Parameters:
    message - The message to log.
    t - An exception that may be the cause of the error.
    -
    -
    -
    - -

    -fatal

    -
    -public static void fatal(Object message)
    -
    -
    Log a fatal error message.
    -
    Parameters:
    message - The message to log.
    -
    -
    -
    - -

    -fatal

    -
    -public static void fatal(Object message,
    -                         Throwable t)
    -
    -
    Log a fatal error message.
    -
    Parameters:
    message - The message to log.
    t - An exception that may be the cause of the error.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContext.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContext.html deleted file mode 100644 index 9590d5fae..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContext.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class LoggingContext - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.logging -
    -Class LoggingContext

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.logging.LoggingContext
    -
    -
    -
    -
    public class LoggingContext
    extends Object
    - -

    -Encapsulates contextual information (i.e. per request information) for - logging purposes. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - -
    -Field Summary
    -static StringNODE_ID_PROPERTY - -
    -          The name of the node ID system property.
    -  - - - - - - - - - - -
    -Constructor Summary
    LoggingContext(String transactionID) - -
    -          Create a new LoggingContext.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetNodeID() - -
    -          Return the node ID.
    - StringgetTransactionID() - -
    -          Return the transaction ID.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -NODE_ID_PROPERTY

    -
    -public static final String NODE_ID_PROPERTY
    -
    -
    The name of the node ID system property.
    - - - - - - - - -
    -Constructor Detail
    - -

    -LoggingContext

    -
    -public LoggingContext(String transactionID)
    -
    -
    Create a new LoggingContext.
    -
    Parameters:
    transactionID - The transaction ID. May be null.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getTransactionID

    -
    -public String getTransactionID()
    -
    -
    Return the transaction ID.
    -
    Returns:
    The transaction ID.
    -
    -
    -
    - -

    -getNodeID

    -
    -public String getNodeID()
    -
    -
    Return the node ID.
    -
    Returns:
    The node ID.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html deleted file mode 100644 index 7a4992b03..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class LoggingContextManager - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.logging -
    -Class LoggingContextManager

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.logging.LoggingContextManager
    -
    -
    -
    -
    public class LoggingContextManager
    extends Object
    - -

    -Provides each thread with a single instance of LoggingContext. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected LoggingContextManager() - -
    -          Creates a new LoggingContextManager. - -
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static LoggingContextManagergetInstance() - -
    -          Get the single instance of the LoggingContextManager class.
    - LoggingContextgetLoggingContext() - -
    -          Return the LoggingContext for the current thread.
    - voidsetLoggingContext(LoggingContext ctx) - -
    -          Set the LoggingContext context for the current thread.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -LoggingContextManager

    -
    -protected LoggingContextManager()
    -
    -
    Creates a new LoggingContextManager. - - Protected to disallow direct instantiation.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static LoggingContextManager getInstance()
    -
    -
    Get the single instance of the LoggingContextManager class.
    -
    Returns:
    LoggingContextManager The single instance.
    -
    -
    -
    - -

    -setLoggingContext

    -
    -public void setLoggingContext(LoggingContext ctx)
    -
    -
    Set the LoggingContext context for the current thread.
    -
    Parameters:
    ctx - The LoggingContext for the current thread.
    -
    -
    -
    - -

    -getLoggingContext

    -
    -public LoggingContext getLoggingContext()
    -
    -
    Return the LoggingContext for the current thread.
    -
    Returns:
    LoggingContext The LoggingContext for the current - thread, or null if none has been set.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LogMsg.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LogMsg.html deleted file mode 100644 index 4cbd90edd..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LogMsg.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.logging.LogMsg - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.logging.LogMsg

    -
    -No usage of at.gv.egovernment.moa.logging.LogMsg -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/Logger.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/Logger.html deleted file mode 100644 index c7da8e1ee..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/Logger.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.logging.Logger - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.logging.Logger

    -
    -No usage of at.gv.egovernment.moa.logging.Logger -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContext.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContext.html deleted file mode 100644 index 21b8d7eda..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContext.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.logging.LoggingContext - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.logging.LoggingContext

    -
    - - - - - - - - - -
    -Packages that use LoggingContext
    at.gv.egovernment.moa.logging  
    -  -

    - - - - - -
    -Uses of LoggingContext in at.gv.egovernment.moa.logging
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.logging that return LoggingContext
    - LoggingContextLoggingContextManager.getLoggingContext() - -
    -          Return the LoggingContext for the current thread.
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.logging with parameters of type LoggingContext
    - voidLoggingContextManager.setLoggingContext(LoggingContext ctx) - -
    -          Set the LoggingContext context for the current thread.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContextManager.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContextManager.html deleted file mode 100644 index 571a97a98..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContextManager.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.logging.LoggingContextManager - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.logging.LoggingContextManager

    -
    - - - - - - - - - -
    -Packages that use LoggingContextManager
    at.gv.egovernment.moa.logging  
    -  -

    - - - - - -
    -Uses of LoggingContextManager in at.gv.egovernment.moa.logging
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.logging that return LoggingContextManager
    -static LoggingContextManagerLoggingContextManager.getInstance() - -
    -          Get the single instance of the LoggingContextManager class.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-frame.html deleted file mode 100644 index cca50930b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.logging - - - - - -at.gv.egovernment.moa.logging - - - - -
    -Classes  - -
    -Logger -
    -LoggingContext -
    -LoggingContextManager -
    -LogMsg
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-summary.html deleted file mode 100644 index d3814f536..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-summary.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.logging - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.logging -

    - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    LoggerA utility class acting as a facade to the logging subsystem. - -
    LoggingContextEncapsulates contextual information (i.e. per request information) for - logging purposes.
    LoggingContextManagerProvides each thread with a single instance of LoggingContext.
    LogMsgA unified message type to log messages from inside the MOA subsystem.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-tree.html deleted file mode 100644 index 1c0c68235..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-tree.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.logging Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.logging -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-use.html deleted file mode 100644 index 3e7151f00..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-use.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.logging - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.logging

    -
    - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.logging
    at.gv.egovernment.moa.logging  
    -  -

    - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.logging used by at.gv.egovernment.moa.logging
    LoggingContext - -
    -          Encapsulates contextual information (i.e. per request information) for - logging purposes.
    LoggingContextManager - -
    -          Provides each thread with a single instance of LoggingContext.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOAApplicationException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOAApplicationException.html deleted file mode 100644 index c09642e2f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOAApplicationException.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MOAApplicationException - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss -
    -Class MOAApplicationException

    -
    -java.lang.Object
    -  |
    -  +--java.lang.Throwable
    -        |
    -        +--java.lang.Exception
    -              |
    -              +--at.gv.egovernment.moa.spss.MOAException
    -                    |
    -                    +--at.gv.egovernment.moa.spss.MOAApplicationException
    -
    -
    -
    All Implemented Interfaces:
    Serializable
    -
    -
    -
    -
    public class MOAApplicationException
    extends MOAException
    - -

    -Base class of application specific MOA exceptions. - - Application exceptions are exceptions that originate from application - code (e.g. inconsistent data provided by the user, no permission to access - certain resources, etc.) -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    Serialized Form
    -
    - -

    - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    MOAApplicationException(String messageId, - Object[] parameters) - -
    -          Create a new MOAApplicationException.
    MOAApplicationException(String messageId, - Object[] parameters, - Throwable wrapped) - -
    -          Create a new MOAApplicationException.
    -  - - - - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.MOAException
    getMessageId, getWrapped, printStackTrace, printStackTrace, printStackTrace, toErrorResponse
    - - - - - - - -
    Methods inherited from class java.lang.Throwable
    fillInStackTrace, getLocalizedMessage, getMessage, toString
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MOAApplicationException

    -
    -public MOAApplicationException(String messageId,
    -                               Object[] parameters)
    -
    -
    Create a new MOAApplicationException.
    -
    Parameters:
    messageId - The identifier of the message associated with this - exception.
    parameters - Additional message parameters.
    -
    -
    -
    - -

    -MOAApplicationException

    -
    -public MOAApplicationException(String messageId,
    -                               Object[] parameters,
    -                               Throwable wrapped)
    -
    -
    Create a new MOAApplicationException.
    -
    Parameters:
    messageId - The identifier of the message associated with this - MOAApplicationException.
    parameters - Additional message parameters.
    wrapped - The exception wrapped by this - MOAApplicationException.
    -
    -
    - - - - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOAException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOAException.html deleted file mode 100644 index e9b0972b6..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOAException.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MOAException - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss -
    -Class MOAException

    -
    -java.lang.Object
    -  |
    -  +--java.lang.Throwable
    -        |
    -        +--java.lang.Exception
    -              |
    -              +--at.gv.egovernment.moa.spss.MOAException
    -
    -
    -
    All Implemented Interfaces:
    Serializable
    -
    -
    -
    Direct Known Subclasses:
    MOAApplicationException, MOASystemException
    -
    -
    -
    -
    public abstract class MOAException
    extends Exception
    - -

    -Base class of MOA specific exceptions. - - This class has the ability to wrap other exceptions which may be seen - as the root cause for this exception. A similar mechanism is in place - since JDK1.4 (see the getClause() method) but will not be used - because of required compatibility with JDK1.3. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    Serialized Form
    -
    - -

    - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    MOAException(String messageId, - Object[] parameters) - -
    -          Create a MOAException.
    MOAException(String messageId, - Object[] parameters, - Throwable wrapped) - -
    -          Create a MOAException.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetMessageId() - -
    -          Returns the message ID of this exception.
    - ThrowablegetWrapped() - -
    -          Returns the exception wrapped by this MOAException.
    - voidprintStackTrace() - -
    -          Print a stack trace of this exception to System.err.
    - voidprintStackTrace(PrintStream s) - -
    -          Print a stack trace of this exception, including the wrapped exception.
    - voidprintStackTrace(PrintWriter s) - -
    -          Print a stack trace of this exception, including the wrapped exception.
    - org.w3c.dom.ElementtoErrorResponse() - -
    -          Convert this MOAException to an ErrorResponse - element from the MOA namespace.
    - - - - - - - -
    Methods inherited from class java.lang.Throwable
    fillInStackTrace, getLocalizedMessage, getMessage, toString
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MOAException

    -
    -public MOAException(String messageId,
    -                    Object[] parameters)
    -
    -
    Create a MOAException.
    -
    Parameters:
    messageId - The message ID of the message contained in the created - MOAException.
    parameters - The parameters needed to fill in the message arguments.
    -
    -
    -
    - -

    -MOAException

    -
    -public MOAException(String messageId,
    -                    Object[] parameters,
    -                    Throwable wrapped)
    -
    -
    Create a MOAException.
    -
    Parameters:
    messageId - The message ID of the message contained in the created - MOAException.
    parameters - The parameters needed to fill in the message arguments.
    wrapped - The exception wrapped by the created - MOAException.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getMessageId

    -
    -public String getMessageId()
    -
    -
    Returns the message ID of this exception.
    -
    Returns:
    The message ID as provided in the constructor.
    -
    -
    -
    - -

    -getWrapped

    -
    -public Throwable getWrapped()
    -
    -
    Returns the exception wrapped by this MOAException.
    -
    Returns:
    The exception wrapped by this exception. Possibly - null, if none was provided at construction time.
    -
    -
    -
    - -

    -toErrorResponse

    -
    -public org.w3c.dom.Element toErrorResponse()
    -
    -
    Convert this MOAException to an ErrorResponse - element from the MOA namespace.
    -
    Returns:
    An ErrorResponse element, containing the subelements - ErrorCode and Info required by the MOA schema.
    -
    -
    -
    - -

    -printStackTrace

    -
    -public void printStackTrace()
    -
    -
    Print a stack trace of this exception to System.err.
    -
    Overrides:
    printStackTrace in class Throwable
    -
    -
    -
    See Also:
    Throwable.printStackTrace()
    -
    -
    -
    - -

    -printStackTrace

    -
    -public void printStackTrace(PrintStream s)
    -
    -
    Print a stack trace of this exception, including the wrapped exception.
    -
    Overrides:
    printStackTrace in class Throwable
    -
    -
    -
    Parameters:
    s - The stream to write the stack trace to.
    See Also:
    Throwable.printStackTrace(java.io.PrintStream)
    -
    -
    -
    - -

    -printStackTrace

    -
    -public void printStackTrace(PrintWriter s)
    -
    -
    Print a stack trace of this exception, including the wrapped exception.
    -
    Overrides:
    printStackTrace in class Throwable
    -
    -
    -
    Parameters:
    s - The stream to write the stacktrace to.
    See Also:
    Throwable.printStackTrace(java.io.PrintWriter)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOASystemException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOASystemException.html deleted file mode 100644 index 4f9df6442..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/MOASystemException.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MOASystemException - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss -
    -Class MOASystemException

    -
    -java.lang.Object
    -  |
    -  +--java.lang.Throwable
    -        |
    -        +--java.lang.Exception
    -              |
    -              +--at.gv.egovernment.moa.spss.MOAException
    -                    |
    -                    +--at.gv.egovernment.moa.spss.MOASystemException
    -
    -
    -
    All Implemented Interfaces:
    Serializable
    -
    -
    -
    Direct Known Subclasses:
    ConfigurationException
    -
    -
    -
    -
    public class MOASystemException
    extends MOAException
    - -

    -Base class of technical MOA exceptions. - - Technical exceptions are exceptions that originate from system failure (e.g., - a database connection fails, a component is not available, etc.) -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    Serialized Form
    -
    - -

    - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    MOASystemException(String messageId, - Object[] parameters) - -
    -          Create a new MOASystemException.
    MOASystemException(String messageId, - Object[] parameters, - Throwable wrapped) - -
    -          Create a new MOASystemException.
    -  - - - - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.MOAException
    getMessageId, getWrapped, printStackTrace, printStackTrace, printStackTrace, toErrorResponse
    - - - - - - - -
    Methods inherited from class java.lang.Throwable
    fillInStackTrace, getLocalizedMessage, getMessage, toString
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MOASystemException

    -
    -public MOASystemException(String messageId,
    -                          Object[] parameters)
    -
    -
    Create a new MOASystemException.
    -
    Parameters:
    messageId - The identifier of the message associated with this - exception.
    parameters - Additional message parameters.
    -
    -
    -
    - -

    -MOASystemException

    -
    -public MOASystemException(String messageId,
    -                          Object[] parameters,
    -                          Throwable wrapped)
    -
    -
    Create a new MOASystemException.
    -
    Parameters:
    messageId - The identifier of the message associated with this - MOASystemException.
    parameters - Additional message parameters.
    wrapped - The exception wrapped by this - MOASystemException.
    -
    -
    - - - - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOAApplicationException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOAApplicationException.html deleted file mode 100644 index 68f14ff5b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOAApplicationException.html +++ /dev/null @@ -1,423 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.MOAApplicationException - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.MOAApplicationException

    -
    - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use MOAApplicationException
    at.gv.egovernment.moa.spss.server.iaik.pki  
    at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore  
    at.gv.egovernment.moa.spss.server.invoke  
    at.gv.egovernment.moa.spss.server.service  
    -  -

    - - - - - -
    -Uses of MOAApplicationException in at.gv.egovernment.moa.spss.server.iaik.pki
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.pki that throw MOAApplicationException
    PKIProfileImpl(ConfigurationProvider config, - String trustProfileID) - -
    -          Create a new PKIProfileImpl.
    -  -

    - - - - - -
    -Uses of MOAApplicationException in at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore that throw MOAApplicationException
    TrustStoreProfileImpl(ConfigurationProvider config, - String trustProfileId) - -
    -          Create a new TrustStoreProfileImpl.
    -  -

    - - - - - -
    -Uses of MOAApplicationException in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that throw MOAApplicationException
    -static at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicitProfileMapper.mapCreateTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile profile, - ConfigurationProvider config) - -
    -          Map a CreateTransformsInfoProfile to a - CreateTransformsInfoProfileExplicit.
    -static at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicitProfileMapper.mapCreateSignatureEnvironmentProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile profile, - ConfigurationProvider config) - -
    -          Map a CreateSignatureEnvironmentProfile to a - CreateSignatureEnvironmentProfileExplicit.
    -static ListProfileMapper.mapSupplementProfiles(List profiles, - ConfigurationProvider config) - -
    -          Map a List of SupplementProfiles to their - explicit representation.
    -static at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileExplicitProfileMapper.mapSupplementProfile(at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile profile, - ConfigurationProvider config) - -
    -          Map a SupplementProfile to a - SupplementProfileExplicit.
    -static ListProfileMapper.mapVerifyTransformsInfoProfiles(List profiles, - ConfigurationProvider config) - -
    -          Map a List of VerifyTransformsInfoProfiles to - their explicit representation.
    -static at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicitProfileMapper.mapVerifyTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile profile, - ConfigurationProvider config) - -
    -          Map a VerifyTransformsInfoProfile to a - VerifyTransformsInfoProfileExplicit.
    - InputStreamExternalURIResolver.resolve(String uriStr) - -
    -          Return a stream to data at the given URI. - -
    - iaik.server.modules.xmlsign.XMLSignatureCreationProfileXMLSignatureCreationProfileFactory.createProfile(at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo singleSignatureInfo) - -
    -          Create a XMLSignatureCreationProfile for the given - SingleSignatureInfo object..
    - voidVerifyCMSSignatureResponseBuilder.addResult(iaik.server.modules.cmsverify.CMSSignatureVerificationResult result) - -
    -          Add a verification result to the response.
    - iaik.server.modules.xml.XMLDataObjectDataObjectFactory.createSignatureEnvironment(at.gv.egovernment.moa.spss.api.common.Content content, - List supplements) - -
    -          Return the signature environment, i.e., the root element of the - document, into which the signature will be inserted (if created) or which - contains the signature (if verified).
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromSignatureEnvironment(org.w3c.dom.Element signatureEnvironment, - String uri, - String referenceID) - -
    -          Create an XMLDataObject from the given signature environment.
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromContentOptionalRefType(at.gv.egovernment.moa.spss.api.common.Content content, - String referenceID, - boolean allowContentAndReference, - boolean binaryAsXml, - boolean xmlAsNodeList, - boolean referenceAsXml) - -
    -          Create a DataObject from a Content object.
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromXmlDataObjectAssociation(at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation xmlDataObjAssoc, - boolean xmlContentAllowed, - boolean binaryContentRepeatable) - -
    -          Create a DataObject from a - XMLDataObjectAssociation object.
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromTransformParameter(at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter transformParameter) - -
    -          Create a DataObject from a TransformParameter - object.
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromURI(String uri, - boolean asXml) - -
    -          Create a DataObject from data located at the given URI.
    -static org.w3c.dom.ElementInvokerUtils.evaluateSignatureLocation(org.w3c.dom.Element root, - at.gv.egovernment.moa.spss.api.common.ElementSelector location) - -
    -          Select the signature parent element.
    - voidVerifyXMLSignatureResponseBuilder.setResult(iaik.server.modules.xmlverify.XMLSignatureVerificationResult result, - iaik.server.modules.xmlverify.XMLSignatureVerificationProfile profile, - at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult transformsSignatureManifestCheck) - -
    -          Sets the verification result to the response. - -
    - iaik.server.modules.xml.TransformationTransformationFactory.createTransformation(at.gv.egovernment.moa.spss.api.common.Transform transform) - -
    -          Create a Transformation based on a - Transform object.
    - ListTransformationFactory.createTransformationList(List transforms) - -
    -          Create a List of Transformations from a - List of Transforms.
    - iaik.server.modules.xmlverify.XMLSignatureVerificationProfileXMLSignatureVerificationProfileFactory.createProfile() - -
    -          Create a XMLSignatureCreationProfile from the - VerifyXMLSignaturesRequest and the current MOA configuration.
    - ListXMLSignatureVerificationProfileFactory.buildTransformationSupplements() - -
    -          Build supplemental data objects used in the transformations.
    -  -

    - - - - - -
    -Uses of MOAApplicationException in at.gv.egovernment.moa.spss.server.service
    -  -

    - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.service that throw MOAApplicationException
    -static voidServiceUtils.validateRequest(org.w3c.dom.Element[] request) - -
    -          Schema-validate a request.
    -static org.w3c.dom.ElementServiceUtils.reparseRequest(org.w3c.dom.Element request) - -
    -          Reparse the request with schema-validation turned on so that ID references - are resolved.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOAException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOAException.html deleted file mode 100644 index 4efd8c1cf..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOAException.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.MOAException - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.MOAException

    -
    - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use MOAException
    at.gv.egovernment.moa.spss  
    at.gv.egovernment.moa.spss.server.config  
    at.gv.egovernment.moa.spss.server.init  
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of MOAException in at.gv.egovernment.moa.spss
    -  -

    - - - - - - - - - - - - - -
    Subclasses of MOAException in at.gv.egovernment.moa.spss
    - classMOAApplicationException - -
    -          Base class of application specific MOA exceptions. - -
    - classMOASystemException - -
    -          Base class of technical MOA exceptions. - -
    -  -

    - - - - - -
    -Uses of MOAException in at.gv.egovernment.moa.spss.server.config
    -  -

    - - - - - - - - - -
    Subclasses of MOAException in at.gv.egovernment.moa.spss.server.config
    - classConfigurationException - -
    -          Exception signalling an error in the configuration.
    -  -

    - - - - - -
    -Uses of MOAException in at.gv.egovernment.moa.spss.server.init
    -  -

    - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.init that throw MOAException
    - voidConfiguratorImpl.init() - -
    -           
    - voidConfiguratorImpl.update() - -
    -           
    -  -

    - - - - - -
    -Uses of MOAException in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that return MOAException
    - MOAExceptionIaikExceptionMapper.map(iaik.IAIKException iaikException) - -
    -          Map an IAIKException to a MOAException.
    - MOAExceptionIaikExceptionMapper.map(iaik.IAIKRuntimeException iaikException) - -
    -          Map an IAIKRuntimeException to a MOAException.
    -protected  MOAExceptionIaikExceptionMapper.createMoaException(Exception iaikException) - -
    -          Create a MOAException from a given IAIKException - by looking it up in the mapping.
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that throw MOAException
    - iaik.server.modules.cmsverify.CMSSignatureVerificationProfileCMSSignatureVerificationProfileFactory.createProfile() - -
    -          Create a CMSSignatureVerificationProfile from the given - request and the current MOA configuration.
    - at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponseXMLSignatureVerificationInvoker.verifyXMLSignature(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest request) - -
    -          Process the VerifyXMLSignatureRequest message and invoke the - XMLSignatureVerificationModule.
    - at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseSignatureVerificationServiceImpl.verifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request) - -
    -          Verify a CMS signature.
    - at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponseSignatureVerificationServiceImpl.verifyXMLSignature(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest request) - -
    -          Verify an XML signature.
    - at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponseSignatureCreationServiceImpl.createXMLSignature(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest request) - -
    -          Create an XML signature.
    - at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseCMSSignatureVerificationInvoker.verifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request) - -
    -          Verify a CMS signature.
    - at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponseXMLSignatureCreationInvoker.createXMLSignature(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest request, - Set reserved) - -
    -          Process the CreateXMLSignatureRequest message and invoke the - XMLSignatureCreationModule for every - SingleSignatureInfo contained in the request.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOASystemException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOASystemException.html deleted file mode 100644 index 6475e80e9..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/class-use/MOASystemException.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.MOASystemException - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.MOASystemException

    -
    - - - - - - - - - - - - - -
    -Packages that use MOASystemException
    at.gv.egovernment.moa.spss.server.config  
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of MOASystemException in at.gv.egovernment.moa.spss.server.config
    -  -

    - - - - - - - - - -
    Subclasses of MOASystemException in at.gv.egovernment.moa.spss.server.config
    - classConfigurationException - -
    -          Exception signalling an error in the configuration.
    -  -

    - - - - - -
    -Uses of MOASystemException in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that throw MOASystemException
    - iaik.server.modules.xmlsign.XMLSignatureCreationProfileXMLSignatureCreationProfileFactory.createProfile(at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo singleSignatureInfo) - -
    -          Create a XMLSignatureCreationProfile for the given - SingleSignatureInfo object..
    - iaik.server.modules.xml.XMLDataObjectDataObjectFactory.createSignatureEnvironment(at.gv.egovernment.moa.spss.api.common.Content content, - List supplements) - -
    -          Return the signature environment, i.e., the root element of the - document, into which the signature will be inserted (if created) or which - contains the signature (if verified).
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromContentOptionalRefType(at.gv.egovernment.moa.spss.api.common.Content content, - String referenceID, - boolean allowContentAndReference, - boolean binaryAsXml, - boolean xmlAsNodeList, - boolean referenceAsXml) - -
    -          Create a DataObject from a Content object.
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromXmlDataObjectAssociation(at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation xmlDataObjAssoc, - boolean xmlContentAllowed, - boolean binaryContentRepeatable) - -
    -          Create a DataObject from a - XMLDataObjectAssociation object.
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromTransformParameter(at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter transformParameter) - -
    -          Create a DataObject from a TransformParameter - object.
    - iaik.server.modules.xml.DataObjectDataObjectFactory.createFromURI(String uri, - boolean asXml) - -
    -          Create a DataObject from data located at the given URI.
    - iaik.server.modules.xmlverify.XMLSignatureVerificationProfileXMLSignatureVerificationProfileFactory.createProfile() - -
    -          Create a XMLSignatureCreationProfile from the - VerifyXMLSignaturesRequest and the current MOA configuration.
    - ListXMLSignatureVerificationProfileFactory.buildTransformationSupplements() - -
    -          Build supplemental data objects used in the transformations.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-frame.html deleted file mode 100644 index ef9910f85..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss - - - - - -at.gv.egovernment.moa.spss - - - - -
    -Exceptions  - -
    -MOAApplicationException -
    -MOAException -
    -MOASystemException
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-summary.html deleted file mode 100644 index 7a8e355d9..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-summary.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss -

    - - - - - - - - - - - - - - - - - -
    -Exception Summary
    MOAApplicationExceptionBase class of application specific MOA exceptions. - -
    MOAExceptionBase class of MOA specific exceptions. - -
    MOASystemExceptionBase class of technical MOA exceptions. - -
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-tree.html deleted file mode 100644 index c92729390..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-tree.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-use.html deleted file mode 100644 index c20192642..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/package-use.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.spss
    at.gv.egovernment.moa.spss  
    at.gv.egovernment.moa.spss.server.config  
    at.gv.egovernment.moa.spss.server.iaik.pki  
    at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore  
    at.gv.egovernment.moa.spss.server.init  
    at.gv.egovernment.moa.spss.server.invoke  
    at.gv.egovernment.moa.spss.server.service  
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss used by at.gv.egovernment.moa.spss
    MOAException - -
    -          Base class of MOA specific exceptions. - -
    -  -

    - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss used by at.gv.egovernment.moa.spss.server.config
    MOAException - -
    -          Base class of MOA specific exceptions. - -
    MOASystemException - -
    -          Base class of technical MOA exceptions. - -
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss used by at.gv.egovernment.moa.spss.server.iaik.pki
    MOAApplicationException - -
    -          Base class of application specific MOA exceptions. - -
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss used by at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore
    MOAApplicationException - -
    -          Base class of application specific MOA exceptions. - -
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss used by at.gv.egovernment.moa.spss.server.init
    MOAException - -
    -          Base class of MOA specific exceptions. - -
    -  -

    - - - - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss used by at.gv.egovernment.moa.spss.server.invoke
    MOAApplicationException - -
    -          Base class of application specific MOA exceptions. - -
    MOAException - -
    -          Base class of MOA specific exceptions. - -
    MOASystemException - -
    -          Base class of technical MOA exceptions. - -
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss used by at.gv.egovernment.moa.spss.server.service
    MOAApplicationException - -
    -          Base class of application specific MOA exceptions. - -
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationException.html deleted file mode 100644 index d0fb97988..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationException.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ConfigurationException - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class ConfigurationException

    -
    -java.lang.Object
    -  |
    -  +--java.lang.Throwable
    -        |
    -        +--java.lang.Exception
    -              |
    -              +--at.gv.egovernment.moa.spss.MOAException
    -                    |
    -                    +--at.gv.egovernment.moa.spss.MOASystemException
    -                          |
    -                          +--at.gv.egovernment.moa.spss.server.config.ConfigurationException
    -
    -
    -
    All Implemented Interfaces:
    Serializable
    -
    -
    -
    -
    public class ConfigurationException
    extends MOASystemException
    - -

    -Exception signalling an error in the configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    Serialized Form
    -
    - -

    - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ConfigurationException(String messageId, - Object[] parameters) - -
    -          Create a ConfigurationException.
    ConfigurationException(String messageId, - Object[] parameters, - Throwable wrapped) - -
    -          Create a ConfigurationException.
    -  - - - - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.MOAException
    getMessageId, getWrapped, printStackTrace, printStackTrace, printStackTrace, toErrorResponse
    - - - - - - - -
    Methods inherited from class java.lang.Throwable
    fillInStackTrace, getLocalizedMessage, getMessage, toString
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ConfigurationException

    -
    -public ConfigurationException(String messageId,
    -                              Object[] parameters)
    -
    -
    Create a ConfigurationException.
    -
    See Also:
    at.gv.egovernment.moa.spss.server.MOAException#MOAException(String, Object[])
    -
    -
    -
    - -

    -ConfigurationException

    -
    -public ConfigurationException(String messageId,
    -                              Object[] parameters,
    -                              Throwable wrapped)
    -
    -
    Create a ConfigurationException.
    -
    See Also:
    at.gv.egovernment.moa.spss.server.MOAException#MOAException(String, Object[], Throwable)
    -
    -
    - - - - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.html deleted file mode 100644 index 74ad2b8d8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.html +++ /dev/null @@ -1,578 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ConfigurationPartsBuilder - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class ConfigurationPartsBuilder

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder
    -
    -
    -
    -
    public class ConfigurationPartsBuilder
    extends Object
    - -

    -A class that builds configuration data from a DOM based representation. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ConfigurationPartsBuilder(org.w3c.dom.Element configElem) - -
    -          Create a new ConfigurationPartsBuilder.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - MapbuildChainingModes() - -
    -          Build the chaining modes for all configured trust anchors.
    - MapbuildCreateSignatureEnvironmentProfiles(File configRoot) - -
    -          Build the CreateSignatureEnvironmentProfiles.
    - MapbuildCreateTransformsInfoProfiles(File configRoot) - -
    -          Build the CreateTransformsInfoProfiles.
    - MapbuildCRLDistributionPoints() - -
    -          Build the CRL distribution points mapping.
    - MapbuildGenericConfiguration() - -
    -          Build the mapping of generic configuration properties.
    - ListbuildHardwareCryptoModules() - -
    -          Build the configured hardware crypto modules.
    - ListbuildHardwareKeyModules(List keyModules) - -
    -          Build the configured hardware keys.
    - MapbuildKeyGroupMappings(Map keyGroups, - IssuerAndSerial anonymous) - -
    -          Build the key group mapping.
    - MapbuildKeyGroups(List keyModules) - -
    -          Build the key group configuration.
    - ListbuildSoftwareKeyModules(List keyModules, - File configRoot) - -
    -          Build the configured software keys.
    - MapbuildSupplementProfiles(File configRoot) - -
    -          Build the SupplementProfiles.
    - MapbuildTrustProfiles(File configRoot) - -
    -          Bulid the trust profile mapping.
    - MapbuildVerifyTransformsInfoProfiles(File configRoot) - -
    -          Build the VerifyTransformsInfoProfiles.
    - StringgetCanonicalizationAlgorithmName() - -
    -          Returns the canonicalization algorithm name.
    - org.w3c.dom.ElementgetConfigElem() - -
    -          Returns the root element of the MOA configuration.
    - intgetCRLArchiveDuration() - -
    -          Return the CRL archive duration.
    - StringgetDefaultChainingMode() - -
    -          Returns the default chaining mode from the configuration.
    - StringgetDigestMethodAlgorithmName() - -
    -          Returns the digest method algorithm name.
    - ListgetWarnings() - -
    -          Returns the warnings encountered during building the configuration.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ConfigurationPartsBuilder

    -
    -public ConfigurationPartsBuilder(org.w3c.dom.Element configElem)
    -
    -
    Create a new ConfigurationPartsBuilder.
    -
    Parameters:
    configElem - The root element of the MOA configuration.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getConfigElem

    -
    -public org.w3c.dom.Element getConfigElem()
    -
    -
    Returns the root element of the MOA configuration.
    -
    Returns:
    The root element of the MOA configuration.
    -
    -
    -
    - -

    -getWarnings

    -
    -public List getWarnings()
    -
    -
    Returns the warnings encountered during building the configuration.
    -
    Returns:
    A List of Strings, containing the - warning messages.
    -
    -
    -
    - -

    -getDigestMethodAlgorithmName

    -
    -public String getDigestMethodAlgorithmName()
    -
    -
    Returns the digest method algorithm name.
    -
    Returns:
    The digest method algorithm name from the configuration.
    -
    -
    -
    - -

    -getCanonicalizationAlgorithmName

    -
    -public String getCanonicalizationAlgorithmName()
    -
    -
    Returns the canonicalization algorithm name.
    -
    Returns:
    The canonicalization algorithm name from the configuration.
    -
    -
    -
    - -

    -buildGenericConfiguration

    -
    -public Map buildGenericConfiguration()
    -
    -
    Build the mapping of generic configuration properties.
    -
    Returns:
    The mapping of generic configuration properties (a name to value - mapping) from the configuration.
    -
    -
    -
    - -

    -buildHardwareCryptoModules

    -
    -public List buildHardwareCryptoModules()
    -
    -
    Build the configured hardware crypto modules.
    -
    Returns:
    The hardware crypto modules from the configuration.
    -
    -
    -
    - -

    -buildHardwareKeyModules

    -
    -public List buildHardwareKeyModules(List keyModules)
    -
    -
    Build the configured hardware keys.
    -
    Parameters:
    The - keyModules that the configuration already knows about. To - prevent multiple key modules with the same ID.
    Returns:
    The hardware keys contained in the configuration.
    -
    -
    -
    - -

    -buildSoftwareKeyModules

    -
    -public List buildSoftwareKeyModules(List keyModules,
    -                                    File configRoot)
    -
    -
    Build the configured software keys.
    -
    Parameters:
    The - keyModules that the configuration already knows about. To - prevent multiple key modules with the same ID.
    configRoot - The directory containing the main configuration file. - Used to resolve keystore files configured using a relative URI.
    Returns:
    The software keys contained in the configuration.
    -
    -
    -
    - -

    -buildKeyGroups

    -
    -public Map buildKeyGroups(List keyModules)
    -
    -
    Build the key group configuration.
    -
    Parameters:
    keyModules - The KeyModules that the configuration - knows about. Used to check for errors in the configuration.
    Returns:
    The mapping between key group IDs and key groups.
    -
    -
    -
    - -

    -buildKeyGroupMappings

    -
    -public Map buildKeyGroupMappings(Map keyGroups,
    -                                 IssuerAndSerial anonymous)
    -
    -
    Build the key group mapping.
    -
    Parameters:
    keyGroups - The available key groups.
    anonymous - The IssuerAndSerial to be used for key group - mappings not protected by a certificate.
    Returns:
    The key group mapping.
    -
    -
    -
    - -

    -getDefaultChainingMode

    -
    -public String getDefaultChainingMode()
    -
    -
    Returns the default chaining mode from the configuration.
    -
    Returns:
    The default chaining mode.
    -
    -
    -
    - -

    -buildChainingModes

    -
    -public Map buildChainingModes()
    -
    -
    Build the chaining modes for all configured trust anchors.
    -
    Returns:
    The mapping from trust anchors to chaining modes.
    -
    -
    -
    - -

    -buildCRLDistributionPoints

    -
    -public Map buildCRLDistributionPoints()
    -
    -
    Build the CRL distribution points mapping.
    -
    Returns:
    The mapping from certificate authorities to distribution points.
    -
    -
    -
    - -

    -getCRLArchiveDuration

    -
    -public int getCRLArchiveDuration()
    -
    -
    Return the CRL archive duration.
    -
    Returns:
    The value of the CRL archive duration setting from the - configuration.
    -
    -
    -
    - -

    -buildCreateTransformsInfoProfiles

    -
    -public Map buildCreateTransformsInfoProfiles(File configRoot)
    -
    -
    Build the CreateTransformsInfoProfiles.
    -
    Parameters:
    configRoot - The directory of the main configuration file. Used for - lookup of profiles with relative file names.
    Returns:
    The mapping from profile ID to profile.
    -
    -
    -
    - -

    -buildCreateSignatureEnvironmentProfiles

    -
    -public Map buildCreateSignatureEnvironmentProfiles(File configRoot)
    -
    -
    Build the CreateSignatureEnvironmentProfiles.
    -
    Parameters:
    configRoot - The directory of the main configuration file. Used for - lookup of profiles with relative file names.
    Returns:
    The mapping from profile ID to profile.
    -
    -
    -
    - -

    -buildVerifyTransformsInfoProfiles

    -
    -public Map buildVerifyTransformsInfoProfiles(File configRoot)
    -
    -
    Build the VerifyTransformsInfoProfiles.
    -
    Parameters:
    configRoot - The directory of the main configuration file. Used for - lookup of profiles with relative file names.
    Returns:
    The mapping from profile ID to profile.
    -
    -
    -
    - -

    -buildSupplementProfiles

    -
    -public Map buildSupplementProfiles(File configRoot)
    -
    -
    Build the SupplementProfiles.
    -
    Parameters:
    configRoot - The directory of the main configuration file. Used for - lookup of profiles with relative file names.
    Returns:
    The mapping from profile ID to profile.
    -
    -
    -
    - -

    -buildTrustProfiles

    -
    -public Map buildTrustProfiles(File configRoot)
    -
    -
    Bulid the trust profile mapping.
    -
    Parameters:
    configRoot - The absolute path to the main configuration file.
    Returns:
    The profile ID to profile mapping.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.html deleted file mode 100644 index 1ba073de0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.html +++ /dev/null @@ -1,803 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ConfigurationProvider - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class ConfigurationProvider

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.ConfigurationProvider
    -
    -
    -
    -
    public class ConfigurationProvider
    extends Object
    - -

    -A class providing access to the MOA configuration data. - -

    Configuration data is read from an XML file, whose location is given by - the moa.spss.server.configuration system property.

    -

    This class implements the Singleton pattern. The reload() - method can be used to update the configuration data. Therefore, it is not - guaranteed that consecutive calls to getInstance() will return - the same ConfigurationProvider all the time. During the - processing of a web service request, the current - TransactionContext should be used to obtain the - ConfigurationProvider local to that request.

    -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck, Sven Aigner
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static StringARCHIVE_REVOCATION_INFO_PROPERTY - -
    -          The name of the generic configuration property determining whether to - archive revocation information.
    -static StringAUTO_ADD_CERTIFICATES_PROPERTY - -
    -          The name of the generic configuration property which determines if - certificates should be added to the cert store automatically.
    -static StringCONFIG_PROPERTY_NAME - -
    -          The name of the system property which contains the file name of the - configuration file.
    -static StringDATABASE_ARCHIVE_PARAMETER_PROPERTY - -
    -          The name of the generic configuration property giving the database URL of - the CRL archive.
    -static StringDIRECTORY_CERTSTORE_PARAMETER_PROPERTY - -
    -          The name of the generic configuration property giving the root directory of - a directory based cert store.
    -static StringMAX_REVOCATION_AGE_PROPERTY - -
    -          The name of the generic configuration property determining the maximum - age of CRL entries.
    -static StringREVOCATION_CHECKING_PROPERTY - -
    -          The name of the generic configuration property determining whether - to check the revocation status of signer certificates.
    -static StringTEST_SIGNING_TIME_PROPERTY - -
    -          The name of the generic configuration property used for setting the - signing time to a predefined value.
    -static StringUSE_AUTHORITY_INFO_ACCESS_PROPERTY - -
    -          The name of the generic configuration property whether the authority - info access should be used.
    -  - - - - - - - - - - -
    -Constructor Summary
    ConfigurationProvider(String fileName) - -
    -          Constructor for ConfigurationProvider.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetCanonicalizationAlgorithmName() - -
    -          Return the name of the canonicalization algorithm used during signature - creation.
    - StringgetChainingMode(X509Certificate trustAnchor) - -
    -          Return the chaining mode for a given trust anchor.
    - org.w3c.dom.ElementgetCreateSignatureEnvironmentProfile(String id) - -
    -          Return a CreateSignatureEnvironmentProfile with the given ID.
    - org.w3c.dom.ElementgetCreateTransformsInfoProfile(String id) - -
    -          Return a CreateTransformsInfoProfile with the given ID.
    - intgetCRLArchiveDuration() - -
    -          Return the CRL archive duration.
    - SetgetCRLDP(X509Certificate cert) - -
    -          Return the CRL distribution points for a given CA.
    - StringgetDigestMethodAlgorithmName() - -
    -          Return the name of the digest algorithm used during signature creation.
    - StringgetGenericConfiguration(String name) - -
    -          Return the value of a generic configuration.
    - StringgetGenericConfiguration(String name, - String defaultValue) - -
    -          Return the value of a generic configuration, or a given default value.
    - ListgetHardwareCryptoModules() - -
    -          Return the configured hardware crypto modules.
    - ListgetHardwareKeyModules() - -
    -          Return the hardware key modules configuration.
    -static ConfigurationProvidergetInstance() - -
    -          Return the single instance of configuration data.
    - SetgetKeyGroupEntries(Principal issuer, - BigInteger serial, - String keyGroupId) - -
    -          Return the set of KeyGroupEntrys of a given key group, which a - client (identified by an issuer/serial pair) may access.
    - MapgetKeyGroups() - -
    -          Return the key group mapping.
    - ListgetSoftwareKeyModules() - -
    -          Return the software key module configuration.
    - org.w3c.dom.ElementgetSupplementProfile(String id) - -
    -          Return a SupplementProfile with the given ID.
    - TrustProfilegetTrustProfile(String id) - -
    -          Return a TrustProfile with the given ID.
    - org.w3c.dom.ElementgetVerifyTransformsInfoProfile(String id) - -
    -          Return a VerifyTransformsInfoProfile with the given ID.
    - ListgetWarnings() - -
    -          Returns the warnings encountered during building the configuration.
    -static ConfigurationProviderreload() - -
    -          Reload the configuration data and set it if successful.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -CONFIG_PROPERTY_NAME

    -
    -public static final String CONFIG_PROPERTY_NAME
    -
    -
    The name of the system property which contains the file name of the - configuration file.
    -
    - -

    -DIRECTORY_CERTSTORE_PARAMETER_PROPERTY

    -
    -public static final String DIRECTORY_CERTSTORE_PARAMETER_PROPERTY
    -
    -
    The name of the generic configuration property giving the root directory of - a directory based cert store.
    -
    - -

    -AUTO_ADD_CERTIFICATES_PROPERTY

    -
    -public static final String AUTO_ADD_CERTIFICATES_PROPERTY
    -
    -
    The name of the generic configuration property which determines if - certificates should be added to the cert store automatically.
    -
    - -

    -USE_AUTHORITY_INFO_ACCESS_PROPERTY

    -
    -public static final String USE_AUTHORITY_INFO_ACCESS_PROPERTY
    -
    -
    The name of the generic configuration property whether the authority - info access should be used.
    -
    - -

    -MAX_REVOCATION_AGE_PROPERTY

    -
    -public static final String MAX_REVOCATION_AGE_PROPERTY
    -
    -
    The name of the generic configuration property determining the maximum - age of CRL entries.
    -
    - -

    -DATABASE_ARCHIVE_PARAMETER_PROPERTY

    -
    -public static final String DATABASE_ARCHIVE_PARAMETER_PROPERTY
    -
    -
    The name of the generic configuration property giving the database URL of - the CRL archive.
    -
    - -

    -REVOCATION_CHECKING_PROPERTY

    -
    -public static final String REVOCATION_CHECKING_PROPERTY
    -
    -
    The name of the generic configuration property determining whether - to check the revocation status of signer certificates.
    -
    - -

    -ARCHIVE_REVOCATION_INFO_PROPERTY

    -
    -public static final String ARCHIVE_REVOCATION_INFO_PROPERTY
    -
    -
    The name of the generic configuration property determining whether to - archive revocation information.
    -
    - -

    -TEST_SIGNING_TIME_PROPERTY

    -
    -public static final String TEST_SIGNING_TIME_PROPERTY
    -
    -
    The name of the generic configuration property used for setting the - signing time to a predefined value. (Use for testing purposes only).
    - - - - - - - - -
    -Constructor Detail
    - -

    -ConfigurationProvider

    -
    -public ConfigurationProvider(String fileName)
    -                      throws ConfigurationException
    -
    -
    Constructor for ConfigurationProvider.
    -
    Parameters:
    fileName - The name of the configuration file.
    Throws:
    ConfigurationException - An error occurred loading the configuration.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static ConfigurationProvider getInstance()
    -                                         throws ConfigurationException
    -
    -
    Return the single instance of configuration data.
    -
    Returns:
    MOAConfigurationProvider The current configuration data.
    Throws:
    ConfigurationException - Failure to load the configuration data.
    -
    -
    -
    - -

    -reload

    -
    -public static ConfigurationProvider reload()
    -                                    throws ConfigurationException
    -
    -
    Reload the configuration data and set it if successful.
    -
    Returns:
    MOAConfigurationProvider The loaded configuration data.
    Throws:
    ConfigurationException - Failure to load the configuration data.
    -
    -
    -
    - -

    -getWarnings

    -
    -public List getWarnings()
    -
    -
    Returns the warnings encountered during building the configuration.
    -
    Returns:
    A List of Strings, containing the - warning messages.
    -
    -
    -
    - -

    -getDigestMethodAlgorithmName

    -
    -public String getDigestMethodAlgorithmName()
    -
    -
    Return the name of the digest algorithm used during signature creation.
    -
    Returns:
    The digest method algorithm name, or an empty String, - if none has been configured.
    -
    -
    -
    - -

    -getCanonicalizationAlgorithmName

    -
    -public String getCanonicalizationAlgorithmName()
    -
    -
    Return the name of the canonicalization algorithm used during signature - creation.
    -
    Returns:
    The canonicalization algorithm name, or an empty - String if none has been configured.
    -
    -
    -
    - -

    -getHardwareCryptoModules

    -
    -public List getHardwareCryptoModules()
    -
    -
    Return the configured hardware crypto modules.
    -
    Returns:
    A List of HardwareCryptoModule objects - containing the hardware crypto module configurations.
    -
    -
    -
    - -

    -getHardwareKeyModules

    -
    -public List getHardwareKeyModules()
    -
    -
    Return the hardware key modules configuration.
    -
    Returns:
    A List of HardwareKeyModule objects - containing the configuration of the hardware key modules.
    -
    -
    -
    - -

    -getSoftwareKeyModules

    -
    -public List getSoftwareKeyModules()
    -
    -
    Return the software key module configuration.
    -
    Returns:
    A List of SoftwareKeyModule objects - containing the configuration of the software key modules.
    -
    -
    -
    - -

    -getKeyGroups

    -
    -public Map getKeyGroups()
    -
    -
    Return the key group mapping.
    -
    Returns:
    A mapping from key group ID (a String) to - KeyGroup mapping.
    -
    -
    -
    - -

    -getKeyGroupEntries

    -
    -public Set getKeyGroupEntries(Principal issuer,
    -                              BigInteger serial,
    -                              String keyGroupId)
    -
    -
    Return the set of KeyGroupEntrys of a given key group, which a - client (identified by an issuer/serial pair) may access.
    -
    Parameters:
    issuer - The issuer of the client certificate.
    serial - The serial number of the client certificate.
    keyGroupId - The ID of the key group.
    Returns:
    A Set of all the KeyGroupEntrys in the - given key group, if the user may access them. Returns null, if - the user may not access the given key group or if the key group does not - exist.
    -
    -
    -
    - -

    -getChainingMode

    -
    -public String getChainingMode(X509Certificate trustAnchor)
    -
    -
    Return the chaining mode for a given trust anchor.
    -
    Parameters:
    trustAnchor - The trust anchor for which the chaining mode should be - returned.
    Returns:
    The chaining mode for the given trust anchor. If the trust anchor - has not been configured separately, the system default will be returned.
    -
    -
    -
    - -

    -getCRLDP

    -
    -public Set getCRLDP(X509Certificate cert)
    -
    -
    Return the CRL distribution points for a given CA.
    -
    Parameters:
    cert - The certificate for which the CRL distribution points should be - looked up. The issuer information is used to perform the lookup.
    Returns:
    A Set of DistributionPoint objects. The - set will be empty, if no distribution points have been configured for this - certificate.
    -
    -
    -
    - -

    -getCRLArchiveDuration

    -
    -public int getCRLArchiveDuration()
    -
    -
    Return the CRL archive duration.
    -
    Returns:
    The duration of how long to keep CRL archive entries (measured in - days).
    -
    -
    -
    - -

    -getGenericConfiguration

    -
    -public String getGenericConfiguration(String name)
    -
    -
    Return the value of a generic configuration.
    -
    Parameters:
    name - The name of the generic configuration.
    Returns:
    The value of the generic configuration with the given name, or - null, if none can be found.
    -
    -
    -
    - -

    -getGenericConfiguration

    -
    -public String getGenericConfiguration(String name,
    -                                      String defaultValue)
    -
    -
    Return the value of a generic configuration, or a given default value.
    -
    Parameters:
    name - The name of the generic configuration.
    defaultValue - A default value to be returned in case that the generic - configuration with the given name does not exist.
    Returns:
    The value of the generic configuration with the given name, or the - defaultValue, if none can be found.
    -
    -
    -
    - -

    -getCreateTransformsInfoProfile

    -
    -public org.w3c.dom.Element getCreateTransformsInfoProfile(String id)
    -
    -
    Return a CreateTransformsInfoProfile with the given ID.
    -
    Parameters:
    id - The CreateTransformsInfoProfile ID.
    Returns:
    The CreateTransformsInfoProfile with the given - ID or null, if none exists.
    -
    -
    -
    - -

    -getCreateSignatureEnvironmentProfile

    -
    -public org.w3c.dom.Element getCreateSignatureEnvironmentProfile(String id)
    -
    -
    Return a CreateSignatureEnvironmentProfile with the given ID.
    -
    Parameters:
    id - The CreateSignatureEnvironmentProfile ID.
    Returns:
    The CreateSignatureEnvironmentProfile with the given - ID or null, if none exists.
    -
    -
    -
    - -

    -getVerifyTransformsInfoProfile

    -
    -public org.w3c.dom.Element getVerifyTransformsInfoProfile(String id)
    -
    -
    Return a VerifyTransformsInfoProfile with the given ID.
    -
    Parameters:
    id - The VerifyTransformsInfoProfile ID.
    Returns:
    The VerifyTransformsInfoProfile with the given ID or - null, if none exists.
    -
    -
    -
    - -

    -getSupplementProfile

    -
    -public org.w3c.dom.Element getSupplementProfile(String id)
    -
    -
    Return a SupplementProfile with the given ID.
    -
    Parameters:
    id - The SupplementProfile ID.
    Returns:
    The SupplementProfile with the given ID or - null, if none exists.
    -
    -
    -
    - -

    -getTrustProfile

    -
    -public TrustProfile getTrustProfile(String id)
    -
    -
    Return a TrustProfile with the given ID.
    -
    Parameters:
    id - The TrustProfile ID.
    Returns:
    The TrustProfile with the given ID or - null, if none exists.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/DistributionPoint.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/DistributionPoint.html deleted file mode 100644 index 7aac279aa..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/DistributionPoint.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class DistributionPoint - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class DistributionPoint

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.DistributionPoint
    -
    -
    -
    -
    public class DistributionPoint
    extends Object
    - -

    -A class containing information about a CRL distribution point. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Sven Aigner, Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    DistributionPoint(String uri, - String reasonCodeStr) - -
    -          Create a DistributionPoint with a URI and a list of reason - codes.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - intgetReasonCodes() - -
    -          Return a binary representation of the reason codes of this distribution - point.
    - StringgetUri() - -
    -          Return the URI of the distribution point.
    - StringtoString() - -
    -          Return a String representation of this distribution point.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -DistributionPoint

    -
    -public DistributionPoint(String uri,
    -                         String reasonCodeStr)
    -
    -
    Create a DistributionPoint with a URI and a list of reason - codes.
    -
    Parameters:
    uri - The URI of the distribution point.
    reasonCodeStr - A list of reason codes (a space-separated - enumeration).
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getUri

    -
    -public String getUri()
    -
    -
    Return the URI of the distribution point.
    -
    Returns:
    The URI of the distribution point.
    -
    -
    -
    - -

    -getReasonCodes

    -
    -public int getReasonCodes()
    -
    -
    Return a binary representation of the reason codes of this distribution - point.
    -
    Returns:
    The binary representation of the reason codes.
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -
    Return a String representation of this distribution point.
    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    The String representation of this distribution point.
    See Also:
    Object.toString()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/HardwareCryptoModule.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/HardwareCryptoModule.html deleted file mode 100644 index 14bbee323..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/HardwareCryptoModule.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class HardwareCryptoModule - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class HardwareCryptoModule

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule
    -
    -
    -
    -
    public class HardwareCryptoModule
    extends Object
    - -

    -Contains configuration data for a hardware crypto module. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    HardwareCryptoModule(String name, - String slotID, - String userPIN) - -
    -          Create a new HardwareCryptoModule.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetName() - -
    -          Returns the name of this HardwareCryptoModule.
    - StringgetSlotID() - -
    -          Returns the slot ID of this HardwareCryptoModule.
    - StringgetUserPIN() - -
    -          Returns the user PIN of this HardwareCryptoModule.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -HardwareCryptoModule

    -
    -public HardwareCryptoModule(String name,
    -                            String slotID,
    -                            String userPIN)
    -
    -
    Create a new HardwareCryptoModule.
    -
    Parameters:
    name - The name of this HardwareCryptoModule.
    slotID - The slot ID of this HardwareCryptoModule.
    userPIN - The user PIN to access this - HardwareCryptoModule.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getName

    -
    -public String getName()
    -
    -
    Returns the name of this HardwareCryptoModule.
    -
    Returns:
    The name of this HardwareCryptoModule.
    -
    -
    -
    - -

    -getSlotID

    -
    -public String getSlotID()
    -
    -
    Returns the slot ID of this HardwareCryptoModule.
    -
    Returns:
    The slot ID.
    -
    -
    -
    - -

    -getUserPIN

    -
    -public String getUserPIN()
    -
    -
    Returns the user PIN of this HardwareCryptoModule.
    -
    Returns:
    The user PIN used to access the module.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/HardwareKeyModule.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/HardwareKeyModule.html deleted file mode 100644 index 554c8c970..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/HardwareKeyModule.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class HardwareKeyModule - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class HardwareKeyModule

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.KeyModule
    -        |
    -        +--at.gv.egovernment.moa.spss.server.config.HardwareKeyModule
    -
    -
    -
    -
    public class HardwareKeyModule
    extends KeyModule
    - -

    -A class that contains information about a hardware key module. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    HardwareKeyModule(String id, - String name, - String slotID, - String userPIN) - -
    -          Create a new HardwareKey.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetName() - -
    -          Return the name of this HardwareKey.
    - StringgetSlotID() - -
    -          Return the slot ID of this HardwareKey.
    - StringgetUserPIN() - -
    -          Return the user PIN to access this HardwareKey.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.config.KeyModule
    getId, toString
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -HardwareKeyModule

    -
    -public HardwareKeyModule(String id,
    -                         String name,
    -                         String slotID,
    -                         String userPIN)
    -
    -
    Create a new HardwareKey.
    -
    Parameters:
    id - The key module ID.
    name - The name of the key.
    slotID - The slot ID of the key within the hardware module. May be - null.
    userPIN - The user PIN to access the key.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getName

    -
    -public String getName()
    -
    -
    Return the name of this HardwareKey.
    -
    Returns:
    The name of this HardwareKey.
    -
    -
    -
    - -

    -getSlotID

    -
    -public String getSlotID()
    -
    -
    Return the slot ID of this HardwareKey.
    -
    Returns:
    The slot ID of this HardwareKey.
    -
    -
    -
    - -

    -getUserPIN

    -
    -public String getUserPIN()
    -
    -
    Return the user PIN to access this HardwareKey.
    -
    Returns:
    The user PIN to access this HardwareKey.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/IssuerAndSerial.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/IssuerAndSerial.html deleted file mode 100644 index 1022a3d8c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/IssuerAndSerial.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class IssuerAndSerial - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class IssuerAndSerial

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.IssuerAndSerial
    -
    -
    -
    -
    public class IssuerAndSerial
    extends Object
    - -

    -A class containing the issuer and serial number of a certificate, which can - be used to uniquely identify the certificate. - - The issuer is contained as an RFC2253 encoded String. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    IssuerAndSerial(Principal issuer, - BigInteger serial) - -
    -          Create an IssuerAndSerial object. - -
    IssuerAndSerial(String issuerDN, - BigInteger serial) - -
    -          Create an IssuerAndSerial object.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this IssuerAndSerial to another object.
    - StringgetIssuerDN() - -
    -          Return the issuer DN in RFC2253 format.
    - BigIntegergetSerial() - -
    -          Return the serial number.
    - inthashCode() - -
    -          Return the hash code of this IssuerAndSerial.
    - StringtoString() - -
    -          Return a String representation of this - IssuerAndSerial object.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -IssuerAndSerial

    -
    -public IssuerAndSerial(Principal issuer,
    -                       BigInteger serial)
    -
    -
    Create an IssuerAndSerial object. - - The name of the issuer is converted to RFC2253. If it cannot be parsed, the - DN contained in the issuer is set.
    -
    Parameters:
    issuer - The isser of a certificate.
    serial - The serial number of the certificate.
    -
    -
    -
    - -

    -IssuerAndSerial

    -
    -public IssuerAndSerial(String issuerDN,
    -                       BigInteger serial)
    -
    -
    Create an IssuerAndSerial object.
    -
    Parameters:
    issuerDN - The issuer distinguished name. Should be an RFC2253 name.
    serial - The serial number of the certificate.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getIssuerDN

    -
    -public String getIssuerDN()
    -
    -
    Return the issuer DN in RFC2253 format.
    -
    Returns:
    The issuer part of this object.
    -
    -
    -
    - -

    -getSerial

    -
    -public BigInteger getSerial()
    -
    -
    Return the serial number.
    -
    Returns:
    The serial number of this object.
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this IssuerAndSerial to another object.
    -
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare this IssuerAndSerial to.
    Returns:
    true, if other is an - IssuerAndSerial object and the issuer and - serial fields are both equal. false otherwise.
    See Also:
    Object.equals(java.lang.Object)
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    Return the hash code of this IssuerAndSerial.
    -
    Overrides:
    hashCode in class Object
    -
    -
    -
    Returns:
    The hash code of this IssuerAndSerial.
    See Also:
    Object.hashCode()
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -
    Return a String representation of this - IssuerAndSerial object.
    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    The String representation.
    See Also:
    Object.toString()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyGroup.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyGroup.html deleted file mode 100644 index 7c8e3fb98..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyGroup.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class KeyGroup - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class KeyGroup

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.KeyGroup
    -
    -
    -
    -
    public class KeyGroup
    extends Object
    - -

    -A collection of KeyGroupEntrys with its own ID. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Sven Aigner, Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    KeyGroup(String id, - Set keyGroupEntries) - -
    -          Create a KeyGroup.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetId() - -
    -          Return the ID of this KeyGroup.
    - SetgetKeyGroupEntries() - -
    -          Return the KeyEntrys contained in this KeyGroup.
    - StringtoString() - -
    -          Return a String representation of this KeyGroup.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -KeyGroup

    -
    -public KeyGroup(String id,
    -                Set keyGroupEntries)
    -
    -
    Create a KeyGroup.
    -
    Parameters:
    id - The ID of this KeyGroup.
    keyGroupEntries - The keys belonging to this KeyGroup.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getKeyGroupEntries

    -
    -public Set getKeyGroupEntries()
    -
    -
    Return the KeyEntrys contained in this KeyGroup.
    -
    Returns:
    The KeyEntrys contained in this KeyGroup.
    -
    -
    -
    - -

    -getId

    -
    -public String getId()
    -
    -
    Return the ID of this KeyGroup.
    -
    Returns:
    The KeyGroup ID.
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -
    Return a String representation of this KeyGroup.
    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    The String representation.
    See Also:
    Object.toString()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyGroupEntry.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyGroupEntry.html deleted file mode 100644 index b747885c6..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyGroupEntry.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class KeyGroupEntry - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class KeyGroupEntry

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.KeyGroupEntry
    -
    -
    -
    -
    public class KeyGroupEntry
    extends Object
    - -

    -A class containing information about an entry in a key group. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    KeyGroupEntry(String moduleID, - IssuerAndSerial issuerAndSerial) - -
    -          Create a new KeyGroupEntry.
    KeyGroupEntry(String moduleID, - String issuerDN, - BigInteger serialNumber) - -
    -          Create a new KeyGroupEntry.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this KeyGroupEntry to another.
    - StringgetIssuerDN() - -
    -          Return the issuer DN of this KeyGroupEntry for identifying the - certificate within the key module.
    - StringgetModuleID() - -
    -          Return the key module ID to which this KeyGroupEntry belongs - to.
    - BigIntegergetSerialNumber() - -
    -          Return the serial number of this KeyGroupEntry for identifying - the certificate within the key module.
    - inthashCode() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -KeyGroupEntry

    -
    -public KeyGroupEntry(String moduleID,
    -                     IssuerAndSerial issuerAndSerial)
    -
    -
    Create a new KeyGroupEntry.
    -
    Parameters:
    moduleID - The key module ID to which this entry belongs to.
    issuerAndSerial - The issuer and serial number which uniquely - identifies a certificate within the key module.
    -
    -
    -
    - -

    -KeyGroupEntry

    -
    -public KeyGroupEntry(String moduleID,
    -                     String issuerDN,
    -                     BigInteger serialNumber)
    -
    -
    Create a new KeyGroupEntry.
    -
    Parameters:
    moduleID - The key module ID to which this entry belongs to.
    issuerDN - The isser DN of the certificate within the key module.
    serialNumber - The serial number of the certificate within the key - module.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getModuleID

    -
    -public String getModuleID()
    -
    -
    Return the key module ID to which this KeyGroupEntry belongs - to.
    -
    Returns:
    The key module ID.
    -
    -
    -
    - -

    -getIssuerDN

    -
    -public String getIssuerDN()
    -
    -
    Return the issuer DN of this KeyGroupEntry for identifying the - certificate within the key module.
    -
    Returns:
    The issuer DN of the certificate.
    -
    -
    -
    - -

    -getSerialNumber

    -
    -public BigInteger getSerialNumber()
    -
    -
    Return the serial number of this KeyGroupEntry for identifying - the certificate within the key module.
    -
    Returns:
    The serial number of the certificate.
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this KeyGroupEntry to another.
    -
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The KeyGroupEntry to compare to.
    Returns:
    true, if module ID, isser DN and serial number of - other match the ones contained in this object, otherwise - false.
    See Also:
    Object.equals(Object)
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    -
    Overrides:
    hashCode in class Object
    -
    -
    -
    See Also:
    Object.hashCode()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyModule.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyModule.html deleted file mode 100644 index 9b474d9eb..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/KeyModule.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class KeyModule - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class KeyModule

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.KeyModule
    -
    -
    -
    Direct Known Subclasses:
    HardwareKeyModule, SoftwareKeyModule
    -
    -
    -
    -
    public class KeyModule
    extends Object
    - -

    -A class that contains information about a key module. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    KeyModule(String id) - -
    -          Create a Key object.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetId() - -
    -          Return the key ID.
    - StringtoString() - -
    -          Return a String representation of this Key.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -KeyModule

    -
    -public KeyModule(String id)
    -
    -
    Create a Key object.
    -
    Parameters:
    id - The key module ID.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getId

    -
    -public String getId()
    -
    -
    Return the key ID.
    -
    Returns:
    The key ID.
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -
    Return a String representation of this Key.
    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    The String representation.
    See Also:
    Object.toString()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/SoftwareKeyModule.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/SoftwareKeyModule.html deleted file mode 100644 index 476247016..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/SoftwareKeyModule.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SoftwareKeyModule - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class SoftwareKeyModule

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.KeyModule
    -        |
    -        +--at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule
    -
    -
    -
    -
    public class SoftwareKeyModule
    extends KeyModule
    - -

    -A class containing information about a software key, stored in PKCS12 format. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    SoftwareKeyModule(String id, - String fileName, - String passWord) - -
    -          Create a new SoftwareKey.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetFileName() - -
    -          Return the name of the PKCS12 keystore file containing this - SoftwareKey.
    - StringgetPassWord() - -
    -          Return the password to access the keystore file.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.config.KeyModule
    getId, toString
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SoftwareKeyModule

    -
    -public SoftwareKeyModule(String id,
    -                         String fileName,
    -                         String passWord)
    -
    -
    Create a new SoftwareKey.
    -
    Parameters:
    id - The key ID.
    fileName - The name of the PKCS12 keystore file containing the key.
    passWord - The password to access the keystore file.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getFileName

    -
    -public String getFileName()
    -
    -
    Return the name of the PKCS12 keystore file containing this - SoftwareKey.
    -
    Returns:
    The name of the PKCS12 keystore file.
    -
    -
    -
    - -

    -getPassWord

    -
    -public String getPassWord()
    -
    -
    Return the password to access the keystore file.
    -
    Returns:
    The password to access the keystore file.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/TrustProfile.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/TrustProfile.html deleted file mode 100644 index 6c3607a4f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/TrustProfile.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class TrustProfile - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.config -
    -Class TrustProfile

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.config.TrustProfile
    -
    -
    -
    -
    public class TrustProfile
    extends Object
    - -

    -Information about a trust profile. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    TrustProfile(String id, - String uri) - -
    -          Create a TrustProfile.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetId() - -
    -          Return the ID of this TrustProfile.
    - StringgetUri() - -
    -          Return the URI of this TrustProfile.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -TrustProfile

    -
    -public TrustProfile(String id,
    -                    String uri)
    -
    -
    Create a TrustProfile.
    -
    Parameters:
    id - The ID of the TrustProfile to create.
    uri - The URI of the TrustProfile to create.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getId

    -
    -public String getId()
    -
    -
    Return the ID of this TrustProfile.
    -
    Returns:
    The TrustProfile ID.
    -
    -
    -
    - -

    -getUri

    -
    -public String getUri()
    -
    -
    Return the URI of this TrustProfile.
    -
    Returns:
    The URI of TrustProfile.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationException.html deleted file mode 100644 index c669cc5a0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationException.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.ConfigurationException - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.ConfigurationException

    -
    - - - - - - - - - - - - - - - - - -
    -Packages that use ConfigurationException
    at.gv.egovernment.moa.spss.server.config  
    at.gv.egovernment.moa.spss.server.iaik.config  
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of ConfigurationException in at.gv.egovernment.moa.spss.server.config
    -  -

    - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.config that throw ConfigurationException
    -static ConfigurationProviderConfigurationProvider.getInstance() - -
    -          Return the single instance of configuration data.
    -static ConfigurationProviderConfigurationProvider.reload() - -
    -          Reload the configuration data and set it if successful.
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.config that throw ConfigurationException
    ConfigurationProvider(String fileName) - -
    -          Constructor for ConfigurationProvider.
    -  -

    - - - - - -
    -Uses of ConfigurationException in at.gv.egovernment.moa.spss.server.iaik.config
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.iaik.config that throw ConfigurationException
    - voidIaikConfigurator.configure(ConfigurationProvider moaConfig) - -
    -          Configure the IAIK MOA subsystem.
    -  -

    - - - - - -
    -Uses of ConfigurationException in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that throw ConfigurationException
    -static voidServiceContextUtils.setUpContexts() - -
    -          Set up the thread-local context information needed for calling the various - Invoker classes.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationPartsBuilder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationPartsBuilder.html deleted file mode 100644 index 5fce1cce9..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationPartsBuilder.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder

    -
    -No usage of at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationProvider.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationProvider.html deleted file mode 100644 index 9cf0facf4..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/ConfigurationProvider.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.ConfigurationProvider

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use ConfigurationProvider
    at.gv.egovernment.moa.spss.server.config  
    at.gv.egovernment.moa.spss.server.iaik.config  
    at.gv.egovernment.moa.spss.server.iaik.pki  
    at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation  
    at.gv.egovernment.moa.spss.server.iaik.pki.revocation  
    at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore  
    at.gv.egovernment.moa.spss.server.invoke  
    at.gv.egovernment.moa.spss.server.transaction  
    -  -

    - - - - - -
    -Uses of ConfigurationProvider in at.gv.egovernment.moa.spss.server.config
    -  -

    - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.config that return ConfigurationProvider
    -static ConfigurationProviderConfigurationProvider.getInstance() - -
    -          Return the single instance of configuration data.
    -static ConfigurationProviderConfigurationProvider.reload() - -
    -          Reload the configuration data and set it if successful.
    -  -

    - - - - - -
    -Uses of ConfigurationProvider in at.gv.egovernment.moa.spss.server.iaik.config
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.iaik.config with parameters of type ConfigurationProvider
    - voidIaikConfigurator.configure(ConfigurationProvider moaConfig) - -
    -          Configure the IAIK MOA subsystem.
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.config with parameters of type ConfigurationProvider
    ValidationConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new ValidationConfigurationImpl.
    ConfigurationDataImpl(ConfigurationProvider config) - -
    -          Create a new ConfigurationDataImpl.
    ArchiveConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new ArchiveConfigurationImpl.
    PKIConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new PKIConfigurationImpl.
    CertStoreConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new CertStoreConfigurationImpl.
    RevocationConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new RevocationConfigurationImpl.
    -  -

    - - - - - -
    -Uses of ConfigurationProvider in at.gv.egovernment.moa.spss.server.iaik.pki
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.pki with parameters of type ConfigurationProvider
    PKIProfileImpl(ConfigurationProvider config, - String trustProfileID) - -
    -          Create a new PKIProfileImpl.
    -  -

    - - - - - -
    -Uses of ConfigurationProvider in at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation with parameters of type ConfigurationProvider
    ValidationProfileImpl(ConfigurationProvider config) - -
    -          Create a new ValidationProfileImpl object. - -
    -  -

    - - - - - -
    -Uses of ConfigurationProvider in at.gv.egovernment.moa.spss.server.iaik.pki.revocation
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.pki.revocation with parameters of type ConfigurationProvider
    RevocationProfileImpl(ConfigurationProvider config) - -
    -          Create a new RevocationProfileImpl.
    -  -

    - - - - - -
    -Uses of ConfigurationProvider in at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore with parameters of type ConfigurationProvider
    TrustStoreProfileImpl(ConfigurationProvider config, - String trustProfileId) - -
    -          Create a new TrustStoreProfileImpl.
    -  -

    - - - - - -
    -Uses of ConfigurationProvider in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke with parameters of type ConfigurationProvider
    -static at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicitProfileMapper.mapCreateTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile profile, - ConfigurationProvider config) - -
    -          Map a CreateTransformsInfoProfile to a - CreateTransformsInfoProfileExplicit.
    -static at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicitProfileMapper.mapCreateSignatureEnvironmentProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile profile, - ConfigurationProvider config) - -
    -          Map a CreateSignatureEnvironmentProfile to a - CreateSignatureEnvironmentProfileExplicit.
    -static ListProfileMapper.mapSupplementProfiles(List profiles, - ConfigurationProvider config) - -
    -          Map a List of SupplementProfiles to their - explicit representation.
    -static at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileExplicitProfileMapper.mapSupplementProfile(at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile profile, - ConfigurationProvider config) - -
    -          Map a SupplementProfile to a - SupplementProfileExplicit.
    -static ListProfileMapper.mapVerifyTransformsInfoProfiles(List profiles, - ConfigurationProvider config) - -
    -          Map a List of VerifyTransformsInfoProfiles to - their explicit representation.
    -static at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicitProfileMapper.mapVerifyTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile profile, - ConfigurationProvider config) - -
    -          Map a VerifyTransformsInfoProfile to a - VerifyTransformsInfoProfileExplicit.
    -  -

    - - - - - -
    -Uses of ConfigurationProvider in at.gv.egovernment.moa.spss.server.transaction
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.transaction that return ConfigurationProvider
    - ConfigurationProviderTransactionContext.getConfiguration() - -
    -          Returns the ConfigurationProvider associated with this - transaction.
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.transaction with parameters of type ConfigurationProvider
    TransactionContext(String transactionID, - X509Certificate[] clientCertificate, - ConfigurationProvider configuration) - -
    -          Create a TransactionContext object.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/DistributionPoint.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/DistributionPoint.html deleted file mode 100644 index ed2691dd2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/DistributionPoint.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.DistributionPoint - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.DistributionPoint

    -
    - - - - - - - - - -
    -Packages that use DistributionPoint
    at.gv.egovernment.moa.spss.server.iaik.config  
    -  -

    - - - - - -
    -Uses of DistributionPoint in at.gv.egovernment.moa.spss.server.iaik.config
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.config with parameters of type DistributionPoint
    CRLDistributionPointAdapter(DistributionPoint distributionPoint) - -
    -          Create a new CRLDistributionPointAdapter.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/HardwareCryptoModule.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/HardwareCryptoModule.html deleted file mode 100644 index 9ceed606c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/HardwareCryptoModule.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule

    -
    - - - - - - - - - -
    -Packages that use HardwareCryptoModule
    at.gv.egovernment.moa.spss.server.iaik.config  
    -  -

    - - - - - -
    -Uses of HardwareCryptoModule in at.gv.egovernment.moa.spss.server.iaik.config
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.config with parameters of type HardwareCryptoModule
    HardwareCryptoModuleConfigurationImpl(HardwareCryptoModule module) - -
    -          Create a new HardwareCryptoModuleConfigurationImpl.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/HardwareKeyModule.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/HardwareKeyModule.html deleted file mode 100644 index a8f507225..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/HardwareKeyModule.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.HardwareKeyModule - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.HardwareKeyModule

    -
    - - - - - - - - - -
    -Packages that use HardwareKeyModule
    at.gv.egovernment.moa.spss.server.iaik.config  
    -  -

    - - - - - -
    -Uses of HardwareKeyModule in at.gv.egovernment.moa.spss.server.iaik.config
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.config with parameters of type HardwareKeyModule
    HardwareKeyModuleConfigurationImpl(HardwareKeyModule keyModule) - -
    -          Create a new HardwareKeyModuleConfigurationImpl.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/IssuerAndSerial.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/IssuerAndSerial.html deleted file mode 100644 index 95e7c9af7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/IssuerAndSerial.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.IssuerAndSerial

    -
    - - - - - - - - - -
    -Packages that use IssuerAndSerial
    at.gv.egovernment.moa.spss.server.config  
    -  -

    - - - - - -
    -Uses of IssuerAndSerial in at.gv.egovernment.moa.spss.server.config
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.config with parameters of type IssuerAndSerial
    - MapConfigurationPartsBuilder.buildKeyGroupMappings(Map keyGroups, - IssuerAndSerial anonymous) - -
    -          Build the key group mapping.
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.config with parameters of type IssuerAndSerial
    KeyGroupEntry(String moduleID, - IssuerAndSerial issuerAndSerial) - -
    -          Create a new KeyGroupEntry.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyGroup.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyGroup.html deleted file mode 100644 index 3727f21f4..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyGroup.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.KeyGroup - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.KeyGroup

    -
    -No usage of at.gv.egovernment.moa.spss.server.config.KeyGroup -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyGroupEntry.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyGroupEntry.html deleted file mode 100644 index 318898810..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyGroupEntry.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.KeyGroupEntry

    -
    -No usage of at.gv.egovernment.moa.spss.server.config.KeyGroupEntry -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyModule.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyModule.html deleted file mode 100644 index 2b488f430..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/KeyModule.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.KeyModule - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.KeyModule

    -
    - - - - - - - - - -
    -Packages that use KeyModule
    at.gv.egovernment.moa.spss.server.config  
    -  -

    - - - - - -
    -Uses of KeyModule in at.gv.egovernment.moa.spss.server.config
    -  -

    - - - - - - - - - - - - - -
    Subclasses of KeyModule in at.gv.egovernment.moa.spss.server.config
    - classHardwareKeyModule - -
    -          A class that contains information about a hardware key module.
    - classSoftwareKeyModule - -
    -          A class containing information about a software key, stored in PKCS12 format.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/SoftwareKeyModule.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/SoftwareKeyModule.html deleted file mode 100644 index 81673e9fd..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/SoftwareKeyModule.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule

    -
    - - - - - - - - - -
    -Packages that use SoftwareKeyModule
    at.gv.egovernment.moa.spss.server.iaik.config  
    -  -

    - - - - - -
    -Uses of SoftwareKeyModule in at.gv.egovernment.moa.spss.server.iaik.config
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.config with parameters of type SoftwareKeyModule
    SoftwareKeyModuleConfigurationImpl(SoftwareKeyModule keyModule) - -
    -          Create a new SoftwareKeyModuleConfigurationImpl.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/TrustProfile.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/TrustProfile.html deleted file mode 100644 index 262b0af84..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/class-use/TrustProfile.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.config.TrustProfile - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.config.TrustProfile

    -
    - - - - - - - - - -
    -Packages that use TrustProfile
    at.gv.egovernment.moa.spss.server.config  
    -  -

    - - - - - -
    -Uses of TrustProfile in at.gv.egovernment.moa.spss.server.config
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.config that return TrustProfile
    - TrustProfileConfigurationProvider.getTrustProfile(String id) - -
    -          Return a TrustProfile with the given ID.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-frame.html deleted file mode 100644 index a86892816..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-frame.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.config - - - - - -at.gv.egovernment.moa.spss.server.config - - - - -
    -Classes  - -
    -ConfigurationPartsBuilder -
    -ConfigurationProvider -
    -DistributionPoint -
    -HardwareCryptoModule -
    -HardwareKeyModule -
    -IssuerAndSerial -
    -KeyGroup -
    -KeyGroupEntry -
    -KeyModule -
    -SoftwareKeyModule -
    -TrustProfile
    - - - - - - -
    -Exceptions  - -
    -ConfigurationException
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-summary.html deleted file mode 100644 index 5cc9870cc..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-summary.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.config - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.config -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    ConfigurationPartsBuilderA class that builds configuration data from a DOM based representation.
    ConfigurationProviderA class providing access to the MOA configuration data. - -
    DistributionPointA class containing information about a CRL distribution point.
    HardwareCryptoModuleContains configuration data for a hardware crypto module.
    HardwareKeyModuleA class that contains information about a hardware key module.
    IssuerAndSerialA class containing the issuer and serial number of a certificate, which can - be used to uniquely identify the certificate. - -
    KeyGroupA collection of KeyGroupEntrys with its own ID.
    KeyGroupEntryA class containing information about an entry in a key group.
    KeyModuleA class that contains information about a key module.
    SoftwareKeyModuleA class containing information about a software key, stored in PKCS12 format.
    TrustProfileInformation about a trust profile.
    -  - -

    - - - - - - - - - -
    -Exception Summary
    ConfigurationExceptionException signalling an error in the configuration.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-tree.html deleted file mode 100644 index c94083a59..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-tree.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.config Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.config -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-use.html deleted file mode 100644 index c8c690e57..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/config/package-use.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.config - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.config

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.spss.server.config
    at.gv.egovernment.moa.spss.server.config  
    at.gv.egovernment.moa.spss.server.iaik.config  
    at.gv.egovernment.moa.spss.server.iaik.pki  
    at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation  
    at.gv.egovernment.moa.spss.server.iaik.pki.revocation  
    at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore  
    at.gv.egovernment.moa.spss.server.invoke  
    at.gv.egovernment.moa.spss.server.transaction  
    -  -

    - - - - - - - - - - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.config used by at.gv.egovernment.moa.spss.server.config
    ConfigurationException - -
    -          Exception signalling an error in the configuration.
    ConfigurationProvider - -
    -          A class providing access to the MOA configuration data. - -
    IssuerAndSerial - -
    -          A class containing the issuer and serial number of a certificate, which can - be used to uniquely identify the certificate. - -
    KeyModule - -
    -          A class that contains information about a key module.
    TrustProfile - -
    -          Information about a trust profile.
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.config used by at.gv.egovernment.moa.spss.server.iaik.config
    ConfigurationException - -
    -          Exception signalling an error in the configuration.
    ConfigurationProvider - -
    -          A class providing access to the MOA configuration data. - -
    DistributionPoint - -
    -          A class containing information about a CRL distribution point.
    HardwareCryptoModule - -
    -          Contains configuration data for a hardware crypto module.
    HardwareKeyModule - -
    -          A class that contains information about a hardware key module.
    SoftwareKeyModule - -
    -          A class containing information about a software key, stored in PKCS12 format.
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.config used by at.gv.egovernment.moa.spss.server.iaik.pki
    ConfigurationProvider - -
    -          A class providing access to the MOA configuration data. - -
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.config used by at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation
    ConfigurationProvider - -
    -          A class providing access to the MOA configuration data. - -
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.config used by at.gv.egovernment.moa.spss.server.iaik.pki.revocation
    ConfigurationProvider - -
    -          A class providing access to the MOA configuration data. - -
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.config used by at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore
    ConfigurationProvider - -
    -          A class providing access to the MOA configuration data. - -
    -  -

    - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.config used by at.gv.egovernment.moa.spss.server.invoke
    ConfigurationException - -
    -          Exception signalling an error in the configuration.
    ConfigurationProvider - -
    -          A class providing access to the MOA configuration data. - -
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.config used by at.gv.egovernment.moa.spss.server.transaction
    ConfigurationProvider - -
    -          A class providing access to the MOA configuration data. - -
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/CMSSignatureVerificationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/CMSSignatureVerificationProfileImpl.html deleted file mode 100644 index 3c4981ec8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/CMSSignatureVerificationProfileImpl.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CMSSignatureVerificationProfileImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.cmsverify -
    -Class CMSSignatureVerificationProfileImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.cmsverify.CMSSignatureVerificationProfile
    -
    -
    -
    -
    public class CMSSignatureVerificationProfileImpl
    extends Object
    implements iaik.server.modules.cmsverify.CMSSignatureVerificationProfile
    - -

    -An implementation of the CMSSignatureVerificationProfile - interface. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    CMSSignatureVerificationProfile
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    CMSSignatureVerificationProfileImpl() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - iaik.pki.PKIProfilegetCertificateValidationProfile() - -
    -           
    - voidsetCertificateValidationProfile(iaik.pki.PKIProfile certificateValidationProfile) - -
    -          Sets the profile for validating the signer certificate.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CMSSignatureVerificationProfileImpl

    -
    -public CMSSignatureVerificationProfileImpl()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getCertificateValidationProfile

    -
    -public iaik.pki.PKIProfile getCertificateValidationProfile()
    -
    -
    -
    Specified by:
    getCertificateValidationProfile in interface iaik.server.modules.cmsverify.CMSSignatureVerificationProfile
    -
    -
    -
    See Also:
    CMSSignatureVerificationProfile.getCertificateValidationProfile()
    -
    -
    -
    - -

    -setCertificateValidationProfile

    -
    -public void setCertificateValidationProfile(iaik.pki.PKIProfile certificateValidationProfile)
    -
    -
    Sets the profile for validating the signer certificate.
    -
    -
    -
    -
    Parameters:
    certificateValidationProfile - The certificate validation profile to - set.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/class-use/CMSSignatureVerificationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/class-use/CMSSignatureVerificationProfileImpl.html deleted file mode 100644 index c453ce878..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/class-use/CMSSignatureVerificationProfileImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-frame.html deleted file mode 100644 index 8c1b8babd..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.cmsverify - - - - - -at.gv.egovernment.moa.spss.server.iaik.cmsverify - - - - -
    -Classes  - -
    -CMSSignatureVerificationProfileImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-summary.html deleted file mode 100644 index 074ca69b5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-summary.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.cmsverify - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.cmsverify -

    - - - - - - - - - -
    -Class Summary
    CMSSignatureVerificationProfileImplAn implementation of the CMSSignatureVerificationProfile - interface.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-tree.html deleted file mode 100644 index 18cf1b13c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-tree.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.cmsverify Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.cmsverify -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-use.html deleted file mode 100644 index 8e6808ffb..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/cmsverify/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.cmsverify - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.cmsverify

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.cmsverify -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/AbstractKeyModuleConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/AbstractKeyModuleConfigurationImpl.html deleted file mode 100644 index a13e4d487..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/AbstractKeyModuleConfigurationImpl.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class AbstractKeyModuleConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class AbstractKeyModuleConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.keys.KeyModuleConfiguration
    -
    -
    -
    Direct Known Subclasses:
    HardwareKeyModuleConfigurationImpl, SoftwareKeyModuleConfigurationImpl
    -
    -
    -
    -
    public abstract class AbstractKeyModuleConfigurationImpl
    extends Object
    implements iaik.server.modules.keys.KeyModuleConfiguration
    - -

    -Base implementation class for the KeyModuleConfiguration - interface and the interfaces derived from it. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    KeyModuleConfiguration
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    AbstractKeyModuleConfigurationImpl(String moduleID) - -
    -          Creata new AbstractKeyModuleConfigurationImpl.
    -  - - - - - - - - - - - -
    -Method Summary
    - StringgetModuleID() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -AbstractKeyModuleConfigurationImpl

    -
    -public AbstractKeyModuleConfigurationImpl(String moduleID)
    -
    -
    Creata new AbstractKeyModuleConfigurationImpl.
    -
    Parameters:
    moduleID - The key module ID of this - KeyModuleConfiguration.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getModuleID

    -
    -public String getModuleID()
    -
    -
    -
    Specified by:
    getModuleID in interface iaik.server.modules.keys.KeyModuleConfiguration
    -
    -
    -
    See Also:
    KeyModuleConfiguration.getModuleID()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/AbstractObservableConfiguration.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/AbstractObservableConfiguration.html deleted file mode 100644 index 821d7efe0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/AbstractObservableConfiguration.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class AbstractObservableConfiguration - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class AbstractObservableConfiguration

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    -
    -
    -
    All Implemented Interfaces:
    iaik.servertools.observer.Observable
    -
    -
    -
    Direct Known Subclasses:
    ArchiveConfigurationImpl, CertStoreConfigurationImpl, RevocationConfigurationImpl, ValidationConfigurationImpl
    -
    -
    -
    -
    public abstract class AbstractObservableConfiguration
    extends Object
    implements iaik.servertools.observer.Observable
    - -

    -A base class for observable configuration data. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    AbstractObservableConfiguration() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddObserver(iaik.servertools.observer.Observer observer) - -
    -           
    - voidnotify(iaik.servertools.observer.NotificationData data) - -
    -           
    - booleanremoveObserver(iaik.servertools.observer.Observer observer) - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -AbstractObservableConfiguration

    -
    -public AbstractObservableConfiguration()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -addObserver

    -
    -public void addObserver(iaik.servertools.observer.Observer observer)
    -
    -
    -
    Specified by:
    addObserver in interface iaik.servertools.observer.Observable
    -
    -
    -
    See Also:
    iaik.utils.observer.Observable#addObserver(iaik.utils.observer.Observer)
    -
    -
    -
    - -

    -removeObserver

    -
    -public boolean removeObserver(iaik.servertools.observer.Observer observer)
    -
    -
    -
    Specified by:
    removeObserver in interface iaik.servertools.observer.Observable
    -
    -
    -
    See Also:
    iaik.utils.observer.Observable#removeObserver(iaik.utils.observer.Observer)
    -
    -
    -
    - -

    -notify

    -
    -public void notify(iaik.servertools.observer.NotificationData data)
    -
    -
    -
    Specified by:
    notify in interface iaik.servertools.observer.Observable
    -
    -
    -
    See Also:
    iaik.utils.observer.Observable#notify(iaik.utils.observer.NotificationData)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ArchiveConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ArchiveConfigurationImpl.html deleted file mode 100644 index ba4ebd2b8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ArchiveConfigurationImpl.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ArchiveConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class ArchiveConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.store.revocation.archive.ArchiveConfiguration, iaik.servertools.observer.Observable
    -
    -
    -
    -
    public class ArchiveConfigurationImpl
    extends AbstractObservableConfiguration
    implements iaik.pki.store.revocation.archive.ArchiveConfiguration
    - -

    -An implementation of the ArchiveConfiguration interface - using configuration data provided by the MOA configuration file. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    ArchiveConfiguration
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ArchiveConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new ArchiveConfigurationImpl.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - iaik.pki.store.revocation.archive.ArchiveParametergetArchiveParameters() - -
    -          Return the ArchiveParameters describing this - ArchiveConfiguration.
    - StringgetType() - -
    -          Return the type of archive. - -
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    addObserver, notify, removeObserver
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.servertools.observer.Observable
    addObserver, notify, removeObserver
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ArchiveConfigurationImpl

    -
    -public ArchiveConfigurationImpl(ConfigurationProvider config)
    -
    -
    Create a new ArchiveConfigurationImpl.
    -
    Parameters:
    config - The MOA configuration from which the configuration data is - being read.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getType

    -
    -public String getType()
    -
    -
    Return the type of archive. - - This will always return ArchiveTypes.DATABASE.
    -
    Specified by:
    getType in interface iaik.pki.store.revocation.archive.ArchiveConfiguration
    -
    -
    -
    Returns:
    ArchiveTypes.DATABASE.
    See Also:
    ArchiveConfiguration.getType()
    -
    -
    -
    - -

    -getArchiveParameters

    -
    -public iaik.pki.store.revocation.archive.ArchiveParameter getArchiveParameters()
    -
    -
    Return the ArchiveParameters describing this - ArchiveConfiguration.
    -
    Specified by:
    getArchiveParameters in interface iaik.pki.store.revocation.archive.ArchiveConfiguration
    -
    -
    -
    Returns:
    The archive parameters.
    See Also:
    ArchiveConfiguration.getArchiveParameters()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/CRLDistributionPointAdapter.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/CRLDistributionPointAdapter.html deleted file mode 100644 index 864f4e140..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/CRLDistributionPointAdapter.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CRLDistributionPointAdapter - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class CRLDistributionPointAdapter

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.revocation.CRLDistributionPoint, iaik.pki.revocation.DistributionPoint
    -
    -
    -
    -
    public class CRLDistributionPointAdapter
    extends Object
    implements iaik.pki.revocation.CRLDistributionPoint
    - -

    -A class that wraps an - at.gv.egovernment.moa.spss.server.config.DistributionPoint as a - iaik.pki.revocation.CRLDistributionPoint. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    CRLDistributionPoint
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    CRLDistributionPointAdapter(DistributionPoint distributionPoint) - -
    -          Create a new CRLDistributionPointAdapter.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - intgetReasonCodes() - -
    -           
    - StringgetType() - -
    -           
    - StringgetUri() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CRLDistributionPointAdapter

    -
    -public CRLDistributionPointAdapter(DistributionPoint distributionPoint)
    -
    -
    Create a new CRLDistributionPointAdapter.
    -
    Parameters:
    distributionPoint - The DistributionPoint to wrap. It - contains the data configured in the MOA configuration.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getReasonCodes

    -
    -public int getReasonCodes()
    -
    -
    -
    Specified by:
    getReasonCodes in interface iaik.pki.revocation.CRLDistributionPoint
    -
    -
    -
    See Also:
    CRLDistributionPoint.getReasonCodes()
    -
    -
    -
    - -

    -getType

    -
    -public String getType()
    -
    -
    -
    Specified by:
    getType in interface iaik.pki.revocation.DistributionPoint
    -
    -
    -
    Returns:
    RevocationSourceTypes.CRL
    See Also:
    DistributionPoint.getType()
    -
    -
    -
    - -

    -getUri

    -
    -public String getUri()
    -
    -
    -
    Specified by:
    getUri in interface iaik.pki.revocation.DistributionPoint
    -
    -
    -
    See Also:
    DistributionPoint.getUri()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/CertStoreConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/CertStoreConfigurationImpl.html deleted file mode 100644 index a22cde4fb..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/CertStoreConfigurationImpl.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CertStoreConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class CertStoreConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.config.CertStoreConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.store.certstore.CertStoreConfiguration, iaik.servertools.observer.Observable
    -
    -
    -
    -
    public class CertStoreConfigurationImpl
    extends AbstractObservableConfiguration
    implements iaik.pki.store.certstore.CertStoreConfiguration
    - -

    -An implementation of the CertStoreConfiguration interface based - on MOA configuration data. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    CertStoreConfiguration
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    CertStoreConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new CertStoreConfigurationImpl.
    -  - - - - - - - - - - - -
    -Method Summary
    - iaik.pki.store.certstore.CertStoreParameters[]getParameters() - -
    -           
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    addObserver, notify, removeObserver
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.servertools.observer.Observable
    addObserver, notify, removeObserver
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CertStoreConfigurationImpl

    -
    -public CertStoreConfigurationImpl(ConfigurationProvider config)
    -
    -
    Create a new CertStoreConfigurationImpl.
    -
    Parameters:
    config - The MOA configuration from which the configuration data is - being read.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getParameters

    -
    -public iaik.pki.store.certstore.CertStoreParameters[] getParameters()
    -
    -
    -
    Specified by:
    getParameters in interface iaik.pki.store.certstore.CertStoreConfiguration
    -
    -
    -
    See Also:
    CertStoreConfiguration.getParameters()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImpl.html deleted file mode 100644 index 51018f2a5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImpl.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ConfigurationDataImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class ConfigurationDataImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.ConfigurationData
    -
    -
    -
    -
    public class ConfigurationDataImpl
    extends Object
    implements iaik.server.ConfigurationData
    - -

    -An implementation of the ConfigurationData interface using - MOA configuration data. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    ConfigurationData
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ConfigurationDataImpl(ConfigurationProvider config) - -
    -          Create a new ConfigurationDataImpl.
    -  - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - ListgetCryptoModuleConfigurations() - -
    -           
    - ListgetKeyModuleConfigurations() - -
    -           
    - iaik.logging.LoggerConfiggetLoggerConfig() - -
    -           
    - iaik.pki.PKIConfigurationgetPKIConfiguration() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ConfigurationDataImpl

    -
    -public ConfigurationDataImpl(ConfigurationProvider config)
    -
    -
    Create a new ConfigurationDataImpl.
    -
    Parameters:
    config - The underlying MOA configuration data.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getPKIConfiguration

    -
    -public iaik.pki.PKIConfiguration getPKIConfiguration()
    -
    -
    -
    Specified by:
    getPKIConfiguration in interface iaik.server.ConfigurationData
    -
    -
    -
    See Also:
    ConfigurationData.getPKIConfiguration()
    -
    -
    -
    - -

    -getCryptoModuleConfigurations

    -
    -public List getCryptoModuleConfigurations()
    -
    -
    -
    Specified by:
    getCryptoModuleConfigurations in interface iaik.server.ConfigurationData
    -
    -
    -
    See Also:
    ConfigurationData.getCryptoModuleConfigurations()
    -
    -
    -
    - -

    -getKeyModuleConfigurations

    -
    -public List getKeyModuleConfigurations()
    -
    -
    -
    Specified by:
    getKeyModuleConfigurations in interface iaik.server.ConfigurationData
    -
    -
    -
    See Also:
    ConfigurationData.getKeyModuleConfigurations()
    -
    -
    -
    - -

    -getLoggerConfig

    -
    -public iaik.logging.LoggerConfig getLoggerConfig()
    -
    -
    -
    Specified by:
    getLoggerConfig in interface iaik.server.ConfigurationData
    -
    -
    -
    See Also:
    ConfigurationData.getLoggerConfig()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/DataBaseArchiveParameterImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/DataBaseArchiveParameterImpl.html deleted file mode 100644 index 9b36700da..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/DataBaseArchiveParameterImpl.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class DataBaseArchiveParameterImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class DataBaseArchiveParameterImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.DataBaseArchiveParameterImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.store.revocation.archive.ArchiveParameter, iaik.pki.store.revocation.archive.db.DataBaseArchiveParameter
    -
    -
    -
    -
    public class DataBaseArchiveParameterImpl
    extends Object
    implements iaik.pki.store.revocation.archive.db.DataBaseArchiveParameter
    - -

    -An implementation of the DataBaseArchiveParameter interface. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    DataBaseArchiveParameter
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    DataBaseArchiveParameterImpl(String jDBCUrl) - -
    -          Create a new DataBaseArchiveParameterImpl.
    -  - - - - - - - - - - - -
    -Method Summary
    - StringgetJDBCUrl() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -DataBaseArchiveParameterImpl

    -
    -public DataBaseArchiveParameterImpl(String jDBCUrl)
    -
    -
    Create a new DataBaseArchiveParameterImpl.
    -
    Parameters:
    jDBCUrl - The JDBC URL of the archive.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getJDBCUrl

    -
    -public String getJDBCUrl()
    -
    -
    -
    Specified by:
    getJDBCUrl in interface iaik.pki.store.revocation.archive.db.DataBaseArchiveParameter
    -
    -
    -
    See Also:
    DataBaseArchiveParameter.getJDBCUrl()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/DirectoryCertStoreParametersImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/DirectoryCertStoreParametersImpl.html deleted file mode 100644 index f24f3cf61..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/DirectoryCertStoreParametersImpl.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class DirectoryCertStoreParametersImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class DirectoryCertStoreParametersImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.store.certstore.CertStoreParameters, iaik.pki.store.certstore.directory.DirectoryCertStoreParameters
    -
    -
    -
    -
    public class DirectoryCertStoreParametersImpl
    extends Object
    implements iaik.pki.store.certstore.directory.DirectoryCertStoreParameters
    - -

    -An implementation of the DirectoryCertStoreParameters interface. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    DirectoryCertStoreParameters
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    DirectoryCertStoreParametersImpl(String id, - String rootDirectory, - boolean createNew, - boolean readOnly) - -
    -          Create a new DirectoryCertStoreParameterImpl.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleancreateNew() - -
    -           
    - StringgetId() - -
    -           
    - StringgetRootDirectory() - -
    -           
    - StringgetType() - -
    -           
    - booleanisReadOnly() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -DirectoryCertStoreParametersImpl

    -
    -public DirectoryCertStoreParametersImpl(String id,
    -                                        String rootDirectory,
    -                                        boolean createNew,
    -                                        boolean readOnly)
    -
    -
    Create a new DirectoryCertStoreParameterImpl.
    -
    Parameters:
    id - The CertStore ID.
    rootDirectory - The root directory of the CertStore.
    createNew - Whether a new directory may be created.
    readOnly - Whether the CertStore is read-only.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getRootDirectory

    -
    -public String getRootDirectory()
    -
    -
    -
    Specified by:
    getRootDirectory in interface iaik.pki.store.certstore.directory.DirectoryCertStoreParameters
    -
    -
    -
    See Also:
    DirectoryCertStoreParameters.getRootDirectory()
    -
    -
    -
    - -

    -createNew

    -
    -public boolean createNew()
    -
    -
    -
    Specified by:
    createNew in interface iaik.pki.store.certstore.directory.DirectoryCertStoreParameters
    -
    -
    -
    See Also:
    DirectoryCertStoreParameters.createNew()
    -
    -
    -
    - -

    -getId

    -
    -public String getId()
    -
    -
    -
    Specified by:
    getId in interface iaik.pki.store.certstore.CertStoreParameters
    -
    -
    -
    See Also:
    CertStoreParameters.getId()
    -
    -
    -
    - -

    -isReadOnly

    -
    -public boolean isReadOnly()
    -
    -
    -
    Specified by:
    isReadOnly in interface iaik.pki.store.certstore.CertStoreParameters
    -
    -
    -
    See Also:
    CertStoreParameters.isReadOnly()
    -
    -
    -
    - -

    -getType

    -
    -public String getType()
    -
    -
    -
    Specified by:
    getType in interface iaik.pki.store.certstore.CertStoreParameters
    -
    -
    -
    Returns:
    CertStoreTypes.DIRECTORY
    See Also:
    CertStoreParameters.getType()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/HardwareCryptoModuleConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/HardwareCryptoModuleConfigurationImpl.html deleted file mode 100644 index 5a9e9b2aa..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/HardwareCryptoModuleConfigurationImpl.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class HardwareCryptoModuleConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class HardwareCryptoModuleConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.crypto.CryptoModuleConfiguration, iaik.server.modules.crypto.HardwareCryptoModuleConfiguration
    -
    -
    -
    -
    public class HardwareCryptoModuleConfigurationImpl
    extends Object
    implements iaik.server.modules.crypto.HardwareCryptoModuleConfiguration
    - -

    -An implementation of the HardwareCryptoModuleConfiguration - wrapping a HardwareCryptoModule from the MOA configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    HardwareCryptoModuleConfigurationImpl(HardwareCryptoModule module) - -
    -          Create a new HardwareCryptoModuleConfigurationImpl.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetModuleName() - -
    -           
    - StringgetSlotID() - -
    -           
    - char[]getUserPIN() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -HardwareCryptoModuleConfigurationImpl

    -
    -public HardwareCryptoModuleConfigurationImpl(HardwareCryptoModule module)
    -
    -
    Create a new HardwareCryptoModuleConfigurationImpl.
    -
    Parameters:
    module - The HardwareCryptoModule from the underlying MOA - configuration.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getModuleName

    -
    -public String getModuleName()
    -
    -
    -
    Specified by:
    getModuleName in interface iaik.server.modules.crypto.HardwareCryptoModuleConfiguration
    -
    -
    -
    See Also:
    HardwareCryptoModuleConfiguration.getModuleName()
    -
    -
    -
    - -

    -getSlotID

    -
    -public String getSlotID()
    -
    -
    -
    Specified by:
    getSlotID in interface iaik.server.modules.crypto.HardwareCryptoModuleConfiguration
    -
    -
    -
    See Also:
    HardwareCryptoModuleConfiguration.getSlotID()
    -
    -
    -
    - -

    -getUserPIN

    -
    -public char[] getUserPIN()
    -
    -
    -
    Specified by:
    getUserPIN in interface iaik.server.modules.crypto.HardwareCryptoModuleConfiguration
    -
    -
    -
    See Also:
    HardwareCryptoModuleConfiguration.getUserPIN()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/HardwareKeyModuleConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/HardwareKeyModuleConfigurationImpl.html deleted file mode 100644 index e1193127d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/HardwareKeyModuleConfigurationImpl.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class HardwareKeyModuleConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class HardwareKeyModuleConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.keys.HardwareKeyModuleConfiguration, iaik.server.modules.keys.KeyModuleConfiguration
    -
    -
    -
    -
    public class HardwareKeyModuleConfigurationImpl
    extends AbstractKeyModuleConfigurationImpl
    implements iaik.server.modules.keys.HardwareKeyModuleConfiguration
    - -

    -An implementation of the HardwareKeyModuleConfiguration - interface wrapping a HardwareKeyModule from the MOA - configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    HardwareKeyModuleConfiguration
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    HardwareKeyModuleConfigurationImpl(HardwareKeyModule keyModule) - -
    -          Create a new HardwareKeyModuleConfigurationImpl.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetModuleName() - -
    -           
    - StringgetSlotID() - -
    -           
    - char[]getUserPIN() - -
    -           
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl
    getModuleID
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.keys.KeyModuleConfiguration
    getModuleID
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -HardwareKeyModuleConfigurationImpl

    -
    -public HardwareKeyModuleConfigurationImpl(HardwareKeyModule keyModule)
    -
    -
    Create a new HardwareKeyModuleConfigurationImpl.
    -
    Parameters:
    keyModule - The HardwareKeyModule from the underlying - MOA configuration.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getModuleName

    -
    -public String getModuleName()
    -
    -
    -
    Specified by:
    getModuleName in interface iaik.server.modules.keys.HardwareKeyModuleConfiguration
    -
    -
    -
    See Also:
    HardwareKeyModuleConfiguration.getModuleName()
    -
    -
    -
    - -

    -getSlotID

    -
    -public String getSlotID()
    -
    -
    -
    Specified by:
    getSlotID in interface iaik.server.modules.keys.HardwareKeyModuleConfiguration
    -
    -
    -
    See Also:
    HardwareKeyModuleConfiguration.getSlotID()
    -
    -
    -
    - -

    -getUserPIN

    -
    -public char[] getUserPIN()
    -
    -
    -
    Specified by:
    getUserPIN in interface iaik.server.modules.keys.HardwareKeyModuleConfiguration
    -
    -
    -
    See Also:
    HardwareKeyModuleConfiguration.getUserPIN()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.html deleted file mode 100644 index a2f4a29b3..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class IaikConfigurator - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class IaikConfigurator

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator
    -
    -
    -
    -
    public class IaikConfigurator
    extends Object
    - -

    -A class responsible for configuring the IAIK MOA modules. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    IaikConfigurator() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - voidconfigure(ConfigurationProvider moaConfig) - -
    -          Configure the IAIK MOA subsystem.
    - ListgetWarnings() - -
    -          Return the warnings encountered during configuration.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -IaikConfigurator

    -
    -public IaikConfigurator()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -configure

    -
    -public void configure(ConfigurationProvider moaConfig)
    -               throws ConfigurationException
    -
    -
    Configure the IAIK MOA subsystem.
    -
    Parameters:
    moaConfig - The underlying MOA configuration.
    Throws:
    ConfigurationException - An error occurred configuring the IAIK - MOA subsystem.
    -
    -
    -
    - -

    -getWarnings

    -
    -public List getWarnings()
    -
    -
    Return the warnings encountered during configuration.
    -
    Returns:
    The warnings.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/LoggerConfigImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/LoggerConfigImpl.html deleted file mode 100644 index 0925ace9b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/LoggerConfigImpl.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class LoggerConfigImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class LoggerConfigImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.logging.LoggerConfig
    -
    -
    -
    -
    public class LoggerConfigImpl
    extends Object
    implements iaik.logging.LoggerConfig
    - -

    -Default implementation of the LoggerConfig interface. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    LoggerConfigImpl() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetFactory() - -
    -           
    - StringgetNodeId() - -
    -           
    - PropertiesgetProperties() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -LoggerConfigImpl

    -
    -public LoggerConfigImpl()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getFactory

    -
    -public String getFactory()
    -
    -
    -
    Specified by:
    getFactory in interface iaik.logging.LoggerConfig
    -
    -
    -
    - -

    -getProperties

    -
    -public Properties getProperties()
    -                         throws iaik.logging.LogConfigurationException
    -
    -
    -
    Specified by:
    getProperties in interface iaik.logging.LoggerConfig
    -
    -
    -
    - -

    -getNodeId

    -
    -public String getNodeId()
    -
    -
    -
    Specified by:
    getNodeId in interface iaik.logging.LoggerConfig
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/PKIConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/PKIConfigurationImpl.html deleted file mode 100644 index ed5112403..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/PKIConfigurationImpl.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class PKIConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class PKIConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.PKIConfiguration
    -
    -
    -
    -
    public class PKIConfigurationImpl
    extends Object
    implements iaik.pki.PKIConfiguration
    - -

    -An implementation of the PKIConfiguration interface using data - from the MOA configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    PKIConfiguration
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    PKIConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new PKIConfigurationImpl.
    -  - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - iaik.pki.store.revocation.archive.ArchiveConfigurationgetArchiveConfiguration() - -
    -           
    - iaik.pki.store.certstore.CertStoreConfigurationgetCertStoreConfiguration() - -
    -           
    - iaik.pki.revocation.RevocationConfigurationgetRevocationConfiguration() - -
    -           
    - iaik.pki.pathvalidation.ValidationConfigurationgetValidationConfiguration() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -PKIConfigurationImpl

    -
    -public PKIConfigurationImpl(ConfigurationProvider config)
    -
    -
    Create a new PKIConfigurationImpl.
    -
    Parameters:
    config - The underlying MOA configuration which will be used to build - the configuration data contained in this object.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getCertStoreConfiguration

    -
    -public iaik.pki.store.certstore.CertStoreConfiguration getCertStoreConfiguration()
    -
    -
    -
    Specified by:
    getCertStoreConfiguration in interface iaik.pki.PKIConfiguration
    -
    -
    -
    See Also:
    PKIConfiguration.getCertStoreConfiguration()
    -
    -
    -
    - -

    -getRevocationConfiguration

    -
    -public iaik.pki.revocation.RevocationConfiguration getRevocationConfiguration()
    -
    -
    -
    Specified by:
    getRevocationConfiguration in interface iaik.pki.PKIConfiguration
    -
    -
    -
    See Also:
    PKIConfiguration.getRevocationConfiguration()
    -
    -
    -
    - -

    -getArchiveConfiguration

    -
    -public iaik.pki.store.revocation.archive.ArchiveConfiguration getArchiveConfiguration()
    -
    -
    -
    Specified by:
    getArchiveConfiguration in interface iaik.pki.PKIConfiguration
    -
    -
    -
    See Also:
    PKIConfiguration.getArchiveConfiguration()
    -
    -
    -
    - -

    -getValidationConfiguration

    -
    -public iaik.pki.pathvalidation.ValidationConfiguration getValidationConfiguration()
    -
    -
    -
    Specified by:
    getValidationConfiguration in interface iaik.pki.PKIConfiguration
    -
    -
    -
    See Also:
    PKIConfiguration.getValidationConfiguration()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/RevocationConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/RevocationConfigurationImpl.html deleted file mode 100644 index d03f710c5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/RevocationConfigurationImpl.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class RevocationConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class RevocationConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.servertools.observer.Observable, iaik.pki.revocation.RevocationConfiguration
    -
    -
    -
    -
    public class RevocationConfigurationImpl
    extends AbstractObservableConfiguration
    implements iaik.pki.revocation.RevocationConfiguration
    - -

    -An implementation of the RevocationConfiguration interface using - MOA configuration data. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    RevocationConfiguration
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    RevocationConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new RevocationConfigurationImpl.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanarchiveRevocationInfo(String type, - String uri) - -
    -           
    - SetgetAlternativeDistributionPoints(X509Certificate cert, - Date date) - -
    -           
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    addObserver, notify, removeObserver
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.servertools.observer.Observable
    addObserver, notify, removeObserver
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -RevocationConfigurationImpl

    -
    -public RevocationConfigurationImpl(ConfigurationProvider config)
    -
    -
    Create a new RevocationConfigurationImpl.
    -
    Parameters:
    config - The underlying MOA configuration containing the configuration - data.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getAlternativeDistributionPoints

    -
    -public Set getAlternativeDistributionPoints(X509Certificate cert,
    -                                            Date date)
    -
    -
    -
    Specified by:
    getAlternativeDistributionPoints in interface iaik.pki.revocation.RevocationConfiguration
    -
    -
    -
    See Also:
    RevocationConfiguration.getAlternativeDistributionPoints(java.security.cert.X509Certificate, java.util.Date)
    -
    -
    -
    - -

    -archiveRevocationInfo

    -
    -public boolean archiveRevocationInfo(String type,
    -                                     String uri)
    -
    -
    -
    Specified by:
    archiveRevocationInfo in interface iaik.pki.revocation.RevocationConfiguration
    -
    -
    -
    See Also:
    RevocationConfiguration.archiveRevocationInfo(java.lang.String, java.lang.String)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/SoftwareKeyModuleConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/SoftwareKeyModuleConfigurationImpl.html deleted file mode 100644 index daa91cac3..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/SoftwareKeyModuleConfigurationImpl.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SoftwareKeyModuleConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class SoftwareKeyModuleConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.keys.KeyModuleConfiguration, iaik.server.modules.keys.SoftwareKeyModuleConfiguration
    -
    -
    -
    -
    public class SoftwareKeyModuleConfigurationImpl
    extends AbstractKeyModuleConfigurationImpl
    implements iaik.server.modules.keys.SoftwareKeyModuleConfiguration
    - -

    -An implementation of the SoftwareKeyModuleConfiguration wrapping - a SoftwareKeyModule from the MOA configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    SoftwareKeyModuleConfiguration
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.keys.SoftwareKeyModuleConfiguration
    KEY_STORE_TYPE_NAME_PKCS12
    -  - - - - - - - - - - -
    -Constructor Summary
    SoftwareKeyModuleConfigurationImpl(SoftwareKeyModule keyModule) - -
    -          Create a new SoftwareKeyModuleConfigurationImpl.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - InputStreamgetKeyStoreAsStream() - -
    -           
    - char[]getKeyStoreAuthenticationData() - -
    -           
    - StringgetKeyStoreTypeName() - -
    -           
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl
    getModuleID
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.keys.KeyModuleConfiguration
    getModuleID
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SoftwareKeyModuleConfigurationImpl

    -
    -public SoftwareKeyModuleConfigurationImpl(SoftwareKeyModule keyModule)
    -
    -
    Create a new SoftwareKeyModuleConfigurationImpl.
    -
    Parameters:
    keyModule - The SoftwareKeyModule from the underlying MOA - configuration.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getKeyStoreTypeName

    -
    -public String getKeyStoreTypeName()
    -
    -
    -
    Specified by:
    getKeyStoreTypeName in interface iaik.server.modules.keys.SoftwareKeyModuleConfiguration
    -
    -
    -
    See Also:
    SoftwareKeyModuleConfiguration.getKeyStoreTypeName()
    -
    -
    -
    - -

    -getKeyStoreAsStream

    -
    -public InputStream getKeyStoreAsStream()
    -
    -
    -
    Specified by:
    getKeyStoreAsStream in interface iaik.server.modules.keys.SoftwareKeyModuleConfiguration
    -
    -
    -
    See Also:
    SoftwareKeyModuleConfiguration.getKeyStoreAsStream()
    -
    -
    -
    - -

    -getKeyStoreAuthenticationData

    -
    -public char[] getKeyStoreAuthenticationData()
    -
    -
    -
    Specified by:
    getKeyStoreAuthenticationData in interface iaik.server.modules.keys.SoftwareKeyModuleConfiguration
    -
    -
    -
    See Also:
    SoftwareKeyModuleConfiguration.getKeyStoreAuthenticationData()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ValidationConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ValidationConfigurationImpl.html deleted file mode 100644 index 73e8fe6da..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/ValidationConfigurationImpl.html +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ValidationConfigurationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.config -
    -Class ValidationConfigurationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.servertools.observer.Observable, iaik.pki.pathvalidation.ValidationConfiguration
    -
    -
    -
    -
    public class ValidationConfigurationImpl
    extends AbstractObservableConfiguration
    implements iaik.pki.pathvalidation.ValidationConfiguration
    - -

    -An implementation of the ValidationConfiguration interface using - MOA configuration data. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    ValidationConfiguration
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ValidationConfigurationImpl(ConfigurationProvider config) - -
    -          Create a new ValidationConfigurationImpl.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetChainingMode(X509Certificate cert) - -
    -           
    - X509CertificategetPublicKeyParamsAsCert(X509Certificate cert) - -
    -           
    - AlgorithmParameterSpecgetPublicKeyParamsAsSpec(X509Certificate cert) - -
    -           
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration
    addObserver, notify, removeObserver
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.servertools.observer.Observable
    addObserver, notify, removeObserver
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ValidationConfigurationImpl

    -
    -public ValidationConfigurationImpl(ConfigurationProvider config)
    -
    -
    Create a new ValidationConfigurationImpl.
    -
    Parameters:
    config - The underlying MOA configuration data.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getChainingMode

    -
    -public String getChainingMode(X509Certificate cert)
    -
    -
    -
    Specified by:
    getChainingMode in interface iaik.pki.pathvalidation.ValidationConfiguration
    -
    -
    -
    See Also:
    ValidationConfiguration.getChainingMode(java.security.cert.X509Certificate)
    -
    -
    -
    - -

    -getPublicKeyParamsAsSpec

    -
    -public AlgorithmParameterSpec getPublicKeyParamsAsSpec(X509Certificate cert)
    -
    -
    -
    Specified by:
    getPublicKeyParamsAsSpec in interface iaik.pki.pathvalidation.ValidationConfiguration
    -
    -
    -
    See Also:
    ValidationConfiguration.getPublicKeyParamsAsSpec(java.security.cert.X509Certificate)
    -
    -
    -
    - -

    -getPublicKeyParamsAsCert

    -
    -public X509Certificate getPublicKeyParamsAsCert(X509Certificate cert)
    -
    -
    -
    Specified by:
    getPublicKeyParamsAsCert in interface iaik.pki.pathvalidation.ValidationConfiguration
    -
    -
    -
    See Also:
    ValidationConfiguration.getPublicKeyParamsAsCert(java.security.cert.X509Certificate)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/AbstractKeyModuleConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/AbstractKeyModuleConfigurationImpl.html deleted file mode 100644 index 9855a4bbe..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/AbstractKeyModuleConfigurationImpl.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl

    -
    - - - - - - - - - -
    -Packages that use AbstractKeyModuleConfigurationImpl
    at.gv.egovernment.moa.spss.server.iaik.config  
    -  -

    - - - - - -
    -Uses of AbstractKeyModuleConfigurationImpl in at.gv.egovernment.moa.spss.server.iaik.config
    -  -

    - - - - - - - - - - - - - -
    Subclasses of AbstractKeyModuleConfigurationImpl in at.gv.egovernment.moa.spss.server.iaik.config
    - classHardwareKeyModuleConfigurationImpl - -
    -          An implementation of the HardwareKeyModuleConfiguration - interface wrapping a HardwareKeyModule from the MOA - configuration.
    - classSoftwareKeyModuleConfigurationImpl - -
    -          An implementation of the SoftwareKeyModuleConfiguration wrapping - a SoftwareKeyModule from the MOA configuration.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/AbstractObservableConfiguration.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/AbstractObservableConfiguration.html deleted file mode 100644 index f51e33ff0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/AbstractObservableConfiguration.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration

    -
    - - - - - - - - - -
    -Packages that use AbstractObservableConfiguration
    at.gv.egovernment.moa.spss.server.iaik.config  
    -  -

    - - - - - -
    -Uses of AbstractObservableConfiguration in at.gv.egovernment.moa.spss.server.iaik.config
    -  -

    - - - - - - - - - - - - - - - - - - - - - -
    Subclasses of AbstractObservableConfiguration in at.gv.egovernment.moa.spss.server.iaik.config
    - classArchiveConfigurationImpl - -
    -          An implementation of the ArchiveConfiguration interface - using configuration data provided by the MOA configuration file.
    - classCertStoreConfigurationImpl - -
    -          An implementation of the CertStoreConfiguration interface based - on MOA configuration data.
    - classRevocationConfigurationImpl - -
    -          An implementation of the RevocationConfiguration interface using - MOA configuration data.
    - classValidationConfigurationImpl - -
    -          An implementation of the ValidationConfiguration interface using - MOA configuration data.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ArchiveConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ArchiveConfigurationImpl.html deleted file mode 100644 index d02c37fda..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ArchiveConfigurationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/CRLDistributionPointAdapter.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/CRLDistributionPointAdapter.html deleted file mode 100644 index b3fa7dee2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/CRLDistributionPointAdapter.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/CertStoreConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/CertStoreConfigurationImpl.html deleted file mode 100644 index f3ab257f5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/CertStoreConfigurationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.CertStoreConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.CertStoreConfigurationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.CertStoreConfigurationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ConfigurationDataImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ConfigurationDataImpl.html deleted file mode 100644 index f39c72ca7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ConfigurationDataImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/DataBaseArchiveParameterImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/DataBaseArchiveParameterImpl.html deleted file mode 100644 index 519a2fca8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/DataBaseArchiveParameterImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.DataBaseArchiveParameterImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.DataBaseArchiveParameterImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.DataBaseArchiveParameterImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/DirectoryCertStoreParametersImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/DirectoryCertStoreParametersImpl.html deleted file mode 100644 index 8cd354763..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/DirectoryCertStoreParametersImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/HardwareCryptoModuleConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/HardwareCryptoModuleConfigurationImpl.html deleted file mode 100644 index ced67b9e3..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/HardwareCryptoModuleConfigurationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/HardwareKeyModuleConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/HardwareKeyModuleConfigurationImpl.html deleted file mode 100644 index 5d5124fbd..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/HardwareKeyModuleConfigurationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/IaikConfigurator.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/IaikConfigurator.html deleted file mode 100644 index 96538d704..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/IaikConfigurator.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/LoggerConfigImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/LoggerConfigImpl.html deleted file mode 100644 index 453391170..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/LoggerConfigImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/PKIConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/PKIConfigurationImpl.html deleted file mode 100644 index fc155f875..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/PKIConfigurationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/RevocationConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/RevocationConfigurationImpl.html deleted file mode 100644 index 692a2089b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/RevocationConfigurationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/SoftwareKeyModuleConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/SoftwareKeyModuleConfigurationImpl.html deleted file mode 100644 index 1b2761755..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/SoftwareKeyModuleConfigurationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ValidationConfigurationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ValidationConfigurationImpl.html deleted file mode 100644 index f1d9eddf2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/class-use/ValidationConfigurationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-frame.html deleted file mode 100644 index eaae36bed..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-frame.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.config - - - - - -at.gv.egovernment.moa.spss.server.iaik.config - - - - -
    -Classes  - -
    -AbstractKeyModuleConfigurationImpl -
    -AbstractObservableConfiguration -
    -ArchiveConfigurationImpl -
    -CertStoreConfigurationImpl -
    -ConfigurationDataImpl -
    -CRLDistributionPointAdapter -
    -DataBaseArchiveParameterImpl -
    -DirectoryCertStoreParametersImpl -
    -HardwareCryptoModuleConfigurationImpl -
    -HardwareKeyModuleConfigurationImpl -
    -IaikConfigurator -
    -LoggerConfigImpl -
    -PKIConfigurationImpl -
    -RevocationConfigurationImpl -
    -SoftwareKeyModuleConfigurationImpl -
    -ValidationConfigurationImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-summary.html deleted file mode 100644 index 103bba7c0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-summary.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.config - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.config -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    AbstractKeyModuleConfigurationImplBase implementation class for the KeyModuleConfiguration - interface and the interfaces derived from it.
    AbstractObservableConfigurationA base class for observable configuration data.
    ArchiveConfigurationImplAn implementation of the ArchiveConfiguration interface - using configuration data provided by the MOA configuration file.
    CertStoreConfigurationImplAn implementation of the CertStoreConfiguration interface based - on MOA configuration data.
    ConfigurationDataImplAn implementation of the ConfigurationData interface using - MOA configuration data.
    CRLDistributionPointAdapterA class that wraps an - at.gv.egovernment.moa.spss.server.config.DistributionPoint as a - iaik.pki.revocation.CRLDistributionPoint.
    DataBaseArchiveParameterImplAn implementation of the DataBaseArchiveParameter interface.
    DirectoryCertStoreParametersImplAn implementation of the DirectoryCertStoreParameters interface.
    HardwareCryptoModuleConfigurationImplAn implementation of the HardwareCryptoModuleConfiguration - wrapping a HardwareCryptoModule from the MOA configuration.
    HardwareKeyModuleConfigurationImplAn implementation of the HardwareKeyModuleConfiguration - interface wrapping a HardwareKeyModule from the MOA - configuration.
    IaikConfiguratorA class responsible for configuring the IAIK MOA modules.
    LoggerConfigImplDefault implementation of the LoggerConfig interface.
    PKIConfigurationImplAn implementation of the PKIConfiguration interface using data - from the MOA configuration.
    RevocationConfigurationImplAn implementation of the RevocationConfiguration interface using - MOA configuration data.
    SoftwareKeyModuleConfigurationImplAn implementation of the SoftwareKeyModuleConfiguration wrapping - a SoftwareKeyModule from the MOA configuration.
    ValidationConfigurationImplAn implementation of the ValidationConfiguration interface using - MOA configuration data.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-tree.html deleted file mode 100644 index a1fd0f00e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-tree.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.config Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.config -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl (implements iaik.server.modules.keys.KeyModuleConfiguration) - -
      • class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration (implements iaik.servertools.observer.Observable) -
          -
        • class at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl (implements iaik.pki.store.revocation.archive.ArchiveConfiguration) -
        • class at.gv.egovernment.moa.spss.server.iaik.config.CertStoreConfigurationImpl (implements iaik.pki.store.certstore.CertStoreConfiguration) -
        • class at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl (implements iaik.pki.revocation.RevocationConfiguration) -
        • class at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl (implements iaik.pki.pathvalidation.ValidationConfiguration) -
        -
      • class at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl (implements iaik.server.ConfigurationData) -
      • class at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter (implements iaik.pki.revocation.CRLDistributionPoint) -
      • class at.gv.egovernment.moa.spss.server.iaik.config.DataBaseArchiveParameterImpl (implements iaik.pki.store.revocation.archive.db.DataBaseArchiveParameter) -
      • class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl (implements iaik.pki.store.certstore.directory.DirectoryCertStoreParameters) -
      • class at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl (implements iaik.server.modules.crypto.HardwareCryptoModuleConfiguration) -
      • class at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator
      • class at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl (implements iaik.logging.LoggerConfig) -
      • class at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl (implements iaik.pki.PKIConfiguration) -
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-use.html deleted file mode 100644 index dcdd9c6f6..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/config/package-use.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.config - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.config

    -
    - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.spss.server.iaik.config
    at.gv.egovernment.moa.spss.server.iaik.config  
    -  -

    - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.iaik.config used by at.gv.egovernment.moa.spss.server.iaik.config
    AbstractKeyModuleConfigurationImpl - -
    -          Base implementation class for the KeyModuleConfiguration - interface and the interfaces derived from it.
    AbstractObservableConfiguration - -
    -          A base class for observable configuration data.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/PKIProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/PKIProfileImpl.html deleted file mode 100644 index 5e19fa240..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/PKIProfileImpl.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class PKIProfileImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.pki -
    -Class PKIProfileImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.PKIProfile
    -
    -
    -
    -
    public class PKIProfileImpl
    extends Object
    implements iaik.pki.PKIProfile
    - -

    -Implementation of the PKIProfile interface containing - information needed for certificate path validation. It uses configuration - data from the MOA configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    PKIProfileImpl(ConfigurationProvider config, - String trustProfileID) - -
    -          Create a new PKIProfileImpl.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanautoAddCertificates() - -
    -           
    - iaik.pki.revocation.RevocationProfilegetRevocationProfile() - -
    -           
    - iaik.pki.store.truststore.TrustStoreProfilegetTrustStoreProfile() - -
    -           
    - iaik.pki.pathvalidation.ValidationProfilegetValidationProfile() - -
    -           
    -protected  voidsetRevocationProfile(iaik.pki.revocation.RevocationProfile revocationProfile) - -
    -          Sets the RevocationProfile.
    -protected  voidsetTrustStoreProfile(iaik.pki.store.truststore.TrustStoreProfile trustStoreProfile) - -
    -          Sets the TrustStoreProfile.
    -protected  voidsetValidationProfile(iaik.pki.pathvalidation.ValidationProfile validationProfile) - -
    -          Sets the ValidationProfile.
    - booleanuseAuthorityInfoAccess() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -PKIProfileImpl

    -
    -public PKIProfileImpl(ConfigurationProvider config,
    -                      String trustProfileID)
    -               throws MOAApplicationException
    -
    -
    Create a new PKIProfileImpl.
    -
    Parameters:
    config - The MOA configuration providing configuration data about - certificate path validation.
    trustProfileID - The trust profile ID denoting the location of the - trust store.
    Throws:
    MOAApplicationException - An error occurred building the profile.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -autoAddCertificates

    -
    -public boolean autoAddCertificates()
    -
    -
    -
    Specified by:
    autoAddCertificates in interface iaik.pki.PKIProfile
    -
    -
    -
    See Also:
    PKIProfile.autoAddCertificates()
    -
    -
    -
    - -

    -getRevocationProfile

    -
    -public iaik.pki.revocation.RevocationProfile getRevocationProfile()
    -
    -
    -
    Specified by:
    getRevocationProfile in interface iaik.pki.PKIProfile
    -
    -
    -
    See Also:
    PKIProfile.getRevocationProfile()
    -
    -
    -
    - -

    -setRevocationProfile

    -
    -protected void setRevocationProfile(iaik.pki.revocation.RevocationProfile revocationProfile)
    -
    -
    Sets the RevocationProfile.
    -
    -
    -
    -
    Parameters:
    revocationProfile - The RevocationProfile used for - revocation checking.
    -
    -
    -
    - -

    -getTrustStoreProfile

    -
    -public iaik.pki.store.truststore.TrustStoreProfile getTrustStoreProfile()
    -
    -
    -
    Specified by:
    getTrustStoreProfile in interface iaik.pki.PKIProfile
    -
    -
    -
    See Also:
    PKIProfile.getTrustStoreProfile()
    -
    -
    -
    - -

    -setTrustStoreProfile

    -
    -protected void setTrustStoreProfile(iaik.pki.store.truststore.TrustStoreProfile trustStoreProfile)
    -
    -
    Sets the TrustStoreProfile.
    -
    -
    -
    -
    Parameters:
    trustStoreProfile - The TrustStoreProfile.
    -
    -
    -
    - -

    -getValidationProfile

    -
    -public iaik.pki.pathvalidation.ValidationProfile getValidationProfile()
    -
    -
    -
    Specified by:
    getValidationProfile in interface iaik.pki.PKIProfile
    -
    -
    -
    See Also:
    PKIProfile.getValidationProfile()
    -
    -
    -
    - -

    -setValidationProfile

    -
    -protected void setValidationProfile(iaik.pki.pathvalidation.ValidationProfile validationProfile)
    -
    -
    Sets the ValidationProfile.
    -
    -
    -
    -
    Parameters:
    validationProfile - The ValidationProfile to set.
    -
    -
    -
    - -

    -useAuthorityInfoAccess

    -
    -public boolean useAuthorityInfoAccess()
    -
    -
    -
    Specified by:
    useAuthorityInfoAccess in interface iaik.pki.PKIProfile
    -
    -
    -
    See Also:
    PKIProfile.useAuthorityInfoAccess()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/class-use/PKIProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/class-use/PKIProfileImpl.html deleted file mode 100644 index c40ef02c7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/class-use/PKIProfileImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-frame.html deleted file mode 100644 index 630080b8c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.pki - - - - - -at.gv.egovernment.moa.spss.server.iaik.pki - - - - -
    -Classes  - -
    -PKIProfileImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-summary.html deleted file mode 100644 index ab0bb1c41..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-summary.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.pki - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.pki -

    - - - - - - - - - -
    -Class Summary
    PKIProfileImplImplementation of the PKIProfile interface containing - information needed for certificate path validation.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-tree.html deleted file mode 100644 index eb632d6fb..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-tree.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.pki Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.pki -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl (implements iaik.pki.PKIProfile) -
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-use.html deleted file mode 100644 index 7d0775514..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.pki - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.pki

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.pki -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/ValidationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/ValidationProfileImpl.html deleted file mode 100644 index 71981a8e5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/ValidationProfileImpl.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ValidationProfileImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation -
    -Class ValidationProfileImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.pathvalidation.ValidationProfile
    -
    -
    -
    -
    public class ValidationProfileImpl
    extends Object
    implements iaik.pki.pathvalidation.ValidationProfile
    - -

    -An implementation of the ValidationProfile interface providing - information about certificat path validation. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ValidationProfileImpl(ConfigurationProvider config) - -
    -          Create a new ValidationProfileImpl object. - -
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleangetInitialAnyPolicyInhibit() - -
    -           
    - booleangetInitialExplicitPolicy() - -
    -           
    - booleangetInitialPolicyMappingInhibit() - -
    -           
    - SetgetInitialPolicySet() - -
    -           
    - booleangetNameConstraintsProcessing() - -
    -           
    - booleangetPolicyProcessing() - -
    -           
    - booleangetRevocationChecking() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ValidationProfileImpl

    -
    -public ValidationProfileImpl(ConfigurationProvider config)
    -
    -
    Create a new ValidationProfileImpl object. - - This objects's fields are preset to the following values: - -
      -
    • initialAnyPolicyInhibit = true
    • -
    • initialExplicitPoliy = true
    • -
    • initialPolicyMappingInhibit = true
    • -
    • initialPolicySet = empty
    • -
    • policyProcessing = false
    • -
    • nameConstraintsProcessing = false
    • -
    • revocationChecking = false
    • -
    -
    Parameters:
    config - MOA configuration data for additional configuration - information (currently unused).
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getInitialAnyPolicyInhibit

    -
    -public boolean getInitialAnyPolicyInhibit()
    -
    -
    -
    Specified by:
    getInitialAnyPolicyInhibit in interface iaik.pki.pathvalidation.ValidationProfile
    -
    -
    -
    See Also:
    ValidationProfile.getInitialAnyPolicyInhibit()
    -
    -
    -
    - -

    -getInitialExplicitPolicy

    -
    -public boolean getInitialExplicitPolicy()
    -
    -
    -
    Specified by:
    getInitialExplicitPolicy in interface iaik.pki.pathvalidation.ValidationProfile
    -
    -
    -
    See Also:
    ValidationProfile.getInitialExplicitPolicy()
    -
    -
    -
    - -

    -getInitialPolicyMappingInhibit

    -
    -public boolean getInitialPolicyMappingInhibit()
    -
    -
    -
    Specified by:
    getInitialPolicyMappingInhibit in interface iaik.pki.pathvalidation.ValidationProfile
    -
    -
    -
    See Also:
    ValidationProfile.getInitialPolicyMappingInhibit()
    -
    -
    -
    - -

    -getInitialPolicySet

    -
    -public Set getInitialPolicySet()
    -
    -
    -
    Specified by:
    getInitialPolicySet in interface iaik.pki.pathvalidation.ValidationProfile
    -
    -
    -
    See Also:
    ValidationProfile.getInitialPolicySet()
    -
    -
    -
    - -

    -getPolicyProcessing

    -
    -public boolean getPolicyProcessing()
    -
    -
    -
    Specified by:
    getPolicyProcessing in interface iaik.pki.pathvalidation.ValidationProfile
    -
    -
    -
    See Also:
    ValidationProfile.getPolicyProcessing()
    -
    -
    -
    - -

    -getNameConstraintsProcessing

    -
    -public boolean getNameConstraintsProcessing()
    -
    -
    -
    Specified by:
    getNameConstraintsProcessing in interface iaik.pki.pathvalidation.ValidationProfile
    -
    -
    -
    See Also:
    ValidationProfile.getNameConstraintsProcessing()
    -
    -
    -
    - -

    -getRevocationChecking

    -
    -public boolean getRevocationChecking()
    -
    -
    -
    Specified by:
    getRevocationChecking in interface iaik.pki.pathvalidation.ValidationProfile
    -
    -
    -
    See Also:
    ValidationProfile.getRevocationChecking()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/class-use/ValidationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/class-use/ValidationProfileImpl.html deleted file mode 100644 index b6331db96..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/class-use/ValidationProfileImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-frame.html deleted file mode 100644 index 5b96f69d5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation - - - - - -at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation - - - - -
    -Classes  - -
    -ValidationProfileImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-summary.html deleted file mode 100644 index 8ac98591a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-summary.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation -

    - - - - - - - - - -
    -Class Summary
    ValidationProfileImplAn implementation of the ValidationProfile interface providing - information about certificat path validation.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-tree.html deleted file mode 100644 index 297839cfa..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-tree.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl (implements iaik.pki.pathvalidation.ValidationProfile) -
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-use.html deleted file mode 100644 index 645deab2d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.html deleted file mode 100644 index c5c5fcc2b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class RevocationProfileImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.pki.revocation -
    -Class RevocationProfileImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.pki.revocation.RevocationProfile
    -
    -
    -
    -
    public class RevocationProfileImpl
    extends Object
    implements iaik.pki.revocation.RevocationProfile
    - -

    -An implementation of the RevocationProfile interface providing - information about revocation status checking, based on MOA configuration - data. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    RevocationProfileImpl(ConfigurationProvider config) - -
    -          Create a new RevocationProfileImpl.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - longgetMaxRevocationAge(String distributionPointUri) - -
    -           
    - StringgetOCSPRequestHashAlgorithm() - -
    -           
    - String[]getPreferredServiceOrder(X509Certificate cert) - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -RevocationProfileImpl

    -
    -public RevocationProfileImpl(ConfigurationProvider config)
    -
    -
    Create a new RevocationProfileImpl.
    -
    Parameters:
    config - The MOA configuration data.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getMaxRevocationAge

    -
    -public long getMaxRevocationAge(String distributionPointUri)
    -
    -
    -
    Specified by:
    getMaxRevocationAge in interface iaik.pki.revocation.RevocationProfile
    -
    -
    -
    See Also:
    RevocationProfile.getMaxRevocationAge(String)
    -
    -
    -
    - -

    -getOCSPRequestHashAlgorithm

    -
    -public String getOCSPRequestHashAlgorithm()
    -
    -
    -
    Specified by:
    getOCSPRequestHashAlgorithm in interface iaik.pki.revocation.RevocationProfile
    -
    -
    -
    See Also:
    RevocationProfile.getOCSPRequestHashAlgorithm()
    -
    -
    -
    - -

    -getPreferredServiceOrder

    -
    -public String[] getPreferredServiceOrder(X509Certificate cert)
    -
    -
    -
    Specified by:
    getPreferredServiceOrder in interface iaik.pki.revocation.RevocationProfile
    -
    -
    -
    See Also:
    RevocationProfile.getPreferredServiceOrder(java.security.cert.X509Certificate)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/class-use/RevocationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/class-use/RevocationProfileImpl.html deleted file mode 100644 index 05205cde7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/class-use/RevocationProfileImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-frame.html deleted file mode 100644 index 20643c437..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.pki.revocation - - - - - -at.gv.egovernment.moa.spss.server.iaik.pki.revocation - - - - -
    -Classes  - -
    -RevocationProfileImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-summary.html deleted file mode 100644 index ddd5fe949..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-summary.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.pki.revocation - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.pki.revocation -

    - - - - - - - - - -
    -Class Summary
    RevocationProfileImplAn implementation of the RevocationProfile interface providing - information about revocation status checking, based on MOA configuration - data.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-tree.html deleted file mode 100644 index 71215763b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-tree.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.pki.revocation Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.pki.revocation -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl (implements iaik.pki.revocation.RevocationProfile) -
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-use.html deleted file mode 100644 index 274a0132d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.pki.revocation - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.pki.revocation

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.pki.revocation -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/TrustStoreProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/TrustStoreProfileImpl.html deleted file mode 100644 index f0b8e76cf..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/TrustStoreProfileImpl.html +++ /dev/null @@ -1,365 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class TrustStoreProfileImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore -
    -Class TrustStoreProfileImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.servertools.observer.Observable, iaik.pki.store.truststore.TrustStoreProfile
    -
    -
    -
    -
    public class TrustStoreProfileImpl
    extends Object
    implements iaik.pki.store.truststore.TrustStoreProfile
    - -

    -An implementation of the TrustStoreProfile interface, using data - from the MOA configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    TrustStoreProfile
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    TrustStoreProfileImpl(ConfigurationProvider config, - String trustProfileId) - -
    -          Create a new TrustStoreProfileImpl.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddObserver(iaik.servertools.observer.Observer observer) - -
    -           
    - StringgetType() - -
    -           
    - StringgetURI() - -
    -           
    - voidnotify(iaik.servertools.observer.NotificationData notificationData) - -
    -           
    - booleanremoveObserver(iaik.servertools.observer.Observer observer) - -
    -           
    -protected  voidsetType(String type) - -
    -          Sets the the trust store type.
    -protected  voidsetURI(String URI) - -
    -          Sets the trust store URI.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -TrustStoreProfileImpl

    -
    -public TrustStoreProfileImpl(ConfigurationProvider config,
    -                             String trustProfileId)
    -                      throws MOAApplicationException
    -
    -
    Create a new TrustStoreProfileImpl.
    -
    Parameters:
    config - The MOA configuration data, from which trust store - configuration data is read.
    trustProfileId - The trust profile id on which this - TrustStoreProfile is based.
    Throws:
    MOAApplicationException - The trustProfileId could not - be found in the MOA configuration.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getType

    -
    -public String getType()
    -
    -
    -
    Specified by:
    getType in interface iaik.pki.store.truststore.TrustStoreProfile
    -
    -
    -
    See Also:
    TrustStoreProfile.getType()
    -
    -
    -
    - -

    -setType

    -
    -protected void setType(String type)
    -
    -
    Sets the the trust store type.
    -
    -
    -
    -
    Parameters:
    type - The trust store type to set.
    -
    -
    -
    - -

    -getURI

    -
    -public String getURI()
    -
    -
    -
    Specified by:
    getURI in interface iaik.pki.store.truststore.TrustStoreProfile
    -
    -
    -
    See Also:
    TrustStoreProfile.getURI()
    -
    -
    -
    - -

    -setURI

    -
    -protected void setURI(String URI)
    -
    -
    Sets the trust store URI.
    -
    -
    -
    -
    Parameters:
    URI - The trust store URI to set.
    -
    -
    -
    - -

    -addObserver

    -
    -public void addObserver(iaik.servertools.observer.Observer observer)
    -
    -
    -
    Specified by:
    addObserver in interface iaik.servertools.observer.Observable
    -
    -
    -
    See Also:
    iaik.utils.observer.Observable#addObserver(Observer)
    -
    -
    -
    - -

    -removeObserver

    -
    -public boolean removeObserver(iaik.servertools.observer.Observer observer)
    -
    -
    -
    Specified by:
    removeObserver in interface iaik.servertools.observer.Observable
    -
    -
    -
    See Also:
    iaik.utils.observer.Observable#removeObserver(Observer)
    -
    -
    -
    - -

    -notify

    -
    -public void notify(iaik.servertools.observer.NotificationData notificationData)
    -
    -
    -
    Specified by:
    notify in interface iaik.servertools.observer.Observable
    -
    -
    -
    See Also:
    iaik.utils.observer.Observable#notify(NotificationData)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/class-use/TrustStoreProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/class-use/TrustStoreProfileImpl.html deleted file mode 100644 index ec67c0861..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/class-use/TrustStoreProfileImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-frame.html deleted file mode 100644 index 035482b00..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore - - - - - -at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore - - - - -
    -Classes  - -
    -TrustStoreProfileImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-summary.html deleted file mode 100644 index d1ed5464e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-summary.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore -

    - - - - - - - - - -
    -Class Summary
    TrustStoreProfileImplAn implementation of the TrustStoreProfile interface, using data - from the MOA configuration.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-tree.html deleted file mode 100644 index ab1f1c986..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-tree.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl (implements iaik.pki.store.truststore.TrustStoreProfile) -
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-use.html deleted file mode 100644 index 3fdf84daa..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/Base64TransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/Base64TransformationImpl.html deleted file mode 100644 index 9981bba68..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/Base64TransformationImpl.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class Base64TransformationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class Base64TransformationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.Base64Transformation, iaik.server.modules.xml.Transformation
    -
    -
    -
    -
    public class Base64TransformationImpl
    extends TransformationImpl
    implements iaik.server.modules.xml.Base64Transformation
    - -

    -An implementation of the Base64Transformation - Transformation type. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.Base64Transformation
    ALL, BASE64_DECODING
    -  - - - - - - - - - - -
    -Constructor Summary
    Base64TransformationImpl() - -
    -          Create a new Base64TransformationImpl.
    -  - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this Base64Transformation to another.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    getAlgorithmURI, hashCode, setAlgorithmURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.Transformation
    getAlgorithmURI, hashCode
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -Base64TransformationImpl

    -
    -public Base64TransformationImpl()
    -
    -
    Create a new Base64TransformationImpl.
    -
    See Also:
    Object.Object()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this Base64Transformation to another.
    -
    Specified by:
    equals in interface iaik.server.modules.xml.Transformation
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare thisBase64Transformation - to.
    Returns:
    true, if other is a - Base64Transformation and the algorithm URIs match, otherwise - false.
    See Also:
    Object.equals(Object)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ByteArrayDataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ByteArrayDataObjectImpl.html deleted file mode 100644 index 921256232..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ByteArrayDataObjectImpl.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ByteArrayDataObjectImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class ByteArrayDataObjectImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.BinaryDataObject, iaik.server.modules.xml.DataObject
    -
    -
    -
    -
    public class ByteArrayDataObjectImpl
    extends DataObjectImpl
    implements iaik.server.modules.xml.BinaryDataObject
    - -

    -A BinaryDataObject encapsulating Base64 data. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ByteArrayDataObjectImpl(byte[] bytes) - -
    -          Create a new ByteArrayDataObjectImpl.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - InputStreamgetInputStream() - -
    -          Return the binary data encoded in the Base64 String as a - stream.
    - voidsetBytes(byte[] bytes) - -
    -          Set the Base64 data.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    getMimeType, getReferenceID, getTypeURI, getURI, setMimeType, setReferenceID, setTypeURI, setURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.DataObject
    getMimeType, getReferenceID, getTypeURI, getURI
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ByteArrayDataObjectImpl

    -
    -public ByteArrayDataObjectImpl(byte[] bytes)
    -
    -
    Create a new ByteArrayDataObjectImpl.
    -
    Parameters:
    bytes - The binary data contained in this - BinaryDataObject.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setBytes

    -
    -public void setBytes(byte[] bytes)
    -
    -
    Set the Base64 data.
    -
    -
    -
    -
    Parameters:
    bytes - The binary data contained in this - BinaryDataObject.
    -
    -
    -
    - -

    -getInputStream

    -
    -public InputStream getInputStream()
    -
    -
    Return the binary data encoded in the Base64 String as a - stream.
    -
    Specified by:
    getInputStream in interface iaik.server.modules.xml.BinaryDataObject
    -
    -
    -
    Returns:
    The binary data contained in this object, as a - InputStream. Repeated calls to this function will return a - new stream to the Base64 data.
    See Also:
    BinaryDataObject.getInputStream()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ByteStreamDataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ByteStreamDataObjectImpl.html deleted file mode 100644 index 5abf61ba6..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ByteStreamDataObjectImpl.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ByteStreamDataObjectImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class ByteStreamDataObjectImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.BinaryDataObject, iaik.server.modules.xml.DataObject
    -
    -
    -
    -
    public class ByteStreamDataObjectImpl
    extends DataObjectImpl
    implements iaik.server.modules.xml.BinaryDataObject
    - -

    -A BinaryDataObject encapsulating binary data from a stream. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ByteStreamDataObjectImpl(InputStream inputStream) - -
    -          Create a new ByteStreamDataObjectImpl.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - InputStreamgetInputStream() - -
    -          Return the binary data from this object as a stream.
    - voidsetInputStream(InputStream inputStream) - -
    -          Set the input stream from which to read the binary data.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    getMimeType, getReferenceID, getTypeURI, getURI, setMimeType, setReferenceID, setTypeURI, setURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.DataObject
    getMimeType, getReferenceID, getTypeURI, getURI
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ByteStreamDataObjectImpl

    -
    -public ByteStreamDataObjectImpl(InputStream inputStream)
    -
    -
    Create a new ByteStreamDataObjectImpl.
    -
    Parameters:
    inputStream - The stream from which to read the binary data.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setInputStream

    -
    -public void setInputStream(InputStream inputStream)
    -
    -
    Set the input stream from which to read the binary data.
    -
    -
    -
    -
    Parameters:
    inputStream - The input stream from which to read the binary data.
    -
    -
    -
    - -

    -getInputStream

    -
    -public InputStream getInputStream()
    -
    -
    Return the binary data from this object as a stream.
    -
    Specified by:
    getInputStream in interface iaik.server.modules.xml.BinaryDataObject
    -
    -
    -
    Returns:
    The stream containing the binary data. Calling this function - repeatedly will always return the same InputStream.
    See Also:
    BinaryDataObject.getInputStream()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/CanonicalizationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/CanonicalizationImpl.html deleted file mode 100644 index d7a7916be..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/CanonicalizationImpl.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CanonicalizationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class CanonicalizationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.Canonicalization, iaik.server.modules.xml.Transformation
    -
    -
    -
    -
    public class CanonicalizationImpl
    extends TransformationImpl
    implements iaik.server.modules.xml.Canonicalization
    - -

    -An implementation of the CanonicalizationTransform - Transformation type. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.Canonicalization
    ALL, CANONICAL_XML, CANONICAL_XML_WITH_COMMENTS, EXCLUSIVE_CANONICAL_XML, EXCLUSIVE_CANONICAL_XML_WITH_COMMENTS
    -  - - - - - - - - - - -
    -Constructor Summary
    CanonicalizationImpl(String algorithmURI) - -
    -          Create a new CanonicalizationTransformImpl object.
    -  - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this object to another Canonicalization.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    getAlgorithmURI, hashCode, setAlgorithmURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.Transformation
    getAlgorithmURI, hashCode
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CanonicalizationImpl

    -
    -public CanonicalizationImpl(String algorithmURI)
    -
    -
    Create a new CanonicalizationTransformImpl object.
    -
    Parameters:
    algorithmURI - The canonicalization algorithm URI.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this object to another Canonicalization.
    -
    Specified by:
    equals in interface iaik.server.modules.xml.Transformation
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare this - Canonicalization to.
    Returns:
    true, if other is a - Canonicalization and the algorithm URIs match, otherwise - false.
    See Also:
    Object.equals(Object)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/DataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/DataObjectImpl.html deleted file mode 100644 index 7f7b863b7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/DataObjectImpl.html +++ /dev/null @@ -1,381 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class DataObjectImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class DataObjectImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.DataObject
    -
    -
    -
    Direct Known Subclasses:
    ByteArrayDataObjectImpl, ByteStreamDataObjectImpl, XMLDataObjectImpl, XMLNodeListDataObjectImpl
    -
    -
    -
    -
    public abstract class DataObjectImpl
    extends Object
    implements iaik.server.modules.xml.DataObject
    - -

    -Abstract base implementation for the classes derived from - DataObject. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    DataObjectImpl() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetMimeType() - -
    -           
    - StringgetReferenceID() - -
    -           
    - StringgetTypeURI() - -
    -           
    - StringgetURI() - -
    -           
    - voidsetMimeType(String mimeType) - -
    -          Set the mime type.
    - voidsetReferenceID(String referenceID) - -
    -          Set the reference ID.
    - voidsetTypeURI(String typeURI) - -
    -          Set the type URI.
    - voidsetURI(String URI) - -
    -          Set the URI.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -DataObjectImpl

    -
    -public DataObjectImpl()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getMimeType

    -
    -public String getMimeType()
    -
    -
    -
    Specified by:
    getMimeType in interface iaik.server.modules.xml.DataObject
    -
    -
    -
    See Also:
    DataObject.getMimeType()
    -
    -
    -
    - -

    -setMimeType

    -
    -public void setMimeType(String mimeType)
    -
    -
    Set the mime type.
    -
    -
    -
    -
    Parameters:
    mimeType - The mime type to set.
    -
    -
    -
    - -

    -getReferenceID

    -
    -public String getReferenceID()
    -
    -
    -
    Specified by:
    getReferenceID in interface iaik.server.modules.xml.DataObject
    -
    -
    -
    See Also:
    DataObject.getReferenceID()
    -
    -
    -
    - -

    -setReferenceID

    -
    -public void setReferenceID(String referenceID)
    -
    -
    Set the reference ID.
    -
    -
    -
    -
    Parameters:
    referenceID - The reference ID.
    -
    -
    -
    - -

    -getTypeURI

    -
    -public String getTypeURI()
    -
    -
    -
    Specified by:
    getTypeURI in interface iaik.server.modules.xml.DataObject
    -
    -
    -
    See Also:
    DataObject.getTypeURI()
    -
    -
    -
    - -

    -setTypeURI

    -
    -public void setTypeURI(String typeURI)
    -
    -
    Set the type URI.
    -
    -
    -
    -
    Parameters:
    typeURI - The type URI.
    -
    -
    -
    - -

    -getURI

    -
    -public String getURI()
    -
    -
    -
    Specified by:
    getURI in interface iaik.server.modules.xml.DataObject
    -
    -
    -
    See Also:
    DataObject.getURI()
    -
    -
    -
    - -

    -setURI

    -
    -public void setURI(String URI)
    -
    -
    Set the URI.
    -
    -
    -
    -
    Parameters:
    URI - The URI.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/EnvelopedSignatureTransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/EnvelopedSignatureTransformationImpl.html deleted file mode 100644 index 937f3c420..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/EnvelopedSignatureTransformationImpl.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class EnvelopedSignatureTransformationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class EnvelopedSignatureTransformationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.EnvelopedSignatureTransformation, iaik.server.modules.xml.Transformation
    -
    -
    -
    -
    public class EnvelopedSignatureTransformationImpl
    extends TransformationImpl
    implements iaik.server.modules.xml.EnvelopedSignatureTransformation
    - -

    -An implementation of the EnvelopedSignatureTransformation - Transformation type. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.EnvelopedSignatureTransformation
    ALL, ENVELOPED_SIGNATURE
    -  - - - - - - - - - - -
    -Constructor Summary
    EnvelopedSignatureTransformationImpl() - -
    -          Create a new EnvelopedSignatureTransformationImpl.
    -  - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this object to another EnvelopedSignatureTransformation.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    getAlgorithmURI, hashCode, setAlgorithmURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.Transformation
    getAlgorithmURI, hashCode
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -EnvelopedSignatureTransformationImpl

    -
    -public EnvelopedSignatureTransformationImpl()
    -
    -
    Create a new EnvelopedSignatureTransformationImpl.
    - - - - - - - - -
    -Method Detail
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this object to another EnvelopedSignatureTransformation.
    -
    Specified by:
    equals in interface iaik.server.modules.xml.Transformation
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare this - EnvelopedSignatureTransformation to.
    Returns:
    true, if other is a - EnvelopedSignatureTransformation, otherwise - false.
    See Also:
    Object.equals(Object)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ExclusiveCanonicalizationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ExclusiveCanonicalizationImpl.html deleted file mode 100644 index df896b7ec..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/ExclusiveCanonicalizationImpl.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ExclusiveCanonicalizationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class ExclusiveCanonicalizationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.Canonicalization, iaik.server.modules.xml.ExclusiveCanonicalization, iaik.server.modules.xml.Transformation
    -
    -
    -
    -
    public class ExclusiveCanonicalizationImpl
    extends TransformationImpl
    implements iaik.server.modules.xml.ExclusiveCanonicalization
    - -

    -An implementation of the ExclusiveCanonicalization type - of Transformation. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.ExclusiveCanonicalization
    ALL
    - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.Canonicalization
    CANONICAL_XML, CANONICAL_XML_WITH_COMMENTS, EXCLUSIVE_CANONICAL_XML, EXCLUSIVE_CANONICAL_XML_WITH_COMMENTS
    -  - - - - - - - - - - -
    -Constructor Summary
    ExclusiveCanonicalizationImpl(String algorithmURI, - List inclusiveNamespacePrefixes) - -
    -          Create a new ExclusiveCanonicalizationImpl object.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this object to another CanonicalizationTransform.
    - ListgetInclusiveNamespacePrefixes() - -
    -           
    -protected  voidsetInclusiveNamespacePrefixes(List inclusiveNamespacePrefixes) - -
    -          Sets the namespace prefixes to be processed according to canonical XML.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    getAlgorithmURI, hashCode, setAlgorithmURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.Transformation
    getAlgorithmURI, hashCode
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ExclusiveCanonicalizationImpl

    -
    -public ExclusiveCanonicalizationImpl(String algorithmURI,
    -                                     List inclusiveNamespacePrefixes)
    -
    -
    Create a new ExclusiveCanonicalizationImpl object.
    -
    Parameters:
    algorithmURI - The exclusive canonicalization algorithm URI.
    inclusiveNamespacePrefixes - The namespace prefixes to be processed - according to canonical XML.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setInclusiveNamespacePrefixes

    -
    -protected void setInclusiveNamespacePrefixes(List inclusiveNamespacePrefixes)
    -
    -
    Sets the namespace prefixes to be processed according to canonical XML.
    -
    -
    -
    -
    Parameters:
    inclusiveNamespacePrefixes - The prefixes of the namespaces to treat - according to canonical XML.
    -
    -
    -
    - -

    -getInclusiveNamespacePrefixes

    -
    -public List getInclusiveNamespacePrefixes()
    -
    -
    -
    Specified by:
    getInclusiveNamespacePrefixes in interface iaik.server.modules.xml.ExclusiveCanonicalization
    -
    -
    -
    See Also:
    ExclusiveCanonicalization.getInclusiveNamespacePrefixes()
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this object to another CanonicalizationTransform.
    -
    Specified by:
    equals in interface iaik.server.modules.xml.Transformation
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare this - ExclusiveCanonicalization to.
    Returns:
    true, if other is a - ExclusiveCanonicalization and the algorithm URIs match, - otherwise false.
    See Also:
    Object.equals(Object)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/SigningTimeImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/SigningTimeImpl.html deleted file mode 100644 index d9d5df5a2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/SigningTimeImpl.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SigningTimeImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class SigningTimeImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.Property, iaik.server.modules.xml.SigningTime
    -
    -
    -
    -
    public class SigningTimeImpl
    extends Object
    implements iaik.server.modules.xml.SigningTime
    - -

    -An implementation of the SigningTime Property. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    SigningTimeImpl(Date signingTime) - -
    -          Create a new SigningTimeImpl.
    -  - - - - - - - - - - - -
    -Method Summary
    - DategetSigningTime() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SigningTimeImpl

    -
    -public SigningTimeImpl(Date signingTime)
    -
    -
    Create a new SigningTimeImpl.
    -
    Parameters:
    signingTime - The signing time.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getSigningTime

    -
    -public Date getSigningTime()
    -
    -
    -
    Specified by:
    getSigningTime in interface iaik.server.modules.xml.SigningTime
    -
    -
    -
    See Also:
    SigningTime.getSigningTime()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/TransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/TransformationImpl.html deleted file mode 100644 index f68befa1c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/TransformationImpl.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class TransformationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class TransformationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.Transformation
    -
    -
    -
    Direct Known Subclasses:
    Base64TransformationImpl, CanonicalizationImpl, EnvelopedSignatureTransformationImpl, ExclusiveCanonicalizationImpl, XPath2TransformationImpl, XPathTransformationImpl, XSLTTransformationImpl
    -
    -
    -
    -
    public abstract class TransformationImpl
    extends Object
    implements iaik.server.modules.xml.Transformation
    - -

    -Base implementation class for Transformation derived classes. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    TransformationImpl() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetAlgorithmURI() - -
    -           
    - inthashCode() - -
    -          Returns the hash code of the algorithm URI.
    -protected  voidsetAlgorithmURI(String algorithmURI) - -
    -          Sets the algorithm URI.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.Transformation
    equals
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -TransformationImpl

    -
    -public TransformationImpl()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getAlgorithmURI

    -
    -public String getAlgorithmURI()
    -
    -
    -
    Specified by:
    getAlgorithmURI in interface iaik.server.modules.xml.Transformation
    -
    -
    -
    See Also:
    Transformation.getAlgorithmURI()
    -
    -
    -
    - -

    -setAlgorithmURI

    -
    -protected void setAlgorithmURI(String algorithmURI)
    -
    -
    Sets the algorithm URI.
    -
    -
    -
    -
    Parameters:
    algorithmURI - The algorithm URI to set.
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    Returns the hash code of the algorithm URI. Should be overridden if a - transformation distinguishes itself from others by more than just the - algorithm URI.
    -
    Specified by:
    hashCode in interface iaik.server.modules.xml.Transformation
    Overrides:
    hashCode in class Object
    -
    -
    -
    See Also:
    Object.hashCode()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLDataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLDataObjectImpl.html deleted file mode 100644 index 02ab2b6ad..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLDataObjectImpl.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLDataObjectImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class XMLDataObjectImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.DataObject, iaik.server.modules.xml.XMLDataObject
    -
    -
    -
    -
    public class XMLDataObjectImpl
    extends DataObjectImpl
    implements iaik.server.modules.xml.XMLDataObject
    - -

    -A DataObject containing a single DOM element. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XMLDataObjectImpl(org.w3c.dom.Element element) - -
    -          Create a new XMLDataObjectImpl.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - org.w3c.dom.ElementgetElement() - -
    -           
    - voidsetElement(org.w3c.dom.Element element) - -
    -          Set the DOM element contained in this XMLDataObject.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    getMimeType, getReferenceID, getTypeURI, getURI, setMimeType, setReferenceID, setTypeURI, setURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.DataObject
    getMimeType, getReferenceID, getTypeURI, getURI
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLDataObjectImpl

    -
    -public XMLDataObjectImpl(org.w3c.dom.Element element)
    -
    -
    Create a new XMLDataObjectImpl.
    -
    Parameters:
    element - The DOM element contained in this - XMLDataObject.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getElement

    -
    -public org.w3c.dom.Element getElement()
    -
    -
    -
    Specified by:
    getElement in interface iaik.server.modules.xml.XMLDataObject
    -
    -
    -
    See Also:
    XMLDataObject.getElement()
    -
    -
    -
    - -

    -setElement

    -
    -public void setElement(org.w3c.dom.Element element)
    -
    -
    Set the DOM element contained in this XMLDataObject.
    -
    -
    -
    -
    Parameters:
    element - The DOM element to set.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLNodeListDataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLNodeListDataObjectImpl.html deleted file mode 100644 index 8f8f3f49f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLNodeListDataObjectImpl.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLNodeListDataObjectImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class XMLNodeListDataObjectImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.DataObject, iaik.server.modules.xml.XMLNodeListDataObject
    -
    -
    -
    -
    public class XMLNodeListDataObjectImpl
    extends DataObjectImpl
    implements iaik.server.modules.xml.XMLNodeListDataObject
    - -

    -A DataObject containing a list of DOM nodes. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XMLNodeListDataObjectImpl(org.w3c.dom.NodeList nodeList) - -
    -          Create a new XMLNodeListDataObjectImpl.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - org.w3c.dom.NodeListgetNodeList() - -
    -           
    - voidsetNodeList(org.w3c.dom.NodeList nodeList) - -
    -          Set the list of DOM nodes contained in this - XMLNodeListDataObject.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl
    getMimeType, getReferenceID, getTypeURI, getURI, setMimeType, setReferenceID, setTypeURI, setURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.DataObject
    getMimeType, getReferenceID, getTypeURI, getURI
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLNodeListDataObjectImpl

    -
    -public XMLNodeListDataObjectImpl(org.w3c.dom.NodeList nodeList)
    -
    -
    Create a new XMLNodeListDataObjectImpl.
    -
    Parameters:
    nodeList - The list of DOM nodes contained in this - XMLNodeListDataObject.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setNodeList

    -
    -public void setNodeList(org.w3c.dom.NodeList nodeList)
    -
    -
    Set the list of DOM nodes contained in this - XMLNodeListDataObject.
    -
    -
    -
    -
    Parameters:
    nodeList - The list of DOM nodes to set.
    -
    -
    -
    - -

    -getNodeList

    -
    -public org.w3c.dom.NodeList getNodeList()
    -
    -
    -
    Specified by:
    getNodeList in interface iaik.server.modules.xml.XMLNodeListDataObject
    -
    -
    -
    See Also:
    XMLNodeListDataObject.getNodeList()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLSignatureImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLSignatureImpl.html deleted file mode 100644 index be34e7530..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XMLSignatureImpl.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLSignatureImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class XMLSignatureImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.XMLSignature
    -
    -
    -
    -
    public class XMLSignatureImpl
    extends Object
    implements iaik.server.modules.xml.XMLSignature
    - -

    -An object containing an XMLDsig signature in the form of a - dsig:Signature DOM element. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XMLSignatureImpl(org.w3c.dom.Element element) - -
    -          Create a new XMLSignatureImpl.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - org.w3c.dom.ElementgetElement() - -
    -           
    - voidsetElement(org.w3c.dom.Element element) - -
    -          Set the dsig:Signature DOM element.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLSignatureImpl

    -
    -public XMLSignatureImpl(org.w3c.dom.Element element)
    -
    -
    Create a new XMLSignatureImpl.
    -
    Parameters:
    element - The dsig:Signature DOM element.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setElement

    -
    -public void setElement(org.w3c.dom.Element element)
    -
    -
    Set the dsig:Signature DOM element.
    -
    -
    -
    -
    Parameters:
    element - The dsig:Signature element to set.
    -
    -
    -
    - -

    -getElement

    -
    -public org.w3c.dom.Element getElement()
    -
    -
    -
    Specified by:
    getElement in interface iaik.server.modules.xml.XMLSignature
    -
    -
    -
    See Also:
    XMLSignature.getElement()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2FilterImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2FilterImpl.html deleted file mode 100644 index fb00b6bd2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2FilterImpl.html +++ /dev/null @@ -1,398 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XPath2FilterImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class XPath2FilterImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.XPath2Transformation.XPath2Filter
    -
    -
    -
    -
    public class XPath2FilterImpl
    extends Object
    implements iaik.server.modules.xml.XPath2Transformation.XPath2Filter
    - -

    -An object encapsulating an XPath-Filter2 expression. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.XPath2Transformation.XPath2Filter
    ALL, INTERSECTION, SUBTRACTION, UNION
    -  - - - - - - - - - - -
    -Constructor Summary
    XPath2FilterImpl(String filterType, - String xPathExpression, - Map namespaceDeclarations) - -
    -          Create a new XPath2FilterImpl object.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this object to another.
    - StringgetFilterType() - -
    -           
    - MapgetNamespaceDeclarations() - -
    -           
    - StringgetXPathExpression() - -
    -           
    - inthashCode() - -
    -           
    -protected  voidsetFilterType(String filterType) - -
    -          Set the filter type.
    -protected  voidsetNamespaceDeclarations(Map namespaceDeclarations) - -
    -          Set the namespace declarations.
    -protected  voidsetXPathExpression(String xPathExpression) - -
    -          Set the XPath expression.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XPath2FilterImpl

    -
    -public XPath2FilterImpl(String filterType,
    -                        String xPathExpression,
    -                        Map namespaceDeclarations)
    -
    -
    Create a new XPath2FilterImpl object.
    -
    Parameters:
    filterType - The type of filter. Must be one of the filter type - constants declared in iaik.server.modules.xml.XPath2Transformation.XPath2Filter
    xPathExpression - The XPath expression belonging to this filter.
    namespaceDeclarations - The namespace declarations visible for this - XPath2Filter.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getFilterType

    -
    -public String getFilterType()
    -
    -
    -
    Specified by:
    getFilterType in interface iaik.server.modules.xml.XPath2Transformation.XPath2Filter
    -
    -
    -
    See Also:
    XPath2Transformation.XPath2Filter.getFilterType()
    -
    -
    -
    - -

    -setFilterType

    -
    -protected void setFilterType(String filterType)
    -
    -
    Set the filter type.
    -
    -
    -
    -
    Parameters:
    filterType - The filter type to set.
    -
    -
    -
    - -

    -getXPathExpression

    -
    -public String getXPathExpression()
    -
    -
    -
    Specified by:
    getXPathExpression in interface iaik.server.modules.xml.XPath2Transformation.XPath2Filter
    -
    -
    -
    See Also:
    XPath2Transformation.XPath2Filter.getXPathExpression()
    -
    -
    -
    - -

    -setXPathExpression

    -
    -protected void setXPathExpression(String xPathExpression)
    -
    -
    Set the XPath expression.
    -
    -
    -
    -
    Parameters:
    xPathExpression - The XPath expression to set.
    -
    -
    -
    - -

    -getNamespaceDeclarations

    -
    -public Map getNamespaceDeclarations()
    -
    -
    -
    Specified by:
    getNamespaceDeclarations in interface iaik.server.modules.xml.XPath2Transformation.XPath2Filter
    -
    -
    -
    See Also:
    XPath2Transformation.XPath2Filter.getNamespaceDeclarations()
    -
    -
    -
    - -

    -setNamespaceDeclarations

    -
    -protected void setNamespaceDeclarations(Map namespaceDeclarations)
    -
    -
    Set the namespace declarations.
    -
    -
    -
    -
    Parameters:
    namespaceDeclarations - The mapping between namespace prefixes and - their associated URI.
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this object to another.
    -
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare this XPath2Filter to.
    Returns:
    true, if other is a - XPath2Filter and the filter types match and the XPath - expressions match. Otherwise false is returned.
    See Also:
    Object.equals(java.lang.Object)
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    -
    Overrides:
    hashCode in class Object
    -
    -
    -
    See Also:
    Object.hashCode()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2TransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2TransformationImpl.html deleted file mode 100644 index 087e1cb83..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2TransformationImpl.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XPath2TransformationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class XPath2TransformationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.Transformation, iaik.server.modules.xml.XPath2Transformation
    -
    -
    -
    -
    public class XPath2TransformationImpl
    extends TransformationImpl
    implements iaik.server.modules.xml.XPath2Transformation
    - -

    -An object encapsulating a Transformation containing several - XPath-Filter2 expressions. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - -
    Inner classes inherited from class iaik.server.modules.xml.XPath2Transformation
    iaik.server.modules.xml.XPath2Transformation.XPath2Filter
    -  - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.XPath2Transformation
    ALL, XPATH2
    -  - - - - - - - - - - -
    -Constructor Summary
    XPath2TransformationImpl() - -
    -          Create a new XPath2TransformationImpl. - -
    -  - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddXPathFilter(at.gv.egovernment.moa.spss.server.iaik.xml.XPath2Filter filter) - -
    -          Add an XPath-Filter2 expression to the list of filters.
    - booleanequals(Object other) - -
    -          Compare this XPath2Transformation to another.
    - ListgetXPathFilters() - -
    -           
    - inthashCode() - -
    -          Returns the hash code of the algorithm URI.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    getAlgorithmURI, setAlgorithmURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.Transformation
    getAlgorithmURI
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XPath2TransformationImpl

    -
    -public XPath2TransformationImpl()
    -
    -
    Create a new XPath2TransformationImpl. - - The list of XPath-Filter2 expression is initially empty.
    - - - - - - - - -
    -Method Detail
    - -

    -getXPathFilters

    -
    -public List getXPathFilters()
    -
    -
    -
    Specified by:
    getXPathFilters in interface iaik.server.modules.xml.XPath2Transformation
    -
    -
    -
    See Also:
    XPath2Transformation.getXPathFilters()
    -
    -
    -
    - -

    -addXPathFilter

    -
    -public void addXPathFilter(at.gv.egovernment.moa.spss.server.iaik.xml.XPath2Filter filter)
    -
    -
    Add an XPath-Filter2 expression to the list of filters.
    -
    -
    -
    -
    Parameters:
    filter - The filter to add.
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this XPath2Transformation to another.
    -
    Specified by:
    equals in interface iaik.server.modules.xml.Transformation
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare this - XPath2Transformation to.
    Returns:
    true, if other is an - XPath2Transformation and getXPathFilters() equals - other.getXPathFilters(). Otherwise false is - returned.
    See Also:
    Object.equals(Object)
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    Description copied from class: TransformationImpl
    -
    Returns the hash code of the algorithm URI. Should be overridden if a - transformation distinguishes itself from others by more than just the - algorithm URI.
    -
    Specified by:
    hashCode in interface iaik.server.modules.xml.Transformation
    Overrides:
    hashCode in class TransformationImpl
    -
    -
    -
    See Also:
    Object.hashCode()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPathTransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPathTransformationImpl.html deleted file mode 100644 index adfb1eb49..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XPathTransformationImpl.html +++ /dev/null @@ -1,379 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XPathTransformationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class XPathTransformationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.Transformation, iaik.server.modules.xml.XPathTransformation
    -
    -
    -
    -
    public class XPathTransformationImpl
    extends TransformationImpl
    implements iaik.server.modules.xml.XPathTransformation
    - -

    -A Transformation containing an XPath expression. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.XPathTransformation
    ALL, XPATH
    -  - - - - - - - - - - -
    -Constructor Summary
    XPathTransformationImpl(String xPathExpression, - Map namespaceDeclarations) - -
    -          Create a new XPathTransformationImpl. - -
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this XPathTransformation to another.
    - MapgetNamespaceDeclarations() - -
    -           
    - StringgetXPathExpression() - -
    -           
    - inthashCode() - -
    -          Returns the hash code of the algorithm URI.
    -protected  voidsetNamespaceDeclarations(Map namespaceDeclarations) - -
    -          Set the namespace declarations.
    -protected  voidsetXPathExpression(String xPathExpression) - -
    -          Set the XPath expression.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    getAlgorithmURI, setAlgorithmURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.Transformation
    getAlgorithmURI
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XPathTransformationImpl

    -
    -public XPathTransformationImpl(String xPathExpression,
    -                               Map namespaceDeclarations)
    -
    -
    Create a new XPathTransformationImpl. - - The namespace declarations are initialized empty.
    -
    Parameters:
    xPathExpression - The XPath expression this object will contain.
    namespaceDeclarations - The namespace declarations visible for this - XPath.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setXPathExpression

    -
    -protected void setXPathExpression(String xPathExpression)
    -
    -
    Set the XPath expression.
    -
    -
    -
    -
    Parameters:
    xPathExpression - The XPath expression.
    -
    -
    -
    - -

    -getXPathExpression

    -
    -public String getXPathExpression()
    -
    -
    -
    Specified by:
    getXPathExpression in interface iaik.server.modules.xml.XPathTransformation
    -
    -
    -
    See Also:
    XPathTransformation.getXPathExpression()
    -
    -
    -
    - -

    -getNamespaceDeclarations

    -
    -public Map getNamespaceDeclarations()
    -
    -
    -
    Specified by:
    getNamespaceDeclarations in interface iaik.server.modules.xml.XPathTransformation
    -
    -
    -
    See Also:
    XPathTransformation.getNamespaceDeclarations()
    -
    -
    -
    - -

    -setNamespaceDeclarations

    -
    -protected void setNamespaceDeclarations(Map namespaceDeclarations)
    -
    -
    Set the namespace declarations.
    -
    -
    -
    -
    Parameters:
    namespaceDeclarations - The mapping between namespace prefixes and - their associated URI.
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this XPathTransformation to another.
    -
    Specified by:
    equals in interface iaik.server.modules.xml.Transformation
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare this - XPathTransformation to.
    Returns:
    true, if other is an - XPathTransformation and if this object contains the same XPath - expression as other. Otherwise false is returned.
    See Also:
    Object.equals(Object)
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    Description copied from class: TransformationImpl
    -
    Returns the hash code of the algorithm URI. Should be overridden if a - transformation distinguishes itself from others by more than just the - algorithm URI.
    -
    Specified by:
    hashCode in interface iaik.server.modules.xml.Transformation
    Overrides:
    hashCode in class TransformationImpl
    -
    -
    -
    See Also:
    Object.hashCode()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XSLTTransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XSLTTransformationImpl.html deleted file mode 100644 index bcfccd130..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/XSLTTransformationImpl.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XSLTTransformationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xml -
    -Class XSLTTransformationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    -        |
    -        +--at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xml.Transformation, iaik.server.modules.xml.XSLTTransformation
    -
    -
    -
    -
    public class XSLTTransformationImpl
    extends TransformationImpl
    implements iaik.server.modules.xml.XSLTTransformation
    - -

    -A Transformation containing an XSLT transformation. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from interface iaik.server.modules.xml.XSLTTransformation
    ALL, XSLT
    -  - - - - - - - - - - -
    -Constructor Summary
    XSLTTransformationImpl(org.w3c.dom.Element styleSheetElement) - -
    -          Create a new XSLTTransformationImpl object.
    -  - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleanequals(Object other) - -
    -          Compare this XSLTTransformation to another.
    - org.w3c.dom.ElementgetStylesheetElement() - -
    -           
    - inthashCode() - -
    -          Returns the hash code of the algorithm URI.
    -protected  voidsetStyleSheetElement(org.w3c.dom.Element styleSheetElement) - -
    -          Set the XSLT stylesheet element.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl
    getAlgorithmURI, setAlgorithmURI
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    - - - - - - - -
    Methods inherited from interface iaik.server.modules.xml.Transformation
    getAlgorithmURI
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XSLTTransformationImpl

    -
    -public XSLTTransformationImpl(org.w3c.dom.Element styleSheetElement)
    -
    -
    Create a new XSLTTransformationImpl object.
    -
    Parameters:
    styleSheetElement - The XSLT stylesheet element.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setStyleSheetElement

    -
    -protected void setStyleSheetElement(org.w3c.dom.Element styleSheetElement)
    -
    -
    Set the XSLT stylesheet element.
    -
    -
    -
    -
    Parameters:
    styleSheetElement - The XSLT stylesheet element to set.
    -
    -
    -
    - -

    -getStylesheetElement

    -
    -public org.w3c.dom.Element getStylesheetElement()
    -
    -
    -
    Specified by:
    getStylesheetElement in interface iaik.server.modules.xml.XSLTTransformation
    -
    -
    -
    See Also:
    XSLTTransformation.getStylesheetElement()
    -
    -
    -
    - -

    -equals

    -
    -public boolean equals(Object other)
    -
    -
    Compare this XSLTTransformation to another.
    -
    Specified by:
    equals in interface iaik.server.modules.xml.Transformation
    Overrides:
    equals in class Object
    -
    -
    -
    Parameters:
    other - The object to compare this - XSLTTransformation to.
    Returns:
    true, if other is an - XSLTTransformation and if the canonicalized representations of - the stylesheets contained in this and other - match. Otherwise, false is returned.
    See Also:
    Object.equals(Object)
    -
    -
    -
    - -

    -hashCode

    -
    -public int hashCode()
    -
    -
    Description copied from class: TransformationImpl
    -
    Returns the hash code of the algorithm URI. Should be overridden if a - transformation distinguishes itself from others by more than just the - algorithm URI.
    -
    Specified by:
    hashCode in interface iaik.server.modules.xml.Transformation
    Overrides:
    hashCode in class TransformationImpl
    -
    -
    -
    See Also:
    Object.hashCode()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/Base64TransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/Base64TransformationImpl.html deleted file mode 100644 index edaf8e4f8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/Base64TransformationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ByteArrayDataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ByteArrayDataObjectImpl.html deleted file mode 100644 index 52b470904..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ByteArrayDataObjectImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ByteStreamDataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ByteStreamDataObjectImpl.html deleted file mode 100644 index 7d65f65b7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ByteStreamDataObjectImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/CanonicalizationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/CanonicalizationImpl.html deleted file mode 100644 index d634aeea1..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/CanonicalizationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/DataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/DataObjectImpl.html deleted file mode 100644 index 181874efe..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/DataObjectImpl.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl

    -
    - - - - - - - - - -
    -Packages that use DataObjectImpl
    at.gv.egovernment.moa.spss.server.iaik.xml  
    -  -

    - - - - - -
    -Uses of DataObjectImpl in at.gv.egovernment.moa.spss.server.iaik.xml
    -  -

    - - - - - - - - - - - - - - - - - - - - - -
    Subclasses of DataObjectImpl in at.gv.egovernment.moa.spss.server.iaik.xml
    - classByteArrayDataObjectImpl - -
    -          A BinaryDataObject encapsulating Base64 data.
    - classByteStreamDataObjectImpl - -
    -          A BinaryDataObject encapsulating binary data from a stream.
    - classXMLDataObjectImpl - -
    -          A DataObject containing a single DOM element.
    - classXMLNodeListDataObjectImpl - -
    -          A DataObject containing a list of DOM nodes.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/EnvelopedSignatureTransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/EnvelopedSignatureTransformationImpl.html deleted file mode 100644 index 4148f82c0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/EnvelopedSignatureTransformationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ExclusiveCanonicalizationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ExclusiveCanonicalizationImpl.html deleted file mode 100644 index 1b15cb07f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/ExclusiveCanonicalizationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/SigningTimeImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/SigningTimeImpl.html deleted file mode 100644 index 71c5212fc..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/SigningTimeImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/TransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/TransformationImpl.html deleted file mode 100644 index 4dd0b1d89..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/TransformationImpl.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl

    -
    - - - - - - - - - -
    -Packages that use TransformationImpl
    at.gv.egovernment.moa.spss.server.iaik.xml  
    -  -

    - - - - - -
    -Uses of TransformationImpl in at.gv.egovernment.moa.spss.server.iaik.xml
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Subclasses of TransformationImpl in at.gv.egovernment.moa.spss.server.iaik.xml
    - classBase64TransformationImpl - -
    -          An implementation of the Base64Transformation - Transformation type.
    - classCanonicalizationImpl - -
    -          An implementation of the CanonicalizationTransform - Transformation type.
    - classEnvelopedSignatureTransformationImpl - -
    -          An implementation of the EnvelopedSignatureTransformation - Transformation type.
    - classExclusiveCanonicalizationImpl - -
    -          An implementation of the ExclusiveCanonicalization type - of Transformation.
    - classXPath2TransformationImpl - -
    -          An object encapsulating a Transformation containing several - XPath-Filter2 expressions.
    - classXPathTransformationImpl - -
    -          A Transformation containing an XPath expression.
    - classXSLTTransformationImpl - -
    -          A Transformation containing an XSLT transformation.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLDataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLDataObjectImpl.html deleted file mode 100644 index add15c8c6..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLDataObjectImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLNodeListDataObjectImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLNodeListDataObjectImpl.html deleted file mode 100644 index a76dc43a1..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLNodeListDataObjectImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLSignatureImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLSignatureImpl.html deleted file mode 100644 index 978880abf..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XMLSignatureImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPath2FilterImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPath2FilterImpl.html deleted file mode 100644 index 4c2a499f0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPath2FilterImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPath2TransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPath2TransformationImpl.html deleted file mode 100644 index bfa73a36d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPath2TransformationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPathTransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPathTransformationImpl.html deleted file mode 100644 index 456f7a98a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XPathTransformationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XSLTTransformationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XSLTTransformationImpl.html deleted file mode 100644 index c688f3b5f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/class-use/XSLTTransformationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-frame.html deleted file mode 100644 index ec70ebe61..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-frame.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.xml - - - - - -at.gv.egovernment.moa.spss.server.iaik.xml - - - - -
    -Classes  - -
    -Base64TransformationImpl -
    -ByteArrayDataObjectImpl -
    -ByteStreamDataObjectImpl -
    -CanonicalizationImpl -
    -DataObjectImpl -
    -EnvelopedSignatureTransformationImpl -
    -ExclusiveCanonicalizationImpl -
    -SigningTimeImpl -
    -TransformationImpl -
    -XMLDataObjectImpl -
    -XMLNodeListDataObjectImpl -
    -XMLSignatureImpl -
    -XPath2FilterImpl -
    -XPath2TransformationImpl -
    -XPathTransformationImpl -
    -XSLTTransformationImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-summary.html deleted file mode 100644 index e325013af..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-summary.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.xml - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.xml -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    Base64TransformationImplAn implementation of the Base64Transformation - Transformation type.
    ByteArrayDataObjectImplA BinaryDataObject encapsulating Base64 data.
    ByteStreamDataObjectImplA BinaryDataObject encapsulating binary data from a stream.
    CanonicalizationImplAn implementation of the CanonicalizationTransform - Transformation type.
    DataObjectImplAbstract base implementation for the classes derived from - DataObject.
    EnvelopedSignatureTransformationImplAn implementation of the EnvelopedSignatureTransformation - Transformation type.
    ExclusiveCanonicalizationImplAn implementation of the ExclusiveCanonicalization type - of Transformation.
    SigningTimeImplAn implementation of the SigningTime Property.
    TransformationImplBase implementation class for Transformation derived classes.
    XMLDataObjectImplA DataObject containing a single DOM element.
    XMLNodeListDataObjectImplA DataObject containing a list of DOM nodes.
    XMLSignatureImplAn object containing an XMLDsig signature in the form of a - dsig:Signature DOM element.
    XPath2FilterImplAn object encapsulating an XPath-Filter2 expression.
    XPath2TransformationImplAn object encapsulating a Transformation containing several - XPath-Filter2 expressions.
    XPathTransformationImplA Transformation containing an XPath expression.
    XSLTTransformationImplA Transformation containing an XSLT transformation.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-tree.html deleted file mode 100644 index 0551baa6d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-tree.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.xml Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.xml -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl (implements iaik.server.modules.xml.DataObject) -
          -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl (implements iaik.server.modules.xml.BinaryDataObject) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl (implements iaik.server.modules.xml.BinaryDataObject) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl (implements iaik.server.modules.xml.XMLDataObject) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl (implements iaik.server.modules.xml.XMLNodeListDataObject) -
        -
      • class at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl (implements iaik.server.modules.xml.SigningTime) -
      • class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl (implements iaik.server.modules.xml.Transformation) -
          -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl (implements iaik.server.modules.xml.Base64Transformation) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl (implements iaik.server.modules.xml.Canonicalization) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl (implements iaik.server.modules.xml.EnvelopedSignatureTransformation) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl (implements iaik.server.modules.xml.ExclusiveCanonicalization) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl (implements iaik.server.modules.xml.XPath2Transformation) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl (implements iaik.server.modules.xml.XPathTransformation) -
        • class at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl (implements iaik.server.modules.xml.XSLTTransformation) -
        -
      • class at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl (implements iaik.server.modules.xml.XMLSignature) -
      • class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl (implements iaik.server.modules.xml.XPath2Transformation.XPath2Filter) -
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-use.html deleted file mode 100644 index 393bda0df..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xml/package-use.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.xml - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.xml

    -
    - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.spss.server.iaik.xml
    at.gv.egovernment.moa.spss.server.iaik.xml  
    -  -

    - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.iaik.xml used by at.gv.egovernment.moa.spss.server.iaik.xml
    DataObjectImpl - -
    -          Abstract base implementation for the classes derived from - DataObject.
    TransformationImpl - -
    -          Base implementation class for Transformation derived classes.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/DataObjectTreatmentImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/DataObjectTreatmentImpl.html deleted file mode 100644 index b8ad095b7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/DataObjectTreatmentImpl.html +++ /dev/null @@ -1,500 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class DataObjectTreatmentImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xmlsign -
    -Class DataObjectTreatmentImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xmlsign.DataObjectTreatment
    -
    -
    -
    -
    public class DataObjectTreatmentImpl
    extends Object
    implements iaik.server.modules.xmlsign.DataObjectTreatment
    - -

    -An object encapsulating how to treat an associated DataObject - when creating a signature. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    DataObjectTreatmentImpl(IdGenerator objIdGen) - -
    -          Create a new DataObjectTreatmentImpl.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetDsigDataObjectID() - -
    -           
    - StringgetFinalContentType() - -
    -           
    - StringgetHashAlgorithmName() - -
    -           
    - ListgetTransformationList() - -
    -           
    - ListgetTransformationSupplements() - -
    -           
    - booleanisIncludedInSignature() - -
    -           
    - booleanisReferenceInManifest() - -
    -           
    - voidsetFinalContentType(String finalContentType) - -
    -          Sets the final content type.
    - voidsetHashAlgorithmName(String hashAlgorithmName) - -
    -          Sets the hash algorithm name.
    - voidsetIncludedInSignature(boolean includedInSignature) - -
    -          Sets whether the associated DataObject is to be included in - the signature.
    - voidsetReferenceInManifest(boolean referenceInManifest) - -
    -          Sets whether the associated DataObject is - to be included in the dsig:Manifest.
    - voidsetTransformationList(List transformationList) - -
    -          Set the list of transformations for the associated DataObject.
    - voidsetTransformationSupplements(List transformationSupplements) - -
    -          Sets the transformation supplements for the associated - DataObject.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -DataObjectTreatmentImpl

    -
    -public DataObjectTreatmentImpl(IdGenerator objIdGen)
    -
    -
    Create a new DataObjectTreatmentImpl.
    -
    Parameters:
    objIdGen - The IdGenerator for unique object IDs.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getFinalContentType

    -
    -public String getFinalContentType()
    -
    -
    -
    Specified by:
    getFinalContentType in interface iaik.server.modules.xmlsign.DataObjectTreatment
    -
    -
    -
    See Also:
    DataObjectTreatment.getFinalContentType()
    -
    -
    -
    - -

    -setFinalContentType

    -
    -public void setFinalContentType(String finalContentType)
    -
    -
    Sets the final content type.
    -
    -
    -
    -
    Parameters:
    finalContentType - The final content type to set (a MIME-type type of - String).
    -
    -
    -
    - -

    -getHashAlgorithmName

    -
    -public String getHashAlgorithmName()
    -
    -
    -
    Specified by:
    getHashAlgorithmName in interface iaik.server.modules.xmlsign.DataObjectTreatment
    -
    -
    -
    See Also:
    DataObjectTreatment.getHashAlgorithmName()
    -
    -
    -
    - -

    -setHashAlgorithmName

    -
    -public void setHashAlgorithmName(String hashAlgorithmName)
    -
    -
    Sets the hash algorithm name.
    -
    -
    -
    -
    Parameters:
    hashAlgorithmName - The hash algorithm name to set.
    -
    -
    -
    - -

    -isIncludedInSignature

    -
    -public boolean isIncludedInSignature()
    -
    -
    -
    Specified by:
    isIncludedInSignature in interface iaik.server.modules.xmlsign.DataObjectTreatment
    -
    -
    -
    See Also:
    DataObjectTreatment.isIncludedInSignature()
    -
    -
    -
    - -

    -setIncludedInSignature

    -
    -public void setIncludedInSignature(boolean includedInSignature)
    -
    -
    Sets whether the associated DataObject is to be included in - the signature.
    -
    -
    -
    -
    Parameters:
    includedInSignature - If true, the associated - DataObject will be included in the signature, otherwise not.
    -
    -
    -
    - -

    -isReferenceInManifest

    -
    -public boolean isReferenceInManifest()
    -
    -
    -
    Specified by:
    isReferenceInManifest in interface iaik.server.modules.xmlsign.DataObjectTreatment
    -
    -
    -
    See Also:
    DataObjectTreatment.isReferenceInManifest()
    -
    -
    -
    - -

    -setReferenceInManifest

    -
    -public void setReferenceInManifest(boolean referenceInManifest)
    -
    -
    Sets whether the associated DataObject is - to be included in the dsig:Manifest.
    -
    -
    -
    -
    Parameters:
    referenceInManifest - If true, the associated - DataObject will be included in the manifest, otherwise not.
    -
    -
    -
    - -

    -getTransformationList

    -
    -public List getTransformationList()
    -
    -
    -
    Specified by:
    getTransformationList in interface iaik.server.modules.xmlsign.DataObjectTreatment
    -
    -
    -
    See Also:
    DataObjectTreatment.getTransformationList()
    -
    -
    -
    - -

    -setTransformationList

    -
    -public void setTransformationList(List transformationList)
    -
    -
    Set the list of transformations for the associated DataObject.
    -
    -
    -
    -
    Parameters:
    transformationList - The transformations to set.
    -
    -
    -
    - -

    -getTransformationSupplements

    -
    -public List getTransformationSupplements()
    -
    -
    -
    Specified by:
    getTransformationSupplements in interface iaik.server.modules.xmlsign.DataObjectTreatment
    -
    -
    -
    See Also:
    DataObjectTreatment.getTransformationSupplements()
    -
    -
    -
    - -

    -setTransformationSupplements

    -
    -public void setTransformationSupplements(List transformationSupplements)
    -
    -
    Sets the transformation supplements for the associated - DataObject.
    -
    -
    -
    -
    Parameters:
    transformationSupplements - The transformation supplements to set.
    -
    -
    -
    - -

    -getDsigDataObjectID

    -
    -public String getDsigDataObjectID()
    -
    -
    -
    Specified by:
    getDsigDataObjectID in interface iaik.server.modules.xmlsign.DataObjectTreatment
    -
    -
    -
    See Also:
    DataObjectTreatment.getDsigDataObjectID()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.html deleted file mode 100644 index b3ab02b3e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.html +++ /dev/null @@ -1,678 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLSignatureCreationProfileImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xmlsign -
    -Class XMLSignatureCreationProfileImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    -
    public class XMLSignatureCreationProfileImpl
    extends Object
    implements iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    - -

    -An object providing auxiliary information for creating an XML signature. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XMLSignatureCreationProfileImpl(int createProfileCount, - Set reservedIDs) - -
    -          Create a new XMLSignatureCreationProfileImpl.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - ListgetDataObjectTreatmentList() - -
    -           
    - StringgetDsigManifestID() - -
    -           
    - SetgetKeySet() - -
    -           
    - StringgetSecurityLayerManifestID() - -
    -           
    - StringgetSecurityLayerManifestTypeURI() - -
    -           
    - StringgetSignatureAlgorithmName(iaik.server.modules.keys.KeyEntryID selectedKeyID) - -
    -           
    - StringgetSignatureID() - -
    -           
    - iaik.server.modules.xmlsign.XMLSignatureInsertionLocationgetSignatureInsertionLocation() - -
    -           
    - StringgetSignatureStructureType() - -
    -           
    - iaik.server.modules.xml.CanonicalizationgetSignedInfoCanonicalization() - -
    -           
    - ListgetSignedProperties() - -
    -           
    - StringgetSignedPropertiesID() - -
    -           
    - booleanisSecurityLayerConform() - -
    -           
    - voidsetDataObjectTreatmentList(List dataObjectTreatmentList) - -
    -          Sets the list of DataObjectTreatments.
    - voidsetKeySet(Set keySet) - -
    -          Set the set of KeyEntryIDs which may be used for signature - creation.
    - voidsetSecurityLayerConform(boolean securityLayerConform) - -
    -          Sets the security layer conformity.
    - voidsetSecurityLayerManifestTypeURI(String securityLayerManifestTypeURI) - -
    -          Set the SecurityLayerManifestTypeURI.
    - voidsetSignatureInsertionLocation(iaik.server.modules.xmlsign.XMLSignatureInsertionLocation signatureInsertionLocation) - -
    -          Set the location where the signature is to be inserted into the signature - parent.
    - voidsetSignatureStructureType(String signatureStructureType) - -
    -          Set the signature structure type.
    - voidsetSignedInfoCanonicalization(iaik.server.modules.xml.Canonicalization signedInfoCanonicalization) - -
    -          Sets the canonicalization method to use for the SignedInfo object.
    - voidsetSignedProperties(List signedProperties) - -
    -          Set the signed properties.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLSignatureCreationProfileImpl

    -
    -public XMLSignatureCreationProfileImpl(int createProfileCount,
    -                                       Set reservedIDs)
    -
    -
    Create a new XMLSignatureCreationProfileImpl.
    -
    Parameters:
    createProfileCount - Provides external information about the - number of calls to the signature creation module, using the same request.
    reservedIDs - The set of IDs that must not be used while generating - new IDs.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getDataObjectTreatmentList

    -
    -public List getDataObjectTreatmentList()
    -
    -
    -
    Specified by:
    getDataObjectTreatmentList in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getDataObjectTreatmentList()
    -
    -
    -
    - -

    -setDataObjectTreatmentList

    -
    -public void setDataObjectTreatmentList(List dataObjectTreatmentList)
    -
    -
    Sets the list of DataObjectTreatments.
    -
    -
    -
    -
    Parameters:
    dataObjectTreatmentList - The DataObjectTreatments to - set.
    -
    -
    -
    - -

    -getKeySet

    -
    -public Set getKeySet()
    -
    -
    -
    Specified by:
    getKeySet in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getKeySet()
    -
    -
    -
    - -

    -setKeySet

    -
    -public void setKeySet(Set keySet)
    -
    -
    Set the set of KeyEntryIDs which may be used for signature - creation.
    -
    -
    -
    -
    Parameters:
    keySet - The set of KeyEntryIDs to set.
    -
    -
    -
    - -

    -getSecurityLayerManifestTypeURI

    -
    -public String getSecurityLayerManifestTypeURI()
    -
    -
    -
    Specified by:
    getSecurityLayerManifestTypeURI in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSecurityLayerManifestTypeURI()
    -
    -
    -
    - -

    -setSecurityLayerManifestTypeURI

    -
    -public void setSecurityLayerManifestTypeURI(String securityLayerManifestTypeURI)
    -
    -
    Set the SecurityLayerManifestTypeURI.
    -
    -
    -
    -
    Parameters:
    securityLayerManifestTypeURI - The SecurityLayerManifestTypeURI to - set.
    -
    -
    -
    - -

    -getSignatureAlgorithmName

    -
    -public String getSignatureAlgorithmName(iaik.server.modules.keys.KeyEntryID selectedKeyID)
    -                                 throws iaik.server.modules.keys.AlgorithmUnavailableException
    -
    -
    -
    Specified by:
    getSignatureAlgorithmName in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSignatureAlgorithmName(KeyEntryID)
    -
    -
    -
    - -

    -getSignatureInsertionLocation

    -
    -public iaik.server.modules.xmlsign.XMLSignatureInsertionLocation getSignatureInsertionLocation()
    -
    -
    -
    Specified by:
    getSignatureInsertionLocation in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSignatureInsertionLocation()
    -
    -
    -
    - -

    -setSignatureInsertionLocation

    -
    -public void setSignatureInsertionLocation(iaik.server.modules.xmlsign.XMLSignatureInsertionLocation signatureInsertionLocation)
    -
    -
    Set the location where the signature is to be inserted into the signature - parent.
    -
    -
    -
    -
    Parameters:
    signatureInsertionLocation - The location to set.
    -
    -
    -
    - -

    -getSignatureStructureType

    -
    -public String getSignatureStructureType()
    -
    -
    -
    Specified by:
    getSignatureStructureType in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSignatureStructureType()
    -
    -
    -
    - -

    -setSignatureStructureType

    -
    -public void setSignatureStructureType(String signatureStructureType)
    -
    -
    Set the signature structure type.
    -
    -
    -
    -
    Parameters:
    signatureStructureType - The signature structure type to set.
    -
    -
    -
    - -

    -getSignedInfoCanonicalization

    -
    -public iaik.server.modules.xml.Canonicalization getSignedInfoCanonicalization()
    -
    -
    -
    Specified by:
    getSignedInfoCanonicalization in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSignedInfoCanonicalization()
    -
    -
    -
    - -

    -setSignedInfoCanonicalization

    -
    -public void setSignedInfoCanonicalization(iaik.server.modules.xml.Canonicalization signedInfoCanonicalization)
    -
    -
    Sets the canonicalization method to use for the SignedInfo object.
    -
    -
    -
    -
    Parameters:
    signedInfoCanonicalization - The canonicalization method to set.
    -
    -
    -
    - -

    -getSignedProperties

    -
    -public List getSignedProperties()
    -
    -
    -
    Specified by:
    getSignedProperties in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSignedProperties()
    -
    -
    -
    - -

    -setSignedProperties

    -
    -public void setSignedProperties(List signedProperties)
    -
    -
    Set the signed properties.
    -
    -
    -
    -
    Parameters:
    signedProperties - The signed properties to set.
    -
    -
    -
    - -

    -isSecurityLayerConform

    -
    -public boolean isSecurityLayerConform()
    -
    -
    -
    Specified by:
    isSecurityLayerConform in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.isSecurityLayerConform()
    -
    -
    -
    - -

    -setSecurityLayerConform

    -
    -public void setSecurityLayerConform(boolean securityLayerConform)
    -
    -
    Sets the security layer conformity.
    -
    -
    -
    -
    Parameters:
    securityLayerConform - true, if the created signature - is to be conform to the Security Layer specification.
    -
    -
    -
    - -

    -getSignatureID

    -
    -public String getSignatureID()
    -
    -
    -
    Specified by:
    getSignatureID in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSignatureID()
    -
    -
    -
    - -

    -getSecurityLayerManifestID

    -
    -public String getSecurityLayerManifestID()
    -
    -
    -
    Specified by:
    getSecurityLayerManifestID in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSecurityLayerManifestID()
    -
    -
    -
    - -

    -getDsigManifestID

    -
    -public String getDsigManifestID()
    -
    -
    -
    Specified by:
    getDsigManifestID in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getDsigManifestID()
    -
    -
    -
    - -

    -getSignedPropertiesID

    -
    -public String getSignedPropertiesID()
    -
    -
    -
    Specified by:
    getSignedPropertiesID in interface iaik.server.modules.xmlsign.XMLSignatureCreationProfile
    -
    -
    -
    See Also:
    XMLSignatureCreationProfile.getSignedPropertiesID()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureInsertionLocationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureInsertionLocationImpl.html deleted file mode 100644 index 0e2d43dce..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureInsertionLocationImpl.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLSignatureInsertionLocationImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xmlsign -
    -Class XMLSignatureInsertionLocationImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xmlsign.XMLSignatureInsertionLocation
    -
    -
    -
    -
    public class XMLSignatureInsertionLocationImpl
    extends Object
    implements iaik.server.modules.xmlsign.XMLSignatureInsertionLocation
    - -

    -An object giving the location of where the signature will be - inserted into the parent element. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XMLSignatureInsertionLocationImpl(int signatureChildIndex) - -
    -          Create a new XMLSignatureInsertLocationImpl.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - intgetSignatureChildIndex() - -
    -           
    - voidsetSignatureChildIndex(int signatureChildIndex) - -
    -          Sets the position index at which to append the signature to the parent - element.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLSignatureInsertionLocationImpl

    -
    -public XMLSignatureInsertionLocationImpl(int signatureChildIndex)
    -
    -
    Create a new XMLSignatureInsertLocationImpl.
    -
    Parameters:
    signatureChildIndex - The position index at which to append the - signature to the parent element.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getSignatureChildIndex

    -
    -public int getSignatureChildIndex()
    -
    -
    -
    Specified by:
    getSignatureChildIndex in interface iaik.server.modules.xmlsign.XMLSignatureInsertionLocation
    -
    -
    -
    See Also:
    XMLSignatureInsertionLocation.getSignatureChildIndex()
    -
    -
    -
    - -

    -setSignatureChildIndex

    -
    -public void setSignatureChildIndex(int signatureChildIndex)
    -
    -
    Sets the position index at which to append the signature to the parent - element.
    -
    -
    -
    -
    Parameters:
    signatureChildIndex - The position index to set.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/DataObjectTreatmentImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/DataObjectTreatmentImpl.html deleted file mode 100644 index 944dc54ee..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/DataObjectTreatmentImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/XMLSignatureCreationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/XMLSignatureCreationProfileImpl.html deleted file mode 100644 index 4cd3bb772..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/XMLSignatureCreationProfileImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/XMLSignatureInsertionLocationImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/XMLSignatureInsertionLocationImpl.html deleted file mode 100644 index 7e4e02eba..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/class-use/XMLSignatureInsertionLocationImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-frame.html deleted file mode 100644 index 180c2830e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.xmlsign - - - - - -at.gv.egovernment.moa.spss.server.iaik.xmlsign - - - - -
    -Classes  - -
    -DataObjectTreatmentImpl -
    -XMLSignatureCreationProfileImpl -
    -XMLSignatureInsertionLocationImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-summary.html deleted file mode 100644 index 012809988..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-summary.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.xmlsign - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.xmlsign -

    - - - - - - - - - - - - - - - - - -
    -Class Summary
    DataObjectTreatmentImplAn object encapsulating how to treat an associated DataObject - when creating a signature.
    XMLSignatureCreationProfileImplAn object providing auxiliary information for creating an XML signature.
    XMLSignatureInsertionLocationImplAn object giving the location of where the signature will be - inserted into the parent element.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-tree.html deleted file mode 100644 index 0ac75d979..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-tree.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.xmlsign Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.xmlsign -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl (implements iaik.server.modules.xmlsign.DataObjectTreatment) -
      • class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl (implements iaik.server.modules.xmlsign.XMLSignatureCreationProfile) -
      • class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl (implements iaik.server.modules.xmlsign.XMLSignatureInsertionLocation) -
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-use.html deleted file mode 100644 index 80e7b47f1..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlsign/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.xmlsign - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.xmlsign

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xmlsign -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/XMLSignatureVerificationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/XMLSignatureVerificationProfileImpl.html deleted file mode 100644 index e8bdca217..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/XMLSignatureVerificationProfileImpl.html +++ /dev/null @@ -1,470 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLSignatureVerificationProfileImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.iaik.xmlverify -
    -Class XMLSignatureVerificationProfileImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl
    -
    -
    -
    All Implemented Interfaces:
    iaik.server.modules.xmlverify.XMLSignatureVerificationProfile
    -
    -
    -
    -
    public class XMLSignatureVerificationProfileImpl
    extends Object
    implements iaik.server.modules.xmlverify.XMLSignatureVerificationProfile
    - -

    -An object providing auxiliary information for verifying an XML signature. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XMLSignatureVerificationProfileImpl() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleancheckSecurityLayerManifest() - -
    -           
    - booleancheckXMLDsigManifests() - -
    -           
    - iaik.pki.PKIProfilegetCertificateValidationProfile() - -
    -           
    - ListgetTransformationSupplements() - -
    -           
    - booleanincludeHashInputData() - -
    -           
    - booleanincludeReferenceInputData() - -
    -           
    - voidsetCertificateValidationProfile(iaik.pki.PKIProfile certificateValidationProfile) - -
    -          Sets the profile for validating the signer certificate.
    - voidsetCheckSecurityLayerManifest(boolean checkSecurityLayerManifest) - -
    -          Set whether to check the references in the Security Layer manifest.
    - voidsetCheckXMLDsigManifests(boolean checkXMLDSigManifests) - -
    -          Sets whether to check the references of all XML Dsig manifests.
    - voidsetIncludeHashInputData(boolean includeHashInputData) - -
    -          Set whether to include the hash input data in the result.
    - voidsetIncludeReferenceInputData(boolean includeReferenceInputData) - -
    -          Set whether to include the reference input data in the result.
    - voidsetTransformationSupplements(List transformationSupplements) - -
    -          Sets the transformation supplements.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLSignatureVerificationProfileImpl

    -
    -public XMLSignatureVerificationProfileImpl()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -checkSecurityLayerManifest

    -
    -public boolean checkSecurityLayerManifest()
    -
    -
    -
    Specified by:
    checkSecurityLayerManifest in interface iaik.server.modules.xmlverify.XMLSignatureVerificationProfile
    -
    -
    -
    See Also:
    XMLSignatureVerificationProfile.checkSecurityLayerManifest()
    -
    -
    -
    - -

    -setCheckSecurityLayerManifest

    -
    -public void setCheckSecurityLayerManifest(boolean checkSecurityLayerManifest)
    -
    -
    Set whether to check the references in the Security Layer manifest.
    -
    -
    -
    -
    Parameters:
    checkSecurityLayerManifest - true, if the references - in the Security Layer manifest must be checked.
    -
    -
    -
    - -

    -checkXMLDsigManifests

    -
    -public boolean checkXMLDsigManifests()
    -
    -
    -
    Specified by:
    checkXMLDsigManifests in interface iaik.server.modules.xmlverify.XMLSignatureVerificationProfile
    -
    -
    -
    See Also:
    XMLSignatureVerificationProfile.checkXMLDsigManifests()
    -
    -
    -
    - -

    -setCheckXMLDsigManifests

    -
    -public void setCheckXMLDsigManifests(boolean checkXMLDSigManifests)
    -
    -
    Sets whether to check the references of all XML Dsig manifests.
    -
    -
    -
    -
    Parameters:
    checkXMLDSigManifests - true, if the references in the - XML Dsig manifest must be checked.
    -
    -
    -
    - -

    -getCertificateValidationProfile

    -
    -public iaik.pki.PKIProfile getCertificateValidationProfile()
    -
    -
    -
    Specified by:
    getCertificateValidationProfile in interface iaik.server.modules.xmlverify.XMLSignatureVerificationProfile
    -
    -
    -
    See Also:
    XMLSignatureVerificationProfile.getCertificateValidationProfile()
    -
    -
    -
    - -

    -setCertificateValidationProfile

    -
    -public void setCertificateValidationProfile(iaik.pki.PKIProfile certificateValidationProfile)
    -
    -
    Sets the profile for validating the signer certificate.
    -
    -
    -
    -
    Parameters:
    certificateValidationProfile - The certificate validation profile to - set.
    -
    -
    -
    - -

    -getTransformationSupplements

    -
    -public List getTransformationSupplements()
    -
    -
    -
    Specified by:
    getTransformationSupplements in interface iaik.server.modules.xmlverify.XMLSignatureVerificationProfile
    -
    -
    -
    See Also:
    XMLSignatureVerificationProfile.getTransformationSupplements()
    -
    -
    -
    - -

    -setTransformationSupplements

    -
    -public void setTransformationSupplements(List transformationSupplements)
    -
    -
    Sets the transformation supplements.
    -
    -
    -
    -
    Parameters:
    transformationSupplements - The transformation supplements to set.
    -
    -
    -
    - -

    -includeHashInputData

    -
    -public boolean includeHashInputData()
    -
    -
    -
    Specified by:
    includeHashInputData in interface iaik.server.modules.xmlverify.XMLSignatureVerificationProfile
    -
    -
    -
    See Also:
    XMLSignatureVerificationProfile.includeHashInputData()
    -
    -
    -
    - -

    -setIncludeHashInputData

    -
    -public void setIncludeHashInputData(boolean includeHashInputData)
    -
    -
    Set whether to include the hash input data in the result.
    -
    -
    -
    -
    Parameters:
    includeHashInputData - If true, the hash input data - will be returned in the result.
    -
    -
    -
    - -

    -includeReferenceInputData

    -
    -public boolean includeReferenceInputData()
    -
    -
    -
    Specified by:
    includeReferenceInputData in interface iaik.server.modules.xmlverify.XMLSignatureVerificationProfile
    -
    -
    -
    See Also:
    XMLSignatureVerificationProfile.includeReferenceInputData()
    -
    -
    -
    - -

    -setIncludeReferenceInputData

    -
    -public void setIncludeReferenceInputData(boolean includeReferenceInputData)
    -
    -
    Set whether to include the reference input data in the result.
    -
    -
    -
    -
    Parameters:
    includeReferenceInputData - If true, the reference - input data will be included in the result.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/class-use/XMLSignatureVerificationProfileImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/class-use/XMLSignatureVerificationProfileImpl.html deleted file mode 100644 index f36297da3..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/class-use/XMLSignatureVerificationProfileImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-frame.html deleted file mode 100644 index e165687f2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.xmlverify - - - - - -at.gv.egovernment.moa.spss.server.iaik.xmlverify - - - - -
    -Classes  - -
    -XMLSignatureVerificationProfileImpl
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-summary.html deleted file mode 100644 index 1e0fa3dc3..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-summary.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.iaik.xmlverify - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.iaik.xmlverify -

    - - - - - - - - - -
    -Class Summary
    XMLSignatureVerificationProfileImplAn object providing auxiliary information for verifying an XML signature.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-tree.html deleted file mode 100644 index a8e1af044..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-tree.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.iaik.xmlverify Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.iaik.xmlverify -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-use.html deleted file mode 100644 index 371caf087..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/iaik/xmlverify/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.iaik.xmlverify - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.iaik.xmlverify

    -
    -No usage of at.gv.egovernment.moa.spss.server.iaik.xmlverify -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/ConfiguratorImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/ConfiguratorImpl.html deleted file mode 100644 index a56b6073c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/ConfiguratorImpl.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ConfiguratorImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.init -
    -Class ConfiguratorImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.api.Configurator
    -        |
    -        +--at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl
    -
    -
    -
    -
    public class ConfiguratorImpl
    extends at.gv.egovernment.moa.spss.api.Configurator
    - -

    -Default implementation of Configurator. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ConfiguratorImpl() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - voidinit() - -
    -          Initialize the SP/SS configuration. - -
    - voidupdate() - -
    -          Update the SP/SS configuration. - -
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.api.Configurator
    getInstance
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ConfiguratorImpl

    -
    -public ConfiguratorImpl()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -init

    -
    -public void init()
    -          throws MOAException
    -
    -
    Description copied from class: at.gv.egovernment.moa.spss.api.Configurator
    -
    Initialize the SP/SS configuration. - - Only a single call to this method will have an effect. Use - update() for reflecting changes in the configuration instead.
    -
    Overrides:
    init in class at.gv.egovernment.moa.spss.api.Configurator
    -
    -
    Following copied from class: at.gv.egovernment.moa.spss.api.Configurator
    -
    -
    Throws:
    MOAException - An error occurred updating the SP/SS configuration.
    -
    -
    -
    - -

    -update

    -
    -public void update()
    -            throws MOAException
    -
    -
    Description copied from class: at.gv.egovernment.moa.spss.api.Configurator
    -
    Update the SP/SS configuration. - - This will only have an effect after the system has been initialized once - using init().
    -
    Overrides:
    update in class at.gv.egovernment.moa.spss.api.Configurator
    -
    -
    Following copied from class: at.gv.egovernment.moa.spss.api.Configurator
    -
    -
    Throws:
    MOAException - An error occurred updating the SP/SS configuration.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/SystemInitializer.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/SystemInitializer.html deleted file mode 100644 index 78afdbaed..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/SystemInitializer.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SystemInitializer - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.init -
    -Class SystemInitializer

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.init.SystemInitializer
    -
    -
    -
    -
    public class SystemInitializer
    extends Object
    - -

    -MOA SP/SS web service initialization. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    SystemInitializer() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    -static voidinit() - -
    -          Initialize the MOA SP/SS webservice.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SystemInitializer

    -
    -public SystemInitializer()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -init

    -
    -public static void init()
    -
    -
    Initialize the MOA SP/SS webservice.
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/class-use/ConfiguratorImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/class-use/ConfiguratorImpl.html deleted file mode 100644 index 32a6eb9be..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/class-use/ConfiguratorImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/class-use/SystemInitializer.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/class-use/SystemInitializer.html deleted file mode 100644 index 31cbfcdba..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/class-use/SystemInitializer.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.init.SystemInitializer - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.init.SystemInitializer

    -
    -No usage of at.gv.egovernment.moa.spss.server.init.SystemInitializer -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-frame.html deleted file mode 100644 index a2478bab3..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.init - - - - - -at.gv.egovernment.moa.spss.server.init - - - - -
    -Classes  - -
    -ConfiguratorImpl -
    -SystemInitializer
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-summary.html deleted file mode 100644 index 7db3951d0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-summary.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.init - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.init -

    - - - - - - - - - - - - - -
    -Class Summary
    ConfiguratorImplDefault implementation of Configurator.
    SystemInitializerMOA SP/SS web service initialization.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-tree.html deleted file mode 100644 index 2e846b712..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-tree.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.init Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.init -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.api.Configurator -
      • class at.gv.egovernment.moa.spss.server.init.SystemInitializer
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-use.html deleted file mode 100644 index 52cda3bc5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/init/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.init - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.init

    -
    -No usage of at.gv.egovernment.moa.spss.server.init -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.html deleted file mode 100644 index 4e05bb187..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CMSSignatureVerificationInvoker - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class CMSSignatureVerificationInvoker

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker
    -
    -
    -
    -
    public class CMSSignatureVerificationInvoker
    extends Object
    - -

    -A class providing an interface to the - CMSSignatureVerificationModule. - - This class performs the invocation of the - iaik.server.modules.cmsverify.CMSSignatureVerificationModule - from a VerifyCMSSignatureRequest. The result of the invocation - is integrated into a VerifyCMSSignatureResponse returned. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected CMSSignatureVerificationInvoker() - -
    -          Create a new CMSSignatureVerificationInvoker. - -
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    -static CMSSignatureVerificationInvokergetInstance() - -
    -          Return the only instance of this class.
    - at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseverifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request) - -
    -          Verify a CMS signature.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CMSSignatureVerificationInvoker

    -
    -protected CMSSignatureVerificationInvoker()
    -
    -
    Create a new CMSSignatureVerificationInvoker. - - Protected to disallow multiple instances.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static CMSSignatureVerificationInvoker getInstance()
    -
    -
    Return the only instance of this class.
    -
    Returns:
    The only instance of this class.
    -
    -
    -
    - -

    -verifyCMSSignature

    -
    -public at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse verifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request)
    -                                                                                       throws MOAException
    -
    -
    Verify a CMS signature.
    -
    Parameters:
    request - The VerifyCMSSignatureRequest containing the - CMS signature, as well as additional data needed for verification.
    Returns:
    Element A VerifyCMSSignatureResponse containing the - answer to the VerifyCMSSignatureRequest.
    Throws:
    MOAException - An error occurred while processing the request.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationProfileFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationProfileFactory.html deleted file mode 100644 index 88e64e533..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationProfileFactory.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CMSSignatureVerificationProfileFactory - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class CMSSignatureVerificationProfileFactory

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationProfileFactory
    -
    -
    -
    -
    public class CMSSignatureVerificationProfileFactory
    extends Object
    - -

    -A factory to create a CMSSignatureVerificationProfile from a - VerifyCMSSignatureRequest and the current MOA configuration - data. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    CMSSignatureVerificationProfileFactory(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request) - -
    -          Create a new CMSSignatureVerificationProfileFactory.
    -  - - - - - - - - - - - -
    -Method Summary
    - iaik.server.modules.cmsverify.CMSSignatureVerificationProfilecreateProfile() - -
    -          Create a CMSSignatureVerificationProfile from the given - request and the current MOA configuration.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CMSSignatureVerificationProfileFactory

    -
    -public CMSSignatureVerificationProfileFactory(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request)
    -
    -
    Create a new CMSSignatureVerificationProfileFactory.
    -
    Parameters:
    request - The VerifyCMSSignatureRequest to draw profile - data from.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -createProfile

    -
    -public iaik.server.modules.cmsverify.CMSSignatureVerificationProfile createProfile()
    -                                                                            throws MOAException
    -
    -
    Create a CMSSignatureVerificationProfile from the given - request and the current MOA configuration.
    -
    Returns:
    The CMSSignatureVerificationProfile for the - request, based on the current configuration.
    Throws:
    MOAException - An error occurred creating the profile.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CreateXMLSignatureResponseBuilder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CreateXMLSignatureResponseBuilder.html deleted file mode 100644 index 6b55965a5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/CreateXMLSignatureResponseBuilder.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CreateXMLSignatureResponseBuilder - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class CreateXMLSignatureResponseBuilder

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder
    -
    -
    -
    -
    public class CreateXMLSignatureResponseBuilder
    extends Object
    - -

    -A class to build a CreateXMLSignatureResponse. - -

    The methods addSignature() and addError() may be - called in any combination to add SignatureEnvironment and - ErrorResponse elements to the response. One of these functions - must be called at least once to produce a - CreateXMLSignatureResponse.

    - -

    The getResponseElement() method then returns the - CreateXMLSignatureResponse built so far.

    -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    CreateXMLSignatureResponseBuilder() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddError(String errorCode, - String info) - -
    -          Add a ErrorResponse element to the response.
    - voidaddSignatureEnvironment(org.w3c.dom.Element signatureEnvironment) - -
    -          Add a SignatureEnvironment element to the response.
    - at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponsegetResponse() - -
    -          Get the CreateXMLSignatureResponse built so far.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CreateXMLSignatureResponseBuilder

    -
    -public CreateXMLSignatureResponseBuilder()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getResponse

    -
    -public at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse getResponse()
    -
    -
    Get the CreateXMLSignatureResponse built so far.
    -
    Returns:
    The CreateXMLSignatureResponse built so far.
    -
    -
    -
    - -

    -addSignatureEnvironment

    -
    -public void addSignatureEnvironment(org.w3c.dom.Element signatureEnvironment)
    -
    -
    Add a SignatureEnvironment element to the response.
    -
    Parameters:
    signatureEnvironment - The content to put under the - SignatureEnvironment element. This should either be a - dsig:Signature element (in case of a detached signature) or - the signature environment containing the signature (in case of - an enveloping signature).
    -
    -
    -
    - -

    -addError

    -
    -public void addError(String errorCode,
    -                     String info)
    -
    -
    Add a ErrorResponse element to the response.
    -
    Parameters:
    errorCode - The error code.
    info - Additional information about the error.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactory.html deleted file mode 100644 index f36bca5a5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactory.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class DataObjectFactory - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class DataObjectFactory

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory
    -
    -
    -
    -
    public class DataObjectFactory
    extends Object
    - -

    -A class to create DataObjects contained in different - locations of the MOA XML request format. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected DataObjectFactory() - -
    -          Create a new DataObjectFactory. - -
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - iaik.server.modules.xml.DataObjectcreateFromContentOptionalRefType(at.gv.egovernment.moa.spss.api.common.Content content, - String referenceID, - boolean allowContentAndReference, - boolean binaryAsXml, - boolean xmlAsNodeList, - boolean referenceAsXml) - -
    -          Create a DataObject from a Content object.
    - iaik.server.modules.xml.DataObjectcreateFromSignatureEnvironment(org.w3c.dom.Element signatureEnvironment, - String uri, - String referenceID) - -
    -          Create an XMLDataObject from the given signature environment.
    - iaik.server.modules.xml.DataObjectcreateFromTransformParameter(at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter transformParameter) - -
    -          Create a DataObject from a TransformParameter - object.
    - iaik.server.modules.xml.DataObjectcreateFromURI(String uri, - boolean asXml) - -
    -          Create a DataObject from data located at the given URI.
    - iaik.server.modules.xml.DataObjectcreateFromXmlDataObjectAssociation(at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation xmlDataObjAssoc, - boolean xmlContentAllowed, - boolean binaryContentRepeatable) - -
    -          Create a DataObject from a - XMLDataObjectAssociation object.
    - iaik.server.modules.xml.XMLDataObjectcreateSignatureEnvironment(at.gv.egovernment.moa.spss.api.common.Content content, - List supplements) - -
    -          Return the signature environment, i.e., the root element of the - document, into which the signature will be inserted (if created) or which - contains the signature (if verified).
    -static DataObjectFactorygetInstance() - -
    -          Return the only instance of this class.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -DataObjectFactory

    -
    -protected DataObjectFactory()
    -
    -
    Create a new DataObjectFactory. - - Protected to disallow multiple instances.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static DataObjectFactory getInstance()
    -
    -
    Return the only instance of this class.
    -
    Returns:
    The only instance of this class.
    -
    -
    -
    - -

    -createSignatureEnvironment

    -
    -public iaik.server.modules.xml.XMLDataObject createSignatureEnvironment(at.gv.egovernment.moa.spss.api.common.Content content,
    -                                                                        List supplements)
    -                                                                 throws MOASystemException,
    -                                                                        MOAApplicationException
    -
    -
    Return the signature environment, i.e., the root element of the - document, into which the signature will be inserted (if created) or which - contains the signature (if verified).
    -
    Parameters:
    content - The Content object containing the signature - environment.
    supplements - Additional schema or DTD information.
    Returns:
    The signature environment or null, if no - signature environment exists.
    Throws:
    MOASystemException - A system error occurred building the signature - environment (see message for details).
    MOAApplicationException - An error occurred building the signature - environment (see message for details).
    -
    -
    -
    - -

    -createFromSignatureEnvironment

    -
    -public iaik.server.modules.xml.DataObject createFromSignatureEnvironment(org.w3c.dom.Element signatureEnvironment,
    -                                                                         String uri,
    -                                                                         String referenceID)
    -                                                                  throws MOAApplicationException
    -
    -
    Create an XMLDataObject from the given signature environment.
    -
    Parameters:
    signatureEnvironment - The signature environment contained in the - result.
    uri - The URI identifying the data. This must be either the empty - URI, an URI starting with "#xpointer", "#xmlns" - or "#element"; or an URI starting with "#" and - followed by an element ID.
    referenceID - The reference ID to set for the data object.
    Returns:
    A data object containing the signature environment.
    -
    -
    -
    - -

    -createFromContentOptionalRefType

    -
    -public iaik.server.modules.xml.DataObject createFromContentOptionalRefType(at.gv.egovernment.moa.spss.api.common.Content content,
    -                                                                           String referenceID,
    -                                                                           boolean allowContentAndReference,
    -                                                                           boolean binaryAsXml,
    -                                                                           boolean xmlAsNodeList,
    -                                                                           boolean referenceAsXml)
    -                                                                    throws MOASystemException,
    -                                                                           MOAApplicationException
    -
    -
    Create a DataObject from a Content object.
    -
    Parameters:
    content - The Content object containing the data.
    referenceID - The reference ID to set in the resulting - DataObject. May be null.
    allowContentAndReference - If true, then - content is allowed to contain both a Reference - attribute and content. Otherwise, either a Reference - attribute or content must be set.
    binaryAsXml - If true, a content child given as - Base64Content must contain XML data.
    xmlAsNodeList - If true, the children of a - XMLContent child element are returned as a - XMLNodeListDataObject. Otherwise, XMLContent may - only contain a single child node, which must be an element and which is - returned as an XMLDataObject.
    referenceAsXml - If true, then content loaded from the - URI given as the Reference attribute must be XML data. - If false, an attempt is made to parse the data as XML and - return an XMLDataObject but if this fails, a - BinaryDataObject is returned containing a byte stream to the - data.
    Returns:
    A DataObject representing the data in - content. If base64AsXml==true and - xmlAsNodeList==false and referenceAsXml==true, - then the result can safely be cast to an XMLDataObject.
    Throws:
    MOASystemException - An error indicating an internal problem. See the - wrapped exception for details.
    MOAApplicationException - An error occurred handling the content - (probably while opening a reference or parsing the data). See the wrapped - exception for details.
    -
    -
    -
    - -

    -createFromXmlDataObjectAssociation

    -
    -public iaik.server.modules.xml.DataObject createFromXmlDataObjectAssociation(at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation xmlDataObjAssoc,
    -                                                                             boolean xmlContentAllowed,
    -                                                                             boolean binaryContentRepeatable)
    -                                                                      throws MOASystemException,
    -                                                                             MOAApplicationException
    -
    -
    Create a DataObject from a - XMLDataObjectAssociation object.
    -
    Parameters:
    xmlDataObjAssoc - The XMLDataObjectAssociation object.
    xmlContentAllowed - Whether the content contained in the - xmlDataObjAssoc is allowed to be of type - XML_CONTENT.
    binaryContentRepeatable - If binary content must be provided as a - DataObject that can be read multiple times.
    Returns:
    A DataObject representing the data in - xmlDataObjAssoc.
    Throws:
    MOASystemException - An error indicating an internal problem. See the - wrapped exception for details.
    MOAApplicationException - An error occurred handling the content - (probably while parsing the data). See the wrapped exception for details.
    -
    -
    -
    - -

    -createFromTransformParameter

    -
    -public iaik.server.modules.xml.DataObject createFromTransformParameter(at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter transformParameter)
    -                                                                throws MOASystemException,
    -                                                                       MOAApplicationException
    -
    -
    Create a DataObject from a TransformParameter - object.
    -
    Parameters:
    transformParameter - The TransformParameter object - containing the data.
    Returns:
    A DataObject representing the data in - root.
    Throws:
    MOASystemException - An error indicating an internal problem. See the - wrapped exception for details.
    MOAApplicationException - An error occurred handling the content - (probably while opening a reference or parsing the data). See the wrapped - exception for details.
    -
    -
    -
    - -

    -createFromURI

    -
    -public iaik.server.modules.xml.DataObject createFromURI(String uri,
    -                                                        boolean asXml)
    -                                                 throws MOASystemException,
    -                                                        MOAApplicationException
    -
    -
    Create a DataObject from data located at the given URI.
    -
    Parameters:
    uri - The URI where the data is located. This method uses - an ExternalURIResolver to resolve URIs.
    asXml - If true, a DataObject is only - returned, if the content consists of XML data. If it does not consist of - XML data, an MOAApplicationException will be thrown. If this - parameter is false and the content consists of XML data, this - method will still attempt to parse it.
    Returns:
    The DataObject contained at the URI.
    Throws:
    MOASystemException - A system error parsing the XML content.
    MOAApplicationException - An error occurred on opening, reading or - parsing the data behind the URI.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html deleted file mode 100644 index 865da7487..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ExternalURIResolver - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class ExternalURIResolver

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver
    -
    -
    -
    -
    public class ExternalURIResolver
    extends Object
    - -

    -Resolve external URIs and provide them as a stream. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ExternalURIResolver() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetContentType() - -
    -          Return the content type of the data detected at the URI from the previous - call of resolve().
    - InputStreamresolve(String uriStr) - -
    -          Return a stream to data at the given URI. - -
    -protected  voidsetContentType(String contentType) - -
    -          Set the content type of the data at the URI.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ExternalURIResolver

    -
    -public ExternalURIResolver()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -resolve

    -
    -public InputStream resolve(String uriStr)
    -                    throws MOAApplicationException
    -
    -
    Return a stream to data at the given URI. - - This method will try to open an URLConnection to the given - URI. Access to the file system is disallowed.
    -
    Parameters:
    uriStr - The URI to resolve.
    Returns:
    InputStream The data contained at the URI.
    Throws:
    MOAApplicationException - An error occurred resolving the URI (e.g., - the URI is syntactically incorrect or the stream could not be opened).
    -
    -
    -
    - -

    -setContentType

    -
    -protected void setContentType(String contentType)
    -
    -
    Set the content type of the data at the URI.
    -
    Parameters:
    contentType - The content type to set.
    -
    -
    -
    - -

    -getContentType

    -
    -public String getContentType()
    -
    -
    Return the content type of the data detected at the URI from the previous - call of resolve().
    -
    Returns:
    String The content type.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/IaikExceptionMapper.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/IaikExceptionMapper.html deleted file mode 100644 index 86ac44553..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/IaikExceptionMapper.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class IaikExceptionMapper - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class IaikExceptionMapper

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper
    -
    -
    -
    -
    public class IaikExceptionMapper
    extends Object
    - -

    -Map an exception from the iaik namespace to a - MOAException. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected IaikExceptionMapper() - -
    -          Create a new IaikExceptionMapper. - -
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -protected  MOAExceptioncreateMoaException(Exception iaikException) - -
    -          Create a MOAException from a given IAIKException - by looking it up in the mapping.
    -static IaikExceptionMappergetInstance() - -
    -          Get the single instance of this class.
    -protected  at.gv.egovernment.moa.spss.server.invoke.ExceptionMappingInfolookupMessage(Class iaikExceptionClass) - -
    -          Recursively look up the message associated with an - IAIKException. - -
    - MOAExceptionmap(iaik.IAIKException iaikException) - -
    -          Map an IAIKException to a MOAException.
    - MOAExceptionmap(iaik.IAIKRuntimeException iaikException) - -
    -          Map an IAIKRuntimeException to a MOAException.
    -protected  voidregisterMessage(Class iaikExceptionClass, - String messageId, - Class moaExceptionClass) - -
    -          Register a single IAIKException to message mapping.
    -protected  voidregisterMessages() - -
    -          Build the complete IAIKException to message code mapping.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -IaikExceptionMapper

    -
    -protected IaikExceptionMapper()
    -
    -
    Create a new IaikExceptionMapper. - - Protected to disallow multple instances.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static IaikExceptionMapper getInstance()
    -
    -
    Get the single instance of this class.
    -
    Returns:
    The single instance of this class.
    -
    -
    -
    - -

    -registerMessages

    -
    -protected void registerMessages()
    -
    -
    Build the complete IAIKException to message code mapping.
    -
    - -

    -registerMessage

    -
    -protected void registerMessage(Class iaikExceptionClass,
    -                               String messageId,
    -                               Class moaExceptionClass)
    -
    -
    Register a single IAIKException to message mapping.
    -
    Parameters:
    iaikExceptionClass - An exception from the iaik package.
    messageId - The corresponding error message id.
    moaExceptionClass - The type of MOAException that the - IAIKException is mapped to (usually - MOAApplicationException or MOASystemException).
    -
    -
    -
    - -

    -map

    -
    -public MOAException map(iaik.IAIKException iaikException)
    -
    -
    Map an IAIKException to a MOAException.
    -
    Parameters:
    iaikException - The IAIKException to map.
    Returns:
    A MOAException containing the message for the - given IAIKException.
    -
    -
    -
    - -

    -map

    -
    -public MOAException map(iaik.IAIKRuntimeException iaikException)
    -
    -
    Map an IAIKRuntimeException to a MOAException.
    -
    Parameters:
    iaikException - The IAIKException to map.
    Returns:
    A MOAException containing the message for the - given IAIKRuntimeException.
    -
    -
    -
    - -

    -createMoaException

    -
    -protected MOAException createMoaException(Exception iaikException)
    -
    -
    Create a MOAException from a given IAIKException - by looking it up in the mapping.
    -
    Parameters:
    iaikException - The IAIKException to map.
    Returns:
    A MOAException with an error code corresponding to - the given IAIKException. Returns null, if no - mapping could be found.
    -
    -
    -
    - -

    -lookupMessage

    -
    -protected at.gv.egovernment.moa.spss.server.invoke.ExceptionMappingInfo lookupMessage(Class iaikExceptionClass)
    -
    -
    Recursively look up the message associated with an - IAIKException. - - This method walks up the exception inheritance hierarchy until it finds a - mapping.
    -
    Parameters:
    iaikExceptionClass - The IAIKException to look up.
    Returns:
    Information about the message id and - MOAException class that the iaikExceptionClass - maps to. If no mapping could be found, null is returned.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/InvokerUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/InvokerUtils.html deleted file mode 100644 index 6c4e48493..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/InvokerUtils.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class InvokerUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class InvokerUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.InvokerUtils
    -
    -
    -
    -
    public class InvokerUtils
    extends Object
    - -

    -Utility methods for invoking the IAIK MOA modules. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    InvokerUtils() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    -static org.w3c.dom.ElementevaluateSignatureLocation(org.w3c.dom.Element root, - at.gv.egovernment.moa.spss.api.common.ElementSelector location) - -
    -          Select the signature parent element.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -InvokerUtils

    -
    -public InvokerUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -evaluateSignatureLocation

    -
    -public static org.w3c.dom.Element evaluateSignatureLocation(org.w3c.dom.Element root,
    -                                                            at.gv.egovernment.moa.spss.api.common.ElementSelector location)
    -                                                     throws MOAApplicationException
    -
    -
    Select the signature parent element.
    -
    Parameters:
    root - The root DOM element which contains the signature parent - element somewhere in its subtree.
    location - The ElementSelector containing the XPath - expression to select the signature parent element from the document. - It is also contains the namespace prefix to URI mapping.
    Returns:
    Element The signature parent element.
    Throws:
    MOAApplicationException - An error occurred evaluating the - location.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ProfileMapper.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ProfileMapper.html deleted file mode 100644 index 6f5b0a8cd..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ProfileMapper.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ProfileMapper - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class ProfileMapper

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.ProfileMapper
    -
    -
    -
    -
    public class ProfileMapper
    extends Object
    - -

    -Map ProfileID objects to their explicit represantation. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ProfileMapper() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicitmapCreateSignatureEnvironmentProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile profile, - ConfigurationProvider config) - -
    -          Map a CreateSignatureEnvironmentProfile to a - CreateSignatureEnvironmentProfileExplicit.
    -static at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicitmapCreateTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile profile, - ConfigurationProvider config) - -
    -          Map a CreateTransformsInfoProfile to a - CreateTransformsInfoProfileExplicit.
    -static at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileExplicitmapSupplementProfile(at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile profile, - ConfigurationProvider config) - -
    -          Map a SupplementProfile to a - SupplementProfileExplicit.
    -static ListmapSupplementProfiles(List profiles, - ConfigurationProvider config) - -
    -          Map a List of SupplementProfiles to their - explicit representation.
    -static at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicitmapVerifyTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile profile, - ConfigurationProvider config) - -
    -          Map a VerifyTransformsInfoProfile to a - VerifyTransformsInfoProfileExplicit.
    -static ListmapVerifyTransformsInfoProfiles(List profiles, - ConfigurationProvider config) - -
    -          Map a List of VerifyTransformsInfoProfiles to - their explicit representation.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ProfileMapper

    -
    -public ProfileMapper()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -mapCreateTransformsInfoProfile

    -
    -public static at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicit mapCreateTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile profile,
    -                                                                                                                        ConfigurationProvider config)
    -                                                                                                                 throws MOAApplicationException
    -
    -
    Map a CreateTransformsInfoProfile to a - CreateTransformsInfoProfileExplicit.
    -
    Parameters:
    profile - The profile object to map.
    config - The MOA configuration to use for looking up the profile.
    Returns:
    profile, if the given profile is of type - EXPLICIT_CREATETRANSFORMSINFOPROFILE, otherwise the profile - that is looked up and parsed from the configuration.
    Throws:
    MOAApplicationException - An error occurred parsing the profile.
    -
    -
    -
    - -

    -mapCreateSignatureEnvironmentProfile

    -
    -public static at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicit mapCreateSignatureEnvironmentProfile(at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile profile,
    -                                                                                                                                    ConfigurationProvider config)
    -                                                                                                                             throws MOAApplicationException
    -
    -
    Map a CreateSignatureEnvironmentProfile to a - CreateSignatureEnvironmentProfileExplicit.
    -
    Parameters:
    profile - The profile object to map.
    config - The MOA configuration to use for looking up the profile.
    Returns:
    profile, if the given profile is of type - EXPLICIT_CREATESIGNATUREENVIRONMENTPROFILE, otherwise the - profile that is looked up and parsed from the configuration.
    Throws:
    MOAApplicationException - An error occurred parsing the profile.
    -
    -
    -
    - -

    -mapSupplementProfiles

    -
    -public static List mapSupplementProfiles(List profiles,
    -                                         ConfigurationProvider config)
    -                                  throws MOAApplicationException
    -
    -
    Map a List of SupplementProfiles to their - explicit representation.
    -
    Parameters:
    profiles - The profiles to map.
    config - The MOA configuration to use for looking up profiles.
    Returns:
    The mapped profiles.
    Throws:
    MOAApplicationException - An error occurred mapping one of the - profiles.
    -
    -
    -
    - -

    -mapSupplementProfile

    -
    -public static at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileExplicit mapSupplementProfile(at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile profile,
    -                                                                                                      ConfigurationProvider config)
    -                                                                                               throws MOAApplicationException
    -
    -
    Map a SupplementProfile to a - SupplementProfileExplicit.
    -
    Parameters:
    profile - The profile object to map.
    config - The MOA configuration to use for looking up the profile.
    Returns:
    profile, if the given profile is of type - EXPLICIT_SUPPLEMENTPROFILE, otherwise the - profile that is looked up and parsed from the configuration.
    Throws:
    MOAApplicationException - An error occurred parsing the profile.
    -
    -
    -
    - -

    -mapVerifyTransformsInfoProfiles

    -
    -public static List mapVerifyTransformsInfoProfiles(List profiles,
    -                                                   ConfigurationProvider config)
    -                                            throws MOAApplicationException
    -
    -
    Map a List of VerifyTransformsInfoProfiles to - their explicit representation.
    -
    Parameters:
    profiles - The profiles to map.
    config - The MOA configuration to use for looking up profiles.
    Returns:
    The mapped profiles.
    Throws:
    MOAApplicationException - An error occurred mapping one of the - profiles.
    -
    -
    -
    - -

    -mapVerifyTransformsInfoProfile

    -
    -public static at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicit mapVerifyTransformsInfoProfile(at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile profile,
    -                                                                                                                          ConfigurationProvider config)
    -                                                                                                                   throws MOAApplicationException
    -
    -
    Map a VerifyTransformsInfoProfile to a - VerifyTransformsInfoProfileExplicit.
    -
    Parameters:
    profile - The profile object to map.
    config - The MOA configuration to use for looking up the profile.
    Returns:
    profile, if the given profile is of type - EXPLICIT_VERIFYTRANSFORMSINFOPROFILE, otherwise the - profile that is looked up and parsed from the configuration.
    Throws:
    MOAApplicationException - An error occurred parsing the profile.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ServiceContextUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ServiceContextUtils.html deleted file mode 100644 index 547b37310..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/ServiceContextUtils.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ServiceContextUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class ServiceContextUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.ServiceContextUtils
    -
    -
    -
    -
    public class ServiceContextUtils
    extends Object
    - -

    -A utility class for setting up and tearing down thread-local context - information needed for calling the Invoker classes. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ServiceContextUtils() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    -static voidsetUpContexts() - -
    -          Set up the thread-local context information needed for calling the various - Invoker classes.
    -static voidtearDownContexts() - -
    -          Tear down thread-local context information.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ServiceContextUtils

    -
    -public ServiceContextUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -setUpContexts

    -
    -public static void setUpContexts()
    -                          throws ConfigurationException
    -
    -
    Set up the thread-local context information needed for calling the various - Invoker classes.
    -
    Throws:
    ConfigurationException - An error occurred setting up the - configuration in the TransactionContext.
    -
    -
    -
    - -

    -tearDownContexts

    -
    -public static void tearDownContexts()
    -
    -
    Tear down thread-local context information.
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/SignatureCreationServiceImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/SignatureCreationServiceImpl.html deleted file mode 100644 index 7d9e91d1c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/SignatureCreationServiceImpl.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SignatureCreationServiceImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class SignatureCreationServiceImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.api.SignatureCreationService
    -        |
    -        +--at.gv.egovernment.moa.spss.server.invoke.SignatureCreationServiceImpl
    -
    -
    -
    -
    public class SignatureCreationServiceImpl
    extends at.gv.egovernment.moa.spss.api.SignatureCreationService
    - -

    -An implementation of the SignatureCreationService, using - the XMLSignatureCreationInvoker. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    SignatureCreationServiceImpl() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    - at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponsecreateXMLSignature(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest request) - -
    -          Create an XML signature.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.api.SignatureCreationService
    getInstance
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SignatureCreationServiceImpl

    -
    -public SignatureCreationServiceImpl()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -createXMLSignature

    -
    -public at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse createXMLSignature(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest request)
    -                                                                                     throws MOAException
    -
    -
    Create an XML signature.
    -
    Overrides:
    createXMLSignature in class at.gv.egovernment.moa.spss.api.SignatureCreationService
    -
    -
    -
    Parameters:
    request - The CreateXMLSignatureRequest containing - information about the signature(s) to create.
    Returns:
    The created signature(s).
    Throws:
    MOAException - An error occurred creating the signature(s).
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/SignatureVerificationServiceImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/SignatureVerificationServiceImpl.html deleted file mode 100644 index 3018e0617..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/SignatureVerificationServiceImpl.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SignatureVerificationServiceImpl - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class SignatureVerificationServiceImpl

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.api.SignatureVerificationService
    -        |
    -        +--at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl
    -
    -
    -
    -
    public class SignatureVerificationServiceImpl
    extends at.gv.egovernment.moa.spss.api.SignatureVerificationService
    - -

    -An implementation of the SignatureVerificationService using - the XMLSignatureVerificationInvoker and the - CMSSignatureVerificationInvoker. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    SignatureVerificationServiceImpl() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseverifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request) - -
    -          Verify a CMS signature.
    - at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponseverifyXMLSignature(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest request) - -
    -          Verify an XML signature.
    - - - - - - - -
    Methods inherited from class at.gv.egovernment.moa.spss.api.SignatureVerificationService
    getInstance
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SignatureVerificationServiceImpl

    -
    -public SignatureVerificationServiceImpl()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -verifyCMSSignature

    -
    -public at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse verifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request)
    -                                                                                       throws MOAException
    -
    -
    Verify a CMS signature.
    -
    Overrides:
    verifyCMSSignature in class at.gv.egovernment.moa.spss.api.SignatureVerificationService
    -
    -
    -
    Parameters:
    request - The VerifyCMSSignatureRequest containing - information about the signature verification.
    Returns:
    The result of the signature verification.
    Throws:
    MOAException - An error occurred during signature verification.
    -
    -
    -
    - -

    -verifyXMLSignature

    -
    -public at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse verifyXMLSignature(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest request)
    -                                                                                       throws MOAException
    -
    -
    Verify an XML signature.
    -
    Overrides:
    verifyXMLSignature in class at.gv.egovernment.moa.spss.api.SignatureVerificationService
    -
    -
    -
    Parameters:
    request - The VerifyXMLSignatureRequest containinig - information about the signature verification.
    Returns:
    The result of the signature verification.
    Throws:
    MOAException - An error occurred during signature verification.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/TransformationFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/TransformationFactory.html deleted file mode 100644 index 8095ff919..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/TransformationFactory.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class TransformationFactory - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class TransformationFactory

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.TransformationFactory
    -
    -
    -
    -
    public class TransformationFactory
    extends Object
    - -

    -A factory to create Transformation objects from - Transform objects. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected TransformationFactory() - -
    -          Create a new TransformationFactory. - -
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - iaik.server.modules.xml.TransformationcreateTransformation(at.gv.egovernment.moa.spss.api.common.Transform transform) - -
    -          Create a Transformation based on a - Transform object.
    - ListcreateTransformationList(List transforms) - -
    -          Create a List of Transformations from a - List of Transforms.
    -static TransformationFactorygetInstance() - -
    -          Get the single instance of the factory.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -TransformationFactory

    -
    -protected TransformationFactory()
    -
    -
    Create a new TransformationFactory. - - Protected to disallow multiple instances.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static TransformationFactory getInstance()
    -
    -
    Get the single instance of the factory.
    -
    Returns:
    TransformationFactory The single instance.
    -
    -
    -
    - -

    -createTransformation

    -
    -public iaik.server.modules.xml.Transformation createTransformation(at.gv.egovernment.moa.spss.api.common.Transform transform)
    -                                                            throws MOAApplicationException
    -
    -
    Create a Transformation based on a - Transform object.
    -
    Parameters:
    transform - The Transform object to extract - transformation data from.
    Returns:
    The transformation contained in the transform - object.
    Throws:
    MOAApplicationException - An error occured creating the - Transformation. See exception message for details.
    -
    -
    -
    - -

    -createTransformationList

    -
    -public List createTransformationList(List transforms)
    -                              throws MOAApplicationException
    -
    -
    Create a List of Transformations from a - List of Transforms.
    -
    Parameters:
    transforms - The List containing the - Transforms.
    Returns:
    The List of Transformations corresponding - to the transforms.
    Throws:
    MOAApplicationException - An error occurred building one of the - transformations. See exception message for details.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/VerifyCMSSignatureResponseBuilder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/VerifyCMSSignatureResponseBuilder.html deleted file mode 100644 index 921b63f6c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/VerifyCMSSignatureResponseBuilder.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class VerifyCMSSignatureResponseBuilder - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class VerifyCMSSignatureResponseBuilder

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.VerifyCMSSignatureResponseBuilder
    -
    -
    -
    -
    public class VerifyCMSSignatureResponseBuilder
    extends Object
    - -

    -A class to build a VerifyCMSSignatureResponse object. - -

    Via subsequent calls to addResult() a number of results from - a CMS signature verification can be added to the response.

    - -

    The getResponseElement() method then returns the - VerifyCMSSignatureResponse built so far.

    -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    VerifyCMSSignatureResponseBuilder() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddResult(iaik.server.modules.cmsverify.CMSSignatureVerificationResult result) - -
    -          Add a verification result to the response.
    - at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponsegetResponse() - -
    -          Get the VerifyCMSSignatureResponse built so far.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -VerifyCMSSignatureResponseBuilder

    -
    -public VerifyCMSSignatureResponseBuilder()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getResponse

    -
    -public at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse getResponse()
    -
    -
    Get the VerifyCMSSignatureResponse built so far.
    -
    Returns:
    The VerifyCMSSignatureResponse built so far.
    -
    -
    -
    - -

    -addResult

    -
    -public void addResult(iaik.server.modules.cmsverify.CMSSignatureVerificationResult result)
    -               throws MOAApplicationException
    -
    -
    Add a verification result to the response.
    -
    Parameters:
    result - The result to add.
    Throws:
    MOAApplicationException - An error occurred adding the result.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.html deleted file mode 100644 index 4688f6386..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class VerifyXMLSignatureResponseBuilder - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class VerifyXMLSignatureResponseBuilder

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder
    -
    -
    -
    -
    public class VerifyXMLSignatureResponseBuilder
    extends Object
    - -

    -A class to build a VerifyXMLSignatureResponse object. - -

    Via a call to addResult() the only result of the - signature verification must be added.

    - -

    The getResponseElement() method then returns the - VerifyXMLSignatureResponse built so far.

    -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    VerifyXMLSignatureResponseBuilder() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponsegetResponse() - -
    -          Get the VerifyMLSignatureResponse built so far.
    - voidsetResult(iaik.server.modules.xmlverify.XMLSignatureVerificationResult result, - iaik.server.modules.xmlverify.XMLSignatureVerificationProfile profile, - at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult transformsSignatureManifestCheck) - -
    -          Sets the verification result to the response. - -
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -VerifyXMLSignatureResponseBuilder

    -
    -public VerifyXMLSignatureResponseBuilder()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getResponse

    -
    -public at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse getResponse()
    -
    -
    Get the VerifyMLSignatureResponse built so far.
    -
    Returns:
    The VerifyXMLSignatureResponse built so far.
    -
    -
    -
    - -

    -setResult

    -
    -public void setResult(iaik.server.modules.xmlverify.XMLSignatureVerificationResult result,
    -                      iaik.server.modules.xmlverify.XMLSignatureVerificationProfile profile,
    -                      at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult transformsSignatureManifestCheck)
    -               throws MOAApplicationException
    -
    -
    Sets the verification result to the response. - - This method must be called exactly once to ensure a valid - VerifyXMLSignatureResponse.
    -
    Parameters:
    result - The result to set for the response.
    profile - The profile used for verifying the signature.
    Throws:
    MOAApplicationException - An error occurred adding the result.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvoker.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvoker.html deleted file mode 100644 index 19998ed9a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvoker.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLSignatureCreationInvoker - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class XMLSignatureCreationInvoker

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker
    -
    -
    -
    -
    public class XMLSignatureCreationInvoker
    extends Object
    - -

    -A class providing an API based interface to the - XMLSignatureCreationModule. - - This class performs the invocation of the - iaik.server.modules.xmlsign.XMLSignatureCreationModule from a - CreateXMLSignatureRequest given as an API object. The result of - the invocation is integrated into a CreateXMLSignatureResponse - and returned. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected XMLSignatureCreationInvoker() - -
    -          Create a new XMLSignatureCreationInvoker. - -
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponsecreateXMLSignature(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest request, - Set reserved) - -
    -          Process the CreateXMLSignatureRequest message and invoke the - XMLSignatureCreationModule for every - SingleSignatureInfo contained in the request.
    -static XMLSignatureCreationInvokergetInstance() - -
    -          Get the only instance of this class.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLSignatureCreationInvoker

    -
    -protected XMLSignatureCreationInvoker()
    -
    -
    Create a new XMLSignatureCreationInvoker. - - Protected to disallow multiple instances.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static XMLSignatureCreationInvoker getInstance()
    -
    -
    Get the only instance of this class.
    -
    Returns:
    The only instance of this class.
    -
    -
    -
    - -

    -createXMLSignature

    -
    -public at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse createXMLSignature(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest request,
    -                                                                                            Set reserved)
    -                                                                                     throws MOAException
    -
    -
    Process the CreateXMLSignatureRequest message and invoke the - XMLSignatureCreationModule for every - SingleSignatureInfo contained in the request.
    -
    Parameters:
    request - A CreateXMLSignatureRequest API object - containing the information for creating the signature(s).
    reserved - A Set of reserved object IDs.
    Returns:
    A CreateXMLSignatureResponse API object containing - the created signature(s). The response contains either a - SignatureEnvironment or a ErrorResponse - for each SingleSignatureInfo in the request.
    Throws:
    MOAException - An error occurred during signature creation.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationProfileFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationProfileFactory.html deleted file mode 100644 index 677d6747f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationProfileFactory.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLSignatureCreationProfileFactory - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class XMLSignatureCreationProfileFactory

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationProfileFactory
    -
    -
    -
    -
    public class XMLSignatureCreationProfileFactory
    extends Object
    - -

    -A factory to create XMLSignatureCreationProfiles from a - CreateXMLSignatureRequest, based on the current MOA - configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XMLSignatureCreationProfileFactory(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest request, - Set reserved) - -
    -          Create a new XMLSignatureCreationProfileFactory.
    -  - - - - - - - - - - - -
    -Method Summary
    - iaik.server.modules.xmlsign.XMLSignatureCreationProfilecreateProfile(at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo singleSignatureInfo) - -
    -          Create a XMLSignatureCreationProfile for the given - SingleSignatureInfo object..
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLSignatureCreationProfileFactory

    -
    -public XMLSignatureCreationProfileFactory(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest request,
    -                                          Set reserved)
    -
    -
    Create a new XMLSignatureCreationProfileFactory.
    -
    Parameters:
    request - The request for which to create profiles.
    reserved - The Set of reserved object IDs. IDs will - be added during signature creation.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -createProfile

    -
    -public iaik.server.modules.xmlsign.XMLSignatureCreationProfile createProfile(at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo singleSignatureInfo)
    -                                                                      throws MOASystemException,
    -                                                                             MOAApplicationException
    -
    -
    Create a XMLSignatureCreationProfile for the given - SingleSignatureInfo object..
    -
    Parameters:
    singleSignatureInfo - The SingleSignatureInfo object - containing information about the creation of a signature.
    Returns:
    The XMLSignatureCreationProfile containing additional - information for creating an XML signature.
    Throws:
    MOASystemException - A system error occurred during creation of the - profile. See message for details
    MOAApplicationException - An application error occurred during - creation of the profile. See message for details.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.html deleted file mode 100644 index 0d0d4ba8d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLSignatureVerificationInvoker - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class XMLSignatureVerificationInvoker

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker
    -
    -
    -
    -
    public class XMLSignatureVerificationInvoker
    extends Object
    - -

    -A class providing a DOM based interface to the - XMLSignatureVerificationModule. - - This class performs the invocation of the - iaik.server.modules.xmlverify.XMLSignatureVerificationModule - from a VerifyXMLSignatureRequest given as a DOM element. The - result of the invocation is integrated into a - VerifyXMLSignatureResponse and returned. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected XMLSignatureVerificationInvoker() - -
    -          Create a new XMLSignatureCreationInvoker. - -
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    -static XMLSignatureVerificationInvokergetInstance() - -
    -          Get the single instance of this class.
    - at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponseverifyXMLSignature(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest request) - -
    -          Process the VerifyXMLSignatureRequest message and invoke the - XMLSignatureVerificationModule.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLSignatureVerificationInvoker

    -
    -protected XMLSignatureVerificationInvoker()
    -
    -
    Create a new XMLSignatureCreationInvoker. - - Protected to disallow multiple instances.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static XMLSignatureVerificationInvoker getInstance()
    -
    -
    Get the single instance of this class.
    -
    Returns:
    The single instance of this class.
    -
    -
    -
    - -

    -verifyXMLSignature

    -
    -public at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse verifyXMLSignature(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest request)
    -                                                                                       throws MOAException
    -
    -
    Process the VerifyXMLSignatureRequest message and invoke the - XMLSignatureVerificationModule.
    -
    Parameters:
    request - A VerifyXMLSignatureRequest API object - containing the data for verifying an XML signature.
    Returns:
    A VerifyXMLSignatureResponse containing the - answert to the VerifyXMLSignatureRequest. - MOA schema definition.
    Throws:
    MOAException - An error occurred during signature verification.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationProfileFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationProfileFactory.html deleted file mode 100644 index d6ce23919..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationProfileFactory.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XMLSignatureVerificationProfileFactory - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.invoke -
    -Class XMLSignatureVerificationProfileFactory

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationProfileFactory
    -
    -
    -
    -
    public class XMLSignatureVerificationProfileFactory
    extends Object
    - -

    -A factory to create a XMLSignatureVerificationProfile from a - VerifyXMLSignatureRequest, based on the current MOA - configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XMLSignatureVerificationProfileFactory(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest request) - -
    -          Create a new XMLSignatureVerificationProfileFactory.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - ListbuildTransformationSupplements() - -
    -          Build supplemental data objects used in the transformations.
    - iaik.server.modules.xmlverify.XMLSignatureVerificationProfilecreateProfile() - -
    -          Create a XMLSignatureCreationProfile from the - VerifyXMLSignaturesRequest and the current MOA configuration.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XMLSignatureVerificationProfileFactory

    -
    -public XMLSignatureVerificationProfileFactory(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest request)
    -
    -
    Create a new XMLSignatureVerificationProfileFactory.
    -
    Parameters:
    request - The VerifyXMLSignatureRequest to extract - profile data from.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -createProfile

    -
    -public iaik.server.modules.xmlverify.XMLSignatureVerificationProfile createProfile()
    -                                                                            throws MOASystemException,
    -                                                                                   MOAApplicationException
    -
    -
    Create a XMLSignatureCreationProfile from the - VerifyXMLSignaturesRequest and the current MOA configuration.
    -
    Returns:
    The XMLSignatureVerificationProfile containing - additional information for verifying an XML signature.
    Throws:
    MOASystemException - A system error occurred building the profile.
    MOAApplicationException - An error occurred building the profile.
    -
    -
    -
    - -

    -buildTransformationSupplements

    -
    -public List buildTransformationSupplements()
    -                                    throws MOASystemException,
    -                                           MOAApplicationException
    -
    -
    Build supplemental data objects used in the transformations.
    -
    Returns:
    A List of DataObjects providing - supplemental data to the transformations.
    Throws:
    MOASystemException - A system error occurred building one of the - transformations.
    MOAApplicationException - An error occurred building one of the - transformations.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CMSSignatureVerificationInvoker.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CMSSignatureVerificationInvoker.html deleted file mode 100644 index f75111207..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CMSSignatureVerificationInvoker.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker

    -
    - - - - - - - - - -
    -Packages that use CMSSignatureVerificationInvoker
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of CMSSignatureVerificationInvoker in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that return CMSSignatureVerificationInvoker
    -static CMSSignatureVerificationInvokerCMSSignatureVerificationInvoker.getInstance() - -
    -          Return the only instance of this class.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CMSSignatureVerificationProfileFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CMSSignatureVerificationProfileFactory.html deleted file mode 100644 index c84486c54..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CMSSignatureVerificationProfileFactory.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationProfileFactory - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationProfileFactory

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationProfileFactory -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CreateXMLSignatureResponseBuilder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CreateXMLSignatureResponseBuilder.html deleted file mode 100644 index bd0b202e4..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/CreateXMLSignatureResponseBuilder.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/DataObjectFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/DataObjectFactory.html deleted file mode 100644 index c120249cf..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/DataObjectFactory.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory

    -
    - - - - - - - - - -
    -Packages that use DataObjectFactory
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of DataObjectFactory in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that return DataObjectFactory
    -static DataObjectFactoryDataObjectFactory.getInstance() - -
    -          Return the only instance of this class.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ExternalURIResolver.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ExternalURIResolver.html deleted file mode 100644 index ae5ac4e59..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ExternalURIResolver.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/IaikExceptionMapper.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/IaikExceptionMapper.html deleted file mode 100644 index 38e6b173d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/IaikExceptionMapper.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper

    -
    - - - - - - - - - -
    -Packages that use IaikExceptionMapper
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of IaikExceptionMapper in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that return IaikExceptionMapper
    -static IaikExceptionMapperIaikExceptionMapper.getInstance() - -
    -          Get the single instance of this class.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/InvokerUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/InvokerUtils.html deleted file mode 100644 index 39ea751b1..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/InvokerUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.InvokerUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.InvokerUtils

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.InvokerUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ProfileMapper.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ProfileMapper.html deleted file mode 100644 index edeead3df..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ProfileMapper.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.ProfileMapper

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.ProfileMapper -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ServiceContextUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ServiceContextUtils.html deleted file mode 100644 index 4163221b5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/ServiceContextUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.ServiceContextUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.ServiceContextUtils

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.ServiceContextUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/SignatureCreationServiceImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/SignatureCreationServiceImpl.html deleted file mode 100644 index 91ee6bc3a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/SignatureCreationServiceImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.SignatureCreationServiceImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.SignatureCreationServiceImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.SignatureCreationServiceImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/SignatureVerificationServiceImpl.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/SignatureVerificationServiceImpl.html deleted file mode 100644 index e3276a401..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/SignatureVerificationServiceImpl.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/TransformationFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/TransformationFactory.html deleted file mode 100644 index 4a0d3e0f5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/TransformationFactory.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.TransformationFactory - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.TransformationFactory

    -
    - - - - - - - - - -
    -Packages that use TransformationFactory
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of TransformationFactory in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that return TransformationFactory
    -static TransformationFactoryTransformationFactory.getInstance() - -
    -          Get the single instance of the factory.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/VerifyCMSSignatureResponseBuilder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/VerifyCMSSignatureResponseBuilder.html deleted file mode 100644 index 50fc2ba81..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/VerifyCMSSignatureResponseBuilder.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.VerifyCMSSignatureResponseBuilder - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.VerifyCMSSignatureResponseBuilder

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.VerifyCMSSignatureResponseBuilder -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/VerifyXMLSignatureResponseBuilder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/VerifyXMLSignatureResponseBuilder.html deleted file mode 100644 index e01cf5e59..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/VerifyXMLSignatureResponseBuilder.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureCreationInvoker.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureCreationInvoker.html deleted file mode 100644 index be4d2fa32..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureCreationInvoker.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker

    -
    - - - - - - - - - -
    -Packages that use XMLSignatureCreationInvoker
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of XMLSignatureCreationInvoker in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that return XMLSignatureCreationInvoker
    -static XMLSignatureCreationInvokerXMLSignatureCreationInvoker.getInstance() - -
    -          Get the only instance of this class.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureCreationProfileFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureCreationProfileFactory.html deleted file mode 100644 index 0914a0d44..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureCreationProfileFactory.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationProfileFactory - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationProfileFactory

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationProfileFactory -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureVerificationInvoker.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureVerificationInvoker.html deleted file mode 100644 index 6589f92de..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureVerificationInvoker.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker

    -
    - - - - - - - - - -
    -Packages that use XMLSignatureVerificationInvoker
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - -
    -Uses of XMLSignatureVerificationInvoker in at.gv.egovernment.moa.spss.server.invoke
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.invoke that return XMLSignatureVerificationInvoker
    -static XMLSignatureVerificationInvokerXMLSignatureVerificationInvoker.getInstance() - -
    -          Get the single instance of this class.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureVerificationProfileFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureVerificationProfileFactory.html deleted file mode 100644 index 0c7ab50df..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/class-use/XMLSignatureVerificationProfileFactory.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationProfileFactory - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationProfileFactory

    -
    -No usage of at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationProfileFactory -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-frame.html deleted file mode 100644 index fda6b423a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-frame.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.invoke - - - - - -at.gv.egovernment.moa.spss.server.invoke - - - - -
    -Classes  - -
    -CMSSignatureVerificationInvoker -
    -CMSSignatureVerificationProfileFactory -
    -CreateXMLSignatureResponseBuilder -
    -DataObjectFactory -
    -ExternalURIResolver -
    -IaikExceptionMapper -
    -InvokerUtils -
    -ProfileMapper -
    -ServiceContextUtils -
    -SignatureCreationServiceImpl -
    -SignatureVerificationServiceImpl -
    -TransformationFactory -
    -VerifyCMSSignatureResponseBuilder -
    -VerifyXMLSignatureResponseBuilder -
    -XMLSignatureCreationInvoker -
    -XMLSignatureCreationProfileFactory -
    -XMLSignatureVerificationInvoker -
    -XMLSignatureVerificationProfileFactory
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-summary.html deleted file mode 100644 index 38baff5af..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-summary.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.invoke - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.invoke -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    CMSSignatureVerificationInvokerA class providing an interface to the - CMSSignatureVerificationModule. - -
    CMSSignatureVerificationProfileFactoryA factory to create a CMSSignatureVerificationProfile from a - VerifyCMSSignatureRequest and the current MOA configuration - data.
    CreateXMLSignatureResponseBuilderA class to build a CreateXMLSignatureResponse. - -
    DataObjectFactoryA class to create DataObjects contained in different - locations of the MOA XML request format.
    ExternalURIResolverResolve external URIs and provide them as a stream.
    IaikExceptionMapperMap an exception from the iaik namespace to a - MOAException.
    InvokerUtilsUtility methods for invoking the IAIK MOA modules.
    ProfileMapperMap ProfileID objects to their explicit represantation.
    ServiceContextUtilsA utility class for setting up and tearing down thread-local context - information needed for calling the Invoker classes.
    SignatureCreationServiceImplAn implementation of the SignatureCreationService, using - the XMLSignatureCreationInvoker.
    SignatureVerificationServiceImplAn implementation of the SignatureVerificationService using - the XMLSignatureVerificationInvoker and the - CMSSignatureVerificationInvoker.
    TransformationFactoryA factory to create Transformation objects from - Transform objects.
    VerifyCMSSignatureResponseBuilderA class to build a VerifyCMSSignatureResponse object. - -
    VerifyXMLSignatureResponseBuilderA class to build a VerifyXMLSignatureResponse object. - -
    XMLSignatureCreationInvokerA class providing an API based interface to the - XMLSignatureCreationModule. - -
    XMLSignatureCreationProfileFactoryA factory to create XMLSignatureCreationProfiles from a - CreateXMLSignatureRequest, based on the current MOA - configuration.
    XMLSignatureVerificationInvokerA class providing a DOM based interface to the - XMLSignatureVerificationModule. - -
    XMLSignatureVerificationProfileFactoryA factory to create a XMLSignatureVerificationProfile from a - VerifyXMLSignatureRequest, based on the current MOA - configuration.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-tree.html deleted file mode 100644 index 6ce03ce50..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-tree.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.invoke Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.invoke -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-use.html deleted file mode 100644 index 125dc4d73..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/invoke/package-use.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.invoke - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.invoke

    -
    - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.spss.server.invoke
    at.gv.egovernment.moa.spss.server.invoke  
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.invoke used by at.gv.egovernment.moa.spss.server.invoke
    CMSSignatureVerificationInvoker - -
    -          A class providing an interface to the - CMSSignatureVerificationModule. - -
    DataObjectFactory - -
    -          A class to create DataObjects contained in different - locations of the MOA XML request format.
    IaikExceptionMapper - -
    -          Map an exception from the iaik namespace to a - MOAException.
    TransformationFactory - -
    -          A factory to create Transformation objects from - Transform objects.
    XMLSignatureCreationInvoker - -
    -          A class providing an API based interface to the - XMLSignatureCreationModule. - -
    XMLSignatureVerificationInvoker - -
    -          A class providing a DOM based interface to the - XMLSignatureVerificationModule. - -
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLog.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLog.html deleted file mode 100644 index 265a724d6..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLog.html +++ /dev/null @@ -1,518 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class IaikLog - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.logging -
    -Class IaikLog

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.logging.IaikLog
    -
    -
    -
    All Implemented Interfaces:
    iaik.logging.Log
    -
    -
    -
    -
    public class IaikLog
    extends Object
    implements iaik.logging.Log
    - -

    -An implementation of the iaik.logging.Log - interface that is based on Jakarta Commons-Logging. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Fatemeh Philippi
    -
    -
    - -

    - - - - - - - - - - - - - - -
    -Field Summary
    -static StringIAIK_LOG_HIERARCHY - -
    -          The hierarchy to log all IAIK output to.
    -  - - - - - - - - - - -
    -Constructor Summary
    IaikLog(String nodeId) - -
    -          Create a new IaikLog.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voiddebug(iaik.logging.TransactionId transactionId, - Object message, - Throwable t) - -
    -           
    - voiderror(iaik.logging.TransactionId transactionId, - Object message, - Throwable t) - -
    -           
    - voidfatal(iaik.logging.TransactionId transactionId, - Object message, - Throwable t) - -
    -           
    - StringgetNodeId() - -
    -           
    - voidinfo(iaik.logging.TransactionId transactionId, - Object message, - Throwable t) - -
    -           
    - booleanisDebugEnabled() - -
    -           
    - booleanisErrorEnabled() - -
    -           
    - booleanisFatalEnabled() - -
    -           
    - booleanisInfoEnabled() - -
    -           
    - booleanisWarnEnabled() - -
    -           
    - voidsetNodeId(String nodeId) - -
    -           
    - voidwarn(iaik.logging.TransactionId transactionId, - Object message, - Throwable t) - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -IAIK_LOG_HIERARCHY

    -
    -public static final String IAIK_LOG_HIERARCHY
    -
    -
    The hierarchy to log all IAIK output to.
    - - - - - - - - -
    -Constructor Detail
    - -

    -IaikLog

    -
    -public IaikLog(String nodeId)
    -
    -
    Create a new IaikLog.
    -
    Parameters:
    nodeId - The node ID for this Log object.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -isDebugEnabled

    -
    -public boolean isDebugEnabled()
    -
    -
    -
    Specified by:
    isDebugEnabled in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.isDebugEnabled()
    -
    -
    -
    - -

    -debug

    -
    -public void debug(iaik.logging.TransactionId transactionId,
    -                  Object message,
    -                  Throwable t)
    -
    -
    -
    Specified by:
    debug in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.debug(TransactionId, Object, Throwable)
    -
    -
    -
    - -

    -isInfoEnabled

    -
    -public boolean isInfoEnabled()
    -
    -
    -
    Specified by:
    isInfoEnabled in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.isInfoEnabled()
    -
    -
    -
    - -

    -info

    -
    -public void info(iaik.logging.TransactionId transactionId,
    -                 Object message,
    -                 Throwable t)
    -
    -
    -
    Specified by:
    info in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.info(TransactionId, Object, Throwable)
    -
    -
    -
    - -

    -isWarnEnabled

    -
    -public boolean isWarnEnabled()
    -
    -
    -
    Specified by:
    isWarnEnabled in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.isWarnEnabled()
    -
    -
    -
    - -

    -warn

    -
    -public void warn(iaik.logging.TransactionId transactionId,
    -                 Object message,
    -                 Throwable t)
    -
    -
    -
    Specified by:
    warn in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.warn(TransactionId, Object, Throwable)
    -
    -
    -
    - -

    -isErrorEnabled

    -
    -public boolean isErrorEnabled()
    -
    -
    -
    Specified by:
    isErrorEnabled in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.isErrorEnabled()
    -
    -
    -
    - -

    -error

    -
    -public void error(iaik.logging.TransactionId transactionId,
    -                  Object message,
    -                  Throwable t)
    -
    -
    -
    Specified by:
    error in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.error(TransactionId, Object, Throwable)
    -
    -
    -
    - -

    -isFatalEnabled

    -
    -public boolean isFatalEnabled()
    -
    -
    -
    Specified by:
    isFatalEnabled in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.isFatalEnabled()
    -
    -
    -
    - -

    -fatal

    -
    -public void fatal(iaik.logging.TransactionId transactionId,
    -                  Object message,
    -                  Throwable t)
    -
    -
    -
    Specified by:
    fatal in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.fatal(TransactionId, Object, Throwable)
    -
    -
    -
    - -

    -setNodeId

    -
    -public void setNodeId(String nodeId)
    -
    -
    -
    Specified by:
    setNodeId in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.setNodeId(String)
    -
    -
    -
    - -

    -getNodeId

    -
    -public String getNodeId()
    -
    -
    -
    Specified by:
    getNodeId in interface iaik.logging.Log
    -
    -
    -
    See Also:
    Log.getNodeId()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.html deleted file mode 100644 index 2775a49dc..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class IaikLogFactory - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.logging -
    -Class IaikLogFactory

    -
    -java.lang.Object
    -  |
    -  +--iaik.logging.LogFactory
    -        |
    -        +--at.gv.egovernment.moa.spss.server.logging.IaikLogFactory
    -
    -
    -
    -
    public class IaikLogFactory
    extends iaik.logging.LogFactory
    - -

    -An implementation of the iaik.logging.LogFactory abstract - class to log messages to the MOA logging subsystem. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from class iaik.logging.LogFactory
    DEFAULT_FACTORY, factories, factory_name_, node_id_, properties_
    -  - - - - - - - - - - -
    -Constructor Summary
    IaikLogFactory() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - iaik.logging.LoggetInstance(Class clazz) - -
    -           
    - iaik.logging.LoggetInstance(String name) - -
    -           
    - voidrelease() - -
    -           
    - - - - - - - -
    Methods inherited from class iaik.logging.LogFactory
    configure, getContextClassLoader, getFactory, getLog, getLog, newFactory, releaseAll
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -IaikLogFactory

    -
    -public IaikLogFactory()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public iaik.logging.Log getInstance(Class clazz)
    -                             throws iaik.logging.LogConfigurationException
    -
    -
    -
    Overrides:
    getInstance in class iaik.logging.LogFactory
    -
    -
    -
    - -

    -getInstance

    -
    -public iaik.logging.Log getInstance(String name)
    -                             throws iaik.logging.LogConfigurationException
    -
    -
    -
    Overrides:
    getInstance in class iaik.logging.LogFactory
    -
    -
    -
    - -

    -release

    -
    -public void release()
    -
    -
    -
    Overrides:
    release in class iaik.logging.LogFactory
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLogMsg.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLogMsg.html deleted file mode 100644 index a3257d151..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/IaikLogMsg.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class IaikLogMsg - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.logging -
    -Class IaikLogMsg

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.logging.IaikLogMsg
    -
    -
    -
    -
    public class IaikLogMsg
    extends Object
    - -

    -A unified message type to log messages from the IAIK subsystem. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    IaikLogMsg(iaik.logging.TransactionId transactionId, - String nodeId, - Object message) - -
    -          Create a IaikLogMsg object.
    -  - - - - - - - - - - - -
    -Method Summary
    - StringtoString() - -
    -          Convert this log message to a String.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -IaikLogMsg

    -
    -public IaikLogMsg(iaik.logging.TransactionId transactionId,
    -                  String nodeId,
    -                  Object message)
    -
    -
    Create a IaikLogMsg object.
    -
    Parameters:
    transactionId - The transaction id of the transaction which - generated this log message. May be null.
    nodeId - The node id where this message was generated. May be - null.
    message - The actual message to log. May be null.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -toString

    -
    -public String toString()
    -
    -
    Convert this log message to a String.
    -
    Overrides:
    toString in class Object
    -
    -
    -
    Returns:
    The String representation of this log message.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/TransactionId.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/TransactionId.html deleted file mode 100644 index db05490dd..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/TransactionId.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class TransactionId - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.logging -
    -Class TransactionId

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.logging.TransactionId
    -
    -
    -
    All Implemented Interfaces:
    iaik.logging.TransactionId
    -
    -
    -
    -
    public class TransactionId
    extends Object
    implements iaik.logging.TransactionId
    - -

    -An implementation of the iaik.logging.TransactionId interface. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    TransactionId(String logID) - -
    -          Create a TransactionId object.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - StringgetLogID() - -
    -           
    - StringtoString() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -TransactionId

    -
    -public TransactionId(String logID)
    -
    -
    Create a TransactionId object.
    -
    Parameters:
    logID - The transaction id as it should be presented to the logging - subsystem.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getLogID

    -
    -public String getLogID()
    -
    -
    -
    Specified by:
    getLogID in interface iaik.logging.TransactionId
    -
    -
    -
    See Also:
    TransactionId.getLogID()
    -
    -
    -
    - -

    -toString

    -
    -public String toString()
    -
    -
    -
    Overrides:
    toString in class Object
    -
    -
    -
    See Also:
    Object.toString()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLog.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLog.html deleted file mode 100644 index 89f062c8b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLog.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.logging.IaikLog - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.logging.IaikLog

    -
    -No usage of at.gv.egovernment.moa.spss.server.logging.IaikLog -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLogFactory.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLogFactory.html deleted file mode 100644 index c7cb8b092..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLogFactory.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.logging.IaikLogFactory - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.logging.IaikLogFactory

    -
    -No usage of at.gv.egovernment.moa.spss.server.logging.IaikLogFactory -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLogMsg.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLogMsg.html deleted file mode 100644 index 64a8b7b6c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/IaikLogMsg.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.logging.IaikLogMsg - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.logging.IaikLogMsg

    -
    -No usage of at.gv.egovernment.moa.spss.server.logging.IaikLogMsg -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/TransactionId.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/TransactionId.html deleted file mode 100644 index 4755d3130..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/class-use/TransactionId.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.logging.TransactionId - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.logging.TransactionId

    -
    -No usage of at.gv.egovernment.moa.spss.server.logging.TransactionId -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-frame.html deleted file mode 100644 index 7bb3e49a2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.logging - - - - - -at.gv.egovernment.moa.spss.server.logging - - - - -
    -Classes  - -
    -IaikLog -
    -IaikLogFactory -
    -IaikLogMsg -
    -TransactionId
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-summary.html deleted file mode 100644 index 42cccd999..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-summary.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.logging - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.logging -

    - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    IaikLogAn implementation of the iaik.logging.Log - interface that is based on Jakarta Commons-Logging.
    IaikLogFactoryAn implementation of the iaik.logging.LogFactory abstract - class to log messages to the MOA logging subsystem.
    IaikLogMsgA unified message type to log messages from the IAIK subsystem.
    TransactionIdAn implementation of the iaik.logging.TransactionId interface.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-tree.html deleted file mode 100644 index 054d4168a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-tree.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.logging Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.logging -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.logging.IaikLog (implements iaik.logging.Log) -
      • class at.gv.egovernment.moa.spss.server.logging.IaikLogMsg
      • class iaik.logging.LogFactory -
      • class at.gv.egovernment.moa.spss.server.logging.TransactionId (implements iaik.logging.TransactionId) -
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-use.html deleted file mode 100644 index d8024b706..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/logging/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.logging - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.logging

    -
    -No usage of at.gv.egovernment.moa.spss.server.logging -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/AxisHandler.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/AxisHandler.html deleted file mode 100644 index 8d59eea38..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/AxisHandler.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class AxisHandler - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.service -
    -Class AxisHandler

    -
    -java.lang.Object
    -  |
    -  +--org.apache.axis.handlers.BasicHandler
    -        |
    -        +--at.gv.egovernment.moa.spss.server.service.AxisHandler
    -
    -
    -
    All Implemented Interfaces:
    org.apache.axis.Handler, Serializable
    -
    -
    -
    -
    public class AxisHandler
    extends org.apache.axis.handlers.BasicHandler
    - -

    -An handler that is invoked on each web service request and performs some - central message handling. - - Mainly sets up the TransactionContext for the current - transaction (i.e. web service request). -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck, Stefan Knirsch
    -
    See Also:
    Serialized Form
    -
    - -

    - - - - - - - - - - - - - -
    Fields inherited from class org.apache.axis.handlers.BasicHandler
    log, name, options
    -  - - - - - - - - - - -
    -Constructor Summary
    AxisHandler() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidgenerateWSDL(org.apache.axis.MessageContext msgContext) - -
    -          Generate the WSDL into the msgContext. - -
    - voidinvoke(org.apache.axis.MessageContext msgContext) - -
    -          Handle an invocation of this handler.
    - voidonFault(org.apache.axis.MessageContext msgContext) - -
    -          Called, when the processing of the web service fails.
    - - - - - - - -
    Methods inherited from class org.apache.axis.handlers.BasicHandler
    canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, setName, setOption, setOptionDefault, setOptions
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -AxisHandler

    -
    -public AxisHandler()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -invoke

    -
    -public void invoke(org.apache.axis.MessageContext msgContext)
    -            throws org.apache.axis.AxisFault
    -
    -
    Handle an invocation of this handler.
    -
    Overrides:
    invoke in class org.apache.axis.handlers.BasicHandler
    -
    -
    -
    Parameters:
    msgContext - Information about this request/response.
    Throws:
    org.apache.axis.AxisFault - An error occurred during processing of the request.
    See Also:
    Handler.invoke(MessageContext)
    -
    -
    -
    - -

    -onFault

    -
    -public void onFault(org.apache.axis.MessageContext msgContext)
    -
    -
    Called, when the processing of the web service fails.
    -
    Overrides:
    onFault in class org.apache.axis.handlers.BasicHandler
    -
    -
    -
    Parameters:
    msgContext - Information about the current request.
    See Also:
    Handler.onFault(org.apache.axis.MessageContext)
    -
    -
    -
    - -

    -generateWSDL

    -
    -public void generateWSDL(org.apache.axis.MessageContext msgContext)
    -                  throws org.apache.axis.AxisFault
    -
    -
    Generate the WSDL into the msgContext. - - The code of this method is more or less copied from the - org.apache.axis.handlers.soap.SOAPService class contained in - the 1.1 release of Axis to allow for a missing wsdlFile (so - that a resource by the same name is searched for in the classpath). The - implementation of this method should be obsolete if Axis 1.1 or higher is - used.
    -
    Overrides:
    generateWSDL in class org.apache.axis.handlers.BasicHandler
    -
    -
    -
    Parameters:
    msgContext - The MessageContext that will contain the - WSDL description of the current web service.
    Throws:
    org.apache.axis.AxisFault - An error occurred producing the WSDL.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/ConfigurationServlet.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/ConfigurationServlet.html deleted file mode 100644 index 07502c433..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/ConfigurationServlet.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ConfigurationServlet - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.service -
    -Class ConfigurationServlet

    -
    -java.lang.Object
    -  |
    -  +--javax.servlet.GenericServlet
    -        |
    -        +--javax.servlet.http.HttpServlet
    -              |
    -              +--at.gv.egovernment.moa.spss.server.service.ConfigurationServlet
    -
    -
    -
    All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
    -
    -
    -
    -
    public class ConfigurationServlet
    extends javax.servlet.http.HttpServlet
    - -

    -A servlet to initialize and update the MOA configuration. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Fatemeh Philippi, Patrick Peck
    -
    See Also:
    Serialized Form
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ConfigurationServlet() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voiddoGet(javax.servlet.http.HttpServletRequest request, - javax.servlet.http.HttpServletResponse response) - -
    -          Handle a HTTP GET request, used to indicated that the MOA - configuration needs to be updated (reloaded).
    - voiddoPost(javax.servlet.http.HttpServletRequest request, - javax.servlet.http.HttpServletResponse response) - -
    -          Do the same as doGet.
    - voidinit() - -
    -          Perform some initial initialization tasks for the MOA web services - application. - -
    - - - - - - - -
    Methods inherited from class javax.servlet.http.HttpServlet
    doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
    - - - - - - - -
    Methods inherited from class javax.servlet.GenericServlet
    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ConfigurationServlet

    -
    -public ConfigurationServlet()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -doGet

    -
    -public void doGet(javax.servlet.http.HttpServletRequest request,
    -                  javax.servlet.http.HttpServletResponse response)
    -           throws javax.servlet.ServletException,
    -                  IOException
    -
    -
    Handle a HTTP GET request, used to indicated that the MOA - configuration needs to be updated (reloaded).
    -
    Overrides:
    doGet in class javax.servlet.http.HttpServlet
    -
    -
    -
    See Also:
    HttpServlet.doGet(HttpServletRequest, HttpServletResponse)
    -
    -
    -
    - -

    -doPost

    -
    -public void doPost(javax.servlet.http.HttpServletRequest request,
    -                   javax.servlet.http.HttpServletResponse response)
    -            throws javax.servlet.ServletException,
    -                   IOException
    -
    -
    Do the same as doGet.
    -
    Overrides:
    doPost in class javax.servlet.http.HttpServlet
    -
    -
    -
    See Also:
    HttpServlet.doPost(HttpServletRequest, HttpServletResponse)
    -
    -
    -
    - -

    -init

    -
    -public void init()
    -          throws javax.servlet.ServletException
    -
    -
    Perform some initial initialization tasks for the MOA web services - application. - - Does an initial load of the MOA configuration to test if a working web - service can be provided.
    -
    Overrides:
    init in class javax.servlet.GenericServlet
    -
    -
    -
    See Also:
    GenericServlet.init()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/RevocationArchiveCleaner.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/RevocationArchiveCleaner.html deleted file mode 100644 index 6a7c06ddb..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/RevocationArchiveCleaner.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class RevocationArchiveCleaner - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.service -
    -Class RevocationArchiveCleaner

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner
    -
    -
    -
    All Implemented Interfaces:
    Runnable
    -
    -
    -
    -
    public class RevocationArchiveCleaner
    extends Object
    implements Runnable
    - -

    -A Runnable for periodically cleaning up the revocation archive. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    RevocationArchiveCleaner(long archiveCleanupInterval) - -
    -          Create a new RevocationArchiveCleaner.
    -  - - - - - - - - - - - -
    -Method Summary
    - voidrun() - -
    -          Run the RevocationArchiveCleaner in its own - Thread.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -RevocationArchiveCleaner

    -
    -public RevocationArchiveCleaner(long archiveCleanupInterval)
    -
    -
    Create a new RevocationArchiveCleaner.
    -
    Parameters:
    archiveCleanupInterval - The interval between two clean-ups of the - revocation archive.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -run

    -
    -public void run()
    -
    -
    Run the RevocationArchiveCleaner in its own - Thread.
    -
    Specified by:
    run in interface Runnable
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/ServiceUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/ServiceUtils.html deleted file mode 100644 index 44886b45a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/ServiceUtils.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ServiceUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.service -
    -Class ServiceUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.service.ServiceUtils
    -
    -
    -
    -
    public class ServiceUtils
    extends Object
    - -

    -Helper methods for the Service classes. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ServiceUtils() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    -static org.w3c.dom.ElementreparseRequest(org.w3c.dom.Element request) - -
    -          Reparse the request with schema-validation turned on so that ID references - are resolved.
    -static voidvalidateRequest(org.w3c.dom.Element[] request) - -
    -          Schema-validate a request.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ServiceUtils

    -
    -public ServiceUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -validateRequest

    -
    -public static void validateRequest(org.w3c.dom.Element[] request)
    -                            throws MOAApplicationException
    -
    -
    Schema-validate a request.
    -
    Parameters:
    request - The request to validate.
    Throws:
    MOAApplicationException - An error occurred validating the requst.
    -
    -
    -
    - -

    -reparseRequest

    -
    -public static org.w3c.dom.Element reparseRequest(org.w3c.dom.Element request)
    -                                          throws MOAApplicationException
    -
    -
    Reparse the request with schema-validation turned on so that ID references - are resolved.
    -
    Parameters:
    request - The request to reparse.
    Returns:
    The reparsed request.
    Throws:
    MOAApplicationException - An error occurred parsing the request.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/SignatureCreationService.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/SignatureCreationService.html deleted file mode 100644 index 18443bb43..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/SignatureCreationService.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SignatureCreationService - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.service -
    -Class SignatureCreationService

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.service.SignatureCreationService
    -
    -
    -
    -
    public class SignatureCreationService
    extends Object
    - -

    -The service endpoint for the SignatureCreation web service. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    SignatureCreationService() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    - org.w3c.dom.Element[]CreateXMLSignatureRequest(org.w3c.dom.Element[] request) - -
    -          Handle a CreateXMLSignatureRequest.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SignatureCreationService

    -
    -public SignatureCreationService()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -CreateXMLSignatureRequest

    -
    -public org.w3c.dom.Element[] CreateXMLSignatureRequest(org.w3c.dom.Element[] request)
    -                                                throws org.apache.axis.AxisFault
    -
    -
    Handle a CreateXMLSignatureRequest.
    -
    Parameters:
    request - The CreateXMLSignatureRequest to work on - (contained in the 0th element of the array).
    Returns:
    A CreateXMLSignatureResponse as the only element of - the Element array.
    Throws:
    org.apache.axis.AxisFault - An error occurred during handling of the message.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/SignatureVerificationService.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/SignatureVerificationService.html deleted file mode 100644 index 72cbc0f3f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/SignatureVerificationService.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SignatureVerificationService - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.service -
    -Class SignatureVerificationService

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.service.SignatureVerificationService
    -
    -
    -
    -
    public class SignatureVerificationService
    extends Object
    - -

    -The service endpoint for the SignatureVerification web service. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    SignatureVerificationService() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - org.w3c.dom.Element[]VerifyCMSSignatureRequest(org.w3c.dom.Element[] request) - -
    -          Handle a VerifyCMSSignatureRequest.
    - org.w3c.dom.Element[]VerifyXMLSignatureRequest(org.w3c.dom.Element[] request) - -
    -          Handle a VerifyXMLSignatureRequest.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SignatureVerificationService

    -
    -public SignatureVerificationService()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -VerifyCMSSignatureRequest

    -
    -public org.w3c.dom.Element[] VerifyCMSSignatureRequest(org.w3c.dom.Element[] request)
    -                                                throws org.apache.axis.AxisFault
    -
    -
    Handle a VerifyCMSSignatureRequest.
    -
    Parameters:
    request - The VerifyCMSSignatureRequest to work on - (contained in the 0th element of the array).
    Returns:
    A VerifyCMSSignatureResponse as the only element of - the Element array.
    Throws:
    org.apache.axis.AxisFault - An error occurred during handling of the message.
    -
    -
    -
    - -

    -VerifyXMLSignatureRequest

    -
    -public org.w3c.dom.Element[] VerifyXMLSignatureRequest(org.w3c.dom.Element[] request)
    -                                                throws org.apache.axis.AxisFault
    -
    -
    Handle a VerifyXMLSignatureRequest.
    -
    Parameters:
    request - The VerifyXMLSignatureRequest to work on - (contained in the 0th element of the array).
    Returns:
    A VerifyXMLSignatureResponse as the only element of - the Element array.
    Throws:
    org.apache.axis.AxisFault - An error occurred during handling of the message.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/AxisHandler.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/AxisHandler.html deleted file mode 100644 index 6d1dac3f2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/AxisHandler.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.service.AxisHandler - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.service.AxisHandler

    -
    -No usage of at.gv.egovernment.moa.spss.server.service.AxisHandler -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/ConfigurationServlet.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/ConfigurationServlet.html deleted file mode 100644 index b6bfe4b4b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/ConfigurationServlet.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.service.ConfigurationServlet - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.service.ConfigurationServlet

    -
    -No usage of at.gv.egovernment.moa.spss.server.service.ConfigurationServlet -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/RevocationArchiveCleaner.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/RevocationArchiveCleaner.html deleted file mode 100644 index 180ff6252..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/RevocationArchiveCleaner.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner

    -
    -No usage of at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/ServiceUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/ServiceUtils.html deleted file mode 100644 index ccdbc5727..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/ServiceUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.service.ServiceUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.service.ServiceUtils

    -
    -No usage of at.gv.egovernment.moa.spss.server.service.ServiceUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/SignatureCreationService.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/SignatureCreationService.html deleted file mode 100644 index 79c747b9c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/SignatureCreationService.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.service.SignatureCreationService - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.service.SignatureCreationService

    -
    -No usage of at.gv.egovernment.moa.spss.server.service.SignatureCreationService -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/SignatureVerificationService.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/SignatureVerificationService.html deleted file mode 100644 index a32f4ce56..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/class-use/SignatureVerificationService.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.service.SignatureVerificationService - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.service.SignatureVerificationService

    -
    -No usage of at.gv.egovernment.moa.spss.server.service.SignatureVerificationService -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-frame.html deleted file mode 100644 index 1ea58e589..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.service - - - - - -at.gv.egovernment.moa.spss.server.service - - - - -
    -Classes  - -
    -AxisHandler -
    -ConfigurationServlet -
    -RevocationArchiveCleaner -
    -ServiceUtils -
    -SignatureCreationService -
    -SignatureVerificationService
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-summary.html deleted file mode 100644 index 6adabfbbc..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-summary.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.service - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.service -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    AxisHandlerAn handler that is invoked on each web service request and performs some - central message handling. - -
    ConfigurationServletA servlet to initialize and update the MOA configuration.
    RevocationArchiveCleanerA Runnable for periodically cleaning up the revocation archive.
    ServiceUtilsHelper methods for the Service classes.
    SignatureCreationServiceThe service endpoint for the SignatureCreation web service.
    SignatureVerificationServiceThe service endpoint for the SignatureVerification web service.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-tree.html deleted file mode 100644 index 1acd20bab..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-tree.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.service Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.service -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-use.html deleted file mode 100644 index 88f52edca..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/service/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.service - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.service

    -
    -No usage of at.gv.egovernment.moa.spss.server.service -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html deleted file mode 100644 index bdca018c3..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/CertTool.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CertTool - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.tools -
    -Class CertTool

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.tools.CertTool
    -
    -
    -
    -
    public class CertTool
    extends Object
    - -

    -A tool to support X509 certificate handling for configuring the MOA SP/SS - service. - - This class provides functions for: -

      -
    • printing certificate information
    • -
    • adding certificates to the cert store
    • -
    -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    CertTool() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddCertToCertStore(String certFile, - String certStoreRoot) - -
    -          Add a certificate to a directory certificate store.
    -static voidmain(String[] args) - -
    -          Main entry point of the tool.
    - voidprintCertInfo(String certFile, - PrintStream out) - -
    -          Print the information about the certificate. - -
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CertTool

    -
    -public CertTool()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -main

    -
    -public static void main(String[] args)
    -
    -
    Main entry point of the tool.
    -
    Parameters:
    args - The command line arguments. A single argument is expected, - which is the file name of the X509 certificate to inspect.
    -
    -
    -
    - -

    -printCertInfo

    -
    -public void printCertInfo(String certFile,
    -                          PrintStream out)
    -
    -
    Print the information about the certificate. - - This method will output information about the Subject DN, the Issuer DN and - the serial number of the certificate.
    -
    Parameters:
    certFile - The name of the certificate file to inspect.
    out - The stream to print the information to.
    -
    -
    -
    - -

    -addCertToCertStore

    -
    -public void addCertToCertStore(String certFile,
    -                               String certStoreRoot)
    -
    -
    Add a certificate to a directory certificate store.
    -
    Parameters:
    certFile - The certificate to add.
    certStoreRoot - The root directory of the certificate store.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/class-use/CertTool.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/class-use/CertTool.html deleted file mode 100644 index acc31e69c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/class-use/CertTool.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.tools.CertTool - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.tools.CertTool

    -
    -No usage of at.gv.egovernment.moa.spss.server.tools.CertTool -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-frame.html deleted file mode 100644 index c1c5448ca..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.tools - - - - - -at.gv.egovernment.moa.spss.server.tools - - - - -
    -Classes  - -
    -CertTool
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-summary.html deleted file mode 100644 index ff0dcc561..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-summary.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.tools - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.tools -

    - - - - - - - - - -
    -Class Summary
    CertToolA tool to support X509 certificate handling for configuring the MOA SP/SS - service. - -
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-tree.html deleted file mode 100644 index 6145d6efe..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-tree.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.tools Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.tools -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    -
      -
    • class java.lang.Object
        -
      • class at.gv.egovernment.moa.spss.server.tools.CertTool
      -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-use.html deleted file mode 100644 index 662d421b5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/tools/package-use.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.tools - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.tools

    -
    -No usage of at.gv.egovernment.moa.spss.server.tools -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html deleted file mode 100644 index 4b77f5142..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class TransactionContext - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.transaction -
    -Class TransactionContext

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.transaction.TransactionContext
    -
    -
    -
    -
    public class TransactionContext
    extends Object
    - -

    -Contains information about the current request. -

    -

    -
    Author:
    Stefan Knirsch, Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    TransactionContext(String transactionID, - X509Certificate[] clientCertificate, - ConfigurationProvider configuration) - -
    -          Create a TransactionContext object.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - X509Certificate[]getClientCertificate() - -
    -          Returns the client certificate.
    - ConfigurationProvidergetConfiguration() - -
    -          Returns the ConfigurationProvider associated with this - transaction.
    - StringgetRequestName() - -
    -          Returns the name of the request.
    - StringgetTransactionID() - -
    -          Returns the unique transaction ID.
    - voidsetRequestName(String requestName) - -
    -          Sets the name of the request.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -TransactionContext

    -
    -public TransactionContext(String transactionID,
    -                          X509Certificate[] clientCertificate,
    -                          ConfigurationProvider configuration)
    -
    -
    Create a TransactionContext object.
    -
    Parameters:
    transactionID - A unique ID for this TransactionContext.
    clientCertificate - The client certificate chain.
    configuration - The MOA configuration to use for this transaction.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getClientCertificate

    -
    -public X509Certificate[] getClientCertificate()
    -
    -
    Returns the client certificate.
    -
    Returns:
    The client certificate chain, if SSL client authentication has been - configured in the web server and has been used by the client. The 0th - element of the array contains the client certificate. null - otherwise.
    -
    -
    -
    - -

    -getTransactionID

    -
    -public String getTransactionID()
    -
    -
    Returns the unique transaction ID.
    -
    Returns:
    The transaction ID.
    -
    -
    -
    - -

    -getRequestName

    -
    -public String getRequestName()
    -
    -
    Returns the name of the request.
    -
    Returns:
    The name of the request.
    -
    -
    -
    - -

    -setRequestName

    -
    -public void setRequestName(String requestName)
    -
    -
    Sets the name of the request.
    -
    Parameters:
    requestName - The request name to set.
    -
    -
    -
    - -

    -getConfiguration

    -
    -public ConfigurationProvider getConfiguration()
    -
    -
    Returns the ConfigurationProvider associated with this - transaction.
    -
    Returns:
    The ConfigurationProvider associated with this transaction.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContextManager.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContextManager.html deleted file mode 100644 index 771ee59d8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContextManager.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class TransactionContextManager - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.transaction -
    -Class TransactionContextManager

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager
    -
    -
    -
    -
    public class TransactionContextManager
    extends Object
    - -

    -Provides each thread with an instance of TransactionContext. - - The single instance of the TransactionContextManager should be - used to access contextual information for each web service transaction, e.g. - the transaction ID, MOA configuration, client certificate, etc. -

    -

    -
    Author:
    Stefan Knirsch, Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected TransactionContextManager() - -
    -          Creates a new TransactionContextManager. - -
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static TransactionContextManagergetInstance() - -
    -          Get the single instance of TransactionContextManager.
    - TransactionContextgetTransactionContext() - -
    -          Get the TransactionContext for the current thread.
    - voidsetTransactionContext(TransactionContext txContext) - -
    -          Set the TransactionContext for the current thread.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -TransactionContextManager

    -
    -protected TransactionContextManager()
    -
    -
    Creates a new TransactionContextManager. - - Protected to disallow direct instantiation.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static TransactionContextManager getInstance()
    -
    -
    Get the single instance of TransactionContextManager.
    -
    Returns:
    The single instanc of TransactionContextManager.
    -
    -
    -
    - -

    -setTransactionContext

    -
    -public void setTransactionContext(TransactionContext txContext)
    -
    -
    Set the TransactionContext for the current thread.
    -
    Parameters:
    txContext - The TransactionContext for this thread.
    -
    -
    -
    - -

    -getTransactionContext

    -
    -public TransactionContext getTransactionContext()
    -
    -
    Get the TransactionContext for the current thread.
    -
    Returns:
    The TransactionContext for the current thread or - null, if none has been set (or if this method is being invoked - outside the bounds of a transaction).
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionIDGenerator.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionIDGenerator.html deleted file mode 100644 index 85d1d41cb..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionIDGenerator.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class TransactionIDGenerator - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.transaction -
    -Class TransactionIDGenerator

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.transaction.TransactionIDGenerator
    -
    -
    -
    -
    public class TransactionIDGenerator
    extends Object
    - -

    -A generator for unique transaction IDs. - -

    The transaction IDs are of the form "-", where: -

      -
    • base is initialized with the system time when this class is - being loaded
    • -
    • counter is incremented sequentially on each call to - nextID()
    • -
    -

    - -

    Assuming that it is highly unlikely that MOA servers are started at - exactly the same time instant, the mechanism provided by this class should - guarantee unique transaction IDs across multiple restarts and/or instances of - the server.

    -

    -

    -
    Author:
    Patrick Peck, Stefan Knirsch
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    TransactionIDGenerator() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    -static StringnextID() - -
    -          Returns the next transaction ID.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -TransactionIDGenerator

    -
    -public TransactionIDGenerator()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -nextID

    -
    -public static String nextID()
    -
    -
    Returns the next transaction ID.
    -
    Returns:
    The next transaction ID.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionContext.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionContext.html deleted file mode 100644 index 648e85bdb..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionContext.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.transaction.TransactionContext - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.transaction.TransactionContext

    -
    - - - - - - - - - -
    -Packages that use TransactionContext
    at.gv.egovernment.moa.spss.server.transaction  
    -  -

    - - - - - -
    -Uses of TransactionContext in at.gv.egovernment.moa.spss.server.transaction
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.transaction that return TransactionContext
    - TransactionContextTransactionContextManager.getTransactionContext() - -
    -          Get the TransactionContext for the current thread.
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.transaction with parameters of type TransactionContext
    - voidTransactionContextManager.setTransactionContext(TransactionContext txContext) - -
    -          Set the TransactionContext for the current thread.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionContextManager.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionContextManager.html deleted file mode 100644 index 65f703617..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionContextManager.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager

    -
    - - - - - - - - - -
    -Packages that use TransactionContextManager
    at.gv.egovernment.moa.spss.server.transaction  
    -  -

    - - - - - -
    -Uses of TransactionContextManager in at.gv.egovernment.moa.spss.server.transaction
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.server.transaction that return TransactionContextManager
    -static TransactionContextManagerTransactionContextManager.getInstance() - -
    -          Get the single instance of TransactionContextManager.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionIDGenerator.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionIDGenerator.html deleted file mode 100644 index 11e277470..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/class-use/TransactionIDGenerator.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.transaction.TransactionIDGenerator - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.transaction.TransactionIDGenerator

    -
    -No usage of at.gv.egovernment.moa.spss.server.transaction.TransactionIDGenerator -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-frame.html deleted file mode 100644 index 7f72aa065..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.transaction - - - - - -at.gv.egovernment.moa.spss.server.transaction - - - - -
    -Classes  - -
    -TransactionContext -
    -TransactionContextManager -
    -TransactionIDGenerator
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-summary.html deleted file mode 100644 index cc870a782..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-summary.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.transaction - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.transaction -

    - - - - - - - - - - - - - - - - - -
    -Class Summary
    TransactionContextContains information about the current request.
    TransactionContextManagerProvides each thread with an instance of TransactionContext. - -
    TransactionIDGeneratorA generator for unique transaction IDs. - -
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-tree.html deleted file mode 100644 index 76c224517..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-tree.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.transaction Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.transaction -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-use.html deleted file mode 100644 index 21bc1e205..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/package-use.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.transaction - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.transaction

    -
    - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.spss.server.transaction
    at.gv.egovernment.moa.spss.server.transaction  
    -  -

    - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.transaction used by at.gv.egovernment.moa.spss.server.transaction
    TransactionContext - -
    -          Contains information about the current request.
    TransactionContextManager - -
    -          Provides each thread with an instance of TransactionContext. - -
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/IdGenerator.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/IdGenerator.html deleted file mode 100644 index bf96d024d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/IdGenerator.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class IdGenerator - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.server.util -
    -Class IdGenerator

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.server.util.IdGenerator
    -
    -
    -
    -
    public class IdGenerator
    extends Object
    - -

    -Generate unique ID values for various objects in the response. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    IdGenerator(String base, - Set reserved) - -
    -          Create a new IdGenerator.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - StringnextId() - -
    -          Create the next ID value in the sequence.
    - StringuniqueId() - -
    -          Create the next unique ID value which is unique in the reserved ID set. - -
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -IdGenerator

    -
    -public IdGenerator(String base,
    -                   Set reserved)
    -
    -
    Create a new IdGenerator.
    -
    Parameters:
    base - A base value to append the IDs to. The creator of this object - should provide a base value, so that appending the counter leads to unique - IDs.
    reserved - The Set of reserved IDs. A call to - uniqueId() will respect the reserved IDs.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -nextId

    -
    -public String nextId()
    -
    -
    Create the next ID value in the sequence.
    -
    Returns:
    The next ID value in the sequence.
    -
    -
    -
    - -

    -uniqueId

    -
    -public String uniqueId()
    -
    -
    Create the next unique ID value which is unique in the reserved ID set. - - The created ID is added to the set of reserved IDs.
    -
    Returns:
    The next ID value.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/class-use/IdGenerator.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/class-use/IdGenerator.html deleted file mode 100644 index 17afaecfb..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/class-use/IdGenerator.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.server.util.IdGenerator - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.server.util.IdGenerator

    -
    - - - - - - - - - -
    -Packages that use IdGenerator
    at.gv.egovernment.moa.spss.server.iaik.xmlsign  
    -  -

    - - - - - -
    -Uses of IdGenerator in at.gv.egovernment.moa.spss.server.iaik.xmlsign
    -  -

    - - - - - - - - -
    Constructors in at.gv.egovernment.moa.spss.server.iaik.xmlsign with parameters of type IdGenerator
    DataObjectTreatmentImpl(IdGenerator objIdGen) - -
    -          Create a new DataObjectTreatmentImpl.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-frame.html deleted file mode 100644 index f24d42747..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.util - - - - - -at.gv.egovernment.moa.spss.server.util - - - - -
    -Classes  - -
    -IdGenerator
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-summary.html deleted file mode 100644 index 8c53d981e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-summary.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.server.util - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.server.util -

    - - - - - - - - - -
    -Class Summary
    IdGeneratorGenerate unique ID values for various objects in the response.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-tree.html deleted file mode 100644 index 850d59e3e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-tree.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.server.util Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.server.util -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-use.html deleted file mode 100644 index 816007135..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/util/package-use.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.server.util - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.server.util

    -
    - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.spss.server.util
    at.gv.egovernment.moa.spss.server.iaik.xmlsign  
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.server.util used by at.gv.egovernment.moa.spss.server.iaik.xmlsign
    IdGenerator - -
    -          Generate unique ID values for various objects in the response.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/MessageProvider.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/MessageProvider.html deleted file mode 100644 index 4435be18e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/MessageProvider.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MessageProvider - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.spss.util -
    -Class MessageProvider

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.spss.util.MessageProvider
    -
    -
    -
    -
    public class MessageProvider
    extends Object
    - -

    -Singleton wrapper around a Messages object. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected MessageProvider(String[] resourceNames, - Locale[] locales) - -
    -          Create a MessageProvider.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    -static MessageProvidergetInstance() - -
    -          Return the single instance of the MessageProvider. - -
    - StringgetMessage(String messageId, - Object[] parameters) - -
    -          Get the message corresponding to a given message ID.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MessageProvider

    -
    -protected MessageProvider(String[] resourceNames,
    -                          Locale[] locales)
    -
    -
    Create a MessageProvider.
    -
    Parameters:
    resourceNames - The names of the resources containing the messages.
    locales - The corresponding locales.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static MessageProvider getInstance()
    -
    -
    Return the single instance of the MessageProvider. - - Intialilizes the MessageProvider with the default message - locations: /resources/properties/spss_messages.
    -
    Returns:
    The single MessageProvider.
    -
    -
    -
    - -

    -getMessage

    -
    -public String getMessage(String messageId,
    -                         Object[] parameters)
    -
    -
    Get the message corresponding to a given message ID.
    -
    Parameters:
    messageId - The ID of the message.
    parameters - The parameters to fill in into the message arguments.
    Returns:
    The formatted message.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/class-use/MessageProvider.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/class-use/MessageProvider.html deleted file mode 100644 index ce3f9c406..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/class-use/MessageProvider.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.spss.util.MessageProvider - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.spss.util.MessageProvider

    -
    - - - - - - - - - -
    -Packages that use MessageProvider
    at.gv.egovernment.moa.spss.util  
    -  -

    - - - - - -
    -Uses of MessageProvider in at.gv.egovernment.moa.spss.util
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.spss.util that return MessageProvider
    -static MessageProviderMessageProvider.getInstance() - -
    -          Return the single instance of the MessageProvider. - -
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-frame.html deleted file mode 100644 index 9988ec226..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-frame.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.util - - - - - -at.gv.egovernment.moa.spss.util - - - - -
    -Classes  - -
    -MessageProvider
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-summary.html deleted file mode 100644 index fee1d0d80..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-summary.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.spss.util - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.spss.util -

    - - - - - - - - - -
    -Class Summary
    MessageProviderSingleton wrapper around a Messages object.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-tree.html deleted file mode 100644 index 2de4eef03..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-tree.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.spss.util Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.spss.util -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-use.html deleted file mode 100644 index ac9d52b70..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/util/package-use.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.spss.util - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.spss.util

    -
    - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.spss.util
    at.gv.egovernment.moa.spss.util  
    -  -

    - - - - - - - - -
    -Classes in at.gv.egovernment.moa.spss.util used by at.gv.egovernment.moa.spss.util
    MessageProvider - -
    -          Singleton wrapper around a Messages object.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html deleted file mode 100644 index d7989a8ff..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Base64Utils.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class Base64Utils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class Base64Utils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.Base64Utils
    -
    -
    -
    -
    public class Base64Utils
    extends Object
    - -

    -Utitility functions for encoding/decoding Base64 strings. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    Base64Utils() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static byte[]decode(String base64String, - boolean ignoreInvalidChars) - -
    -          Read the bytes encoded in a Base64 encoded String.
    -static InputStreamdecodeToStream(String base64String, - boolean ignoreInvalidChars) - -
    -          Read the bytes encoded in a Base64 encoded String and provide - them via an InputStream.
    -static Stringencode(byte[] bytes) - -
    -          Convert a byte array to a Base64 encoded String.
    -static Stringencode(InputStream inputStream) - -
    -          Convert the data contained in the given stream to a Base64 encoded - String.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -Base64Utils

    -
    -public Base64Utils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -decode

    -
    -public static byte[] decode(String base64String,
    -                            boolean ignoreInvalidChars)
    -                     throws IOException
    -
    -
    Read the bytes encoded in a Base64 encoded String.
    -
    Parameters:
    base64String - The String containing the Base64 encoded - bytes.
    ignoreInvalidChars - Whether to ignore invalid Base64 characters.
    Returns:
    byte[] The raw bytes contained in the base64String.
    Throws:
    IOException - Failed to read the Base64 data.
    -
    -
    -
    - -

    -decodeToStream

    -
    -public static InputStream decodeToStream(String base64String,
    -                                         boolean ignoreInvalidChars)
    -
    -
    Read the bytes encoded in a Base64 encoded String and provide - them via an InputStream.
    -
    Parameters:
    base64String - The String containing the Base64 encoded - bytes.
    ignoreInvalidChars - Whether to ignore invalid Base64 characters.
    Returns:
    The InputStream from which the binary content of the - base64String can be read.
    -
    -
    -
    - -

    -encode

    -
    -public static String encode(byte[] bytes)
    -                     throws IOException
    -
    -
    Convert a byte array to a Base64 encoded String.
    -
    Parameters:
    bytes - The bytes to encode.
    Returns:
    String The Base64 encoded representation of the bytes.
    Throws:
    IOException - Failed to write the bytes as Base64 data.
    -
    -
    -
    - -

    -encode

    -
    -public static String encode(InputStream inputStream)
    -                     throws IOException
    -
    -
    Convert the data contained in the given stream to a Base64 encoded - String.
    -
    Parameters:
    inputStream - The stream containing the data to encode.
    Returns:
    The Base64 encoded data of inputStream, as a - String.
    Throws:
    IOException - Failed to convert the data in the stream.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/BoolUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/BoolUtils.html deleted file mode 100644 index d1ae55c28..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/BoolUtils.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class BoolUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class BoolUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.BoolUtils
    -
    -
    -
    -
    public class BoolUtils
    extends Object
    - -

    -Utility class for parsing XML schema boolean values. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    BoolUtils() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    -static booleanvalueOf(String boolStr) - -
    -          Return the boolean value of an xsd:boolean type of DOM - element/attribute.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -BoolUtils

    -
    -public BoolUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -valueOf

    -
    -public static boolean valueOf(String boolStr)
    -
    -
    Return the boolean value of an xsd:boolean type of DOM - element/attribute.
    -
    Parameters:
    boolStr - The value of the xsd:boolean element/attribute.
    Returns:
    true, if boolStr equals - "true" or "1;". Otherwise, - false is returned.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/CollectionUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/CollectionUtils.html deleted file mode 100644 index 23f99fc14..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/CollectionUtils.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class CollectionUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class CollectionUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.CollectionUtils
    -
    -
    -
    -
    public class CollectionUtils
    extends Object
    - -

    -Various utility methods for dealing with java.util.Collection - classes. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    CollectionUtils() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    -static int[]toIntArray(List nums) - -
    -          Convert a List of Number objects to an - int array.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -CollectionUtils

    -
    -public CollectionUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -toIntArray

    -
    -public static int[] toIntArray(List nums)
    -
    -
    Convert a List of Number objects to an - int array.
    -
    Parameters:
    nums - The List containing the numbers whose integer - value to put into the result.
    Returns:
    The int values of the Numbers contained - in nums.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Constants.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Constants.html deleted file mode 100644 index cb10db432..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Constants.html +++ /dev/null @@ -1,1007 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Interface Constants - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Interface Constants

    -
    -
    -
    public interface Constants
    - -

    -Contains various constants used throughout the system. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static StringALL_SCHEMA_LOCATIONS - -
    -          Contains all namespaces and local schema locations for XML schema - definitions relevant for MOA.
    -static StringC14N_URI - -
    -          URI of the Canonical XML algorithm
    -static StringC14N_WITH_COMMENTS_URI - -
    -          URI of the Canoncial XML with comments algorithm
    -static StringDSIG_EC_NS_URI - -
    -          URI of the Exclusive Canonicalization XML namespace
    -static StringDSIG_EC_PREFIX - -
    -          Prefix used for the Exclusive Canonicalization XML namespace
    -static StringDSIG_EC_SCHEMA_LOCATION - -
    -          Local location of the Exclusive Canonicalizaion XML schema definition
    -static StringDSIG_FILTER2_NS_URI - -
    -          URI of the XMLDSig XPath Filter XML namespace.
    -static StringDSIG_FILTER2_PREFIX - -
    -          Prefix used for the XMLDSig XPath Filter XML namespace
    -static StringDSIG_FILTER2_SCHEMA_LOCATION - -
    -          Local location of the XMLDSig XPath Filter XML schema definition.
    -static StringDSIG_NS_URI - -
    -          URI of the XMLDSig XML namespace.
    -static StringDSIG_PREFIX - -
    -          Prefix used for the XMLDSig XML namespace
    -static StringDSIG_SCHEMA_LOCATION - -
    -          Local location of the XMLDSig XML schema.
    -static StringECDSA_NS_URI - -
    -          URI of the ECDSA XML namespace
    -static StringECDSA_PREFIX - -
    -          Prefix used for ECDSA namespace
    -static StringECDSA_SCHEMA_LOCATION - -
    -          Local location of ECDSA XML schema definition
    -static StringEXC_C14N_URI - -
    -          URI of the Exclusive Canonical XML algorithm
    -static StringEXC_C14N_WITH_COMMENTS_URI - -
    -          URI of the Exclusive Canonical XML with commments algorithm
    -static StringMOA_CONFIG_NS_URI - -
    -          URI of the MOA configuration XML namespace.
    -static StringMOA_CONFIG_PREFIX - -
    -          Prefix used for the MOA configuration XML namespace
    -static StringMOA_CONFIG_SCHEMA_LOCATION - -
    -          Local location of the MOA configuration XML schema definition.
    -static StringMOA_ID_CONFIG_NS_URI - -
    -          URI of the MOA ID configuration XML namespace.
    -static StringMOA_ID_CONFIG_PREFIX - -
    -          Prefix used for the MOA configuration XML namespace
    -static StringMOA_ID_CONFIG_SCHEMA_LOCATION - -
    -          Local location of the MOA ID configuration XML schema definition.
    -static StringMOA_NS_URI - -
    -          URI of the MOA XML namespace.
    -static StringMOA_PREFIX - -
    -          Prefix used for the MOA XML namespace
    -static StringMOA_SCHEMA_LOCATION - -
    -          Local location of the MOA XML schema definition.
    -static StringPD_NS_URI - -
    -          URI of the PersonData XML namespace.
    -static StringPD_PREFIX - -
    -          Prefix used for the PersonData XML namespace
    -static StringPD_SCHEMA_LOCATION - -
    -          Local location of the PersonData XML schema definition
    -static StringSAML_NS_URI - -
    -          URI of the SAML namespace.
    -static StringSAML_PREFIX - -
    -          Prefix used for the SAML XML namespace
    -static StringSAML_SCHEMA_LOCATION - -
    -          Local location of the SAML XML schema definition.
    -static StringSAMLP_NS_URI - -
    -          URI of the SAML request-response protocol namespace.
    -static StringSAMLP_PREFIX - -
    -          Prefix used for the SAML request-response protocol namespace
    -static StringSAMLP_SCHEMA_LOCATION - -
    -          Local location of the SAML request-response protocol schema definition.
    -static StringSCHEMA_ROOT - -
    -          Root location of the schema files.
    -static StringSHA1_URI - -
    -          URI of the SHA1 digest algorithm
    -static StringSL_MANIFEST_TYPE_URI - -
    -          Security Layer manifest type URI.
    -static StringSL10_NS_URI - -
    -          URI of the Security Layer 1.0 namespace.
    -static StringSL10_PREFIX - -
    -          Prefix used for the Security Layer 1.0 XML namespace
    -static StringSL10_SCHEMA_LOCATION - -
    -          Local location of the Security Layer 1.0 XML schema definition
    -static StringSL11_NS_URI - -
    -          URI of the Security Layer 1.1 XML namespace
    -static StringSL11_PREFIX - -
    -          Prefix used for the Security Layer 1.1 XML namespace
    -static StringSL11_SCHEMA_LOCATION - -
    -          Local location of the Security Layer 1.1 XML schema definition
    -static StringXML_NS_URI - -
    -          URI of the XML namespace.
    -static StringXML_PREFIX - -
    -          Prefix used for the XML namespace
    -static StringXML_SCHEMA_LOCATION - -
    -          Local location of the XML schema definition.
    -static StringXMLNS_NS_URI - -
    -          URI of the XMLNS namespace
    -static StringXSI_NS_URI - -
    -          URI of the XSI XMLNS namespace
    -static StringXSI_PREFIX - -
    -          Prefix used for the XSI namespace
    -static StringXSI_SCHEMA_LOCATION - -
    -          Local location of the XSI schema definition.
    -static StringXSLT_NS_URI - -
    -          URI of the XSLT XML namespace
    -static StringXSLT_PREFIX - -
    -          Prefix used for the XSLT XML namespace
    -  - - - - - - -

    - - - - - - - - -
    -Field Detail
    - -

    -SCHEMA_ROOT

    -
    -public static final String SCHEMA_ROOT
    -
    -
    Root location of the schema files.
    -
    - -

    -MOA_NS_URI

    -
    -public static final String MOA_NS_URI
    -
    -
    URI of the MOA XML namespace.
    -
    - -

    -MOA_PREFIX

    -
    -public static final String MOA_PREFIX
    -
    -
    Prefix used for the MOA XML namespace
    -
    - -

    -MOA_SCHEMA_LOCATION

    -
    -public static final String MOA_SCHEMA_LOCATION
    -
    -
    Local location of the MOA XML schema definition.
    -
    - -

    -MOA_CONFIG_NS_URI

    -
    -public static final String MOA_CONFIG_NS_URI
    -
    -
    URI of the MOA configuration XML namespace.
    -
    - -

    -MOA_ID_CONFIG_NS_URI

    -
    -public static final String MOA_ID_CONFIG_NS_URI
    -
    -
    URI of the MOA ID configuration XML namespace.
    -
    - -

    -MOA_CONFIG_PREFIX

    -
    -public static final String MOA_CONFIG_PREFIX
    -
    -
    Prefix used for the MOA configuration XML namespace
    -
    - -

    -MOA_ID_CONFIG_PREFIX

    -
    -public static final String MOA_ID_CONFIG_PREFIX
    -
    -
    Prefix used for the MOA configuration XML namespace
    -
    - -

    -MOA_CONFIG_SCHEMA_LOCATION

    -
    -public static final String MOA_CONFIG_SCHEMA_LOCATION
    -
    -
    Local location of the MOA configuration XML schema definition.
    -
    - -

    -MOA_ID_CONFIG_SCHEMA_LOCATION

    -
    -public static final String MOA_ID_CONFIG_SCHEMA_LOCATION
    -
    -
    Local location of the MOA ID configuration XML schema definition.
    -
    - -

    -SL10_NS_URI

    -
    -public static final String SL10_NS_URI
    -
    -
    URI of the Security Layer 1.0 namespace.
    -
    - -

    -SL10_PREFIX

    -
    -public static final String SL10_PREFIX
    -
    -
    Prefix used for the Security Layer 1.0 XML namespace
    -
    - -

    -SL10_SCHEMA_LOCATION

    -
    -public static final String SL10_SCHEMA_LOCATION
    -
    -
    Local location of the Security Layer 1.0 XML schema definition
    -
    - -

    -SL11_NS_URI

    -
    -public static final String SL11_NS_URI
    -
    -
    URI of the Security Layer 1.1 XML namespace
    -
    - -

    -SL11_PREFIX

    -
    -public static final String SL11_PREFIX
    -
    -
    Prefix used for the Security Layer 1.1 XML namespace
    -
    - -

    -SL11_SCHEMA_LOCATION

    -
    -public static final String SL11_SCHEMA_LOCATION
    -
    -
    Local location of the Security Layer 1.1 XML schema definition
    -
    - -

    -ECDSA_NS_URI

    -
    -public static final String ECDSA_NS_URI
    -
    -
    URI of the ECDSA XML namespace
    -
    - -

    -ECDSA_PREFIX

    -
    -public static final String ECDSA_PREFIX
    -
    -
    Prefix used for ECDSA namespace
    -
    - -

    -ECDSA_SCHEMA_LOCATION

    -
    -public static final String ECDSA_SCHEMA_LOCATION
    -
    -
    Local location of ECDSA XML schema definition
    -
    - -

    -PD_NS_URI

    -
    -public static final String PD_NS_URI
    -
    -
    URI of the PersonData XML namespace.
    -
    - -

    -PD_PREFIX

    -
    -public static final String PD_PREFIX
    -
    -
    Prefix used for the PersonData XML namespace
    -
    - -

    -PD_SCHEMA_LOCATION

    -
    -public static final String PD_SCHEMA_LOCATION
    -
    -
    Local location of the PersonData XML schema definition
    -
    - -

    -SAML_NS_URI

    -
    -public static final String SAML_NS_URI
    -
    -
    URI of the SAML namespace.
    -
    - -

    -SAML_PREFIX

    -
    -public static final String SAML_PREFIX
    -
    -
    Prefix used for the SAML XML namespace
    -
    - -

    -SAML_SCHEMA_LOCATION

    -
    -public static final String SAML_SCHEMA_LOCATION
    -
    -
    Local location of the SAML XML schema definition.
    -
    - -

    -SAMLP_NS_URI

    -
    -public static final String SAMLP_NS_URI
    -
    -
    URI of the SAML request-response protocol namespace.
    -
    - -

    -SAMLP_PREFIX

    -
    -public static final String SAMLP_PREFIX
    -
    -
    Prefix used for the SAML request-response protocol namespace
    -
    - -

    -SAMLP_SCHEMA_LOCATION

    -
    -public static final String SAMLP_SCHEMA_LOCATION
    -
    -
    Local location of the SAML request-response protocol schema definition.
    -
    - -

    -XML_NS_URI

    -
    -public static final String XML_NS_URI
    -
    -
    URI of the XML namespace.
    -
    - -

    -XML_PREFIX

    -
    -public static final String XML_PREFIX
    -
    -
    Prefix used for the XML namespace
    -
    - -

    -XML_SCHEMA_LOCATION

    -
    -public static final String XML_SCHEMA_LOCATION
    -
    -
    Local location of the XML schema definition.
    -
    - -

    -XMLNS_NS_URI

    -
    -public static final String XMLNS_NS_URI
    -
    -
    URI of the XMLNS namespace
    -
    - -

    -XSI_PREFIX

    -
    -public static final String XSI_PREFIX
    -
    -
    Prefix used for the XSI namespace
    -
    - -

    -XSI_SCHEMA_LOCATION

    -
    -public static final String XSI_SCHEMA_LOCATION
    -
    -
    Local location of the XSI schema definition.
    -
    - -

    -XSI_NS_URI

    -
    -public static final String XSI_NS_URI
    -
    -
    URI of the XSI XMLNS namespace
    -
    - -

    -XSLT_NS_URI

    -
    -public static final String XSLT_NS_URI
    -
    -
    URI of the XSLT XML namespace
    -
    - -

    -XSLT_PREFIX

    -
    -public static final String XSLT_PREFIX
    -
    -
    Prefix used for the XSLT XML namespace
    -
    - -

    -DSIG_NS_URI

    -
    -public static final String DSIG_NS_URI
    -
    -
    URI of the XMLDSig XML namespace.
    -
    - -

    -DSIG_PREFIX

    -
    -public static final String DSIG_PREFIX
    -
    -
    Prefix used for the XMLDSig XML namespace
    -
    - -

    -DSIG_SCHEMA_LOCATION

    -
    -public static final String DSIG_SCHEMA_LOCATION
    -
    -
    Local location of the XMLDSig XML schema.
    -
    - -

    -DSIG_FILTER2_NS_URI

    -
    -public static final String DSIG_FILTER2_NS_URI
    -
    -
    URI of the XMLDSig XPath Filter XML namespace.
    -
    - -

    -DSIG_FILTER2_PREFIX

    -
    -public static final String DSIG_FILTER2_PREFIX
    -
    -
    Prefix used for the XMLDSig XPath Filter XML namespace
    -
    - -

    -DSIG_FILTER2_SCHEMA_LOCATION

    -
    -public static final String DSIG_FILTER2_SCHEMA_LOCATION
    -
    -
    Local location of the XMLDSig XPath Filter XML schema definition.
    -
    - -

    -DSIG_EC_NS_URI

    -
    -public static final String DSIG_EC_NS_URI
    -
    -
    URI of the Exclusive Canonicalization XML namespace
    -
    - -

    -DSIG_EC_PREFIX

    -
    -public static final String DSIG_EC_PREFIX
    -
    -
    Prefix used for the Exclusive Canonicalization XML namespace
    -
    - -

    -DSIG_EC_SCHEMA_LOCATION

    -
    -public static final String DSIG_EC_SCHEMA_LOCATION
    -
    -
    Local location of the Exclusive Canonicalizaion XML schema definition
    -
    - -

    -ALL_SCHEMA_LOCATIONS

    -
    -public static final String ALL_SCHEMA_LOCATIONS
    -
    -
    Contains all namespaces and local schema locations for XML schema - definitions relevant for MOA. For use in validating XML parsers.
    -
    - -

    -SL_MANIFEST_TYPE_URI

    -
    -public static final String SL_MANIFEST_TYPE_URI
    -
    -
    Security Layer manifest type URI.
    -
    - -

    -SHA1_URI

    -
    -public static final String SHA1_URI
    -
    -
    URI of the SHA1 digest algorithm
    -
    - -

    -C14N_URI

    -
    -public static final String C14N_URI
    -
    -
    URI of the Canonical XML algorithm
    -
    - -

    -C14N_WITH_COMMENTS_URI

    -
    -public static final String C14N_WITH_COMMENTS_URI
    -
    -
    URI of the Canoncial XML with comments algorithm
    -
    - -

    -EXC_C14N_URI

    -
    -public static final String EXC_C14N_URI
    -
    -
    URI of the Exclusive Canonical XML algorithm
    -
    - -

    -EXC_C14N_WITH_COMMENTS_URI

    -
    -public static final String EXC_C14N_WITH_COMMENTS_URI
    -
    -
    URI of the Exclusive Canonical XML with commments algorithm
    - - - - - - - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DOMUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DOMUtils.html deleted file mode 100644 index 20307081f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DOMUtils.html +++ /dev/null @@ -1,650 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class DOMUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class DOMUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.DOMUtils
    -
    -
    -
    -
    public class DOMUtils
    extends Object
    - -

    -Various utility functions for handling XML DOM trees. - - The parsing methods in this class make use of some features internal to the - Xerces DOM parser, mainly for performance reasons. As soon as JAXP - (currently at version 1.2) is better at schema handling, it should be used as - the parser interface. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    DOMUtils() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static voidaddSchemaToPool(InputStream inputStream, - String systemId) - -
    -          Preparse a schema and add it to the schema pool.
    -static booleancheckAttributeParentsInNodeList(org.w3c.dom.NodeList nodes) - -
    -          Check, that each attribute node in the given NodeList has its - parent in the NodeList as well.
    -static SetcollectNamespaceURIs(org.w3c.dom.Element context) - -
    -          Collect all the namespace URIs used in the subtree of a given element.
    -static MapgetNamespaceDeclarations(org.w3c.dom.Node node) - -
    -          Build the namespace prefix to namespace URL mapping in effect for a given - node.
    -static StringgetText(org.w3c.dom.Node node) - -
    -          Return the text that a node contains. - -
    -static booleanisAncestor(org.w3c.dom.Element candAnc, - org.w3c.dom.Node cand) - -
    -          Check, if a given DOM element is an ancestor of a given node.
    -static voidlocalizeNamespaceDeclarations(org.w3c.dom.Element context) - -
    -          Add all namespace declarations declared in the parent(s) of a given - element and used in the subtree of the given element to the given element.
    -static org.w3c.dom.DocumentFragmentnodeList2DocumentFragment(org.w3c.dom.NodeList nodeList) - -
    -          Convert an unstructured NodeList into a - DocumentFragment.
    -static org.w3c.dom.DocumentparseDocument(InputStream inputStream, - boolean validating, - String externalSchemaLocations, - String externalNoNamespaceSchemaLocation) - -
    -          Parse an XML document from an InputStream. - -
    -static org.w3c.dom.DocumentparseDocument(InputStream inputStream, - boolean validating, - String externalSchemaLocations, - String externalNoNamespaceSchemaLocation, - org.xml.sax.EntityResolver entityResolver, - org.xml.sax.ErrorHandler errorHandler) - -
    -          Parse an XML document from an InputStream.
    -static org.w3c.dom.DocumentparseDocument(String xmlString, - boolean validating, - String externalSchemaLocations, - String externalNoNamespaceSchemaLocation) - -
    -          Parse an UTF-8 encoded XML document from a String.
    -static org.w3c.dom.DocumentparseDocument(String xmlString, - String encoding, - boolean validating, - String externalSchemaLocations, - String externalNoNamespaceSchemaLocation) - -
    -          Parse an XML document from a String. - -
    -static org.w3c.dom.ElementparseXmlValidating(InputStream inputStream) - -
    -          A convenience method to parse an XML document validating.
    -static StringserializeNode(org.w3c.dom.Node node) - -
    -          Serialize the given DOM node. - -
    -static byte[]serializeNode(org.w3c.dom.Node node, - String xmlEncoding) - -
    -          Serialize the given DOM node to a byte array.
    -static booleanvalidateElement(org.w3c.dom.Element element, - String externalSchemaLocations, - String externalNoNamespaceSchemaLocation) - -
    -          Schema validate a given DOM element.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -DOMUtils

    -
    -public DOMUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -addSchemaToPool

    -
    -public static void addSchemaToPool(InputStream inputStream,
    -                                   String systemId)
    -                            throws IOException
    -
    -
    Preparse a schema and add it to the schema pool.
    -
    Parameters:
    inputStream - An InputStream providing the contents of - the schema.
    systemId - The systemId to use for the schema.
    Throws:
    IOException - An error occurred reading the schema.
    -
    -
    -
    - -

    -parseDocument

    -
    -public static org.w3c.dom.Document parseDocument(InputStream inputStream,
    -                                                 boolean validating,
    -                                                 String externalSchemaLocations,
    -                                                 String externalNoNamespaceSchemaLocation,
    -                                                 org.xml.sax.EntityResolver entityResolver,
    -                                                 org.xml.sax.ErrorHandler errorHandler)
    -                                          throws org.xml.sax.SAXException,
    -                                                 IOException,
    -                                                 javax.xml.parsers.ParserConfigurationException
    -
    -
    Parse an XML document from an InputStream.
    -
    Parameters:
    inputStream - The InputStream containing the XML - document.
    validating - If true, parse validating.
    externalSchemaLocations - A String containing namespace - URI to schema location pairs, the same way it is accepted by the xsi: - schemaLocation attribute.
    externalNoNamespaceSchemaLocation - The schema location of the - schema for elements without a namespace, the same way it is accepted by the - xsi:noNamespaceSchemaLocation attribute.
    entityResolver - An EntityResolver to resolve external - entities (schemas and DTDs). If null, it will not be set.
    errorHandler - An ErrorHandler to decide what to do - with parsing errors. If null, it will not be set.
    Returns:
    The parsed XML document as a DOM tree.
    Throws:
    org.xml.sax.SAXException - An error occurred parsing the document.
    IOException - An error occurred reading the document.
    javax.xml.parsers.ParserConfigurationException - An error occurred configuring the XML - parser.
    -
    -
    -
    - -

    -parseDocument

    -
    -public static org.w3c.dom.Document parseDocument(InputStream inputStream,
    -                                                 boolean validating,
    -                                                 String externalSchemaLocations,
    -                                                 String externalNoNamespaceSchemaLocation)
    -                                          throws org.xml.sax.SAXException,
    -                                                 IOException,
    -                                                 javax.xml.parsers.ParserConfigurationException
    -
    -
    Parse an XML document from an InputStream. - - It uses a MOAEntityResolver as the EntityResolver - and a MOAErrorHandler as the ErrorHandler.
    -
    Parameters:
    inputStream - The InputStream containing the XML - document.
    validating - If true, parse validating.
    externalSchemaLocations - A String containing namespace - URI to schema location pairs, the same way it is accepted by the xsi: - schemaLocation attribute.
    externalNoNamespaceSchemaLocation - The schema location of the - schema for elements without a namespace, the same way it is accepted by the - xsi:noNamespaceSchemaLocation attribute.
    Returns:
    The parsed XML document as a DOM tree.
    Throws:
    org.xml.sax.SAXException - An error occurred parsing the document.
    IOException - An error occurred reading the document.
    javax.xml.parsers.ParserConfigurationException - An error occurred configuring the XML - parser.
    -
    -
    -
    - -

    -parseDocument

    -
    -public static org.w3c.dom.Document parseDocument(String xmlString,
    -                                                 String encoding,
    -                                                 boolean validating,
    -                                                 String externalSchemaLocations,
    -                                                 String externalNoNamespaceSchemaLocation)
    -                                          throws org.xml.sax.SAXException,
    -                                                 IOException,
    -                                                 javax.xml.parsers.ParserConfigurationException
    -
    -
    Parse an XML document from a String. - - It uses a MOAEntityResolver as the EntityResolver - and a MOAErrorHandler as the ErrorHandler.
    -
    Parameters:
    xmlString - The String containing the XML document.
    encoding - The encoding of the XML document.
    validating - If true, parse validating.
    externalSchemaLocations - A String containing namespace - URI to schema location pairs, the same way it is accepted by the xsi: - schemaLocation attribute.
    externalNoNamespaceSchemaLocation - The schema location of the - schema for elements without a namespace, the same way it is accepted by the - xsi:noNamespaceSchemaLocation attribute.
    Returns:
    The parsed XML document as a DOM tree.
    Throws:
    org.xml.sax.SAXException - An error occurred parsing the document.
    IOException - An error occurred reading the document.
    javax.xml.parsers.ParserConfigurationException - An error occurred configuring the XML - parser.
    -
    -
    -
    - -

    -parseDocument

    -
    -public static org.w3c.dom.Document parseDocument(String xmlString,
    -                                                 boolean validating,
    -                                                 String externalSchemaLocations,
    -                                                 String externalNoNamespaceSchemaLocation)
    -                                          throws org.xml.sax.SAXException,
    -                                                 IOException,
    -                                                 javax.xml.parsers.ParserConfigurationException
    -
    -
    Parse an UTF-8 encoded XML document from a String.
    -
    Parameters:
    xmlString - The String containing the XML document.
    validating - If true, parse validating.
    externalSchemaLocations - A String containing namespace - URI to schema location pairs, the same way it is accepted by the xsi: - schemaLocation attribute.
    externalNoNamespaceSchemaLocation - The schema location of the - schema for elements without a namespace, the same way it is accepted by the - xsi:noNamespaceSchemaLocation attribute.
    Returns:
    The parsed XML document as a DOM tree.
    Throws:
    org.xml.sax.SAXException - An error occurred parsing the document.
    IOException - An error occurred reading the document.
    javax.xml.parsers.ParserConfigurationException - An error occurred configuring the XML - parser.
    -
    -
    -
    - -

    -parseXmlValidating

    -
    -public static org.w3c.dom.Element parseXmlValidating(InputStream inputStream)
    -                                              throws javax.xml.parsers.ParserConfigurationException,
    -                                                     org.xml.sax.SAXException,
    -                                                     IOException
    -
    -
    A convenience method to parse an XML document validating.
    -
    Parameters:
    inputStream - The InputStream containing the XML - document.
    Returns:
    The root element of the parsed XML document.
    Throws:
    org.xml.sax.SAXException - An error occurred parsing the document.
    IOException - An error occurred reading the document.
    javax.xml.parsers.ParserConfigurationException - An error occurred configuring the XML - parser.
    -
    -
    -
    - -

    -validateElement

    -
    -public static boolean validateElement(org.w3c.dom.Element element,
    -                                      String externalSchemaLocations,
    -                                      String externalNoNamespaceSchemaLocation)
    -                               throws javax.xml.parsers.ParserConfigurationException,
    -                                      IOException,
    -                                      org.xml.sax.SAXException,
    -                                      javax.xml.transform.TransformerException
    -
    -
    Schema validate a given DOM element.
    -
    Parameters:
    element - The element to validate.
    externalSchemaLocations - A String containing namespace - URI to schema location pairs, the same way it is accepted by the xsi: - schemaLocation attribute.
    externalNoNamespaceSchemaLocation - The schema location of the - schema for elements without a namespace, the same way it is accepted by the - xsi:noNamespaceSchemaLocation attribute.
    Returns:
    true, if the element validates against - the schemas declared in it.
    Throws:
    org.xml.sax.SAXException - An error occurred parsing the document.
    IOException - An error occurred reading the document from its - serialized representation.
    javax.xml.parsers.ParserConfigurationException - An error occurred configuring the XML
    javax.xml.transform.TransformerException - An error occurred serializing the element.
    -
    -
    -
    - -

    -serializeNode

    -
    -public static String serializeNode(org.w3c.dom.Node node)
    -                            throws javax.xml.transform.TransformerException,
    -                                   IOException
    -
    -
    Serialize the given DOM node. - - The node will be serialized using the UTF-8 encoding.
    -
    Parameters:
    node - The node to serialize.
    Returns:
    String The String representation of the given DOM - node.
    Throws:
    javax.xml.transform.TransformerException - An error occurred transforming the - node to a String.
    IOException - An IO error occurred writing the node to a byte array.
    -
    -
    -
    - -

    -serializeNode

    -
    -public static byte[] serializeNode(org.w3c.dom.Node node,
    -                                   String xmlEncoding)
    -                            throws javax.xml.transform.TransformerException,
    -                                   IOException
    -
    -
    Serialize the given DOM node to a byte array.
    -
    Parameters:
    node - The node to serialize.
    xmlEncoding - The XML encoding to use.
    Returns:
    The serialized node, as a byte array. Using a compatible encoding - this can easily be converted into a String.
    Throws:
    javax.xml.transform.TransformerException - An error occurred transforming the node to a - byte array.
    IOException - An IO error occurred writing the node to a byte array.
    -
    -
    -
    - -

    -getText

    -
    -public static String getText(org.w3c.dom.Node node)
    -
    -
    Return the text that a node contains. - - This routine: -
      -
    • Ignores comments and processing instructions.
    • -
    • Concatenates TEXT nodes, CDATA nodes, and the results recursively - processing EntityRef nodes.
    • -
    • Ignores any element nodes in the sublist. (Other possible options are - to recurse into element sublists or throw an exception.)
    • -
    -
    Parameters:
    node - A DOM node from which to extract text.
    Returns:
    A String representing its contents.
    -
    -
    -
    - -

    -getNamespaceDeclarations

    -
    -public static Map getNamespaceDeclarations(org.w3c.dom.Node node)
    -
    -
    Build the namespace prefix to namespace URL mapping in effect for a given - node.
    -
    Parameters:
    node - The context node for which build the map.
    Returns:
    The namespace prefix to namespace URL mapping ( - a String value to String value mapping).
    -
    -
    -
    - -

    -localizeNamespaceDeclarations

    -
    -public static void localizeNamespaceDeclarations(org.w3c.dom.Element context)
    -
    -
    Add all namespace declarations declared in the parent(s) of a given - element and used in the subtree of the given element to the given element.
    -
    Parameters:
    context - The element to which to add the namespaces.
    -
    -
    -
    - -

    -collectNamespaceURIs

    -
    -public static Set collectNamespaceURIs(org.w3c.dom.Element context)
    -
    -
    Collect all the namespace URIs used in the subtree of a given element.
    -
    Parameters:
    context - The element that should be searched for namespace URIs.
    Returns:
    All namespace URIs used in the subtree of context, - including the ones used in context itself.
    -
    -
    -
    - -

    -checkAttributeParentsInNodeList

    -
    -public static boolean checkAttributeParentsInNodeList(org.w3c.dom.NodeList nodes)
    -
    -
    Check, that each attribute node in the given NodeList has its - parent in the NodeList as well.
    -
    Parameters:
    nodes - The NodeList to check.
    Returns:
    true, if each attribute node in nodes - has its parent in nodes as well.
    -
    -
    -
    - -

    -nodeList2DocumentFragment

    -
    -public static org.w3c.dom.DocumentFragment nodeList2DocumentFragment(org.w3c.dom.NodeList nodeList)
    -                                                              throws javax.xml.parsers.ParserConfigurationException
    -
    -
    Convert an unstructured NodeList into a - DocumentFragment.
    -
    Parameters:
    nodeList - Contains the node list to be converted into a DOM - DocumentFragment.
    Returns:
    the resulting DocumentFragment. The DocumentFragment will be - backed by a new DOM Document, i.e. all noded of the node list will be - cloned.
    Throws:
    javax.xml.parsers.ParserConfigurationException - An error occurred creating the - DocumentFragment.
    -
    -
    -
    - -

    -isAncestor

    -
    -public static boolean isAncestor(org.w3c.dom.Element candAnc,
    -                                 org.w3c.dom.Node cand)
    -
    -
    Check, if a given DOM element is an ancestor of a given node.
    -
    Parameters:
    candAnc - The DOM element to check for being the ancestor.
    cand - The node to check for being the child.
    Returns:
    true, if candAnc is an (indirect) - ancestor of cand; false otherwise.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html deleted file mode 100644 index c0d022351..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/DateTimeUtils.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class DateTimeUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class DateTimeUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.DateTimeUtils
    -
    -
    -
    -
    public class DateTimeUtils
    extends Object
    - -

    -Utility for parsing and building XML type dateTime, - according to ISO 8601. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    http://www.w3.org/2001/XMLSchema-datatypes"
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    DateTimeUtils() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    -static StringbuildDateTime(Calendar cal) - -
    -          Builds a dateTime value from a Calendar value.
    -static DateparseDateTime(String dateTime) - -
    -          Parse a String containing a date and time instant, given in - ISO 8601 format.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -DateTimeUtils

    -
    -public DateTimeUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -buildDateTime

    -
    -public static String buildDateTime(Calendar cal)
    -
    -
    Builds a dateTime value from a Calendar value.
    -
    Parameters:
    cal - the Calendar value
    Returns:
    the dateTime value
    -
    -
    -
    - -

    -parseDateTime

    -
    -public static Date parseDateTime(String dateTime)
    -                          throws ParseException
    -
    -
    Parse a String containing a date and time instant, given in - ISO 8601 format.
    -
    Parameters:
    dateTime - The String to parse.
    Returns:
    The Date representation of the contents of - dateTime.
    Throws:
    ParseException - Parsing the dateTime failed.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/EntityResolverChain.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/EntityResolverChain.html deleted file mode 100644 index 4491d7e74..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/EntityResolverChain.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class EntityResolverChain - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class EntityResolverChain

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.EntityResolverChain
    -
    -
    -
    All Implemented Interfaces:
    org.xml.sax.EntityResolver
    -
    -
    -
    -
    public class EntityResolverChain
    extends Object
    implements org.xml.sax.EntityResolver
    - -

    -Implementation of the org.xml.sax.EntityResolver, - for use by a org.apache.xerces.parsers.DOMParser. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    EntityResolverChain() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddEntityResolver(org.xml.sax.EntityResolver entityResolver) - -
    -          Add an EntityResolver to the chain.
    - org.xml.sax.InputSourceresolveEntity(String publicId, - String systemId) - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -EntityResolverChain

    -
    -public EntityResolverChain()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -resolveEntity

    -
    -public org.xml.sax.InputSource resolveEntity(String publicId,
    -                                             String systemId)
    -                                      throws org.xml.sax.SAXException,
    -                                             IOException
    -
    -
    -
    Specified by:
    resolveEntity in interface org.xml.sax.EntityResolver
    -
    -
    -
    See Also:
    EntityResolver.resolveEntity(java.lang.String, java.lang.String)
    -
    -
    -
    - -

    -addEntityResolver

    -
    -public void addEntityResolver(org.xml.sax.EntityResolver entityResolver)
    -
    -
    Add an EntityResolver to the chain.
    -
    -
    -
    -
    Parameters:
    entityResolver - The EntityResolver to add.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html deleted file mode 100644 index b11c1d1d6..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/FileUtils.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class FileUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class FileUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.FileUtils
    -
    -
    -
    -
    public class FileUtils
    extends Object
    - -

    -Utility for accessing files on the file system, and for reading from input streams. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Paul Ivancsics
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    FileUtils() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static byte[]readFile(String filename) - -
    -          Reads a file, given by filename, into a byte array.
    -static StringreadFile(String filename, - String encoding) - -
    -          Reads a file, given by filename, into a String.
    -static byte[]readResource(String name) - -
    -          Reads a file from a resource.
    -static StringreadResource(String name, - String encoding) - -
    -          Reads a file from a resource.
    -static byte[]readURL(String urlString) - -
    -          Reads a file, given by URL, into a byte array.
    -static StringreadURL(String urlString, - String encoding) - -
    -          Reads a file, given by URL, into a String.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -FileUtils

    -
    -public FileUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -readURL

    -
    -public static byte[] readURL(String urlString)
    -                      throws IOException
    -
    -
    Reads a file, given by URL, into a byte array.
    -
    Parameters:
    urlString - file URL
    Returns:
    file content
    Throws:
    IOException - on any exception thrown
    -
    -
    -
    - -

    -readURL

    -
    -public static String readURL(String urlString,
    -                             String encoding)
    -                      throws IOException
    -
    -
    Reads a file, given by URL, into a String.
    -
    Parameters:
    urlString - file URL
    encoding - character encoding
    Returns:
    file content
    Throws:
    IOException - on any exception thrown
    -
    -
    -
    - -

    -readFile

    -
    -public static byte[] readFile(String filename)
    -                       throws IOException
    -
    -
    Reads a file, given by filename, into a byte array.
    -
    Parameters:
    filename - filename
    Returns:
    file content
    Throws:
    IOException - on any exception thrown
    -
    -
    -
    - -

    -readFile

    -
    -public static String readFile(String filename,
    -                              String encoding)
    -                       throws IOException
    -
    -
    Reads a file, given by filename, into a String.
    -
    Parameters:
    filename - filename
    encoding - character encoding
    Returns:
    file content
    Throws:
    IOException - on any exception thrown
    -
    -
    -
    - -

    -readResource

    -
    -public static byte[] readResource(String name)
    -                           throws IOException
    -
    -
    Reads a file from a resource.
    -
    Parameters:
    name - resource name
    Returns:
    file content as a byte array
    Throws:
    IOException - on any exception thrown
    -
    -
    -
    - -

    -readResource

    -
    -public static String readResource(String name,
    -                                  String encoding)
    -                           throws IOException
    -
    -
    Reads a file from a resource.
    -
    Parameters:
    name - filename
    encoding - character encoding
    Returns:
    file content
    Throws:
    IOException - on any exception thrown
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html deleted file mode 100644 index 9d35345c4..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/KeyStoreUtils.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class KeyStoreUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class KeyStoreUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.KeyStoreUtils
    -
    -
    -
    -
    public class KeyStoreUtils
    extends Object
    - -

    -Utility for creating and loading key stores. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Paul Ivancsics
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    KeyStoreUtils() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static KeyStorecreateKeyStore(String keyStoreType, - String[] certFilenames) - -
    -          Creates a key store from X509 certificate files, aliasing them with - the index in the String[], starting with "0".
    -static KeyStorecreateKeyStoreFromCertificateDirectory(String keyStoreType, - String certDirURLString) - -
    -          Creates a key store from a directory containg X509 certificate files, - aliasing them with the index in the String[], starting with "0". -
    -static KeyStoreloadKeyStore(String keystoreType, - InputStream in, - String password) - -
    -          Loads a key store from an InputStream, and - closes the InputStream.
    -static KeyStoreloadKeyStore(String keystoreType, - String urlString, - String password) - -
    -          Loads a key store from file.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -KeyStoreUtils

    -
    -public KeyStoreUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -loadKeyStore

    -
    -public static KeyStore loadKeyStore(String keystoreType,
    -                                    String urlString,
    -                                    String password)
    -                             throws IOException,
    -                                    GeneralSecurityException
    -
    -
    Loads a key store from file.
    -
    Parameters:
    keystoreType - key store type
    urlString - URL of key store
    password - password protecting the key store
    Returns:
    key store loaded
    Throws:
    IOException - thrown while reading the key store from file
    GeneralSecurityException - thrown while creating the key store
    -
    -
    -
    - -

    -loadKeyStore

    -
    -public static KeyStore loadKeyStore(String keystoreType,
    -                                    InputStream in,
    -                                    String password)
    -                             throws IOException,
    -                                    GeneralSecurityException
    -
    -
    Loads a key store from an InputStream, and - closes the InputStream.
    -
    Parameters:
    keystoreType - key store type
    in - input stream
    password - password protecting the key store
    Returns:
    key store loaded
    Throws:
    IOException - thrown while reading the key store from the stream
    GeneralSecurityException - thrown while creating the key store
    -
    -
    -
    - -

    -createKeyStore

    -
    -public static KeyStore createKeyStore(String keyStoreType,
    -                                      String[] certFilenames)
    -                               throws IOException,
    -                                      GeneralSecurityException
    -
    -
    Creates a key store from X509 certificate files, aliasing them with - the index in the String[], starting with "0".
    -
    Parameters:
    keyStoreType - key store type
    certFilenames - certificate filenames
    Returns:
    key store created
    Throws:
    IOException - thrown while reading the certificates from file
    GeneralSecurityException - thrown while creating the key store
    -
    -
    -
    - -

    -createKeyStoreFromCertificateDirectory

    -
    -public static KeyStore createKeyStoreFromCertificateDirectory(String keyStoreType,
    -                                                              String certDirURLString)
    -                                                       throws IOException,
    -                                                              GeneralSecurityException
    -
    -
    Creates a key store from a directory containg X509 certificate files, - aliasing them with the index in the String[], starting with "0". - All the files in the directory are considered to be certificates.
    -
    Parameters:
    keyStoreType - key store type
    certDirURLString - file URL of directory containing certificate filenames
    Returns:
    key store created
    Throws:
    IOException - thrown while reading the certificates from file
    GeneralSecurityException - thrown while creating the key store
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOADefaultHandler.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOADefaultHandler.html deleted file mode 100644 index 4a519d62a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOADefaultHandler.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MOADefaultHandler - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class MOADefaultHandler

    -
    -java.lang.Object
    -  |
    -  +--org.xml.sax.helpers.DefaultHandler
    -        |
    -        +--at.gv.egovernment.moa.util.MOADefaultHandler
    -
    -
    -
    All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
    -
    -
    -
    -
    public class MOADefaultHandler
    extends org.xml.sax.helpers.DefaultHandler
    - -

    -A DefaultHandler that uses a MOAEntityResolver and - a MOAErrorHandler. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    MOADefaultHandler() - -
    -          Create a new MOADefaultHandler.
    MOADefaultHandler(org.xml.sax.EntityResolver entityResolver, - org.xml.sax.ErrorHandler errorHandler) - -
    -          Create a new MOADefaultHandler.
    -  - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voiderror(org.xml.sax.SAXParseException exception) - -
    -           
    - voidfatalError(org.xml.sax.SAXParseException exception) - -
    -           
    - org.xml.sax.InputSourceresolveEntity(String publicId, - String systemId) - -
    -           
    - voidwarning(org.xml.sax.SAXParseException exception) - -
    -           
    - - - - - - - -
    Methods inherited from class org.xml.sax.helpers.DefaultHandler
    characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MOADefaultHandler

    -
    -public MOADefaultHandler()
    -
    -
    Create a new MOADefaultHandler.
    -
    - -

    -MOADefaultHandler

    -
    -public MOADefaultHandler(org.xml.sax.EntityResolver entityResolver,
    -                         org.xml.sax.ErrorHandler errorHandler)
    -
    -
    Create a new MOADefaultHandler.
    -
    Parameters:
    entityResolver - The EntityResolver to use for resolving - external entities.
    errorHandler - The ErrorHandler to use for reporting - parsing errors.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -resolveEntity

    -
    -public org.xml.sax.InputSource resolveEntity(String publicId,
    -                                             String systemId)
    -                                      throws org.xml.sax.SAXException
    -
    -
    -
    Overrides:
    resolveEntity in class org.xml.sax.helpers.DefaultHandler
    -
    -
    -
    See Also:
    EntityResolver.resolveEntity(java.lang.String, java.lang.String)
    -
    -
    -
    - -

    -warning

    -
    -public void warning(org.xml.sax.SAXParseException exception)
    -             throws org.xml.sax.SAXException
    -
    -
    -
    Overrides:
    warning in class org.xml.sax.helpers.DefaultHandler
    -
    -
    -
    See Also:
    ErrorHandler.warning(org.xml.sax.SAXParseException)
    -
    -
    -
    - -

    -error

    -
    -public void error(org.xml.sax.SAXParseException exception)
    -           throws org.xml.sax.SAXException
    -
    -
    -
    Overrides:
    error in class org.xml.sax.helpers.DefaultHandler
    -
    -
    -
    See Also:
    ErrorHandler.error(org.xml.sax.SAXParseException)
    -
    -
    -
    - -

    -fatalError

    -
    -public void fatalError(org.xml.sax.SAXParseException exception)
    -                throws org.xml.sax.SAXException
    -
    -
    -
    Overrides:
    fatalError in class org.xml.sax.helpers.DefaultHandler
    -
    -
    -
    See Also:
    ErrorHandler.fatalError(org.xml.sax.SAXParseException)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOAEntityResolver.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOAEntityResolver.html deleted file mode 100644 index d89b9b3f8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOAEntityResolver.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MOAEntityResolver - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class MOAEntityResolver

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.MOAEntityResolver
    -
    -
    -
    All Implemented Interfaces:
    org.xml.sax.EntityResolver
    -
    -
    -
    -
    public class MOAEntityResolver
    extends Object
    implements org.xml.sax.EntityResolver
    - -

    -An EntityResolver that looks up entities stored as - local resources. - -

    The following DTDs are mapped to local resources: -

      -
    • The XMLSchema.dtd
    • -
    • The datatypes.dtd
    • -
    -

    -

    For all other resources, an attempt is made to resolve them as resources, - either absolute or relative to Constants.SCHEMA_ROOT. -

    -

    -
    Author:
    Patrick Peck, Sven Aigner
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    MOAEntityResolver() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    - org.xml.sax.InputSourceresolveEntity(String publicId, - String systemId) - -
    -          Resolve an entity. - -
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MOAEntityResolver

    -
    -public MOAEntityResolver()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -resolveEntity

    -
    -public org.xml.sax.InputSource resolveEntity(String publicId,
    -                                             String systemId)
    -
    -
    Resolve an entity. - - The systemId parameter is used to perform the lookup of the - entity as a resource, either by interpreting the systemId as - an absolute resource path, or by appending the last path component of - systemId to Constants.SCHEMA_ROOT.
    -
    Specified by:
    resolveEntity in interface org.xml.sax.EntityResolver
    -
    -
    -
    Parameters:
    publicId - The public ID of the resource.
    systemId - The system ID of the resource.
    Returns:
    An InputSource from which the entity can be read, or - null, if the entity could not be found.
    See Also:
    EntityResolver.resolveEntity(java.lang.String, java.lang.String)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOAErrorHandler.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOAErrorHandler.html deleted file mode 100644 index 7b98e32e0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOAErrorHandler.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MOAErrorHandler - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class MOAErrorHandler

    -
    -java.lang.Object
    -  |
    -  +--org.apache.xml.utils.DefaultErrorHandler
    -        |
    -        +--at.gv.egovernment.moa.util.MOAErrorHandler
    -
    -
    -
    All Implemented Interfaces:
    org.xml.sax.ErrorHandler, javax.xml.transform.ErrorListener
    -
    -
    -
    -
    public class MOAErrorHandler
    extends org.apache.xml.utils.DefaultErrorHandler
    - -

    -An ErrorHandler that logs a message and throws a - SAXException upon error and fatal - parsing errors. -

    -

    -
    Author:
    Patrick Peck, Sven Aigner
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    MOAErrorHandler() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voiderror(org.xml.sax.SAXParseException exception) - -
    -          Logs a warning and rethrows the exception.
    - voidfatalError(org.xml.sax.SAXParseException exception) - -
    -          Logs a warning and rethrows the exception.
    - voidwarning(org.xml.sax.SAXParseException exception) - -
    -          Logs a warning message.
    - - - - - - - -
    Methods inherited from class org.apache.xml.utils.DefaultErrorHandler
    ensureLocationSet, error, fatalError, printLocation, printLocation, warning
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MOAErrorHandler

    -
    -public MOAErrorHandler()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -warning

    -
    -public void warning(org.xml.sax.SAXParseException exception)
    -             throws org.xml.sax.SAXException
    -
    -
    Logs a warning message.
    -
    Overrides:
    warning in class org.apache.xml.utils.DefaultErrorHandler
    -
    -
    -
    See Also:
    ErrorHandler.warning(SAXParseException)
    -
    -
    -
    - -

    -error

    -
    -public void error(org.xml.sax.SAXParseException exception)
    -           throws org.xml.sax.SAXException
    -
    -
    Logs a warning and rethrows the exception.
    -
    Overrides:
    error in class org.apache.xml.utils.DefaultErrorHandler
    -
    -
    -
    See Also:
    ErrorHandler.error(SAXParseException)
    -
    -
    -
    - -

    -fatalError

    -
    -public void fatalError(org.xml.sax.SAXParseException exception)
    -                throws org.xml.sax.SAXException
    -
    -
    Logs a warning and rethrows the exception.
    -
    Overrides:
    fatalError in class org.apache.xml.utils.DefaultErrorHandler
    -
    -
    -
    See Also:
    ErrorHandler.fatalError(SAXParseException)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOATimer.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOATimer.html deleted file mode 100644 index 43ff7ea9a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MOATimer.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MOATimer - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class MOATimer

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.MOATimer
    -
    -
    -
    -
    public class MOATimer
    extends Object
    - -

    -A timer utility for named timers. -

    -

    -
    Author:
    Sven Aigner
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected MOATimer() - -
    -          Create a new MOATimer. - -
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidclearTiming(String id) - -
    -          Remove a timing.
    - longduration(Object id) - -
    -          Get the duration of an action.
    - StringdurationAsString(Object id) - -
    -          Get the duration of an action, as a nicely formatted String.
    -static MOATimergetInstance() - -
    -          Return the single instance of this class.
    - voidstartTiming(Object id) - -
    -          Start timing a certain action. - -
    - voidstopTiming(Object id) - -
    -          Stop timing an action.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MOATimer

    -
    -protected MOATimer()
    -
    -
    Create a new MOATimer. - - Protected to disallow multiple instances.
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static MOATimer getInstance()
    -
    -
    Return the single instance of this class.
    -
    Returns:
    The single instance of this class.
    -
    -
    -
    - -

    -startTiming

    -
    -public void startTiming(Object id)
    -
    -
    Start timing a certain action. - - The timing belonging to the action ID is garbage collected as soon as there - exists no other reference to the action ID.
    -
    Parameters:
    id - The action ID.
    -
    -
    -
    - -

    -stopTiming

    -
    -public void stopTiming(Object id)
    -
    -
    Stop timing an action.
    -
    Parameters:
    id - The action ID.
    -
    -
    -
    - -

    -duration

    -
    -public long duration(Object id)
    -
    -
    Get the duration of an action.
    -
    Parameters:
    id - The action ID for which to compute the duration.
    Returns:
    long The duration in milliseconds between calls to - startTiming() and stopTiming(). If - only startTiming() has been called for the action, then - current difference to the system time is returned. If no timing exists for - the action, - 1 is returned.
    -
    -
    -
    - -

    -durationAsString

    -
    -public String durationAsString(Object id)
    -
    -
    Get the duration of an action, as a nicely formatted String.
    -
    Parameters:
    id - The action ID.
    Returns:
    String The duration() as a String.
    -
    -
    -
    - -

    -clearTiming

    -
    -public void clearTiming(String id)
    -
    -
    Remove a timing.
    -
    Parameters:
    id - The action ID.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MessageProvider.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MessageProvider.html deleted file mode 100644 index a4f72090e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/MessageProvider.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class MessageProvider - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class MessageProvider

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.MessageProvider
    -
    -
    -
    -
    public class MessageProvider
    extends Object
    - -

    -A singleton wrapper around a Message object. - - Provides the messages used in the common project. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - - -
    -Constructor Summary
    -protected MessageProvider(String[] resourceNames, - Locale[] locales) - -
    -          Create a MessageProvider.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    -static MessageProvidergetInstance() - -
    -          Return the single instance of the MessageProvider. - -
    - StringgetMessage(String messageId, - Object[] parameters) - -
    -          Get the message corresponding to a given message ID.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -MessageProvider

    -
    -protected MessageProvider(String[] resourceNames,
    -                          Locale[] locales)
    -
    -
    Create a MessageProvider.
    -
    Parameters:
    resourceNames - The names of the resources containing the messages.
    locales - The corresponding locales.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getInstance

    -
    -public static MessageProvider getInstance()
    -
    -
    Return the single instance of the MessageProvider. - - Intialilizes the MessageProvider with the default message - locations: /resources/properties/common_messages.
    -
    Returns:
    The single MessageProvider.
    -
    -
    -
    - -

    -getMessage

    -
    -public String getMessage(String messageId,
    -                         Object[] parameters)
    -
    -
    Get the message corresponding to a given message ID.
    -
    Parameters:
    messageId - The ID of the message.
    parameters - The parameters to fill in into the message arguments.
    Returns:
    The formatted message.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Messages.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Messages.html deleted file mode 100644 index 923f14862..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/Messages.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class Messages - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class Messages

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.Messages
    -
    -
    -
    -
    public class Messages
    extends Object
    - -

    -Provides access to the system messages resource used for exception handling - and logging messages. - - Messages must be provided as a resource bundle at the path. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    Messages(String[] resourceNames, - Locale[] locales) - -
    -          Create a new Message object containing the messages - in the given resources.
    -  - - - - - - - - - - - -
    -Method Summary
    - StringgetMessage(String messageId, - Object[] parameters) - -
    -          Get the message corresponding to a given message ID.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -Messages

    -
    -public Messages(String[] resourceNames,
    -                Locale[] locales)
    -
    -
    Create a new Message object containing the messages - in the given resources.
    -
    Parameters:
    resourceNames - The names of the resources containing the messages.
    locales - The corresponding locales.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getMessage

    -
    -public String getMessage(String messageId,
    -                         Object[] parameters)
    -
    -
    Get the message corresponding to a given message ID.
    -
    Parameters:
    messageId - The ID of the message.
    parameters - The parameters to fill in into the message arguments.
    Returns:
    The formatted message.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/NodeIteratorAdapter.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/NodeIteratorAdapter.html deleted file mode 100644 index ec6c4516e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/NodeIteratorAdapter.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class NodeIteratorAdapter - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class NodeIteratorAdapter

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.NodeIteratorAdapter
    -
    -
    -
    All Implemented Interfaces:
    org.w3c.dom.traversal.NodeIterator
    -
    -
    -
    -
    public class NodeIteratorAdapter
    extends Object
    implements org.w3c.dom.traversal.NodeIterator
    - -

    -A NodeIterator implementation based on a - ListIterator. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    ListIterator, -NodeIterator
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    NodeIteratorAdapter(ListIterator nodeIterator) - -
    -          Create a new NodeIteratorAdapter.
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voiddetach() - -
    -           
    - booleangetExpandEntityReferences() - -
    -           
    - org.w3c.dom.traversal.NodeFiltergetFilter() - -
    -           
    - org.w3c.dom.NodegetRoot() - -
    -           
    - intgetWhatToShow() - -
    -           
    - org.w3c.dom.NodenextNode() - -
    -           
    - org.w3c.dom.NodepreviousNode() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -NodeIteratorAdapter

    -
    -public NodeIteratorAdapter(ListIterator nodeIterator)
    -
    -
    Create a new NodeIteratorAdapter.
    -
    Parameters:
    nodeIterator - The ListIterator to iterate over.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getRoot

    -
    -public org.w3c.dom.Node getRoot()
    -
    -
    -
    Specified by:
    getRoot in interface org.w3c.dom.traversal.NodeIterator
    -
    -
    -
    See Also:
    NodeIterator.getRoot()
    -
    -
    -
    - -

    -getWhatToShow

    -
    -public int getWhatToShow()
    -
    -
    -
    Specified by:
    getWhatToShow in interface org.w3c.dom.traversal.NodeIterator
    -
    -
    -
    See Also:
    NodeIterator.getWhatToShow()
    -
    -
    -
    - -

    -getFilter

    -
    -public org.w3c.dom.traversal.NodeFilter getFilter()
    -
    -
    -
    Specified by:
    getFilter in interface org.w3c.dom.traversal.NodeIterator
    -
    -
    -
    See Also:
    NodeIterator.getFilter()
    -
    -
    -
    - -

    -getExpandEntityReferences

    -
    -public boolean getExpandEntityReferences()
    -
    -
    -
    Specified by:
    getExpandEntityReferences in interface org.w3c.dom.traversal.NodeIterator
    -
    -
    -
    See Also:
    NodeIterator.getExpandEntityReferences()
    -
    -
    -
    - -

    -nextNode

    -
    -public org.w3c.dom.Node nextNode()
    -                          throws org.w3c.dom.DOMException
    -
    -
    -
    Specified by:
    nextNode in interface org.w3c.dom.traversal.NodeIterator
    -
    -
    -
    See Also:
    NodeIterator.nextNode()
    -
    -
    -
    - -

    -previousNode

    -
    -public org.w3c.dom.Node previousNode()
    -                              throws org.w3c.dom.DOMException
    -
    -
    -
    Specified by:
    previousNode in interface org.w3c.dom.traversal.NodeIterator
    -
    -
    -
    See Also:
    NodeIterator.previousNode()
    -
    -
    -
    - -

    -detach

    -
    -public void detach()
    -
    -
    -
    Specified by:
    detach in interface org.w3c.dom.traversal.NodeIterator
    -
    -
    -
    See Also:
    NodeIterator.detach()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/NodeListAdapter.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/NodeListAdapter.html deleted file mode 100644 index d3c49e204..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/NodeListAdapter.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class NodeListAdapter - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class NodeListAdapter

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.NodeListAdapter
    -
    -
    -
    All Implemented Interfaces:
    org.w3c.dom.NodeList
    -
    -
    -
    -
    public class NodeListAdapter
    extends Object
    implements org.w3c.dom.NodeList
    - -

    -A NodeList implementation based on a List. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    List, -NodeList
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    NodeListAdapter(List nodeList) - -
    -          Create a new NodeListAdapter.
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - intgetLength() - -
    -           
    - org.w3c.dom.Nodeitem(int index) - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -NodeListAdapter

    -
    -public NodeListAdapter(List nodeList)
    -
    -
    Create a new NodeListAdapter.
    -
    Parameters:
    nodeList - The List containing the nodes.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -item

    -
    -public org.w3c.dom.Node item(int index)
    -
    -
    -
    Specified by:
    item in interface org.w3c.dom.NodeList
    -
    -
    -
    See Also:
    NodeList.item(int)
    -
    -
    -
    - -

    -getLength

    -
    -public int getLength()
    -
    -
    -
    Specified by:
    getLength in interface org.w3c.dom.NodeList
    -
    -
    -
    See Also:
    NodeList.getLength()
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html deleted file mode 100644 index f61f8f03c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class ResourceBundleChain - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class ResourceBundleChain

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.ResourceBundleChain
    -
    -
    -
    -
    public class ResourceBundleChain
    extends Object
    - -

    -A class to chain ResourceBundles. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    ResourceBundleChain() - -
    -           
    -  - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddResourceBundle(ResourceBundle resourceBundle) - -
    -          Add a ResourceBundle to the chain.
    - StringgetString(String key) - -
    -          Return the value of the resource.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -ResourceBundleChain

    -
    -public ResourceBundleChain()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -addResourceBundle

    -
    -public void addResourceBundle(ResourceBundle resourceBundle)
    -
    -
    Add a ResourceBundle to the chain.
    -
    Parameters:
    resourceBundle - The ResourceBundle to add.
    -
    -
    -
    - -

    -getString

    -
    -public String getString(String key)
    -                 throws MissingResourceException
    -
    -
    Return the value of the resource.
    -
    Parameters:
    key - The key to access the String resource.
    Returns:
    The resource value. All the registered ResourceBundles - are searched in the order in which they have previously been added to this - ResourceBundleChain.
    Throws:
    MissingResourceException - The resource coult not be found in any of - the bundles.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html deleted file mode 100644 index 252e1a08f..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/SSLUtils.html +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class SSLUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class SSLUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.SSLUtils
    -
    -
    -
    -
    public class SSLUtils
    extends Object
    - -

    -Utility for connecting to server applications via SSL. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Paul Ivancsics
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    SSLUtils() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static com.sun.net.ssl.KeyManager[]getKeyManagers(KeyStore clientKeyStore, - String clientKeyStorePassword) - -
    -          Gets the KeyManagers from a default KeyManagerFactory, - initialized from the given client key store.
    -static com.sun.net.ssl.KeyManager[]getKeyManagers(String clientKeyStoreType, - String clientKeyStoreURL, - String clientKeyStorePassword) - -
    -          Loads the client key store from file and gets the - KeyManagers from a default KeyManagerFactory, - initialized from the given client key store.
    -static com.sun.net.ssl.SSLContextgetSSLContext(KeyStore trustStore, - String clientKeyStoreType, - String clientKeyStoreURL, - String clientKeyStorePassword) - -
    -          Creates an SSLContext initialized for the - given trust store and keystore.
    -static javax.net.ssl.SSLSocketFactorygetSSLSocketFactory(KeyStore trustStore, - String clientKeyStoreType, - String clientKeyStoreURL, - String clientKeyStorePassword) - -
    -          Creates an SSLSocketFactory which utilizes the - given trust store and keystore.
    -static javax.net.ssl.SSLSocketFactorygetSSLSocketFactory(String trustStoreType, - InputStream trustStoreInputStream, - String trustStorePassword) - -
    -          Creates an SSLSocketFactory which utilizes the given trust store.
    -protected static com.sun.net.ssl.TrustManager[]getTrustManagers(KeyStore trustStore) - -
    -          Gets the TrustManagers from a default TrustManagerFactory, - initialized from the given trust store.
    -protected static com.sun.net.ssl.TrustManager[]getTrustManagers(String trustStoreType, - InputStream trustStoreInputStream, - String trustStorePassword) - -
    -          Loads the trust store from an input stream and gets the - TrustManagers from a default TrustManagerFactory, - initialized from the given trust store.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -SSLUtils

    -
    -public SSLUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getSSLSocketFactory

    -
    -public static javax.net.ssl.SSLSocketFactory getSSLSocketFactory(String trustStoreType,
    -                                                                 InputStream trustStoreInputStream,
    -                                                                 String trustStorePassword)
    -                                                          throws IOException,
    -                                                                 GeneralSecurityException
    -
    -
    Creates an SSLSocketFactory which utilizes the given trust store.
    -
    Parameters:
    trustStoreType - key store type of trust store
    trustStoreInputStream - input stream for reading JKS trust store containing - trusted server certificates; if null, the default - trust store will be utilized
    trustStorePassword - if provided, it will be used to check - the integrity of the trust store; if omitted, it will not be checked
    Returns:
    SSLSocketFactory to be used by an HttpsURLConnection
    Throws:
    IOException - thrown while reading from the input stream
    GeneralSecurityException - thrown while creating the socket factory
    -
    -
    -
    - -

    -getSSLSocketFactory

    -
    -public static javax.net.ssl.SSLSocketFactory getSSLSocketFactory(KeyStore trustStore,
    -                                                                 String clientKeyStoreType,
    -                                                                 String clientKeyStoreURL,
    -                                                                 String clientKeyStorePassword)
    -                                                          throws IOException,
    -                                                                 GeneralSecurityException
    -
    -
    Creates an SSLSocketFactory which utilizes the - given trust store and keystore.
    -
    Parameters:
    trustStore - trust store containing trusted server certificates; - if null, the default trust store will be utilized
    clientKeyStoreType - key store type of clientKeyStore
    clientKeyStoreURL - URL of key store containing keys to be used for - client authentication; if null, the default key store will be utilized
    clientKeyStorePassword - if provided, it will be used to check - the integrity of the client key store; if omitted, it will not be checked
    Returns:
    SSLSocketFactory to be used by an HttpsURLConnection
    Throws:
    IOException - thrown while reading key store file
    GeneralSecurityException - thrown while creating the socket factory
    -
    -
    -
    - -

    -getSSLContext

    -
    -public static com.sun.net.ssl.SSLContext getSSLContext(KeyStore trustStore,
    -                                                       String clientKeyStoreType,
    -                                                       String clientKeyStoreURL,
    -                                                       String clientKeyStorePassword)
    -                                                throws IOException,
    -                                                       GeneralSecurityException
    -
    -
    Creates an SSLContext initialized for the - given trust store and keystore.
    -
    Parameters:
    trustStore - trust store containing trusted server certificates; - if null, the default trust store will be utilized
    clientKeyStoreType - key store type of clientKeyStore
    clientKeyStoreURL - URL of key store containing keys to be used for - client authentication; if null, the default key store will be utilized
    clientKeyStorePassword - if provided, it will be used to check - the integrity of the client key store; if omitted, it will not be checked
    Returns:
    SSLContext to be used for creating an SSLSocketFactory
    Throws:
    IOException - thrown while reading key store file
    GeneralSecurityException - thrown while creating the SSL context
    -
    -
    -
    - -

    -getTrustManagers

    -
    -protected static com.sun.net.ssl.TrustManager[] getTrustManagers(String trustStoreType,
    -                                                                 InputStream trustStoreInputStream,
    -                                                                 String trustStorePassword)
    -                                                          throws IOException,
    -                                                                 GeneralSecurityException
    -
    -
    Loads the trust store from an input stream and gets the - TrustManagers from a default TrustManagerFactory, - initialized from the given trust store.
    -
    Parameters:
    trustStoreType - key store type of trust store
    trustStoreInputStream - input stream for reading JKS trust store containing - trusted server certificates; if null, the default - trust store will be utilized
    trustStorePassword - if provided, it will be used to check - the integrity of the trust store; if omitted, it will not be checked
    Returns:
    TrustManagers to be used for creating an - SSLSocketFactory utilizing the given trust store
    Throws:
    IOException - thrown while reading from the input stream
    GeneralSecurityException - thrown while initializing the - default TrustManagerFactory
    -
    -
    -
    - -

    -getTrustManagers

    -
    -protected static com.sun.net.ssl.TrustManager[] getTrustManagers(KeyStore trustStore)
    -                                                          throws GeneralSecurityException
    -
    -
    Gets the TrustManagers from a default TrustManagerFactory, - initialized from the given trust store.
    -
    Parameters:
    trustStore - the trust store to use
    trustStorePassword - password protecting the given trust store
    Returns:
    TrustManagers to be used for creating an - SSLSocketFactory utilizing the given trust store
    Throws:
    GeneralSecurityException - thrown while initializing the - default TrustManagerFactory
    -
    -
    -
    - -

    -getKeyManagers

    -
    -public static com.sun.net.ssl.KeyManager[] getKeyManagers(String clientKeyStoreType,
    -                                                          String clientKeyStoreURL,
    -                                                          String clientKeyStorePassword)
    -                                                   throws IOException,
    -                                                          GeneralSecurityException
    -
    -
    Loads the client key store from file and gets the - KeyManagers from a default KeyManagerFactory, - initialized from the given client key store.
    -
    Parameters:
    clientKeyStoreType - key store type of clientKeyStore
    clientKeyStoreURL - URL of key store containing keys to be used for - client authentication; if null, the default key store will be utilized
    clientKeyStorePassword - password used to check the integrity of the client key store; - if null, it will not be checked
    Returns:
    KeyManagers to be used for creating an - SSLSocketFactory utilizing the given client key store
    Throws:
    IOException - thrown while reading from the key store file
    GeneralSecurityException - thrown while initializing the - default KeyManagerFactory
    -
    -
    -
    - -

    -getKeyManagers

    -
    -public static com.sun.net.ssl.KeyManager[] getKeyManagers(KeyStore clientKeyStore,
    -                                                          String clientKeyStorePassword)
    -                                                   throws GeneralSecurityException
    -
    -
    Gets the KeyManagers from a default KeyManagerFactory, - initialized from the given client key store.
    -
    Parameters:
    clientKeyStore - client key store
    clientKeyStorePassword - if provided, it will be used to check - the integrity of the client key store; if omitted, it will not be checked
    Returns:
    KeyManagers to be used for creating an - SSLSocketFactory utilizing the given client key store
    Throws:
    GeneralSecurityException - thrown while initializing the - default KeyManagerFactory
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html deleted file mode 100644 index df879dea8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamEntityResolver.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class StreamEntityResolver - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class StreamEntityResolver

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.StreamEntityResolver
    -
    -
    -
    All Implemented Interfaces:
    org.xml.sax.EntityResolver
    -
    -
    -
    -
    public class StreamEntityResolver
    extends Object
    implements org.xml.sax.EntityResolver
    - -

    -An EntityResolver that maps system IDs to - InputStreams. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    StreamEntityResolver(Map mappedEntities) - -
    -          Create a StreamEntityResolver.
    -  - - - - - - - - - - - -
    -Method Summary
    - org.xml.sax.InputSourceresolveEntity(String publicId, - String systemId) - -
    -          Resolve an entity by looking it up in the mapped entities. - -
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -StreamEntityResolver

    -
    -public StreamEntityResolver(Map mappedEntities)
    -
    -
    Create a StreamEntityResolver.
    -
    Parameters:
    mappedEntities - A mapping from public or system IDs - (String objects) to InputStreams.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -resolveEntity

    -
    -public org.xml.sax.InputSource resolveEntity(String publicId,
    -                                             String systemId)
    -                                      throws org.xml.sax.SAXException,
    -                                             IOException
    -
    -
    Resolve an entity by looking it up in the mapped entities. - - First, the public ID is looked up in the mapping, then the system ID.
    -
    Specified by:
    resolveEntity in interface org.xml.sax.EntityResolver
    -
    -
    -
    Parameters:
    publicId - The public ID of the entity.
    systemId - The system ID of the entity.
    Returns:
    An InputStream containing the entity or - null if no entity could be found.
    Throws:
    org.xml.sax.SAXException - Signalling a parsing exception.
    IOException - Error reading the entity.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html deleted file mode 100644 index a2615fd60..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/StreamUtils.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class StreamUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class StreamUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.StreamUtils
    -
    -
    -
    -
    public class StreamUtils
    extends Object
    - -

    -Utility methods for streams. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    StreamUtils() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static booleancompareStreams(InputStream is1, - InputStream is2) - -
    -          Compare the contents of two InputStreams.
    -static byte[]readStream(InputStream in) - -
    -          Reads a byte array from a stream.
    -static StringreadStream(InputStream in, - String encoding) - -
    -          Reads a String from a stream, using given encoding.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -StreamUtils

    -
    -public StreamUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -compareStreams

    -
    -public static boolean compareStreams(InputStream is1,
    -                                     InputStream is2)
    -                              throws IOException
    -
    -
    Compare the contents of two InputStreams.
    -
    Parameters:
    is1 - The 1st InputStream to compare.
    is2 - The 2nd InputStream to compare.
    Returns:
    boolean true, if both streams contain the exactly the - same content, false otherwise.
    Throws:
    IOException - An error occurred reading one of the streams.
    -
    -
    -
    - -

    -readStream

    -
    -public static byte[] readStream(InputStream in)
    -                         throws IOException
    -
    -
    Reads a byte array from a stream.
    -
    Parameters:
    in - The InputStream to read.
    Returns:
    The bytes contained in the given InputStream.
    Throws:
    IOException - on any exception thrown
    -
    -
    -
    - -

    -readStream

    -
    -public static String readStream(InputStream in,
    -                                String encoding)
    -                         throws IOException
    -
    -
    Reads a String from a stream, using given encoding.
    -
    Parameters:
    in - The InputStream to read.
    encoding - The character encoding to use for converting the bytes - of the InputStream into a String.
    Returns:
    The content of the given InputStream converted into - a String.
    Throws:
    IOException - on any exception thrown
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/URLDecoder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/URLDecoder.html deleted file mode 100644 index 297fe79c0..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/URLDecoder.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class URLDecoder - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class URLDecoder

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.URLDecoder
    -
    -
    -
    -
    public class URLDecoder
    extends Object
    - -

    -Decodes an URL encoded String using a specified character encoding. - Provides a function missing in JDK 1.3. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Paul Ivancsics
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    URLDecoder() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    -static Stringdecode(String s, - String encoding) - -
    -          Decodes an application/x-www-form-urlencoded string using a specific encoding scheme.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -URLDecoder

    -
    -public URLDecoder()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -decode

    -
    -public static String decode(String s,
    -                            String encoding)
    -                     throws UnsupportedEncodingException
    -
    -
    Decodes an application/x-www-form-urlencoded string using a specific encoding scheme.
    -
    Parameters:
    s - the string to decode
    encoding - name of character encoding
    Returns:
    the newly decoded string
    Throws:
    UnsupportedEncodingException - if the encoding is not supported
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/URLEncoder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/URLEncoder.html deleted file mode 100644 index 4ac6d651b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/URLEncoder.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class URLEncoder - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class URLEncoder

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.URLEncoder
    -
    -
    -
    -
    public class URLEncoder
    extends Object
    - -

    -Translates a string into mime format "x-www-form-urlencoded". - Provides a function missing in JDK 1.3. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Paul Ivancsics
    -
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    URLEncoder() - -
    -           
    -  - - - - - - - - - - - -
    -Method Summary
    -static Stringencode(String s, - String encoding) - -
    -          Translates a string into x-www-form-urlencoded format.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -URLEncoder

    -
    -public URLEncoder()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -encode

    -
    -public static String encode(String s,
    -                            String encoding)
    -                     throws UnsupportedEncodingException
    -
    -
    Translates a string into x-www-form-urlencoded format.
    -
    Parameters:
    s - the string to be translated
    encoding - the encoding to use
    Returns:
    the translated string
    Throws:
    UnsupportedEncodingException - when the desired encoding is not supported
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathException.html deleted file mode 100644 index c067834a8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathException.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XPathException - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class XPathException

    -
    -java.lang.Object
    -  |
    -  +--java.lang.Throwable
    -        |
    -        +--java.lang.Exception
    -              |
    -              +--java.lang.RuntimeException
    -                    |
    -                    +--at.gv.egovernment.moa.util.XPathException
    -
    -
    -
    All Implemented Interfaces:
    Serializable
    -
    -
    -
    -
    public class XPathException
    extends RuntimeException
    - -

    -An exception occurred evaluating an XPath. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    See Also:
    Serialized Form
    -
    - -

    - - - - - - - - - - - - - - - - -
    -Constructor Summary
    XPathException(String message, - Throwable wrapped) - -
    -          Create a XPathException.
    -  - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - ThrowablegetWrapped() - -
    -          Return the wrapped exception.
    - voidprintStackTrace(PrintStream s) - -
    -           
    - voidprintStackTrace(PrintWriter s) - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Throwable
    fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, toString
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - - - - - - - - - - - -
    -Constructor Detail
    - -

    -XPathException

    -
    -public XPathException(String message,
    -                      Throwable wrapped)
    -
    -
    Create a XPathException.
    -
    Parameters:
    message - The exception message.
    wrapped - The exception being the likely cause of this exception.
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -getWrapped

    -
    -public Throwable getWrapped()
    -
    -
    Return the wrapped exception.
    -
    Returns:
    The wrapped exception being the likely cause of this exception.
    -
    -
    -
    - -

    -printStackTrace

    -
    -public void printStackTrace(PrintStream s)
    -
    -
    -
    Overrides:
    printStackTrace in class Throwable
    -
    -
    -
    See Also:
    Throwable.printStackTrace(java.io.PrintStream)
    -
    -
    -
    - -

    -printStackTrace

    -
    -public void printStackTrace(PrintWriter s)
    -
    -
    -
    Overrides:
    printStackTrace in class Throwable
    -
    -
    -
    See Also:
    Throwable.printStackTrace(java.io.PrintWriter)
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html deleted file mode 100644 index ee16972f5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html +++ /dev/null @@ -1,543 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class XPathUtils - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - -

    - -at.gv.egovernment.moa.util -
    -Class XPathUtils

    -
    -java.lang.Object
    -  |
    -  +--at.gv.egovernment.moa.util.XPathUtils
    -
    -
    -
    -
    public class XPathUtils
    extends Object
    - -

    -Utility methods to evaluate XPath expressions on DOM nodes. -

    -

    -
    Version:
    $Id$
    -
    Author:
    Patrick Peck
    -
    -
    - -

    - - - - - - - - - - - - - - -
    -Field Summary
    -static StringALL_NODES_XPATH - -
    -          The XPath expression selecting all nodes under a given root (including the - root node itself).
    -  - - - - - - - - - - -
    -Constructor Summary
    XPathUtils() - -
    -           
    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    -static StringgetAttributeValue(org.w3c.dom.Element root, - String xpath, - String def) - -
    -          Return the value of a DOM attribute whose location is given by an XPath - expression.
    -static StringgetElementValue(org.w3c.dom.Element root, - String xpath, - String def) - -
    -          Return the value of a DOM element whose location is given by an XPath - expression.
    -static org.w3c.dom.traversal.NodeIteratorselectNodeIterator(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - String exp) - -
    -          Return a NodeIterator over the nodes matching the XPath - expression.
    -static org.w3c.dom.traversal.NodeIteratorselectNodeIterator(org.w3c.dom.Node contextNode, - Map namespaceMapping, - String exp) - -
    -          Return a NodeIterator over the nodes matching the XPath - expression.
    -static org.w3c.dom.traversal.NodeIteratorselectNodeIterator(org.w3c.dom.Node contextNode, - String exp) - -
    -          Return a NodeIterator over the nodes matching the XPath - expression. - -
    -static org.w3c.dom.NodeListselectNodeList(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - String exp) - -
    -          Return a NodeList of all the nodes matching the XPath - expression.
    -static org.w3c.dom.NodeListselectNodeList(org.w3c.dom.Node contextNode, - Map namespaceMapping, - String exp) - -
    -          Return a NodeList of all the nodes matching the XPath - expression.
    -static org.w3c.dom.NodeListselectNodeList(org.w3c.dom.Node contextNode, - String exp) - -
    -          Return a NodeList of all the nodes matching the XPath - expression. - -
    -static org.w3c.dom.NodeselectSingleNode(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - String exp) - -
    -          Select the first node matching an XPath expression.
    -static org.w3c.dom.NodeselectSingleNode(org.w3c.dom.Node contextNode, - Map namespaceMapping, - String exp) - -
    -          Select the first node matching an XPath expression.
    -static org.w3c.dom.NodeselectSingleNode(org.w3c.dom.Node contextNode, - String exp) - -
    -          Select the first node matching an XPath expression. - -
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - - - - - - - - -
    -Field Detail
    - -

    -ALL_NODES_XPATH

    -
    -public static final String ALL_NODES_XPATH
    -
    -
    The XPath expression selecting all nodes under a given root (including the - root node itself).
    - - - - - - - - -
    -Constructor Detail
    - -

    -XPathUtils

    -
    -public XPathUtils()
    -
    -
    - - - - - - - - -
    -Method Detail
    - -

    -selectNodeIterator

    -
    -public static org.w3c.dom.traversal.NodeIterator selectNodeIterator(org.w3c.dom.Node contextNode,
    -                                                                    String exp)
    -                                                             throws XPathException
    -
    -
    Return a NodeIterator over the nodes matching the XPath - expression. - - All namespace URIs and prefixes declared in the Constants - interface are used for resolving namespaces.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    exp - The XPath expression to evaluate.
    Returns:
    An iterator over the resulting nodes.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -selectNodeIterator

    -
    -public static org.w3c.dom.traversal.NodeIterator selectNodeIterator(org.w3c.dom.Node contextNode,
    -                                                                    org.w3c.dom.Element namespaceElement,
    -                                                                    String exp)
    -                                                             throws XPathException
    -
    -
    Return a NodeIterator over the nodes matching the XPath - expression.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    namespaceElement - An element from which to build the - namespace mapping for evaluating the XPath expression
    exp - The XPath expression to evaluate.
    Returns:
    An iterator over the resulting nodes.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -selectNodeIterator

    -
    -public static org.w3c.dom.traversal.NodeIterator selectNodeIterator(org.w3c.dom.Node contextNode,
    -                                                                    Map namespaceMapping,
    -                                                                    String exp)
    -                                                             throws XPathException
    -
    -
    Return a NodeIterator over the nodes matching the XPath - expression.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    namespaceMapping - A namespace prefix to namespace URI mapping - (String to String) for evaluating the XPath - expression.
    exp - The XPath expression to evaluate.
    Returns:
    An iterator over the resulting nodes.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -selectNodeList

    -
    -public static org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode,
    -                                                  String exp)
    -                                           throws XPathException
    -
    -
    Return a NodeList of all the nodes matching the XPath - expression. - - All namespace URIs and prefixes declared in the Constants - interface are used for resolving namespaces.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    exp - The XPath expression to evaluate.
    Returns:
    A NodeList containing the matching nodes.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -selectNodeList

    -
    -public static org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode,
    -                                                  org.w3c.dom.Element namespaceElement,
    -                                                  String exp)
    -                                           throws XPathException
    -
    -
    Return a NodeList of all the nodes matching the XPath - expression.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    namespaceElement - An element from which to build the - namespace mapping for evaluating the XPath expression
    exp - The XPath expression to evaluate.
    Returns:
    A NodeList containing the matching nodes.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -selectNodeList

    -
    -public static org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode,
    -                                                  Map namespaceMapping,
    -                                                  String exp)
    -                                           throws XPathException
    -
    -
    Return a NodeList of all the nodes matching the XPath - expression.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    namespaceMapping - A namespace prefix to namespace URI mapping - (String to String) for evaluating the XPath - expression.
    exp - The XPath expression to evaluate.
    Returns:
    A NodeList containing the matching nodes.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -selectSingleNode

    -
    -public static org.w3c.dom.Node selectSingleNode(org.w3c.dom.Node contextNode,
    -                                                String exp)
    -                                         throws XPathException
    -
    -
    Select the first node matching an XPath expression. - - All namespace URIs and prefixes declared in the Constants - interface are used for resolving namespaces.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    exp - The XPath expression to evaluate.
    Returns:
    Node The first node matching the XPath expression, or - null, if no node matched.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -selectSingleNode

    -
    -public static org.w3c.dom.Node selectSingleNode(org.w3c.dom.Node contextNode,
    -                                                org.w3c.dom.Element namespaceElement,
    -                                                String exp)
    -                                         throws XPathException
    -
    -
    Select the first node matching an XPath expression.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    namespaceElement - An element from which to build the - namespace mapping for evaluating the XPath expression
    exp - The XPath expression to evaluate.
    Returns:
    Node The first node matching the XPath expression, or - null, if no node matched.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -selectSingleNode

    -
    -public static org.w3c.dom.Node selectSingleNode(org.w3c.dom.Node contextNode,
    -                                                Map namespaceMapping,
    -                                                String exp)
    -                                         throws XPathException
    -
    -
    Select the first node matching an XPath expression.
    -
    Parameters:
    contextNode - The root node from which to evaluate the XPath - expression.
    namespaceMapping - A namespace prefix to namespace URI mapping - (String to String) for evaluating the XPath - expression.
    exp - The XPath expression to evaluate.
    Returns:
    Node The first node matching the XPath expression, or - null, if no node matched.
    Throws:
    XPathException - An error occurred evaluating the XPath expression.
    -
    -
    -
    - -

    -getElementValue

    -
    -public static String getElementValue(org.w3c.dom.Element root,
    -                                     String xpath,
    -                                     String def)
    -
    -
    Return the value of a DOM element whose location is given by an XPath - expression.
    -
    Parameters:
    root - The root element from which to evaluate the XPath.
    xpath - The XPath expression pointing to the element whose value - to return.
    def - The default value to return, if no element can be found using - the given xpath.
    Returns:
    The element value, if it can be located using the - xpath. Otherwise, def is returned.
    -
    -
    -
    - -

    -getAttributeValue

    -
    -public static String getAttributeValue(org.w3c.dom.Element root,
    -                                       String xpath,
    -                                       String def)
    -
    -
    Return the value of a DOM attribute whose location is given by an XPath - expression.
    -
    Parameters:
    root - The root element from which to evaluate the XPath.
    xpath - The XPath expression pointing to the attribute whose value to - return.
    def - The default value to return, if no attribute can be found using - the given xpath.
    Returns:
    The element value, if it can be located using the - xpath. Otherwise, def is returned.
    -
    -
    - -
    - - - - - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Base64Utils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Base64Utils.html deleted file mode 100644 index c58c688cc..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Base64Utils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.Base64Utils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.Base64Utils

    -
    -No usage of at.gv.egovernment.moa.util.Base64Utils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/BoolUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/BoolUtils.html deleted file mode 100644 index a085f5dca..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/BoolUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.BoolUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.BoolUtils

    -
    -No usage of at.gv.egovernment.moa.util.BoolUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/CollectionUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/CollectionUtils.html deleted file mode 100644 index 5cf4dd0de..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/CollectionUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.CollectionUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.CollectionUtils

    -
    -No usage of at.gv.egovernment.moa.util.CollectionUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Constants.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Constants.html deleted file mode 100644 index c0338882c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Constants.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Interface at.gv.egovernment.moa.util.Constants - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Interface
    at.gv.egovernment.moa.util.Constants

    -
    -No usage of at.gv.egovernment.moa.util.Constants -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/DOMUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/DOMUtils.html deleted file mode 100644 index 74e631bd7..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/DOMUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.DOMUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.DOMUtils

    -
    -No usage of at.gv.egovernment.moa.util.DOMUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/DateTimeUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/DateTimeUtils.html deleted file mode 100644 index 04a71fe70..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/DateTimeUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.DateTimeUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.DateTimeUtils

    -
    -No usage of at.gv.egovernment.moa.util.DateTimeUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/EntityResolverChain.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/EntityResolverChain.html deleted file mode 100644 index fc307f0fe..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/EntityResolverChain.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.EntityResolverChain - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.EntityResolverChain

    -
    -No usage of at.gv.egovernment.moa.util.EntityResolverChain -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/FileUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/FileUtils.html deleted file mode 100644 index eb0af1766..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/FileUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.FileUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.FileUtils

    -
    -No usage of at.gv.egovernment.moa.util.FileUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/KeyStoreUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/KeyStoreUtils.html deleted file mode 100644 index dccffd17c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/KeyStoreUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.KeyStoreUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.KeyStoreUtils

    -
    -No usage of at.gv.egovernment.moa.util.KeyStoreUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOADefaultHandler.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOADefaultHandler.html deleted file mode 100644 index 77f6441cc..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOADefaultHandler.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.MOADefaultHandler - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.MOADefaultHandler

    -
    -No usage of at.gv.egovernment.moa.util.MOADefaultHandler -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOAEntityResolver.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOAEntityResolver.html deleted file mode 100644 index 3f783e56a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOAEntityResolver.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.MOAEntityResolver - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.MOAEntityResolver

    -
    -No usage of at.gv.egovernment.moa.util.MOAEntityResolver -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOAErrorHandler.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOAErrorHandler.html deleted file mode 100644 index b5cbf70ae..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOAErrorHandler.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.MOAErrorHandler - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.MOAErrorHandler

    -
    -No usage of at.gv.egovernment.moa.util.MOAErrorHandler -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOATimer.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOATimer.html deleted file mode 100644 index 27de9845c..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MOATimer.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.MOATimer - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.MOATimer

    -
    - - - - - - - - - -
    -Packages that use MOATimer
    at.gv.egovernment.moa.util  
    -  -

    - - - - - -
    -Uses of MOATimer in at.gv.egovernment.moa.util
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.util that return MOATimer
    -static MOATimerMOATimer.getInstance() - -
    -          Return the single instance of this class.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MessageProvider.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MessageProvider.html deleted file mode 100644 index 8de070ce2..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/MessageProvider.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.MessageProvider - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.MessageProvider

    -
    - - - - - - - - - -
    -Packages that use MessageProvider
    at.gv.egovernment.moa.util  
    -  -

    - - - - - -
    -Uses of MessageProvider in at.gv.egovernment.moa.util
    -  -

    - - - - - - - - - -
    Methods in at.gv.egovernment.moa.util that return MessageProvider
    -static MessageProviderMessageProvider.getInstance() - -
    -          Return the single instance of the MessageProvider. - -
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Messages.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Messages.html deleted file mode 100644 index 6b4c4a5c5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/Messages.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.Messages - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.Messages

    -
    -No usage of at.gv.egovernment.moa.util.Messages -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/NodeIteratorAdapter.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/NodeIteratorAdapter.html deleted file mode 100644 index 0f4029e8e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/NodeIteratorAdapter.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.NodeIteratorAdapter - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.NodeIteratorAdapter

    -
    -No usage of at.gv.egovernment.moa.util.NodeIteratorAdapter -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/NodeListAdapter.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/NodeListAdapter.html deleted file mode 100644 index eb2b8a07e..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/NodeListAdapter.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.NodeListAdapter - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.NodeListAdapter

    -
    -No usage of at.gv.egovernment.moa.util.NodeListAdapter -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/ResourceBundleChain.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/ResourceBundleChain.html deleted file mode 100644 index 61fc73f31..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/ResourceBundleChain.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.ResourceBundleChain - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.ResourceBundleChain

    -
    -No usage of at.gv.egovernment.moa.util.ResourceBundleChain -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/SSLUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/SSLUtils.html deleted file mode 100644 index 6ca0ba169..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/SSLUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.SSLUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.SSLUtils

    -
    -No usage of at.gv.egovernment.moa.util.SSLUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/StreamEntityResolver.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/StreamEntityResolver.html deleted file mode 100644 index e3bcbe069..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/StreamEntityResolver.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.StreamEntityResolver - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.StreamEntityResolver

    -
    -No usage of at.gv.egovernment.moa.util.StreamEntityResolver -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/StreamUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/StreamUtils.html deleted file mode 100644 index 91c33c718..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/StreamUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.StreamUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.StreamUtils

    -
    -No usage of at.gv.egovernment.moa.util.StreamUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/URLDecoder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/URLDecoder.html deleted file mode 100644 index 2eb5e97ea..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/URLDecoder.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.URLDecoder - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.URLDecoder

    -
    -No usage of at.gv.egovernment.moa.util.URLDecoder -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/URLEncoder.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/URLEncoder.html deleted file mode 100644 index 0232f6cc1..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/URLEncoder.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.URLEncoder - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.URLEncoder

    -
    -No usage of at.gv.egovernment.moa.util.URLEncoder -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/XPathException.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/XPathException.html deleted file mode 100644 index 2729ebf8d..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/XPathException.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.XPathException - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.XPathException

    -
    - - - - - - - - - -
    -Packages that use XPathException
    at.gv.egovernment.moa.util  
    -  -

    - - - - - -
    -Uses of XPathException in at.gv.egovernment.moa.util
    -  -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in at.gv.egovernment.moa.util that throw XPathException
    -static org.w3c.dom.traversal.NodeIteratorXPathUtils.selectNodeIterator(org.w3c.dom.Node contextNode, - String exp) - -
    -          Return a NodeIterator over the nodes matching the XPath - expression. - -
    -static org.w3c.dom.traversal.NodeIteratorXPathUtils.selectNodeIterator(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - String exp) - -
    -          Return a NodeIterator over the nodes matching the XPath - expression.
    -static org.w3c.dom.traversal.NodeIteratorXPathUtils.selectNodeIterator(org.w3c.dom.Node contextNode, - Map namespaceMapping, - String exp) - -
    -          Return a NodeIterator over the nodes matching the XPath - expression.
    -static org.w3c.dom.NodeListXPathUtils.selectNodeList(org.w3c.dom.Node contextNode, - String exp) - -
    -          Return a NodeList of all the nodes matching the XPath - expression. - -
    -static org.w3c.dom.NodeListXPathUtils.selectNodeList(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - String exp) - -
    -          Return a NodeList of all the nodes matching the XPath - expression.
    -static org.w3c.dom.NodeListXPathUtils.selectNodeList(org.w3c.dom.Node contextNode, - Map namespaceMapping, - String exp) - -
    -          Return a NodeList of all the nodes matching the XPath - expression.
    -static org.w3c.dom.NodeXPathUtils.selectSingleNode(org.w3c.dom.Node contextNode, - String exp) - -
    -          Select the first node matching an XPath expression. - -
    -static org.w3c.dom.NodeXPathUtils.selectSingleNode(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - String exp) - -
    -          Select the first node matching an XPath expression.
    -static org.w3c.dom.NodeXPathUtils.selectSingleNode(org.w3c.dom.Node contextNode, - Map namespaceMapping, - String exp) - -
    -          Select the first node matching an XPath expression.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/XPathUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/XPathUtils.html deleted file mode 100644 index cb42695d8..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/class-use/XPathUtils.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.util.XPathUtils - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Class
    at.gv.egovernment.moa.util.XPathUtils

    -
    -No usage of at.gv.egovernment.moa.util.XPathUtils -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-frame.html deleted file mode 100644 index 3cf41351b..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-frame.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.util - - - - - -at.gv.egovernment.moa.util - - - - -
    -Interfaces  - -
    -Constants
    - - - - - - -
    -Classes  - -
    -Base64Utils -
    -BoolUtils -
    -CollectionUtils -
    -DateTimeUtils -
    -DOMUtils -
    -EntityResolverChain -
    -FileUtils -
    -KeyStoreUtils -
    -MessageProvider -
    -Messages -
    -MOADefaultHandler -
    -MOAEntityResolver -
    -MOAErrorHandler -
    -MOATimer -
    -NodeIteratorAdapter -
    -NodeListAdapter -
    -ResourceBundleChain -
    -SSLUtils -
    -StreamEntityResolver -
    -StreamUtils -
    -URLDecoder -
    -URLEncoder -
    -XPathUtils
    - - - - - - -
    -Exceptions  - -
    -XPathException
    - - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-summary.html deleted file mode 100644 index 10c671230..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-summary.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.util - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -

    -Package at.gv.egovernment.moa.util -

    - - - - - - - - - -
    -Interface Summary
    ConstantsContains various constants used throughout the system.
    -  - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Class Summary
    Base64UtilsUtitility functions for encoding/decoding Base64 strings.
    BoolUtilsUtility class for parsing XML schema boolean values.
    CollectionUtilsVarious utility methods for dealing with java.util.Collection - classes.
    DateTimeUtilsUtility for parsing and building XML type dateTime, - according to ISO 8601.
    DOMUtilsVarious utility functions for handling XML DOM trees. - -
    EntityResolverChainImplementation of the org.xml.sax.EntityResolver, - for use by a org.apache.xerces.parsers.DOMParser.
    FileUtilsUtility for accessing files on the file system, and for reading from input streams.
    KeyStoreUtilsUtility for creating and loading key stores.
    MessageProviderA singleton wrapper around a Message object. - -
    MessagesProvides access to the system messages resource used for exception handling - and logging messages. - -
    MOADefaultHandlerA DefaultHandler that uses a MOAEntityResolver and - a MOAErrorHandler.
    MOAEntityResolverAn EntityResolver that looks up entities stored as - local resources. - -
    MOAErrorHandlerAn ErrorHandler that logs a message and throws a - SAXException upon error and fatal - parsing errors.
    MOATimerA timer utility for named timers.
    NodeIteratorAdapterA NodeIterator implementation based on a - ListIterator.
    NodeListAdapterA NodeList implementation based on a List.
    ResourceBundleChainA class to chain ResourceBundles.
    SSLUtilsUtility for connecting to server applications via SSL.
    StreamEntityResolverAn EntityResolver that maps system IDs to - InputStreams.
    StreamUtilsUtility methods for streams.
    URLDecoderDecodes an URL encoded String using a specified character encoding. -
    URLEncoderTranslates a string into mime format "x-www-form-urlencoded". -
    XPathUtilsUtility methods to evaluate XPath expressions on DOM nodes.
    -  - -

    - - - - - - - - - -
    -Exception Summary
    XPathExceptionAn exception occurred evaluating an XPath.
    -  - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-tree.html deleted file mode 100644 index 5e3cc9e4a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-tree.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: at.gv.egovernment.moa.util Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For Package at.gv.egovernment.moa.util -

    -
    -
    -
    Package Hierarchies:
    All Packages
    -
    -

    -Class Hierarchy -

    - -

    -Interface Hierarchy -

    -
      -
    • interface at.gv.egovernment.moa.util.Constants
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-use.html deleted file mode 100644 index 43658268a..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/package-use.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.util - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Uses of Package
    at.gv.egovernment.moa.util

    -
    - - - - - - - - - -
    -Packages that use at.gv.egovernment.moa.util
    at.gv.egovernment.moa.util  
    -  -

    - - - - - - - - - - - - - - -
    -Classes in at.gv.egovernment.moa.util used by at.gv.egovernment.moa.util
    MessageProvider - -
    -          A singleton wrapper around a Message object. - -
    MOATimer - -
    -          A timer utility for named timers.
    XPathException - -
    -          An exception occurred evaluating an XPath.
    -  -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/deprecated-list.html b/spss.server/doc/api-doc-internal/deprecated-list.html deleted file mode 100644 index ec6333eb6..000000000 --- a/spss.server/doc/api-doc-internal/deprecated-list.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Deprecated List - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Deprecated API

    -
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/help-doc.html b/spss.server/doc/api-doc-internal/help-doc.html deleted file mode 100644 index 4140ebcb6..000000000 --- a/spss.server/doc/api-doc-internal/help-doc.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: API Help - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -How This API Document Is Organized

    -
    -This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

    -Overview

    -
    - -

    -The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -

    -Package

    -
    - -

    -Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

      -
    • Interfaces (italic)
    • Classes
    • Exceptions
    • Errors
    -
    -

    -Class/Interface

    -
    - -

    -Each class, interface, inner class and inner interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      -
    • Class inheritance diagram
    • Direct Subclasses
    • All Known Subinterfaces
    • All Known Implementing Classes
    • Class/interface declaration
    • Class/interface description -

      -

    • Inner Class Summary
    • Field Summary
    • Constructor Summary
    • Method Summary -

      -

    • Field Detail
    • Constructor Detail
    • Method Detail
    -Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
    -

    -Use

    -
    -Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
    -

    -Tree (Class Hierarchy)

    -
    -There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
      -
    • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
    • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
    -
    -

    -Deprecated API

    -
    -The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
    -

    -Index

    -
    -The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
    -

    -Prev/Next

    -These links take you to the next or previous class, interface, package, or related page.

    -Frames/No Frames

    -These links show and hide the HTML frames. All pages are available with or without frames. -

    -

    -Serialized Form

    -Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

    - - -This help file applies to API documentation generated using the standard doclet. - -
    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/index-all.html b/spss.server/doc/api-doc-internal/index-all.html deleted file mode 100644 index 9281718d8..000000000 --- a/spss.server/doc/api-doc-internal/index-all.html +++ /dev/null @@ -1,2380 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Index - - - - - - - - - - - - - - - - - -
    - -
    - - -A B C D E F G H I K L M N O P R S T U V W X
    -

    -A

    -
    -
    AbstractKeyModuleConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl.
    Base implementation class for the KeyModuleConfiguration - interface and the interfaces derived from it.
    AbstractKeyModuleConfigurationImpl(String) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl -
    Creata new AbstractKeyModuleConfigurationImpl. -
    AbstractObservableConfiguration - class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration.
    A base class for observable configuration data.
    AbstractObservableConfiguration() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration -
      -
    addCertToCertStore(String, String) - -Method in class at.gv.egovernment.moa.spss.server.tools.CertTool -
    Add a certificate to a directory certificate store. -
    addEntityResolver(EntityResolver) - -Method in class at.gv.egovernment.moa.util.EntityResolverChain -
    Add an EntityResolver to the chain. -
    addError(String, String) - -Method in class at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder -
    Add a ErrorResponse element to the response. -
    addObserver(Observer) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration -
      -
    addObserver(Observer) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -
      -
    addResourceBundle(ResourceBundle) - -Method in class at.gv.egovernment.moa.util.ResourceBundleChain -
    Add a ResourceBundle to the chain. -
    addResult(CMSSignatureVerificationResult) - -Method in class at.gv.egovernment.moa.spss.server.invoke.VerifyCMSSignatureResponseBuilder -
    Add a verification result to the response. -
    addSchemaToPool(InputStream, String) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Preparse a schema and add it to the schema pool. -
    addSignatureEnvironment(Element) - -Method in class at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder -
    Add a SignatureEnvironment element to the response. -
    addXPathFilter(XPath2Filter) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl -
    Add an XPath-Filter2 expression to the list of filters. -
    ALL_NODES_XPATH - -Static variable in class at.gv.egovernment.moa.util.XPathUtils -
    The XPath expression selecting all nodes under a given root (including the - root node itself). -
    ALL_SCHEMA_LOCATIONS - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Contains all namespaces and local schema locations for XML schema - definitions relevant for MOA. -
    ARCHIVE_REVOCATION_INFO_PROPERTY - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the generic configuration property determining whether to - archive revocation information. -
    ArchiveConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl.
    An implementation of the ArchiveConfiguration interface - using configuration data provided by the MOA configuration file.
    ArchiveConfigurationImpl(ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl -
    Create a new ArchiveConfigurationImpl. -
    archiveRevocationInfo(String, String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl -
      -
    at.gv.egovernment.moa.logging - package at.gv.egovernment.moa.logging
     
    at.gv.egovernment.moa.spss - package at.gv.egovernment.moa.spss
     
    at.gv.egovernment.moa.spss.server.config - package at.gv.egovernment.moa.spss.server.config
     
    at.gv.egovernment.moa.spss.server.iaik.cmsverify - package at.gv.egovernment.moa.spss.server.iaik.cmsverify
     
    at.gv.egovernment.moa.spss.server.iaik.config - package at.gv.egovernment.moa.spss.server.iaik.config
     
    at.gv.egovernment.moa.spss.server.iaik.pki - package at.gv.egovernment.moa.spss.server.iaik.pki
     
    at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation - package at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation
     
    at.gv.egovernment.moa.spss.server.iaik.pki.revocation - package at.gv.egovernment.moa.spss.server.iaik.pki.revocation
     
    at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore - package at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore
     
    at.gv.egovernment.moa.spss.server.iaik.xml - package at.gv.egovernment.moa.spss.server.iaik.xml
     
    at.gv.egovernment.moa.spss.server.iaik.xmlsign - package at.gv.egovernment.moa.spss.server.iaik.xmlsign
     
    at.gv.egovernment.moa.spss.server.iaik.xmlverify - package at.gv.egovernment.moa.spss.server.iaik.xmlverify
     
    at.gv.egovernment.moa.spss.server.init - package at.gv.egovernment.moa.spss.server.init
     
    at.gv.egovernment.moa.spss.server.invoke - package at.gv.egovernment.moa.spss.server.invoke
     
    at.gv.egovernment.moa.spss.server.logging - package at.gv.egovernment.moa.spss.server.logging
     
    at.gv.egovernment.moa.spss.server.service - package at.gv.egovernment.moa.spss.server.service
     
    at.gv.egovernment.moa.spss.server.tools - package at.gv.egovernment.moa.spss.server.tools
     
    at.gv.egovernment.moa.spss.server.transaction - package at.gv.egovernment.moa.spss.server.transaction
     
    at.gv.egovernment.moa.spss.server.util - package at.gv.egovernment.moa.spss.server.util
     
    at.gv.egovernment.moa.spss.util - package at.gv.egovernment.moa.spss.util
     
    at.gv.egovernment.moa.util - package at.gv.egovernment.moa.util
     
    AUTO_ADD_CERTIFICATES_PROPERTY - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the generic configuration property which determines if - certificates should be added to the cert store automatically. -
    autoAddCertificates() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
      -
    AxisHandler - class at.gv.egovernment.moa.spss.server.service.AxisHandler.
    An handler that is invoked on each web service request and performs some - central message handling. - -
    AxisHandler() - -Constructor for class at.gv.egovernment.moa.spss.server.service.AxisHandler -
      -
    -
    -

    -B

    -
    -
    Base64TransformationImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl.
    An implementation of the Base64Transformation - Transformation type.
    Base64TransformationImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl -
    Create a new Base64TransformationImpl. -
    Base64Utils - class at.gv.egovernment.moa.util.Base64Utils.
    Utitility functions for encoding/decoding Base64 strings.
    Base64Utils() - -Constructor for class at.gv.egovernment.moa.util.Base64Utils -
      -
    BoolUtils - class at.gv.egovernment.moa.util.BoolUtils.
    Utility class for parsing XML schema boolean values.
    BoolUtils() - -Constructor for class at.gv.egovernment.moa.util.BoolUtils -
      -
    buildChainingModes() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the chaining modes for all configured trust anchors. -
    buildCreateSignatureEnvironmentProfiles(File) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the CreateSignatureEnvironmentProfiles. -
    buildCreateTransformsInfoProfiles(File) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the CreateTransformsInfoProfiles. -
    buildCRLDistributionPoints() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the CRL distribution points mapping. -
    buildDateTime(Calendar) - -Static method in class at.gv.egovernment.moa.util.DateTimeUtils -
    Builds a dateTime value from a Calendar value. -
    buildGenericConfiguration() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the mapping of generic configuration properties. -
    buildHardwareCryptoModules() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the configured hardware crypto modules. -
    buildHardwareKeyModules(List) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the configured hardware keys. -
    buildKeyGroupMappings(Map, IssuerAndSerial) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the key group mapping. -
    buildKeyGroups(List) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the key group configuration. -
    buildSoftwareKeyModules(List, File) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the configured software keys. -
    buildSupplementProfiles(File) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the SupplementProfiles. -
    buildTransformationSupplements() - -Method in class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationProfileFactory -
    Build supplemental data objects used in the transformations. -
    buildTrustProfiles(File) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Bulid the trust profile mapping. -
    buildVerifyTransformsInfoProfiles(File) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Build the VerifyTransformsInfoProfiles. -
    ByteArrayDataObjectImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl.
    A BinaryDataObject encapsulating Base64 data.
    ByteArrayDataObjectImpl(byte[]) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl -
    Create a new ByteArrayDataObjectImpl. -
    ByteStreamDataObjectImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl.
    A BinaryDataObject encapsulating binary data from a stream.
    ByteStreamDataObjectImpl(InputStream) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl -
    Create a new ByteStreamDataObjectImpl. -
    -
    -

    -C

    -
    -
    C14N_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the Canonical XML algorithm -
    C14N_WITH_COMMENTS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the Canoncial XML with comments algorithm -
    CanonicalizationImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl.
    An implementation of the CanonicalizationTransform - Transformation type.
    CanonicalizationImpl(String) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl -
    Create a new CanonicalizationTransformImpl object. -
    CertStoreConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.CertStoreConfigurationImpl.
    An implementation of the CertStoreConfiguration interface based - on MOA configuration data.
    CertStoreConfigurationImpl(ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.CertStoreConfigurationImpl -
    Create a new CertStoreConfigurationImpl. -
    CertTool - class at.gv.egovernment.moa.spss.server.tools.CertTool.
    A tool to support X509 certificate handling for configuring the MOA SP/SS - service. - -
    CertTool() - -Constructor for class at.gv.egovernment.moa.spss.server.tools.CertTool -
      -
    checkAttributeParentsInNodeList(NodeList) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Check, that each attribute node in the given NodeList has its - parent in the NodeList as well. -
    checkSecurityLayerManifest() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
      -
    checkXMLDsigManifests() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
      -
    clearTiming(String) - -Method in class at.gv.egovernment.moa.util.MOATimer -
    Remove a timing. -
    CMSSignatureVerificationInvoker - class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker.
    A class providing an interface to the - CMSSignatureVerificationModule. - -
    CMSSignatureVerificationInvoker() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker -
    Create a new CMSSignatureVerificationInvoker. - - -
    CMSSignatureVerificationProfileFactory - class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationProfileFactory.
    A factory to create a CMSSignatureVerificationProfile from a - VerifyCMSSignatureRequest and the current MOA configuration - data.
    CMSSignatureVerificationProfileFactory(VerifyCMSSignatureRequest) - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationProfileFactory -
    Create a new CMSSignatureVerificationProfileFactory. -
    CMSSignatureVerificationProfileImpl - class at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl.
    An implementation of the CMSSignatureVerificationProfile - interface.
    CMSSignatureVerificationProfileImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl -
      -
    CollectionUtils - class at.gv.egovernment.moa.util.CollectionUtils.
    Various utility methods for dealing with java.util.Collection - classes.
    CollectionUtils() - -Constructor for class at.gv.egovernment.moa.util.CollectionUtils -
      -
    collectNamespaceURIs(Element) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Collect all the namespace URIs used in the subtree of a given element. -
    compareStreams(InputStream, InputStream) - -Static method in class at.gv.egovernment.moa.util.StreamUtils -
    Compare the contents of two InputStreams. -
    CONFIG_PROPERTY_NAME - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the system property which contains the file name of the - configuration file. -
    ConfigurationDataImpl - class at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl.
    An implementation of the ConfigurationData interface using - MOA configuration data.
    ConfigurationDataImpl(ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl -
    Create a new ConfigurationDataImpl. -
    ConfigurationException - exception at.gv.egovernment.moa.spss.server.config.ConfigurationException.
    Exception signalling an error in the configuration.
    ConfigurationException(String, Object[]) - -Constructor for class at.gv.egovernment.moa.spss.server.config.ConfigurationException -
    Create a ConfigurationException. -
    ConfigurationException(String, Object[], Throwable) - -Constructor for class at.gv.egovernment.moa.spss.server.config.ConfigurationException -
    Create a ConfigurationException. -
    ConfigurationPartsBuilder - class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder.
    A class that builds configuration data from a DOM based representation.
    ConfigurationPartsBuilder(Element) - -Constructor for class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Create a new ConfigurationPartsBuilder. -
    ConfigurationProvider - class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider.
    A class providing access to the MOA configuration data. - -
    ConfigurationProvider(String) - -Constructor for class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Constructor for ConfigurationProvider. -
    ConfigurationServlet - class at.gv.egovernment.moa.spss.server.service.ConfigurationServlet.
    A servlet to initialize and update the MOA configuration.
    ConfigurationServlet() - -Constructor for class at.gv.egovernment.moa.spss.server.service.ConfigurationServlet -
      -
    ConfiguratorImpl - class at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl.
    Default implementation of Configurator.
    ConfiguratorImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl -
      -
    configure(ConfigurationProvider) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator -
    Configure the IAIK MOA subsystem. -
    Constants - interface at.gv.egovernment.moa.util.Constants.
    Contains various constants used throughout the system.
    createFromContentOptionalRefType(Content, String, boolean, boolean, boolean, boolean) - -Method in class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory -
    Create a DataObject from a Content object. -
    createFromSignatureEnvironment(Element, String, String) - -Method in class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory -
    Create an XMLDataObject from the given signature environment. -
    createFromTransformParameter(TransformParameter) - -Method in class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory -
    Create a DataObject from a TransformParameter - object. -
    createFromURI(String, boolean) - -Method in class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory -
    Create a DataObject from data located at the given URI. -
    createFromXmlDataObjectAssociation(XMLDataObjectAssociation, boolean, boolean) - -Method in class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory -
    Create a DataObject from a - XMLDataObjectAssociation object. -
    createKeyStore(String, String[]) - -Static method in class at.gv.egovernment.moa.util.KeyStoreUtils -
    Creates a key store from X509 certificate files, aliasing them with - the index in the String[], starting with "0". -
    createKeyStoreFromCertificateDirectory(String, String) - -Static method in class at.gv.egovernment.moa.util.KeyStoreUtils -
    Creates a key store from a directory containg X509 certificate files, - aliasing them with the index in the String[], starting with "0". - -
    createMoaException(Exception) - -Method in class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper -
    Create a MOAException from a given IAIKException - by looking it up in the mapping. -
    createNew() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl -
      -
    createProfile() - -Method in class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationProfileFactory -
    Create a CMSSignatureVerificationProfile from the given - request and the current MOA configuration. -
    createProfile() - -Method in class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationProfileFactory -
    Create a XMLSignatureCreationProfile from the - VerifyXMLSignaturesRequest and the current MOA configuration. -
    createProfile(SingleSignatureInfo) - -Method in class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationProfileFactory -
    Create a XMLSignatureCreationProfile for the given - SingleSignatureInfo object.. -
    createSignatureEnvironment(Content, List) - -Method in class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory -
    Return the signature environment, i.e., the root element of the - document, into which the signature will be inserted (if created) or which - contains the signature (if verified). -
    createTransformation(Transform) - -Method in class at.gv.egovernment.moa.spss.server.invoke.TransformationFactory -
    Create a Transformation based on a - Transform object. -
    createTransformationList(List) - -Method in class at.gv.egovernment.moa.spss.server.invoke.TransformationFactory -
    Create a List of Transformations from a - List of Transforms. -
    createXMLSignature(CreateXMLSignatureRequest) - -Method in class at.gv.egovernment.moa.spss.server.invoke.SignatureCreationServiceImpl -
    Create an XML signature. -
    createXMLSignature(CreateXMLSignatureRequest, Set) - -Method in class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker -
    Process the CreateXMLSignatureRequest message and invoke the - XMLSignatureCreationModule for every - SingleSignatureInfo contained in the request. -
    CreateXMLSignatureRequest(Element[]) - -Method in class at.gv.egovernment.moa.spss.server.service.SignatureCreationService -
    Handle a CreateXMLSignatureRequest. -
    CreateXMLSignatureResponseBuilder - class at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder.
    A class to build a CreateXMLSignatureResponse. - -
    CreateXMLSignatureResponseBuilder() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder -
      -
    CRLDistributionPointAdapter - class at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter.
    A class that wraps an - at.gv.egovernment.moa.spss.server.config.DistributionPoint as a - iaik.pki.revocation.CRLDistributionPoint.
    CRLDistributionPointAdapter(DistributionPoint) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter -
    Create a new CRLDistributionPointAdapter. -
    -
    -

    -D

    -
    -
    DATABASE_ARCHIVE_PARAMETER_PROPERTY - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the generic configuration property giving the database URL of - the CRL archive. -
    DataBaseArchiveParameterImpl - class at.gv.egovernment.moa.spss.server.iaik.config.DataBaseArchiveParameterImpl.
    An implementation of the DataBaseArchiveParameter interface.
    DataBaseArchiveParameterImpl(String) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.DataBaseArchiveParameterImpl -
    Create a new DataBaseArchiveParameterImpl. -
    DataObjectFactory - class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory.
    A class to create DataObjects contained in different - locations of the MOA XML request format.
    DataObjectFactory() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory -
    Create a new DataObjectFactory. - - -
    DataObjectImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl.
    Abstract base implementation for the classes derived from - DataObject.
    DataObjectImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
      -
    DataObjectTreatmentImpl - class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl.
    An object encapsulating how to treat an associated DataObject - when creating a signature.
    DataObjectTreatmentImpl(IdGenerator) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
    Create a new DataObjectTreatmentImpl. -
    DateTimeUtils - class at.gv.egovernment.moa.util.DateTimeUtils.
    Utility for parsing and building XML type dateTime, - according to ISO 8601.
    DateTimeUtils() - -Constructor for class at.gv.egovernment.moa.util.DateTimeUtils -
      -
    debug(Object) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Log a debug message. -
    debug(TransactionId, Object, Throwable) - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    decode(String, boolean) - -Static method in class at.gv.egovernment.moa.util.Base64Utils -
    Read the bytes encoded in a Base64 encoded String. -
    decode(String, String) - -Static method in class at.gv.egovernment.moa.util.URLDecoder -
    Decodes an application/x-www-form-urlencoded string using a specific encoding scheme. -
    decodeToStream(String, boolean) - -Static method in class at.gv.egovernment.moa.util.Base64Utils -
    Read the bytes encoded in a Base64 encoded String and provide - them via an InputStream. -
    detach() - -Method in class at.gv.egovernment.moa.util.NodeIteratorAdapter -
      -
    DIRECTORY_CERTSTORE_PARAMETER_PROPERTY - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the generic configuration property giving the root directory of - a directory based cert store. -
    DirectoryCertStoreParametersImpl - class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl.
    An implementation of the DirectoryCertStoreParameters interface.
    DirectoryCertStoreParametersImpl(String, String, boolean, boolean) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl -
    Create a new DirectoryCertStoreParameterImpl. -
    DistributionPoint - class at.gv.egovernment.moa.spss.server.config.DistributionPoint.
    A class containing information about a CRL distribution point.
    DistributionPoint(String, String) - -Constructor for class at.gv.egovernment.moa.spss.server.config.DistributionPoint -
    Create a DistributionPoint with a URI and a list of reason - codes. -
    doGet(HttpServletRequest, HttpServletResponse) - -Method in class at.gv.egovernment.moa.spss.server.service.ConfigurationServlet -
    Handle a HTTP GET request, used to indicated that the MOA - configuration needs to be updated (reloaded). -
    DOMUtils - class at.gv.egovernment.moa.util.DOMUtils.
    Various utility functions for handling XML DOM trees. - -
    DOMUtils() - -Constructor for class at.gv.egovernment.moa.util.DOMUtils -
      -
    doPost(HttpServletRequest, HttpServletResponse) - -Method in class at.gv.egovernment.moa.spss.server.service.ConfigurationServlet -
    Do the same as doGet. -
    DSIG_EC_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the Exclusive Canonicalization XML namespace -
    DSIG_EC_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the Exclusive Canonicalization XML namespace -
    DSIG_EC_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the Exclusive Canonicalizaion XML schema definition -
    DSIG_FILTER2_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the XMLDSig XPath Filter XML namespace. -
    DSIG_FILTER2_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the XMLDSig XPath Filter XML namespace -
    DSIG_FILTER2_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the XMLDSig XPath Filter XML schema definition. -
    DSIG_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the XMLDSig XML namespace. -
    DSIG_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the XMLDSig XML namespace -
    DSIG_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the XMLDSig XML schema. -
    duration(Object) - -Method in class at.gv.egovernment.moa.util.MOATimer -
    Get the duration of an action. -
    durationAsString(Object) - -Method in class at.gv.egovernment.moa.util.MOATimer -
    Get the duration of an action, as a nicely formatted String. -
    -
    -

    -E

    -
    -
    ECDSA_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the ECDSA XML namespace -
    ECDSA_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for ECDSA namespace -
    ECDSA_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of ECDSA XML schema definition -
    encode(byte[]) - -Static method in class at.gv.egovernment.moa.util.Base64Utils -
    Convert a byte array to a Base64 encoded String. -
    encode(InputStream) - -Static method in class at.gv.egovernment.moa.util.Base64Utils -
    Convert the data contained in the given stream to a Base64 encoded - String. -
    encode(String, String) - -Static method in class at.gv.egovernment.moa.util.URLEncoder -
    Translates a string into x-www-form-urlencoded format. -
    EntityResolverChain - class at.gv.egovernment.moa.util.EntityResolverChain.
    Implementation of the org.xml.sax.EntityResolver, - for use by a org.apache.xerces.parsers.DOMParser.
    EntityResolverChain() - -Constructor for class at.gv.egovernment.moa.util.EntityResolverChain -
      -
    EnvelopedSignatureTransformationImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl.
    An implementation of the EnvelopedSignatureTransformation - Transformation type.
    EnvelopedSignatureTransformationImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl -
    Create a new EnvelopedSignatureTransformationImpl. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry -
    Compare this KeyGroupEntry to another. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial -
    Compare this IssuerAndSerial to another object. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl -
    Compare this XPath2Transformation to another. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl -
    Compare this object to another EnvelopedSignatureTransformation. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl -
    Compare this object to another CanonicalizationTransform. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
    Compare this object to another. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl -
    Compare this object to another Canonicalization. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl -
    Compare this XPathTransformation to another. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl -
    Compare this XSLTTransformation to another. -
    equals(Object) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl -
    Compare this Base64Transformation to another. -
    error(Object) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Log an error message. -
    error(Object, Throwable) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Log an error message. -
    error(SAXParseException) - -Method in class at.gv.egovernment.moa.util.MOAErrorHandler -
    Logs a warning and rethrows the exception. -
    error(SAXParseException) - -Method in class at.gv.egovernment.moa.util.MOADefaultHandler -
      -
    error(TransactionId, Object, Throwable) - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    evaluateSignatureLocation(Element, ElementSelector) - -Static method in class at.gv.egovernment.moa.spss.server.invoke.InvokerUtils -
    Select the signature parent element. -
    EXC_C14N_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the Exclusive Canonical XML algorithm -
    EXC_C14N_WITH_COMMENTS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the Exclusive Canonical XML with commments algorithm -
    ExclusiveCanonicalizationImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl.
    An implementation of the ExclusiveCanonicalization type - of Transformation.
    ExclusiveCanonicalizationImpl(String, List) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl -
    Create a new ExclusiveCanonicalizationImpl object. -
    ExternalURIResolver - class at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver.
    Resolve external URIs and provide them as a stream.
    ExternalURIResolver() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver -
      -
    -
    -

    -F

    -
    -
    fatal(Object) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Log a fatal error message. -
    fatal(Object, Throwable) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Log a fatal error message. -
    fatal(TransactionId, Object, Throwable) - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    fatalError(SAXParseException) - -Method in class at.gv.egovernment.moa.util.MOAErrorHandler -
    Logs a warning and rethrows the exception. -
    fatalError(SAXParseException) - -Method in class at.gv.egovernment.moa.util.MOADefaultHandler -
      -
    FileUtils - class at.gv.egovernment.moa.util.FileUtils.
    Utility for accessing files on the file system, and for reading from input streams.
    FileUtils() - -Constructor for class at.gv.egovernment.moa.util.FileUtils -
      -
    -
    -

    -G

    -
    -
    generateWSDL(MessageContext) - -Method in class at.gv.egovernment.moa.spss.server.service.AxisHandler -
    Generate the WSDL into the msgContext. - - -
    getAlgorithmURI() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl -
      -
    getAlternativeDistributionPoints(X509Certificate, Date) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl -
      -
    getArchiveConfiguration() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl -
      -
    getArchiveParameters() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl -
    Return the ArchiveParameters describing this - ArchiveConfiguration. -
    getAttributeValue(Element, String, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Return the value of a DOM attribute whose location is given by an XPath - expression. -
    getCanonicalizationAlgorithmName() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Returns the canonicalization algorithm name. -
    getCanonicalizationAlgorithmName() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the name of the canonicalization algorithm used during signature - creation. -
    getCertificateValidationProfile() - -Method in class at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl -
      -
    getCertificateValidationProfile() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
      -
    getCertStoreConfiguration() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl -
      -
    getChainingMode(X509Certificate) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the chaining mode for a given trust anchor. -
    getChainingMode(X509Certificate) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl -
      -
    getClientCertificate() - -Method in class at.gv.egovernment.moa.spss.server.transaction.TransactionContext -
    Returns the client certificate. -
    getConfigElem() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Returns the root element of the MOA configuration. -
    getConfiguration() - -Method in class at.gv.egovernment.moa.spss.server.transaction.TransactionContext -
    Returns the ConfigurationProvider associated with this - transaction. -
    getContentType() - -Method in class at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver -
    Return the content type of the data detected at the URI from the previous - call of resolve(). -
    getCreateSignatureEnvironmentProfile(String) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return a CreateSignatureEnvironmentProfile with the given ID. -
    getCreateTransformsInfoProfile(String) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return a CreateTransformsInfoProfile with the given ID. -
    getCRLArchiveDuration() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Return the CRL archive duration. -
    getCRLArchiveDuration() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the CRL archive duration. -
    getCRLDP(X509Certificate) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the CRL distribution points for a given CA. -
    getCryptoModuleConfigurations() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl -
      -
    getDataObjectTreatmentList() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getDefaultChainingMode() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Returns the default chaining mode from the configuration. -
    getDigestMethodAlgorithmName() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Returns the digest method algorithm name. -
    getDigestMethodAlgorithmName() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the name of the digest algorithm used during signature creation. -
    getDsigDataObjectID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
      -
    getDsigManifestID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getElement() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl -
      -
    getElement() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl -
      -
    getElementValue(Element, String, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Return the value of a DOM element whose location is given by an XPath - expression. -
    getExpandEntityReferences() - -Method in class at.gv.egovernment.moa.util.NodeIteratorAdapter -
      -
    getFactory() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl -
      -
    getFileName() - -Method in class at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule -
    Return the name of the PKCS12 keystore file containing this - SoftwareKey. -
    getFilter() - -Method in class at.gv.egovernment.moa.util.NodeIteratorAdapter -
      -
    getFilterType() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
      -
    getFinalContentType() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
      -
    getGenericConfiguration(String) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the value of a generic configuration. -
    getGenericConfiguration(String, String) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the value of a generic configuration, or a given default value. -
    getHardwareCryptoModules() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the configured hardware crypto modules. -
    getHardwareKeyModules() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the hardware key modules configuration. -
    getHashAlgorithmName() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
      -
    getId() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyGroup -
    Return the ID of this KeyGroup. -
    getId() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyModule -
    Return the key ID. -
    getId() - -Method in class at.gv.egovernment.moa.spss.server.config.TrustProfile -
    Return the ID of this TrustProfile. -
    getId() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl -
      -
    getInclusiveNamespacePrefixes() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl -
      -
    getInitialAnyPolicyInhibit() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -
      -
    getInitialExplicitPolicy() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -
      -
    getInitialPolicyMappingInhibit() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -
      -
    getInitialPolicySet() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -
      -
    getInputStream() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl -
    Return the binary data encoded in the Base64 String as a - stream. -
    getInputStream() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl -
    Return the binary data from this object as a stream. -
    getInstance() - -Static method in class at.gv.egovernment.moa.logging.LoggingContextManager -
    Get the single instance of the LoggingContextManager class. -
    getInstance() - -Static method in class at.gv.egovernment.moa.util.MessageProvider -
    Return the single instance of the MessageProvider. - - -
    getInstance() - -Static method in class at.gv.egovernment.moa.util.MOATimer -
    Return the single instance of this class. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the single instance of configuration data. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker -
    Get the single instance of this class. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper -
    Get the single instance of this class. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory -
    Return the only instance of this class. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker -
    Return the only instance of this class. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker -
    Get the only instance of this class. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.server.invoke.TransformationFactory -
    Get the single instance of the factory. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager -
    Get the single instance of TransactionContextManager. -
    getInstance() - -Static method in class at.gv.egovernment.moa.spss.util.MessageProvider -
    Return the single instance of the MessageProvider. - - -
    getInstance(Class) - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLogFactory -
      -
    getInstance(String) - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLogFactory -
      -
    getIssuerDN() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry -
    Return the issuer DN of this KeyGroupEntry for identifying the - certificate within the key module. -
    getIssuerDN() - -Method in class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial -
    Return the issuer DN in RFC2253 format. -
    getJDBCUrl() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.DataBaseArchiveParameterImpl -
      -
    getKeyGroupEntries() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyGroup -
    Return the KeyEntrys contained in this KeyGroup. -
    getKeyGroupEntries(Principal, BigInteger, String) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the set of KeyGroupEntrys of a given key group, which a - client (identified by an issuer/serial pair) may access. -
    getKeyGroups() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the key group mapping. -
    getKeyManagers(KeyStore, String) - -Static method in class at.gv.egovernment.moa.util.SSLUtils -
    Gets the KeyManagers from a default KeyManagerFactory, - initialized from the given client key store. -
    getKeyManagers(String, String, String) - -Static method in class at.gv.egovernment.moa.util.SSLUtils -
    Loads the client key store from file and gets the - KeyManagers from a default KeyManagerFactory, - initialized from the given client key store. -
    getKeyModuleConfigurations() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl -
      -
    getKeySet() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getKeyStoreAsStream() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl -
      -
    getKeyStoreAuthenticationData() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl -
      -
    getKeyStoreTypeName() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl -
      -
    getLength() - -Method in class at.gv.egovernment.moa.util.NodeListAdapter -
      -
    getLoggerConfig() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl -
      -
    getLoggingContext() - -Method in class at.gv.egovernment.moa.logging.LoggingContextManager -
    Return the LoggingContext for the current thread. -
    getLogID() - -Method in class at.gv.egovernment.moa.spss.server.logging.TransactionId -
      -
    getMaxRevocationAge(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl -
      -
    getMessage(String, Object[]) - -Method in class at.gv.egovernment.moa.util.MessageProvider -
    Get the message corresponding to a given message ID. -
    getMessage(String, Object[]) - -Method in class at.gv.egovernment.moa.util.Messages -
    Get the message corresponding to a given message ID. -
    getMessage(String, Object[]) - -Method in class at.gv.egovernment.moa.spss.util.MessageProvider -
    Get the message corresponding to a given message ID. -
    getMessageId() - -Method in class at.gv.egovernment.moa.spss.MOAException -
    Returns the message ID of this exception. -
    getMimeType() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
      -
    getModuleID() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry -
    Return the key module ID to which this KeyGroupEntry belongs - to. -
    getModuleID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.AbstractKeyModuleConfigurationImpl -
      -
    getModuleName() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl -
      -
    getModuleName() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl -
      -
    getName() - -Method in class at.gv.egovernment.moa.spss.server.config.HardwareKeyModule -
    Return the name of this HardwareKey. -
    getName() - -Method in class at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule -
    Returns the name of this HardwareCryptoModule. -
    getNameConstraintsProcessing() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -
      -
    getNamespaceDeclarations() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
      -
    getNamespaceDeclarations() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl -
      -
    getNamespaceDeclarations(Node) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Build the namespace prefix to namespace URL mapping in effect for a given - node. -
    getNodeId() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl -
      -
    getNodeId() - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    getNodeID() - -Method in class at.gv.egovernment.moa.logging.LoggingContext -
    Return the node ID. -
    getNodeList() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl -
      -
    getOCSPRequestHashAlgorithm() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl -
      -
    getParameters() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.CertStoreConfigurationImpl -
      -
    getPassWord() - -Method in class at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule -
    Return the password to access the keystore file. -
    getPKIConfiguration() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl -
      -
    getPolicyProcessing() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -
      -
    getPreferredServiceOrder(X509Certificate) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl -
      -
    getProperties() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl -
      -
    getPublicKeyParamsAsCert(X509Certificate) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl -
      -
    getPublicKeyParamsAsSpec(X509Certificate) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl -
      -
    getReasonCodes() - -Method in class at.gv.egovernment.moa.spss.server.config.DistributionPoint -
    Return a binary representation of the reason codes of this distribution - point. -
    getReasonCodes() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter -
      -
    getReferenceID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
      -
    getRequestName() - -Method in class at.gv.egovernment.moa.spss.server.transaction.TransactionContext -
    Returns the name of the request. -
    getResponse() - -Method in class at.gv.egovernment.moa.spss.server.invoke.CreateXMLSignatureResponseBuilder -
    Get the CreateXMLSignatureResponse built so far. -
    getResponse() - -Method in class at.gv.egovernment.moa.spss.server.invoke.VerifyCMSSignatureResponseBuilder -
    Get the VerifyCMSSignatureResponse built so far. -
    getResponse() - -Method in class at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder -
    Get the VerifyMLSignatureResponse built so far. -
    getRevocationChecking() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -
      -
    getRevocationConfiguration() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl -
      -
    getRevocationProfile() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
      -
    getRoot() - -Method in class at.gv.egovernment.moa.util.NodeIteratorAdapter -
      -
    getRootDirectory() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl -
      -
    getSecurityLayerManifestID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSecurityLayerManifestTypeURI() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSerial() - -Method in class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial -
    Return the serial number. -
    getSerialNumber() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry -
    Return the serial number of this KeyGroupEntry for identifying - the certificate within the key module. -
    getSignatureAlgorithmName(KeyEntryID) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSignatureChildIndex() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl -
      -
    getSignatureID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSignatureInsertionLocation() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSignatureStructureType() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSignedInfoCanonicalization() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSignedProperties() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSignedPropertiesID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    getSigningTime() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl -
      -
    getSlotID() - -Method in class at.gv.egovernment.moa.spss.server.config.HardwareKeyModule -
    Return the slot ID of this HardwareKey. -
    getSlotID() - -Method in class at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule -
    Returns the slot ID of this HardwareCryptoModule. -
    getSlotID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl -
      -
    getSlotID() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl -
      -
    getSoftwareKeyModules() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return the software key module configuration. -
    getSSLContext(KeyStore, String, String, String) - -Static method in class at.gv.egovernment.moa.util.SSLUtils -
    Creates an SSLContext initialized for the - given trust store and keystore. -
    getSSLSocketFactory(KeyStore, String, String, String) - -Static method in class at.gv.egovernment.moa.util.SSLUtils -
    Creates an SSLSocketFactory which utilizes the - given trust store and keystore. -
    getSSLSocketFactory(String, InputStream, String) - -Static method in class at.gv.egovernment.moa.util.SSLUtils -
    Creates an SSLSocketFactory which utilizes the given trust store. -
    getString(String) - -Method in class at.gv.egovernment.moa.util.ResourceBundleChain -
    Return the value of the resource. -
    getStylesheetElement() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl -
      -
    getSupplementProfile(String) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return a SupplementProfile with the given ID. -
    getText(Node) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Return the text that a node contains. - - -
    getTransactionContext() - -Method in class at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager -
    Get the TransactionContext for the current thread. -
    getTransactionID() - -Method in class at.gv.egovernment.moa.logging.LoggingContext -
    Return the transaction ID. -
    getTransactionID() - -Method in class at.gv.egovernment.moa.spss.server.transaction.TransactionContext -
    Returns the unique transaction ID. -
    getTransformationList() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
      -
    getTransformationSupplements() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
      -
    getTransformationSupplements() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
      -
    getTrustManagers(KeyStore) - -Static method in class at.gv.egovernment.moa.util.SSLUtils -
    Gets the TrustManagers from a default TrustManagerFactory, - initialized from the given trust store. -
    getTrustManagers(String, InputStream, String) - -Static method in class at.gv.egovernment.moa.util.SSLUtils -
    Loads the trust store from an input stream and gets the - TrustManagers from a default TrustManagerFactory, - initialized from the given trust store. -
    getTrustProfile(String) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return a TrustProfile with the given ID. -
    getTrustStoreProfile() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
      -
    getType() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.ArchiveConfigurationImpl -
    Return the type of archive. - - -
    getType() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter -
      -
    getType() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl -
      -
    getType() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -
      -
    getTypeURI() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
      -
    getUri() - -Method in class at.gv.egovernment.moa.spss.server.config.TrustProfile -
    Return the URI of this TrustProfile. -
    getUri() - -Method in class at.gv.egovernment.moa.spss.server.config.DistributionPoint -
    Return the URI of the distribution point. -
    getUri() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.CRLDistributionPointAdapter -
      -
    getURI() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -
      -
    getURI() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
      -
    getUserPIN() - -Method in class at.gv.egovernment.moa.spss.server.config.HardwareKeyModule -
    Return the user PIN to access this HardwareKey. -
    getUserPIN() - -Method in class at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule -
    Returns the user PIN of this HardwareCryptoModule. -
    getUserPIN() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl -
      -
    getUserPIN() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl -
      -
    getValidationConfiguration() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl -
      -
    getValidationProfile() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
      -
    getVerifyTransformsInfoProfile(String) - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Return a VerifyTransformsInfoProfile with the given ID. -
    getWarnings() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder -
    Returns the warnings encountered during building the configuration. -
    getWarnings() - -Method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Returns the warnings encountered during building the configuration. -
    getWarnings() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator -
    Return the warnings encountered during configuration. -
    getWhatToShow() - -Method in class at.gv.egovernment.moa.util.NodeIteratorAdapter -
      -
    getWrapped() - -Method in class at.gv.egovernment.moa.util.XPathException -
    Return the wrapped exception. -
    getWrapped() - -Method in class at.gv.egovernment.moa.spss.MOAException -
    Returns the exception wrapped by this MOAException. -
    getXPathExpression() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
      -
    getXPathExpression() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl -
      -
    getXPathFilters() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl -
      -
    -
    -

    -H

    -
    -
    HardwareCryptoModule - class at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule.
    Contains configuration data for a hardware crypto module.
    HardwareCryptoModule(String, String, String) - -Constructor for class at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule -
    Create a new HardwareCryptoModule. -
    HardwareCryptoModuleConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl.
    An implementation of the HardwareCryptoModuleConfiguration - wrapping a HardwareCryptoModule from the MOA configuration.
    HardwareCryptoModuleConfigurationImpl(HardwareCryptoModule) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.HardwareCryptoModuleConfigurationImpl -
    Create a new HardwareCryptoModuleConfigurationImpl. -
    HardwareKeyModule - class at.gv.egovernment.moa.spss.server.config.HardwareKeyModule.
    A class that contains information about a hardware key module.
    HardwareKeyModule(String, String, String, String) - -Constructor for class at.gv.egovernment.moa.spss.server.config.HardwareKeyModule -
    Create a new HardwareKey. -
    HardwareKeyModuleConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl.
    An implementation of the HardwareKeyModuleConfiguration - interface wrapping a HardwareKeyModule from the MOA - configuration.
    HardwareKeyModuleConfigurationImpl(HardwareKeyModule) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.HardwareKeyModuleConfigurationImpl -
    Create a new HardwareKeyModuleConfigurationImpl. -
    hashCode() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry -
      -
    hashCode() - -Method in class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial -
    Return the hash code of this IssuerAndSerial. -
    hashCode() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl -
    Returns the hash code of the algorithm URI. -
    hashCode() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl -
      -
    hashCode() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
      -
    hashCode() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl -
      -
    hashCode() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl -
      -
    -
    -

    -I

    -
    -
    IAIK_LOG_HIERARCHY - -Static variable in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
    The hierarchy to log all IAIK output to. -
    IaikConfigurator - class at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator.
    A class responsible for configuring the IAIK MOA modules.
    IaikConfigurator() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator -
      -
    IaikExceptionMapper - class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper.
    Map an exception from the iaik namespace to a - MOAException.
    IaikExceptionMapper() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper -
    Create a new IaikExceptionMapper. - - -
    IaikLog - class at.gv.egovernment.moa.spss.server.logging.IaikLog.
    An implementation of the iaik.logging.Log - interface that is based on Jakarta Commons-Logging.
    IaikLog(String) - -Constructor for class at.gv.egovernment.moa.spss.server.logging.IaikLog -
    Create a new IaikLog. -
    IaikLogFactory - class at.gv.egovernment.moa.spss.server.logging.IaikLogFactory.
    An implementation of the iaik.logging.LogFactory abstract - class to log messages to the MOA logging subsystem.
    IaikLogFactory() - -Constructor for class at.gv.egovernment.moa.spss.server.logging.IaikLogFactory -
      -
    IaikLogMsg - class at.gv.egovernment.moa.spss.server.logging.IaikLogMsg.
    A unified message type to log messages from the IAIK subsystem.
    IaikLogMsg(TransactionId, String, Object) - -Constructor for class at.gv.egovernment.moa.spss.server.logging.IaikLogMsg -
    Create a IaikLogMsg object. -
    IdGenerator - class at.gv.egovernment.moa.spss.server.util.IdGenerator.
    Generate unique ID values for various objects in the response.
    IdGenerator(String, Set) - -Constructor for class at.gv.egovernment.moa.spss.server.util.IdGenerator -
    Create a new IdGenerator. -
    includeHashInputData() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
      -
    includeReferenceInputData() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
      -
    info(Object) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Log an info message. -
    info(TransactionId, Object, Throwable) - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    init() - -Static method in class at.gv.egovernment.moa.spss.server.init.SystemInitializer -
    Initialize the MOA SP/SS webservice. -
    init() - -Method in class at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl -
      -
    init() - -Method in class at.gv.egovernment.moa.spss.server.service.ConfigurationServlet -
    Perform some initial initialization tasks for the MOA web services - application. - - -
    invoke(MessageContext) - -Method in class at.gv.egovernment.moa.spss.server.service.AxisHandler -
    Handle an invocation of this handler. -
    InvokerUtils - class at.gv.egovernment.moa.spss.server.invoke.InvokerUtils.
    Utility methods for invoking the IAIK MOA modules.
    InvokerUtils() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.InvokerUtils -
      -
    isAncestor(Element, Node) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Check, if a given DOM element is an ancestor of a given node. -
    isDebugEnabled() - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Test, if the debug log level is enabled. -
    isDebugEnabled() - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    isDebugEnabled(String) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Test, if the debug log level is enabled for a given hierarchy. -
    isErrorEnabled() - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    isFatalEnabled() - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    isIncludedInSignature() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
      -
    isInfoEnabled() - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    isReadOnly() - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.DirectoryCertStoreParametersImpl -
      -
    isReferenceInManifest() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
      -
    isSecurityLayerConform() - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
      -
    IssuerAndSerial - class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial.
    A class containing the issuer and serial number of a certificate, which can - be used to uniquely identify the certificate. - -
    IssuerAndSerial(Principal, BigInteger) - -Constructor for class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial -
    Create an IssuerAndSerial object. - - -
    IssuerAndSerial(String, BigInteger) - -Constructor for class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial -
    Create an IssuerAndSerial object. -
    isTraceEnabled() - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Test, if the trace log level is enabled. -
    isTraceEnabled(String) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Test, if the trace log level is enabled for a given hierarchy. -
    isWarnEnabled() - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    item(int) - -Method in class at.gv.egovernment.moa.util.NodeListAdapter -
      -
    -
    -

    -K

    -
    -
    KeyGroup - class at.gv.egovernment.moa.spss.server.config.KeyGroup.
    A collection of KeyGroupEntrys with its own ID.
    KeyGroup(String, Set) - -Constructor for class at.gv.egovernment.moa.spss.server.config.KeyGroup -
    Create a KeyGroup. -
    KeyGroupEntry - class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry.
    A class containing information about an entry in a key group.
    KeyGroupEntry(String, IssuerAndSerial) - -Constructor for class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry -
    Create a new KeyGroupEntry. -
    KeyGroupEntry(String, String, BigInteger) - -Constructor for class at.gv.egovernment.moa.spss.server.config.KeyGroupEntry -
    Create a new KeyGroupEntry. -
    KeyModule - class at.gv.egovernment.moa.spss.server.config.KeyModule.
    A class that contains information about a key module.
    KeyModule(String) - -Constructor for class at.gv.egovernment.moa.spss.server.config.KeyModule -
    Create a Key object. -
    KeyStoreUtils - class at.gv.egovernment.moa.util.KeyStoreUtils.
    Utility for creating and loading key stores.
    KeyStoreUtils() - -Constructor for class at.gv.egovernment.moa.util.KeyStoreUtils -
      -
    -
    -

    -L

    -
    -
    loadKeyStore(String, InputStream, String) - -Static method in class at.gv.egovernment.moa.util.KeyStoreUtils -
    Loads a key store from an InputStream, and - closes the InputStream. -
    loadKeyStore(String, String, String) - -Static method in class at.gv.egovernment.moa.util.KeyStoreUtils -
    Loads a key store from file. -
    localizeNamespaceDeclarations(Element) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Add all namespace declarations declared in the parent(s) of a given - element and used in the subtree of the given element to the given element. -
    Logger - class at.gv.egovernment.moa.logging.Logger.
    A utility class acting as a facade to the logging subsystem. - -
    Logger() - -Constructor for class at.gv.egovernment.moa.logging.Logger -
      -
    LoggerConfigImpl - class at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl.
    Default implementation of the LoggerConfig interface.
    LoggerConfigImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl -
      -
    LoggingContext - class at.gv.egovernment.moa.logging.LoggingContext.
    Encapsulates contextual information (i.e. per request information) for - logging purposes.
    LoggingContext(String) - -Constructor for class at.gv.egovernment.moa.logging.LoggingContext -
    Create a new LoggingContext. -
    LoggingContextManager - class at.gv.egovernment.moa.logging.LoggingContextManager.
    Provides each thread with a single instance of LoggingContext.
    LoggingContextManager() - -Constructor for class at.gv.egovernment.moa.logging.LoggingContextManager -
    Creates a new LoggingContextManager. - - -
    LogMsg - class at.gv.egovernment.moa.logging.LogMsg.
    A unified message type to log messages from inside the MOA subsystem.
    LogMsg(Object) - -Constructor for class at.gv.egovernment.moa.logging.LogMsg -
    Create a LogMsg object. -
    lookupMessage(Class) - -Method in class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper -
    Recursively look up the message associated with an - IAIKException. - - -
    -
    -

    -M

    -
    -
    main(String[]) - -Static method in class at.gv.egovernment.moa.spss.server.tools.CertTool -
    Main entry point of the tool. -
    map(IAIKException) - -Method in class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper -
    Map an IAIKException to a MOAException. -
    map(IAIKRuntimeException) - -Method in class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper -
    Map an IAIKRuntimeException to a MOAException. -
    mapCreateSignatureEnvironmentProfile(CreateSignatureEnvironmentProfile, ConfigurationProvider) - -Static method in class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper -
    Map a CreateSignatureEnvironmentProfile to a - CreateSignatureEnvironmentProfileExplicit. -
    mapCreateTransformsInfoProfile(CreateTransformsInfoProfile, ConfigurationProvider) - -Static method in class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper -
    Map a CreateTransformsInfoProfile to a - CreateTransformsInfoProfileExplicit. -
    mapSupplementProfile(SupplementProfile, ConfigurationProvider) - -Static method in class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper -
    Map a SupplementProfile to a - SupplementProfileExplicit. -
    mapSupplementProfiles(List, ConfigurationProvider) - -Static method in class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper -
    Map a List of SupplementProfiles to their - explicit representation. -
    mapVerifyTransformsInfoProfile(VerifyTransformsInfoProfile, ConfigurationProvider) - -Static method in class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper -
    Map a VerifyTransformsInfoProfile to a - VerifyTransformsInfoProfileExplicit. -
    mapVerifyTransformsInfoProfiles(List, ConfigurationProvider) - -Static method in class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper -
    Map a List of VerifyTransformsInfoProfiles to - their explicit representation. -
    MAX_REVOCATION_AGE_PROPERTY - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the generic configuration property determining the maximum - age of CRL entries. -
    MessageProvider - class at.gv.egovernment.moa.util.MessageProvider.
    A singleton wrapper around a Message object. - -
    MessageProvider - class at.gv.egovernment.moa.spss.util.MessageProvider.
    Singleton wrapper around a Messages object.
    MessageProvider(String[], Locale[]) - -Constructor for class at.gv.egovernment.moa.util.MessageProvider -
    Create a MessageProvider. -
    MessageProvider(String[], Locale[]) - -Constructor for class at.gv.egovernment.moa.spss.util.MessageProvider -
    Create a MessageProvider. -
    Messages - class at.gv.egovernment.moa.util.Messages.
    Provides access to the system messages resource used for exception handling - and logging messages. - -
    Messages(String[], Locale[]) - -Constructor for class at.gv.egovernment.moa.util.Messages -
    Create a new Message object containing the messages - in the given resources. -
    MOA_CONFIG_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the MOA configuration XML namespace. -
    MOA_CONFIG_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the MOA configuration XML namespace -
    MOA_CONFIG_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the MOA configuration XML schema definition. -
    MOA_ID_CONFIG_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the MOA ID configuration XML namespace. -
    MOA_ID_CONFIG_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the MOA configuration XML namespace -
    MOA_ID_CONFIG_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the MOA ID configuration XML schema definition. -
    MOA_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the MOA XML namespace. -
    MOA_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the MOA XML namespace -
    MOA_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the MOA XML schema definition. -
    MOAApplicationException - exception at.gv.egovernment.moa.spss.MOAApplicationException.
    Base class of application specific MOA exceptions. - -
    MOAApplicationException(String, Object[]) - -Constructor for class at.gv.egovernment.moa.spss.MOAApplicationException -
    Create a new MOAApplicationException. -
    MOAApplicationException(String, Object[], Throwable) - -Constructor for class at.gv.egovernment.moa.spss.MOAApplicationException -
    Create a new MOAApplicationException. -
    MOADefaultHandler - class at.gv.egovernment.moa.util.MOADefaultHandler.
    A DefaultHandler that uses a MOAEntityResolver and - a MOAErrorHandler.
    MOADefaultHandler() - -Constructor for class at.gv.egovernment.moa.util.MOADefaultHandler -
    Create a new MOADefaultHandler. -
    MOADefaultHandler(EntityResolver, ErrorHandler) - -Constructor for class at.gv.egovernment.moa.util.MOADefaultHandler -
    Create a new MOADefaultHandler. -
    MOAEntityResolver - class at.gv.egovernment.moa.util.MOAEntityResolver.
    An EntityResolver that looks up entities stored as - local resources. - -
    MOAEntityResolver() - -Constructor for class at.gv.egovernment.moa.util.MOAEntityResolver -
      -
    MOAErrorHandler - class at.gv.egovernment.moa.util.MOAErrorHandler.
    An ErrorHandler that logs a message and throws a - SAXException upon error and fatal - parsing errors.
    MOAErrorHandler() - -Constructor for class at.gv.egovernment.moa.util.MOAErrorHandler -
      -
    MOAException - exception at.gv.egovernment.moa.spss.MOAException.
    Base class of MOA specific exceptions. - -
    MOAException(String, Object[]) - -Constructor for class at.gv.egovernment.moa.spss.MOAException -
    Create a MOAException. -
    MOAException(String, Object[], Throwable) - -Constructor for class at.gv.egovernment.moa.spss.MOAException -
    Create a MOAException. -
    MOASystemException - exception at.gv.egovernment.moa.spss.MOASystemException.
    Base class of technical MOA exceptions. - -
    MOASystemException(String, Object[]) - -Constructor for class at.gv.egovernment.moa.spss.MOASystemException -
    Create a new MOASystemException. -
    MOASystemException(String, Object[], Throwable) - -Constructor for class at.gv.egovernment.moa.spss.MOASystemException -
    Create a new MOASystemException. -
    MOATimer - class at.gv.egovernment.moa.util.MOATimer.
    A timer utility for named timers.
    MOATimer() - -Constructor for class at.gv.egovernment.moa.util.MOATimer -
    Create a new MOATimer. - - -
    -
    -

    -N

    -
    -
    nextId() - -Method in class at.gv.egovernment.moa.spss.server.util.IdGenerator -
    Create the next ID value in the sequence. -
    nextID() - -Static method in class at.gv.egovernment.moa.spss.server.transaction.TransactionIDGenerator -
    Returns the next transaction ID. -
    nextNode() - -Method in class at.gv.egovernment.moa.util.NodeIteratorAdapter -
      -
    NODE_ID_PROPERTY - -Static variable in class at.gv.egovernment.moa.logging.LoggingContext -
    The name of the node ID system property. -
    NodeIteratorAdapter - class at.gv.egovernment.moa.util.NodeIteratorAdapter.
    A NodeIterator implementation based on a - ListIterator.
    NodeIteratorAdapter(ListIterator) - -Constructor for class at.gv.egovernment.moa.util.NodeIteratorAdapter -
    Create a new NodeIteratorAdapter. -
    nodeList2DocumentFragment(NodeList) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Convert an unstructured NodeList into a - DocumentFragment. -
    NodeListAdapter - class at.gv.egovernment.moa.util.NodeListAdapter.
    A NodeList implementation based on a List.
    NodeListAdapter(List) - -Constructor for class at.gv.egovernment.moa.util.NodeListAdapter -
    Create a new NodeListAdapter. -
    notify(NotificationData) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration -
      -
    notify(NotificationData) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -
      -
    -
    -

    -O

    -
    -
    onFault(MessageContext) - -Method in class at.gv.egovernment.moa.spss.server.service.AxisHandler -
    Called, when the processing of the web service fails. -
    -
    -

    -P

    -
    -
    parseDateTime(String) - -Static method in class at.gv.egovernment.moa.util.DateTimeUtils -
    Parse a String containing a date and time instant, given in - ISO 8601 format. -
    parseDocument(InputStream, boolean, String, String) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Parse an XML document from an InputStream. - - -
    parseDocument(InputStream, boolean, String, String, EntityResolver, ErrorHandler) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Parse an XML document from an InputStream. -
    parseDocument(String, boolean, String, String) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Parse an UTF-8 encoded XML document from a String. -
    parseDocument(String, String, boolean, String, String) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Parse an XML document from a String. - - -
    parseXmlValidating(InputStream) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    A convenience method to parse an XML document validating. -
    PD_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the PersonData XML namespace. -
    PD_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the PersonData XML namespace -
    PD_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the PersonData XML schema definition -
    PKIConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl.
    An implementation of the PKIConfiguration interface using data - from the MOA configuration.
    PKIConfigurationImpl(ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.PKIConfigurationImpl -
    Create a new PKIConfigurationImpl. -
    PKIProfileImpl - class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl.
    Implementation of the PKIProfile interface containing - information needed for certificate path validation.
    PKIProfileImpl(ConfigurationProvider, String) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
    Create a new PKIProfileImpl. -
    previousNode() - -Method in class at.gv.egovernment.moa.util.NodeIteratorAdapter -
      -
    printCertInfo(String, PrintStream) - -Method in class at.gv.egovernment.moa.spss.server.tools.CertTool -
    Print the information about the certificate. - - -
    printStackTrace() - -Method in class at.gv.egovernment.moa.spss.MOAException -
    Print a stack trace of this exception to System.err. -
    printStackTrace(PrintStream) - -Method in class at.gv.egovernment.moa.util.XPathException -
      -
    printStackTrace(PrintStream) - -Method in class at.gv.egovernment.moa.spss.MOAException -
    Print a stack trace of this exception, including the wrapped exception. -
    printStackTrace(PrintWriter) - -Method in class at.gv.egovernment.moa.util.XPathException -
      -
    printStackTrace(PrintWriter) - -Method in class at.gv.egovernment.moa.spss.MOAException -
    Print a stack trace of this exception, including the wrapped exception. -
    ProfileMapper - class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper.
    Map ProfileID objects to their explicit represantation.
    ProfileMapper() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.ProfileMapper -
      -
    -
    -

    -R

    -
    -
    readFile(String) - -Static method in class at.gv.egovernment.moa.util.FileUtils -
    Reads a file, given by filename, into a byte array. -
    readFile(String, String) - -Static method in class at.gv.egovernment.moa.util.FileUtils -
    Reads a file, given by filename, into a String. -
    readResource(String) - -Static method in class at.gv.egovernment.moa.util.FileUtils -
    Reads a file from a resource. -
    readResource(String, String) - -Static method in class at.gv.egovernment.moa.util.FileUtils -
    Reads a file from a resource. -
    readStream(InputStream) - -Static method in class at.gv.egovernment.moa.util.StreamUtils -
    Reads a byte array from a stream. -
    readStream(InputStream, String) - -Static method in class at.gv.egovernment.moa.util.StreamUtils -
    Reads a String from a stream, using given encoding. -
    readURL(String) - -Static method in class at.gv.egovernment.moa.util.FileUtils -
    Reads a file, given by URL, into a byte array. -
    readURL(String, String) - -Static method in class at.gv.egovernment.moa.util.FileUtils -
    Reads a file, given by URL, into a String. -
    registerMessage(Class, String, Class) - -Method in class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper -
    Register a single IAIKException to message mapping. -
    registerMessages() - -Method in class at.gv.egovernment.moa.spss.server.invoke.IaikExceptionMapper -
    Build the complete IAIKException to message code mapping. -
    release() - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLogFactory -
      -
    reload() - -Static method in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    Reload the configuration data and set it if successful. -
    removeObserver(Observer) - -Method in class at.gv.egovernment.moa.spss.server.iaik.config.AbstractObservableConfiguration -
      -
    removeObserver(Observer) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -
      -
    reparseRequest(Element) - -Static method in class at.gv.egovernment.moa.spss.server.service.ServiceUtils -
    Reparse the request with schema-validation turned on so that ID references - are resolved. -
    resolve(String) - -Method in class at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver -
    Return a stream to data at the given URI. - - -
    resolveEntity(String, String) - -Method in class at.gv.egovernment.moa.util.MOAEntityResolver -
    Resolve an entity. - - -
    resolveEntity(String, String) - -Method in class at.gv.egovernment.moa.util.StreamEntityResolver -
    Resolve an entity by looking it up in the mapped entities. - - -
    resolveEntity(String, String) - -Method in class at.gv.egovernment.moa.util.EntityResolverChain -
      -
    resolveEntity(String, String) - -Method in class at.gv.egovernment.moa.util.MOADefaultHandler -
      -
    ResourceBundleChain - class at.gv.egovernment.moa.util.ResourceBundleChain.
    A class to chain ResourceBundles.
    ResourceBundleChain() - -Constructor for class at.gv.egovernment.moa.util.ResourceBundleChain -
      -
    REVOCATION_CHECKING_PROPERTY - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the generic configuration property determining whether - to check the revocation status of signer certificates. -
    RevocationArchiveCleaner - class at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner.
    A Runnable for periodically cleaning up the revocation archive.
    RevocationArchiveCleaner(long) - -Constructor for class at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner -
    Create a new RevocationArchiveCleaner. -
    RevocationConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl.
    An implementation of the RevocationConfiguration interface using - MOA configuration data.
    RevocationConfigurationImpl(ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.RevocationConfigurationImpl -
    Create a new RevocationConfigurationImpl. -
    RevocationProfileImpl - class at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl.
    An implementation of the RevocationProfile interface providing - information about revocation status checking, based on MOA configuration - data.
    RevocationProfileImpl(ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl -
    Create a new RevocationProfileImpl. -
    run() - -Method in class at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner -
    Run the RevocationArchiveCleaner in its own - Thread. -
    -
    -

    -S

    -
    -
    SAML_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the SAML namespace. -
    SAML_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the SAML XML namespace -
    SAML_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the SAML XML schema definition. -
    SAMLP_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the SAML request-response protocol namespace. -
    SAMLP_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the SAML request-response protocol namespace -
    SAMLP_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the SAML request-response protocol schema definition. -
    SCHEMA_ROOT - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Root location of the schema files. -
    selectNodeIterator(Node, Element, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Return a NodeIterator over the nodes matching the XPath - expression. -
    selectNodeIterator(Node, Map, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Return a NodeIterator over the nodes matching the XPath - expression. -
    selectNodeIterator(Node, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Return a NodeIterator over the nodes matching the XPath - expression. - - -
    selectNodeList(Node, Element, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Return a NodeList of all the nodes matching the XPath - expression. -
    selectNodeList(Node, Map, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Return a NodeList of all the nodes matching the XPath - expression. -
    selectNodeList(Node, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Return a NodeList of all the nodes matching the XPath - expression. - - -
    selectSingleNode(Node, Element, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Select the first node matching an XPath expression. -
    selectSingleNode(Node, Map, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Select the first node matching an XPath expression. -
    selectSingleNode(Node, String) - -Static method in class at.gv.egovernment.moa.util.XPathUtils -
    Select the first node matching an XPath expression. - - -
    serializeNode(Node) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Serialize the given DOM node. - - -
    serializeNode(Node, String) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Serialize the given DOM node to a byte array. -
    ServiceContextUtils - class at.gv.egovernment.moa.spss.server.invoke.ServiceContextUtils.
    A utility class for setting up and tearing down thread-local context - information needed for calling the Invoker classes.
    ServiceContextUtils() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.ServiceContextUtils -
      -
    ServiceUtils - class at.gv.egovernment.moa.spss.server.service.ServiceUtils.
    Helper methods for the Service classes.
    ServiceUtils() - -Constructor for class at.gv.egovernment.moa.spss.server.service.ServiceUtils -
      -
    setAlgorithmURI(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl -
    Sets the algorithm URI. -
    setBytes(byte[]) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl -
    Set the Base64 data. -
    setCertificateValidationProfile(PKIProfile) - -Method in class at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl -
    Sets the profile for validating the signer certificate. -
    setCertificateValidationProfile(PKIProfile) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
    Sets the profile for validating the signer certificate. -
    setCheckSecurityLayerManifest(boolean) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
    Set whether to check the references in the Security Layer manifest. -
    setCheckXMLDsigManifests(boolean) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
    Sets whether to check the references of all XML Dsig manifests. -
    setContentType(String) - -Method in class at.gv.egovernment.moa.spss.server.invoke.ExternalURIResolver -
    Set the content type of the data at the URI. -
    setDataObjectTreatmentList(List) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Sets the list of DataObjectTreatments. -
    setElement(Element) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl -
    Set the DOM element contained in this XMLDataObject. -
    setElement(Element) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl -
    Set the dsig:Signature DOM element. -
    setFilterType(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
    Set the filter type. -
    setFinalContentType(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
    Sets the final content type. -
    setHashAlgorithmName(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
    Sets the hash algorithm name. -
    setHierarchy(String) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Set the default hierarchy to which the Logger should send its - logging output. -
    setIncludedInSignature(boolean) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
    Sets whether the associated DataObject is to be included in - the signature. -
    setIncludeHashInputData(boolean) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
    Set whether to include the hash input data in the result. -
    setIncludeReferenceInputData(boolean) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
    Set whether to include the reference input data in the result. -
    setInclusiveNamespacePrefixes(List) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl -
    Sets the namespace prefixes to be processed according to canonical XML. -
    setInputStream(InputStream) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl -
    Set the input stream from which to read the binary data. -
    setKeySet(Set) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Set the set of KeyEntryIDs which may be used for signature - creation. -
    setLoggingContext(LoggingContext) - -Method in class at.gv.egovernment.moa.logging.LoggingContextManager -
    Set the LoggingContext context for the current thread. -
    setMimeType(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
    Set the mime type. -
    setNamespaceDeclarations(Map) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
    Set the namespace declarations. -
    setNamespaceDeclarations(Map) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl -
    Set the namespace declarations. -
    setNodeId(String) - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    setNodeList(NodeList) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl -
    Set the list of DOM nodes contained in this - XMLNodeListDataObject. -
    setReferenceID(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
    Set the reference ID. -
    setReferenceInManifest(boolean) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
    Sets whether the associated DataObject is - to be included in the dsig:Manifest. -
    setRequestName(String) - -Method in class at.gv.egovernment.moa.spss.server.transaction.TransactionContext -
    Sets the name of the request. -
    setResult(XMLSignatureVerificationResult, XMLSignatureVerificationProfile, ReferencesCheckResult) - -Method in class at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder -
    Sets the verification result to the response. - - -
    setRevocationProfile(RevocationProfile) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
    Sets the RevocationProfile. -
    setSecurityLayerConform(boolean) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Sets the security layer conformity. -
    setSecurityLayerManifestTypeURI(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Set the SecurityLayerManifestTypeURI. -
    setSignatureChildIndex(int) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl -
    Sets the position index at which to append the signature to the parent - element. -
    setSignatureInsertionLocation(XMLSignatureInsertionLocation) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Set the location where the signature is to be inserted into the signature - parent. -
    setSignatureStructureType(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Set the signature structure type. -
    setSignedInfoCanonicalization(Canonicalization) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Sets the canonicalization method to use for the SignedInfo object. -
    setSignedProperties(List) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Set the signed properties. -
    setStyleSheetElement(Element) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl -
    Set the XSLT stylesheet element. -
    setTransactionContext(TransactionContext) - -Method in class at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager -
    Set the TransactionContext for the current thread. -
    setTransformationList(List) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
    Set the list of transformations for the associated DataObject. -
    setTransformationSupplements(List) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl -
    Sets the transformation supplements for the associated - DataObject. -
    setTransformationSupplements(List) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
    Sets the transformation supplements. -
    setTrustStoreProfile(TrustStoreProfile) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
    Sets the TrustStoreProfile. -
    setType(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -
    Sets the the trust store type. -
    setTypeURI(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
    Set the type URI. -
    setUpContexts() - -Static method in class at.gv.egovernment.moa.spss.server.invoke.ServiceContextUtils -
    Set up the thread-local context information needed for calling the various - Invoker classes. -
    setURI(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -
    Sets the trust store URI. -
    setURI(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl -
    Set the URI. -
    setValidationProfile(ValidationProfile) - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
    Sets the ValidationProfile. -
    setXPathExpression(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
    Set the XPath expression. -
    setXPathExpression(String) - -Method in class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl -
    Set the XPath expression. -
    SHA1_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the SHA1 digest algorithm -
    SignatureCreationService - class at.gv.egovernment.moa.spss.server.service.SignatureCreationService.
    The service endpoint for the SignatureCreation web service.
    SignatureCreationService() - -Constructor for class at.gv.egovernment.moa.spss.server.service.SignatureCreationService -
      -
    SignatureCreationServiceImpl - class at.gv.egovernment.moa.spss.server.invoke.SignatureCreationServiceImpl.
    An implementation of the SignatureCreationService, using - the XMLSignatureCreationInvoker.
    SignatureCreationServiceImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.SignatureCreationServiceImpl -
      -
    SignatureVerificationService - class at.gv.egovernment.moa.spss.server.service.SignatureVerificationService.
    The service endpoint for the SignatureVerification web service.
    SignatureVerificationService() - -Constructor for class at.gv.egovernment.moa.spss.server.service.SignatureVerificationService -
      -
    SignatureVerificationServiceImpl - class at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl.
    An implementation of the SignatureVerificationService using - the XMLSignatureVerificationInvoker and the - CMSSignatureVerificationInvoker.
    SignatureVerificationServiceImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl -
      -
    SigningTimeImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl.
    An implementation of the SigningTime Property.
    SigningTimeImpl(Date) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl -
    Create a new SigningTimeImpl. -
    SL_MANIFEST_TYPE_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Security Layer manifest type URI. -
    SL10_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the Security Layer 1.0 namespace. -
    SL10_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the Security Layer 1.0 XML namespace -
    SL10_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the Security Layer 1.0 XML schema definition -
    SL11_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the Security Layer 1.1 XML namespace -
    SL11_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the Security Layer 1.1 XML namespace -
    SL11_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the Security Layer 1.1 XML schema definition -
    SoftwareKeyModule - class at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule.
    A class containing information about a software key, stored in PKCS12 format.
    SoftwareKeyModule(String, String, String) - -Constructor for class at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule -
    Create a new SoftwareKey. -
    SoftwareKeyModuleConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl.
    An implementation of the SoftwareKeyModuleConfiguration wrapping - a SoftwareKeyModule from the MOA configuration.
    SoftwareKeyModuleConfigurationImpl(SoftwareKeyModule) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.SoftwareKeyModuleConfigurationImpl -
    Create a new SoftwareKeyModuleConfigurationImpl. -
    SSLUtils - class at.gv.egovernment.moa.util.SSLUtils.
    Utility for connecting to server applications via SSL.
    SSLUtils() - -Constructor for class at.gv.egovernment.moa.util.SSLUtils -
      -
    startTiming(Object) - -Method in class at.gv.egovernment.moa.util.MOATimer -
    Start timing a certain action. - - -
    stopTiming(Object) - -Method in class at.gv.egovernment.moa.util.MOATimer -
    Stop timing an action. -
    StreamEntityResolver - class at.gv.egovernment.moa.util.StreamEntityResolver.
    An EntityResolver that maps system IDs to - InputStreams.
    StreamEntityResolver(Map) - -Constructor for class at.gv.egovernment.moa.util.StreamEntityResolver -
    Create a StreamEntityResolver. -
    StreamUtils - class at.gv.egovernment.moa.util.StreamUtils.
    Utility methods for streams.
    StreamUtils() - -Constructor for class at.gv.egovernment.moa.util.StreamUtils -
      -
    SystemInitializer - class at.gv.egovernment.moa.spss.server.init.SystemInitializer.
    MOA SP/SS web service initialization.
    SystemInitializer() - -Constructor for class at.gv.egovernment.moa.spss.server.init.SystemInitializer -
      -
    -
    -

    -T

    -
    -
    tearDownContexts() - -Static method in class at.gv.egovernment.moa.spss.server.invoke.ServiceContextUtils -
    Tear down thread-local context information. -
    TEST_SIGNING_TIME_PROPERTY - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the generic configuration property used for setting the - signing time to a predefined value. -
    toErrorResponse() - -Method in class at.gv.egovernment.moa.spss.MOAException -
    Convert this MOAException to an ErrorResponse - element from the MOA namespace. -
    toIntArray(List) - -Static method in class at.gv.egovernment.moa.util.CollectionUtils -
    Convert a List of Number objects to an - int array. -
    toString() - -Method in class at.gv.egovernment.moa.logging.LogMsg -
    Convert this log message to a String. -
    toString() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyGroup -
    Return a String representation of this KeyGroup. -
    toString() - -Method in class at.gv.egovernment.moa.spss.server.config.KeyModule -
    Return a String representation of this Key. -
    toString() - -Method in class at.gv.egovernment.moa.spss.server.config.DistributionPoint -
    Return a String representation of this distribution point. -
    toString() - -Method in class at.gv.egovernment.moa.spss.server.config.IssuerAndSerial -
    Return a String representation of this - IssuerAndSerial object. -
    toString() - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLogMsg -
    Convert this log message to a String. -
    toString() - -Method in class at.gv.egovernment.moa.spss.server.logging.TransactionId -
      -
    trace(Object) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Trace a message. -
    TransactionContext - class at.gv.egovernment.moa.spss.server.transaction.TransactionContext.
    Contains information about the current request.
    TransactionContext(String, X509Certificate[], ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.transaction.TransactionContext -
    Create a TransactionContext object. -
    TransactionContextManager - class at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager.
    Provides each thread with an instance of TransactionContext. - -
    TransactionContextManager() - -Constructor for class at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager -
    Creates a new TransactionContextManager. - - -
    TransactionId - class at.gv.egovernment.moa.spss.server.logging.TransactionId.
    An implementation of the iaik.logging.TransactionId interface.
    TransactionId(String) - -Constructor for class at.gv.egovernment.moa.spss.server.logging.TransactionId -
    Create a TransactionId object. -
    TransactionIDGenerator - class at.gv.egovernment.moa.spss.server.transaction.TransactionIDGenerator.
    A generator for unique transaction IDs. - -
    TransactionIDGenerator() - -Constructor for class at.gv.egovernment.moa.spss.server.transaction.TransactionIDGenerator -
      -
    TransformationFactory - class at.gv.egovernment.moa.spss.server.invoke.TransformationFactory.
    A factory to create Transformation objects from - Transform objects.
    TransformationFactory() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.TransformationFactory -
    Create a new TransformationFactory. - - -
    TransformationImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl.
    Base implementation class for Transformation derived classes.
    TransformationImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.TransformationImpl -
      -
    TrustProfile - class at.gv.egovernment.moa.spss.server.config.TrustProfile.
    Information about a trust profile.
    TrustProfile(String, String) - -Constructor for class at.gv.egovernment.moa.spss.server.config.TrustProfile -
    Create a TrustProfile. -
    TrustStoreProfileImpl - class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl.
    An implementation of the TrustStoreProfile interface, using data - from the MOA configuration.
    TrustStoreProfileImpl(ConfigurationProvider, String) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl -
    Create a new TrustStoreProfileImpl. -
    -
    -

    -U

    -
    -
    uniqueId() - -Method in class at.gv.egovernment.moa.spss.server.util.IdGenerator -
    Create the next unique ID value which is unique in the reserved ID set. - - -
    update() - -Method in class at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl -
      -
    URLDecoder - class at.gv.egovernment.moa.util.URLDecoder.
    Decodes an URL encoded String using a specified character encoding. -
    URLDecoder() - -Constructor for class at.gv.egovernment.moa.util.URLDecoder -
      -
    URLEncoder - class at.gv.egovernment.moa.util.URLEncoder.
    Translates a string into mime format "x-www-form-urlencoded". -
    URLEncoder() - -Constructor for class at.gv.egovernment.moa.util.URLEncoder -
      -
    USE_AUTHORITY_INFO_ACCESS_PROPERTY - -Static variable in class at.gv.egovernment.moa.spss.server.config.ConfigurationProvider -
    The name of the generic configuration property whether the authority - info access should be used. -
    useAuthorityInfoAccess() - -Method in class at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl -
      -
    -
    -

    -V

    -
    -
    validateElement(Element, String, String) - -Static method in class at.gv.egovernment.moa.util.DOMUtils -
    Schema validate a given DOM element. -
    validateRequest(Element[]) - -Static method in class at.gv.egovernment.moa.spss.server.service.ServiceUtils -
    Schema-validate a request. -
    ValidationConfigurationImpl - class at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl.
    An implementation of the ValidationConfiguration interface using - MOA configuration data.
    ValidationConfigurationImpl(ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.config.ValidationConfigurationImpl -
    Create a new ValidationConfigurationImpl. -
    ValidationProfileImpl - class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl.
    An implementation of the ValidationProfile interface providing - information about certificat path validation.
    ValidationProfileImpl(ConfigurationProvider) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl -
    Create a new ValidationProfileImpl object. - - -
    valueOf(String) - -Static method in class at.gv.egovernment.moa.util.BoolUtils -
    Return the boolean value of an xsd:boolean type of DOM - element/attribute. -
    verifyCMSSignature(VerifyCMSSignatureRequest) - -Method in class at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl -
    Verify a CMS signature. -
    verifyCMSSignature(VerifyCMSSignatureRequest) - -Method in class at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker -
    Verify a CMS signature. -
    VerifyCMSSignatureRequest(Element[]) - -Method in class at.gv.egovernment.moa.spss.server.service.SignatureVerificationService -
    Handle a VerifyCMSSignatureRequest. -
    VerifyCMSSignatureResponseBuilder - class at.gv.egovernment.moa.spss.server.invoke.VerifyCMSSignatureResponseBuilder.
    A class to build a VerifyCMSSignatureResponse object. - -
    VerifyCMSSignatureResponseBuilder() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.VerifyCMSSignatureResponseBuilder -
      -
    verifyXMLSignature(VerifyXMLSignatureRequest) - -Method in class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker -
    Process the VerifyXMLSignatureRequest message and invoke the - XMLSignatureVerificationModule. -
    verifyXMLSignature(VerifyXMLSignatureRequest) - -Method in class at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl -
    Verify an XML signature. -
    VerifyXMLSignatureRequest(Element[]) - -Method in class at.gv.egovernment.moa.spss.server.service.SignatureVerificationService -
    Handle a VerifyXMLSignatureRequest. -
    VerifyXMLSignatureResponseBuilder - class at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder.
    A class to build a VerifyXMLSignatureResponse object. - -
    VerifyXMLSignatureResponseBuilder() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder -
      -
    -
    -

    -W

    -
    -
    warn(Object) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Log a warning message. -
    warn(Object, Throwable) - -Static method in class at.gv.egovernment.moa.logging.Logger -
    Log a warning message. -
    warn(TransactionId, Object, Throwable) - -Method in class at.gv.egovernment.moa.spss.server.logging.IaikLog -
      -
    warning(SAXParseException) - -Method in class at.gv.egovernment.moa.util.MOAErrorHandler -
    Logs a warning message. -
    warning(SAXParseException) - -Method in class at.gv.egovernment.moa.util.MOADefaultHandler -
      -
    -
    -

    -X

    -
    -
    XML_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the XML namespace. -
    XML_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the XML namespace -
    XML_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the XML schema definition. -
    XMLDataObjectImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl.
    A DataObject containing a single DOM element.
    XMLDataObjectImpl(Element) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl -
    Create a new XMLDataObjectImpl. -
    XMLNodeListDataObjectImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl.
    A DataObject containing a list of DOM nodes.
    XMLNodeListDataObjectImpl(NodeList) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl -
    Create a new XMLNodeListDataObjectImpl. -
    XMLNS_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the XMLNS namespace -
    XMLSignatureCreationInvoker - class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker.
    A class providing an API based interface to the - XMLSignatureCreationModule. - -
    XMLSignatureCreationInvoker() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker -
    Create a new XMLSignatureCreationInvoker. - - -
    XMLSignatureCreationProfileFactory - class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationProfileFactory.
    A factory to create XMLSignatureCreationProfiles from a - CreateXMLSignatureRequest, based on the current MOA - configuration.
    XMLSignatureCreationProfileFactory(CreateXMLSignatureRequest, Set) - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationProfileFactory -
    Create a new XMLSignatureCreationProfileFactory. -
    XMLSignatureCreationProfileImpl - class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl.
    An object providing auxiliary information for creating an XML signature.
    XMLSignatureCreationProfileImpl(int, Set) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl -
    Create a new XMLSignatureCreationProfileImpl. -
    XMLSignatureImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl.
    An object containing an XMLDsig signature in the form of a - dsig:Signature DOM element.
    XMLSignatureImpl(Element) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl -
    Create a new XMLSignatureImpl. -
    XMLSignatureInsertionLocationImpl - class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl.
    An object giving the location of where the signature will be - inserted into the parent element.
    XMLSignatureInsertionLocationImpl(int) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl -
    Create a new XMLSignatureInsertLocationImpl. -
    XMLSignatureVerificationInvoker - class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker.
    A class providing a DOM based interface to the - XMLSignatureVerificationModule. - -
    XMLSignatureVerificationInvoker() - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker -
    Create a new XMLSignatureCreationInvoker. - - -
    XMLSignatureVerificationProfileFactory - class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationProfileFactory.
    A factory to create a XMLSignatureVerificationProfile from a - VerifyXMLSignatureRequest, based on the current MOA - configuration.
    XMLSignatureVerificationProfileFactory(VerifyXMLSignatureRequest) - -Constructor for class at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationProfileFactory -
    Create a new XMLSignatureVerificationProfileFactory. -
    XMLSignatureVerificationProfileImpl - class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl.
    An object providing auxiliary information for verifying an XML signature.
    XMLSignatureVerificationProfileImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl -
      -
    XPath2FilterImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl.
    An object encapsulating an XPath-Filter2 expression.
    XPath2FilterImpl(String, String, Map) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl -
    Create a new XPath2FilterImpl object. -
    XPath2TransformationImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl.
    An object encapsulating a Transformation containing several - XPath-Filter2 expressions.
    XPath2TransformationImpl() - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl -
    Create a new XPath2TransformationImpl. - - -
    XPathException - exception at.gv.egovernment.moa.util.XPathException.
    An exception occurred evaluating an XPath.
    XPathException(String, Throwable) - -Constructor for class at.gv.egovernment.moa.util.XPathException -
    Create a XPathException. -
    XPathTransformationImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl.
    A Transformation containing an XPath expression.
    XPathTransformationImpl(String, Map) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl -
    Create a new XPathTransformationImpl. - - -
    XPathUtils - class at.gv.egovernment.moa.util.XPathUtils.
    Utility methods to evaluate XPath expressions on DOM nodes.
    XPathUtils() - -Constructor for class at.gv.egovernment.moa.util.XPathUtils -
      -
    XSI_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the XSI XMLNS namespace -
    XSI_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the XSI namespace -
    XSI_SCHEMA_LOCATION - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Local location of the XSI schema definition. -
    XSLT_NS_URI - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    URI of the XSLT XML namespace -
    XSLT_PREFIX - -Static variable in interface at.gv.egovernment.moa.util.Constants -
    Prefix used for the XSLT XML namespace -
    XSLTTransformationImpl - class at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl.
    A Transformation containing an XSLT transformation.
    XSLTTransformationImpl(Element) - -Constructor for class at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl -
    Create a new XSLTTransformationImpl object. -
    -
    -A B C D E F G H I K L M N O P R S T U V W X - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/index.html b/spss.server/doc/api-doc-internal/index.html deleted file mode 100644 index 3e76b5068..000000000 --- a/spss.server/doc/api-doc-internal/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API - - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to <A HREF="overview-summary.html">Non-frame version.</A> - diff --git a/spss.server/doc/api-doc-internal/overview-frame.html b/spss.server/doc/api-doc-internal/overview-frame.html deleted file mode 100644 index 43c7e3155..000000000 --- a/spss.server/doc/api-doc-internal/overview-frame.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Overview - - - - - - - - - -
    -
    - - - - - -
    All Classes -

    - -Packages -
    -at.gv.egovernment.moa.logging -
    -at.gv.egovernment.moa.spss -
    -at.gv.egovernment.moa.spss.server.config -
    -at.gv.egovernment.moa.spss.server.iaik.cmsverify -
    -at.gv.egovernment.moa.spss.server.iaik.config -
    -at.gv.egovernment.moa.spss.server.iaik.pki -
    -at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation -
    -at.gv.egovernment.moa.spss.server.iaik.pki.revocation -
    -at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore -
    -at.gv.egovernment.moa.spss.server.iaik.xml -
    -at.gv.egovernment.moa.spss.server.iaik.xmlsign -
    -at.gv.egovernment.moa.spss.server.iaik.xmlverify -
    -at.gv.egovernment.moa.spss.server.init -
    -at.gv.egovernment.moa.spss.server.invoke -
    -at.gv.egovernment.moa.spss.server.logging -
    -at.gv.egovernment.moa.spss.server.service -
    -at.gv.egovernment.moa.spss.server.tools -
    -at.gv.egovernment.moa.spss.server.transaction -
    -at.gv.egovernment.moa.spss.server.util -
    -at.gv.egovernment.moa.spss.util -
    -at.gv.egovernment.moa.util -
    -

    - -

    -  - - diff --git a/spss.server/doc/api-doc-internal/overview-summary.html b/spss.server/doc/api-doc-internal/overview-summary.html deleted file mode 100644 index 4f4a65bbb..000000000 --- a/spss.server/doc/api-doc-internal/overview-summary.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Overview - - - - - - - - - - - - - - - - - -
    - -
    - - -


    -
    -

    -

    MOA SP/SS Server Internal API

    -
    - - - - - - - - - - - - - -
    -MOA Configuration
    at.gv.egovernment.moa.spss.server.config 
    at.gv.egovernment.moa.spss.server.iaik.config 
    - -

    -  - - - - - - - - - - - - -
    -Web Service Handling
    at.gv.egovernment.moa.spss.server.service 
    at.gv.egovernment.moa.spss.server.transaction 
    - -

    -  - - - - - - - - -
    -Mapping MOA API calls to the IAIK API
    at.gv.egovernment.moa.spss.server.invoke 
    - -

    -  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Implementations of IAIK interfaces
    at.gv.egovernment.moa.spss.server.iaik.cmsverify 
    at.gv.egovernment.moa.spss.server.iaik.pki 
    at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation 
    at.gv.egovernment.moa.spss.server.iaik.pki.revocation 
    at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore 
    at.gv.egovernment.moa.spss.server.iaik.xml 
    at.gv.egovernment.moa.spss.server.iaik.xmlsign 
    at.gv.egovernment.moa.spss.server.iaik.xmlverify 
    - -

    -  - - - - - - - - - - - - -
    -Utilities
    at.gv.egovernment.moa.spss.server.util 
    at.gv.egovernment.moa.util 
    - -

    -  - - - - - - - - - - - - -
    -Logging
    at.gv.egovernment.moa.logging 
    at.gv.egovernment.moa.spss.server.logging 
    - -

    -  - - - - - - - - -
    -External Tools
    at.gv.egovernment.moa.spss.server.tools 
    - -

    -  - - - - - - - - - - - - - - - - -
    -Other Packages
    at.gv.egovernment.moa.spss 
    at.gv.egovernment.moa.spss.server.init 
    at.gv.egovernment.moa.spss.util 
    - -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/overview-tree.html b/spss.server/doc/api-doc-internal/overview-tree.html deleted file mode 100644 index 1fa48f2bf..000000000 --- a/spss.server/doc/api-doc-internal/overview-tree.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API: Class Hierarchy - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Hierarchy For All Packages

    -
    -
    -
    Package Hierarchies:
    at.gv.egovernment.moa.logging, at.gv.egovernment.moa.spss, at.gv.egovernment.moa.spss.server.config, at.gv.egovernment.moa.spss.server.iaik.cmsverify, at.gv.egovernment.moa.spss.server.iaik.config, at.gv.egovernment.moa.spss.server.iaik.pki, at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation, at.gv.egovernment.moa.spss.server.iaik.pki.revocation, at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore, at.gv.egovernment.moa.spss.server.iaik.xml, at.gv.egovernment.moa.spss.server.iaik.xmlsign, at.gv.egovernment.moa.spss.server.iaik.xmlverify, at.gv.egovernment.moa.spss.server.init, at.gv.egovernment.moa.spss.server.invoke, at.gv.egovernment.moa.spss.server.logging, at.gv.egovernment.moa.spss.server.service, at.gv.egovernment.moa.spss.server.tools, at.gv.egovernment.moa.spss.server.transaction, at.gv.egovernment.moa.spss.server.util, at.gv.egovernment.moa.spss.util, at.gv.egovernment.moa.util
    -
    -

    -Class Hierarchy -

    - -

    -Interface Hierarchy -

    -
      -
    • interface at.gv.egovernment.moa.util.Constants
    -
    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/package-list b/spss.server/doc/api-doc-internal/package-list deleted file mode 100644 index 4cc05ae78..000000000 --- a/spss.server/doc/api-doc-internal/package-list +++ /dev/null @@ -1,21 +0,0 @@ -at.gv.egovernment.moa.logging -at.gv.egovernment.moa.spss -at.gv.egovernment.moa.spss.server.config -at.gv.egovernment.moa.spss.server.iaik.cmsverify -at.gv.egovernment.moa.spss.server.iaik.config -at.gv.egovernment.moa.spss.server.iaik.pki -at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation -at.gv.egovernment.moa.spss.server.iaik.pki.revocation -at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore -at.gv.egovernment.moa.spss.server.iaik.xml -at.gv.egovernment.moa.spss.server.iaik.xmlsign -at.gv.egovernment.moa.spss.server.iaik.xmlverify -at.gv.egovernment.moa.spss.server.init -at.gv.egovernment.moa.spss.server.invoke -at.gv.egovernment.moa.spss.server.logging -at.gv.egovernment.moa.spss.server.service -at.gv.egovernment.moa.spss.server.tools -at.gv.egovernment.moa.spss.server.transaction -at.gv.egovernment.moa.spss.server.util -at.gv.egovernment.moa.spss.util -at.gv.egovernment.moa.util diff --git a/spss.server/doc/api-doc-internal/packages.html b/spss.server/doc/api-doc-internal/packages.html deleted file mode 100644 index f1d9430a1..000000000 --- a/spss.server/doc/api-doc-internal/packages.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -MOA SP/SS Server Internal API - - - - - -
    - -
    - -
    -
    -The front page has been relocated.Please see: -
    -          Frame version -
    -          Non-frame version.
    - - - diff --git a/spss.server/doc/api-doc-internal/serialized-form.html b/spss.server/doc/api-doc-internal/serialized-form.html deleted file mode 100644 index 7a59bdfa0..000000000 --- a/spss.server/doc/api-doc-internal/serialized-form.html +++ /dev/null @@ -1,246 +0,0 @@ - - - - - - -Serialized Form - - - - - - - - - - - - - - - - - -
    - -
    - - -
    -
    -

    -Serialized Form

    -
    -
    - - - - - -
    -Package at.gv.egovernment.moa.spss
    - -

    - - - - - -
    -Class at.gv.egovernment.moa.spss.MOAApplicationException implements Serializable
    - -

    - -

    - - - - - -
    -Class at.gv.egovernment.moa.spss.MOAException implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -messageId

    -
    -String messageId
    -
    -
    The message ID.
    -
    - -

    -wrapped

    -
    -Throwable wrapped
    -
    -
    The wrapped Throwable.
    - -

    - - - - - -
    -Class at.gv.egovernment.moa.spss.MOASystemException implements Serializable
    - -

    - -

    -


    - - - - - -
    -Package at.gv.egovernment.moa.spss.server.config
    - -

    - - - - - -
    -Class at.gv.egovernment.moa.spss.server.config.ConfigurationException implements Serializable
    - -

    - -

    -


    - - - - - -
    -Package at.gv.egovernment.moa.spss.server.service
    - -

    - - - - - -
    -Class at.gv.egovernment.moa.spss.server.service.AxisHandler implements Serializable
    - -

    - -

    - - - - - -
    -Class at.gv.egovernment.moa.spss.server.service.ConfigurationServlet implements Serializable
    - -

    - -

    -


    - - - - - -
    -Package at.gv.egovernment.moa.util
    - -

    - - - - - -
    -Class at.gv.egovernment.moa.util.XPathException implements Serializable
    - -

    - - - - - -
    -Serialized Fields
    - -

    -wrapped

    -
    -Throwable wrapped
    -
    -
    The wrapped exception.
    - -

    -


    - - - - - - - - - - - - - -
    - -
    - - -
    - - - diff --git a/spss.server/doc/api-doc-internal/stylesheet.css b/spss.server/doc/api-doc-internal/stylesheet.css deleted file mode 100644 index 07dc9eaf3..000000000 --- a/spss.server/doc/api-doc-internal/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: normal; font-family: normal } -.FrameHeadingFont { font-size: normal; font-family: normal } -.FrameItemFont { font-size: normal; font-family: normal } - -/* Example of smaller, sans-serif font in frames */ -/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} - diff --git a/spss.server/doc/history.txt b/spss.server/doc/history.txt deleted file mode 100644 index ea1ba4551..000000000 --- a/spss.server/doc/history.txt +++ /dev/null @@ -1,10 +0,0 @@ -1.0.10 -- Fixed problem with resolving ldap URLs when MOA SPSS is installed as webservice in Tomcat - (see https://labs.cio.gv.at/bugzilla/show_bug.cgi?id=2). -- Fixed problem that Security-Layer conformity check has wrong result if no implicit transform parameters - are specified in the signature (see https://labs.cio.gv.at/bugzilla/show_bug.cgi?id=3). -- Added support for other CRL archive databases than postgreSQL and mySQL - (see https://labs.cio.gv.at/bugzilla/show_bug.cgi?id=7). -- Fixed various documentation problems. -1.0.9 -- First public release \ No newline at end of file diff --git a/spss.server/doc/moa-spss.htm b/spss.server/doc/moa-spss.htm deleted file mode 100644 index 6bde0bf20..000000000 --- a/spss.server/doc/moa-spss.htm +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/spss.server/doc/moa_images/east.gif b/spss.server/doc/moa_images/east.gif deleted file mode 100644 index e76117cb0..000000000 Binary files a/spss.server/doc/moa_images/east.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/idle.gif b/spss.server/doc/moa_images/idle.gif deleted file mode 100644 index 28b8148e5..000000000 Binary files a/spss.server/doc/moa_images/idle.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/moa_diagramm1.jpg b/spss.server/doc/moa_images/moa_diagramm1.jpg deleted file mode 100644 index 776331fb8..000000000 Binary files a/spss.server/doc/moa_images/moa_diagramm1.jpg and /dev/null differ diff --git a/spss.server/doc/moa_images/moa_thema.gif b/spss.server/doc/moa_images/moa_thema.gif deleted file mode 100644 index f59075528..000000000 Binary files a/spss.server/doc/moa_images/moa_thema.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/north.gif b/spss.server/doc/moa_images/north.gif deleted file mode 100644 index b4316b5d7..000000000 Binary files a/spss.server/doc/moa_images/north.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/pfeil.gif b/spss.server/doc/moa_images/pfeil.gif deleted file mode 100644 index e4eeb1740..000000000 Binary files a/spss.server/doc/moa_images/pfeil.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/print.gif b/spss.server/doc/moa_images/print.gif deleted file mode 100644 index b8e59144e..000000000 Binary files a/spss.server/doc/moa_images/print.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/select.gif b/spss.server/doc/moa_images/select.gif deleted file mode 100644 index 59a1694c5..000000000 Binary files a/spss.server/doc/moa_images/select.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/south.gif b/spss.server/doc/moa_images/south.gif deleted file mode 100644 index c70ab3e97..000000000 Binary files a/spss.server/doc/moa_images/south.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/transdot.gif b/spss.server/doc/moa_images/transdot.gif deleted file mode 100644 index e31aba280..000000000 Binary files a/spss.server/doc/moa_images/transdot.gif and /dev/null differ diff --git a/spss.server/doc/moa_images/west.gif b/spss.server/doc/moa_images/west.gif deleted file mode 100644 index 135698ee7..000000000 Binary files a/spss.server/doc/moa_images/west.gif and /dev/null differ diff --git a/spss.server/doc/moa_spss/APIClientExample.txt b/spss.server/doc/moa_spss/APIClientExample.txt deleted file mode 100644 index 10324f221..000000000 --- a/spss.server/doc/moa_spss/APIClientExample.txt +++ /dev/null @@ -1,100 +0,0 @@ -import java.io.ByteArrayInputStream; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.SignatureCreationService; -import at.gv.egovernment.moa.spss.api.xmlsign.*; -import at.gv.egovernment.moa.spss.api.common.*; - -/** - * @author Sven Aigner - * - * Dies ist ein einfaches Beispielprogramm für die Erstellung - * einer digitalen Signatur mittel der API-Funktionen des - * MOA-SPSS Servers - */ -public class APIClientExample { - - /** - * Hauptfunktion des Beispielprogramms - * @param args wird nicht ausgewertet - * @throws Exception sollten Fehler auftreten werden die Fehler an die Java-VM weitergeleitet - */ - public static void main(String[] args) throws Exception{ - - // Serverfunktionshandler instanzieren - SPSSFactory spf = SPSSFactory.getInstance(); - - // Signaturedaten in ein Contentobjekt einbinden - byte []data = "Dies sind Testdaten".getBytes("UTF-8"); - ByteArrayInputStream bis = new ByteArrayInputStream(data); - Content cont = spf.createContent(bis,"http://uri.data.org"); - - // Beschreibungselement zu den Daten erstellen - MetaInfo mi = spf.createMetaInfo("text/plain","Testdaten",null); - - // Transformationen erstellen - CreateTransformsInfo cti = spf.createCreateTransformsInfo(null,mi); - CreateTransformsInfoProfile ct = spf.createCreateTransformsInfoProfile(cti,null); - - // Datenobjekt aufbauen - DataObjectInfo doi = spf.createDataObjectInfo(DataObjectInfo.STRUCTURE_DETACHED,false,cont,ct); - - List dataobjectinfolist = new ArrayList(); - dataobjectinfolist.add(doi); - // alles zusammenpacken zu einer SingleSignature - SingleSignatureInfo ssi = spf.createSingleSignatureInfo(dataobjectinfolist,null,false); - - List singlesignatureinfolist = new ArrayList(); - singlesignatureinfolist.add(ssi); - // die Signatur in einen Request einbetten - CreateXMLSignatureRequest cxsreq = spf.createCreateXMLSignatureRequest("PKCS12RSAKey1",singlesignatureinfolist); - - // Signatureerstellungsservice aufrufen - SignatureCreationService scs = SignatureCreationService.getInstance(); - - // Response auswerten - CreateXMLSignatureResponse cxsres = scs.createXMLSignature(cxsreq); - - List elements = cxsres.getResponseElements(); - - SignatureEnvironmentResponse ser = (SignatureEnvironmentResponse)elements.get(0); - - // Responsetyp lesen - int response_type = ser.getResponseType(); - - if(response_type == SignatureEnvironmentResponse.ERROR_RESPONSE) - { - // Fehlerfall - System.out.println("Bei der Erstellung der Signatur ist ein Fehler aufgetreten"); - } - else - { - // Signaturerstellung erfolgreich - Element se = ser.getSignatureEnvironment(); - System.out.println("Signaturerstellung erfolgreich"); - - displayTree(se); - } - } - - /** - * Einfache Ausgabefunktion für einen DOM-Baum - * @param input auszugebender Knoten - */ - public static void displayTree(Node input) - { - // Ausgabe eines Knotens - System.out.println(input); - // Alle Kindknoten ausgeben - NodeList children = input.getChildNodes(); - for(int counter=0;counter - * Die Datenübertragung erfolgt über eine sichere Verbindung (Clientauthentisierung) - */ -public class HTTPSClientExampleClientAuth { - - // SOAP Konstanten - // CreationServer - private static final QName SERVICE_QNAME = new QName("SignatureCreation"); - private static final String ENDPOINT = "http://localhost:8080/moa-spss/services/SignatureCreation"; - // Secure Endpoint - private static final String SECURE_ENDPOINT = "https://localhost:8443/moa-spss/services/SignatureCreation"; - - /* - VerificationService - wenn Sie diese Werte für ENDPOINT und SERVICE verwenden können Sie eine - Signaturprüfung anstatt einer Signaturerstellung durchführen (entweder mit - ENDPOINT für eine nicht sichere Verbindung bzw. SECURE_ENDPOINT für eine - sichere Verbindung) - - private static final QName SERVICE_QNAME = new QName("SignatureVerification"); - private static final String ENDPOINT = - "http://localhost:8080/moa-spss/services/SignatureVerification"; - private static final String SECURE_ENDPOINT = - "https://localhost:8443/moa-spss/services/SignatureVerification"; - */ - public static final String HANDLER = "java.protocol.handler.pkgs"; - public static final String KEYSTORE = "javax.net.ssl.keyStore"; - public static final String KEYSTOREPASSWORD = "javax.net.ssl.keyStorePassword"; - public static final String TRUSTSTORE = "javax.net.ssl.trustStore"; - public static final String TRUSTSTOREPASSWORD = "javax.net.ssl.trustStorePassword"; - - - /** - * Methode main. - * - * Enthält den Beispielcode der nötig ist um von Java aus auf MOA-SPSS zugreifen zu können. - * Der Zugriff passiert über das AXIS-Framework. Die Verbindung ist eine SSL Verbindung mit Clientauthentisierung. - * - * @param args wird nicht verwendet - */ - - public static void main(String[] args) { - - try { - /* - Einrichten der SSL Verbindungseigenschaften - - Die Verbindung wird über SSL hergestellt, als TrustStore und als Keystore - wird ein JavaKeyStore verwendet der die notwendigen Daten enthält - */ - - Security.addProvider(new Provider()); - System.setProperty(HANDLER,"com.sun.net.ssl.internal.www.protocol"); - System.setProperty(KEYSTORE, "client.keystore"); - System.setProperty(KEYSTOREPASSWORD, "changeit"); - System.setProperty(TRUSTSTORE, "client.keystore"); - System.setProperty(TRUSTSTOREPASSWORD, "changeit"); - - // Datei mit Request einlesen - FileInputStream inputStream = new FileInputStream("example_request.xml"); - - // Parser/DOMBuilder instanzieren - DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - factory.setNamespaceAware(true); - DocumentBuilder builder = factory.newDocumentBuilder(); - - // XML Datei in einen DOM-Baum umwandeln - Document root_request = builder.parse(inputStream); - - // AXIS-Server instanzieren - Service service = ServiceFactory.newInstance().createService(SERVICE_QNAME); - - // Call öffnen - Call call = service.createCall(); - - // Neues BodyElement anlegen und mit dem DOM-Baum füllen - SOAPBodyElement body = new SOAPBodyElement(root_request.getDocumentElement()); - SOAPBodyElement[] params = new SOAPBodyElement[] {body}; - - // Call mit Endpoint verknüpfen - call.setTargetEndpointAddress(SECURE_ENDPOINT); - - // Call auslösen und die Antworten speichern - System.out.println("Calling ..."); - Vector responses = (Vector) call.invoke(params); - - // erstes BodyElement auslesen - SOAPBodyElement response = (SOAPBodyElement) responses.get(0); - - // aus der Response den DOM-Baum lesen - Document root_response = response.getAsDocument(); - System.out.println("Return ..."); - - // Ausgabe auf System.out zum Testen - OutputFormat format = new OutputFormat((Document)root_response); - - format.setLineSeparator("\n"); - format.setIndenting(false); - format.setPreserveSpace(true); - format.setOmitXMLDeclaration(false); - format.setEncoding("UTF-8"); - - XMLSerializer serializer = new XMLSerializer (System.out, format); - serializer.asDOMSerializer(); - serializer.serialize(root_response); - - // Antwort verarbeiten - // ... - // ... - } - catch(Exception e) - { - e.printStackTrace(); - } - - } -} diff --git a/spss.server/doc/moa_spss/HTTPSClientExampleServerAuth.txt b/spss.server/doc/moa_spss/HTTPSClientExampleServerAuth.txt deleted file mode 100644 index cb8db75d5..000000000 --- a/spss.server/doc/moa_spss/HTTPSClientExampleServerAuth.txt +++ /dev/null @@ -1,143 +0,0 @@ -import java.io.FileInputStream; -import java.security.Security; -import java.util.Vector; - -import javax.xml.namespace.QName; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.rpc.Call; -import javax.xml.rpc.Service; -import javax.xml.rpc.ServiceFactory; - -import org.apache.axis.message.SOAPBodyElement; -import org.apache.xml.serialize.LineSeparator; -import org.apache.xml.serialize.OutputFormat; -import org.apache.xml.serialize.XMLSerializer; -import org.w3c.dom.Document; - -import com.sun.net.ssl.internal.ssl.Provider; - -/** - * @author Sven - * - * Dies ist eine Beispielklasse die den Zugriff auf MOA-SPSS mittels AXIS erklärt.
    - * Die Datenübertragung erfolgt über eine sichere Verbindung (Serverauthentisierung) - */ -public class HTTPSClientExampleServerAuth { - - // SOAP Konstanten - // CreationServer - private static final QName SERVICE_QNAME = new QName("SignatureCreation"); - private static final String ENDPOINT = "http://localhost:8080/moa-spss/services/SignatureCreation"; - // Secure Endpoint - private static final String SECURE_ENDPOINT = "https://localhost:8443/moa-spss/services/SignatureCreation"; - - /* - Secure Endpoint - dieser Endpoint kann alternativ zum ersten ENDPOINT verwendet werden - um eine sichere Verbindung zum Server herzustellen - private static final String SECURE_ENDPOINT = - "https://localhost:8443/moa-spss/services/SignatureCreation"; - */ - - /* - VerificationService - wenn Sie diese Werte für ENDPOINT und SERVICE verwenden können Sie eine - Signaturprüfung anstatt einer Signaturerstellung durchführen (entweder mit - ENDPOINT für eine nicht sichere Verbindung bzw. SECURE_ENDPOINT für eine - sichere Verbindung) - - private static final QName SERVICE_QNAME = new QName("SignatureVerification"); - private static final String ENDPOINT = - "http://localhost:8080/moa-spss/services/SignatureVerification"; - private static final String SECURE_ENDPOINT = - "https://localhost:8443/moa-spss/services/SignatureVerification"; - */ - - // SSL Konstanten - public static final String HANDLER = "java.protocol.handler.pkgs"; - public static final String TRUSTSTORE = "javax.net.ssl.trustStore"; - public static final String TRUSTSTOREPASSWORD = "javax.net.ssl.trustStorePassword"; - - /** - * Methode main. - * - * Enthält den Beispielcode der nötig ist um von Java aus auf MOA-SPSS zugreifen zu können. - * Der Zugriff passiert über das AXIS-Framework. Die Verbindung ist eine SSL Verbindung mit Serverauthentisierung. - * - * @param args wird nicht verwendet - */ - public static void main(String[] args) { - - try { - /* - Einrichten der SSL Verbindungseigenschaften - - Die Verbindung wird über SSL hergestellt, als TrustStore wird - ein JavaKeyStore verwendet der die notwendigen Daten enthält - */ - - Security.addProvider(new Provider()); - System.setProperty(HANDLER,"com.sun.net.ssl.internal.www.protocol"); - System.setProperty(TRUSTSTORE, "client.keystore"); - System.setProperty(TRUSTSTOREPASSWORD, "changeit"); - - // Datei mit Request einlesen - FileInputStream inputStream = new FileInputStream("example_request.xml"); - - // Parser/DOMBuilder instanzieren - DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - factory.setNamespaceAware(true); - DocumentBuilder builder = factory.newDocumentBuilder(); - - // XML Datei in einen DOM-Baum umwandeln - Document root_request = builder.parse(inputStream); - - // AXIS-Server instanzieren - Service service = ServiceFactory.newInstance().createService(SERVICE_QNAME); - - // Call öffnen - Call call = service.createCall(); - - // Neues BodyElement anlegen und mit dem DOM-Baum füllen - SOAPBodyElement body = new SOAPBodyElement(root_request.getDocumentElement()); - SOAPBodyElement[] params = new SOAPBodyElement[] {body}; - - // Call mit Endpoint verknüpfen - call.setTargetEndpointAddress(SECURE_ENDPOINT); - - // Call auslösen und die Antworten speichern - System.out.println("Calling ..."); - Vector responses = (Vector) call.invoke(params); - - // erstes BodyElement auslesen - SOAPBodyElement response = (SOAPBodyElement) responses.get(0); - - // aus der Response den DOM-Baum lesen - Document root_response = response.getAsDocument(); - System.out.println("Return ..."); - - // Ausgabe auf System.out zum Testen - OutputFormat format = new OutputFormat((Document)root_response); - - format.setLineSeparator("\n"); - format.setIndenting(false); - format.setPreserveSpace(true); - format.setOmitXMLDeclaration(false); - format.setEncoding("UTF-8"); - - XMLSerializer serializer = new XMLSerializer (System.out, format); - serializer.asDOMSerializer(); - serializer.serialize(root_response); - - // Antwort verarbeiten - // ... - // ... - } - catch(Exception e) - { - e.printStackTrace(); - } - - } -} \ No newline at end of file diff --git a/spss.server/doc/moa_spss/MOA-SPSS-1.1.pdf b/spss.server/doc/moa_spss/MOA-SPSS-1.1.pdf deleted file mode 100644 index dfe9e80a1..000000000 Binary files a/spss.server/doc/moa_spss/MOA-SPSS-1.1.pdf and /dev/null differ diff --git a/spss.server/doc/moa_spss/MOA-SPSS-1.1.xsd b/spss.server/doc/moa_spss/MOA-SPSS-1.1.xsd deleted file mode 100644 index 809842cf9..000000000 --- a/spss.server/doc/moa_spss/MOA-SPSS-1.1.xsd +++ /dev/null @@ -1,430 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - Ermöglichung der Stapelsignatur durch wiederholte Angabe dieses Elements - - - - - - - - - - - - - - - - - - - Auswahl: Entweder explizite Angabe des Signaturorts sowie ggf. sinnvoller Supplements im Zshg. mit der Signaturumgebung, oder Verweis auf ein benanntes Profil - - - - - - - - - - - - - - - - - - Kardinalität 1..oo erlaubt die Antwort auf eine Stapelsignatur-Anfrage - - - - Resultat, falls die Signaturerstellung erfolgreich war - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - mit diesem Profil wird eine Menge von vertrauenswürdigen Wurzelzertifikaten spezifiziert - - - - - - - - - - - only ds:X509Data and RetrievalMethod is supported; QualifiedCertificate is included as X509Data/any;publicAuthority is included as X509Data/any - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pro dsig:Reference-Element in der zu überprüfenden XML-Signatur muss hier ein ReferenceInfo-Element erscheinen. Die Reihenfolge der einzelnen ReferenceInfo Elemente entspricht jener der dsig:Reference Elemente in der XML-Signatur. - - - - - - - - - - mit diesem Profil wird eine Menge von vertrauenswürdigen Wurzelzertifikaten spezifiziert - - - - - - - - - - - only ds:X509Data and ds:RetrievalMethod is supported; QualifiedCertificate is included as X509Data/any; PublicAuthority is included as X509Data/any - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Auswahl: Entweder explizite Angabe EINER Transformationskette inklusive ggf. sinnvoller Supplements oder Verweis auf ein benanntes Profil - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Resultat, falls die Signaturerstellung gescheitert ist - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ein oder mehrere Transformationswege können von der Applikation an MOA mitgeteilt werden. Die zu prüfende Signatur hat zumindest einem dieser Transformationswege zu entsprechen. Die Angabe kann explizit oder als Profilbezeichner erfolgen. - - - - - Profilbezeichner für einen Transformationsweg - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Die Angabe des Transformationsparameters (explizit oder als Hashwert) kann unterlassen werden, wenn die Applikation von der Unveränderlichkeit des Inhalts der in "Transformationsparamter", Attribut "URI" angegebenen URI ausgehen kann. - - - - Der Transformationsparameter explizit angegeben. - - - - - Der Hashwert des Transformationsparameters. - - - - - - - - - - - - - - - - - - - - - - Explizite Angabe des Transformationswegs - - - - - - - Alle impliziten Transformationsparameter, die zum Durchlaufen der oben angeführten Transformationskette bekannt sein müssen, müssen hier angeführt werden. Das Attribut "URI" bezeichnet den Transformationsparameter in exakt jener Weise, wie er in der zu überprüfenden Signatur gebraucht wird. - - - - - - - - - - - - - - - - diff --git a/spss.server/doc/moa_spss/MOA-SPSS-Configuration-1.0.xsd b/spss.server/doc/moa_spss/MOA-SPSS-Configuration-1.0.xsd deleted file mode 100644 index 8eb488f48..000000000 --- a/spss.server/doc/moa_spss/MOA-SPSS-Configuration-1.0.xsd +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - dient zum Konfigurieren von HW Crypto-Module via PKCS#11 (s. iaik.server.modules.crypto.HarwwareCryptoModuleConfiguration) - - - - - - - - - - dient zum Konfigurieren von HW Key-Module via PKCS#11 (s. iaik.server. modules.crypto.HardwareKeyModuleConfiguration - - - - - - - - - - - dient zum Konfigurieren von SW Key-Module via PKCS#12 Dateien (s. iaik. server.modules.crypto.SoftwareKeyModuleConfiguration - - - - - - - - - - definiert eine Gruppe von Keys - - - - - - Ein Schlüssel wird bezeichnet durch ein Tripel bestehend aus der ID des KeyModules (siehe z.B. SoftwareKeyModule/@id), sowie Issuer und Seriennummer des zum Schlüssel gehörigen Zertifikats - - - - - - - - - - - - - - - ordnet oben definierte KeyGroups Online-Applikationen zu, die diese KeyGroups verwenden dürfen - - - - - - wenn das Element nicht auftritt, dann können die zugeordneten KeyGroups von allen Online-Applikationen verwendet werden - - - - - - - - - - - - - spezifiziert den Algorithmus ("pkix" oder "chaining") für die Zertifikatspfadvalidierung - - - - - - ein vom SystemDefaultMode abweichender ChiningMode kann für jeden TrustAnchor gesetzt werden - - - - - - - - - - - - - - - - spezifiziert die Dauer, die Revozierungsinformation archiviert werden muss in Tagen - - - - - - - - spezifiziert CRL Distribution Points - - - - - - spezifiziert die CA, für die der u.a. DP verwendet werden soll - - - - - das Attribut reasonCodes enthält eine Liste von möglichen reasonCodes lt. RFC 3280: unspecified, keyCompromise, cACompromise, affiliationChanged, superseded, cessationOfOperation, certificateHold, removeFromCRL, privilegeWithdrawn, aACompromise - - - - - - - - - - - - - ordnet eine Datei, die ein CreateTransformsInfoProfile-Element enthält, einer id zu - - - - - - - - - ordnet eine Datei, die ein CreateSignatureEnvironmentProfile-Element enthält, einer id zu - - - - - - - - - ordnet eine Datei, die ein VerifyTransformsInfoProfile-Element enthält, einer id zu - - - - - - - - - ordnet eine Datei, die ein SupplementProfile-Element enthält, einer id zu - - - - - - - - - ordnet ein Verzeichnis, das vertrauenswürdige Zertifikate enthält einer id zu - - - - - - - - - - - - - - - - diff --git a/spss.server/doc/moa_spss/examples/conf/MOA-SPSSConfiguration.xml b/spss.server/doc/moa_spss/examples/conf/MOA-SPSSConfiguration.xml deleted file mode 100644 index 61f15c5cc..000000000 --- a/spss.server/doc/moa_spss/examples/conf/MOA-SPSSConfiguration.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - SWKeyModule1 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - - - SWKeyModule2 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 99991044289238331 - - - - - - - - - - CN=patrick peck,OU=MOA,O=BRZ,L=Vienna,S=Vienna,C=AT - 1039104204 - - - - - - CN=A-Trust-nQual-0,OU=A-Trust-nQual-0,O=A-Trust,C=AT - 536 - - - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - - - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - - - - - - - - - diff --git a/spss.server/doc/moa_spss/examples/conf/MinimalSPConfig.xml b/spss.server/doc/moa_spss/examples/conf/MinimalSPConfig.xml deleted file mode 100644 index d52391843..000000000 --- a/spss.server/doc/moa_spss/examples/conf/MinimalSPConfig.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/spss.server/doc/moa_spss/examples/conf/MinimalSSConfig.xml b/spss.server/doc/moa_spss/examples/conf/MinimalSSConfig.xml deleted file mode 100644 index a55f5eabc..000000000 --- a/spss.server/doc/moa_spss/examples/conf/MinimalSSConfig.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - SWKeyModule1 - - CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT - 1044289238331 - - - - - - - diff --git a/spss.server/doc/moa_spss/examples/conf/keys/ecc(ego).p12 b/spss.server/doc/moa_spss/examples/conf/keys/ecc(ego).p12 deleted file mode 100644 index f84e793c5..000000000 Binary files a/spss.server/doc/moa_spss/examples/conf/keys/ecc(ego).p12 and /dev/null differ diff --git a/spss.server/doc/moa_spss/examples/conf/keys/test-ee2003_normal(buergerkarte).p12 b/spss.server/doc/moa_spss/examples/conf/keys/test-ee2003_normal(buergerkarte).p12 deleted file mode 100644 index efaeb9b98..000000000 Binary files a/spss.server/doc/moa_spss/examples/conf/keys/test-ee2003_normal(buergerkarte).p12 and /dev/null differ diff --git a/spss.server/doc/moa_spss/examples/conf/trustProfiles/trustProfile1/IAIKRoot.cer b/spss.server/doc/moa_spss/examples/conf/trustProfiles/trustProfile1/IAIKRoot.cer deleted file mode 100644 index c0c60558a..000000000 Binary files a/spss.server/doc/moa_spss/examples/conf/trustProfiles/trustProfile1/IAIKRoot.cer and /dev/null differ diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureRequest1.xml b/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureRequest1.xml deleted file mode 100644 index f2966d4a9..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureRequest1.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - PKCS12RSAKey1 - - - - Diese Daten werden signiert. - - - - - text/plain - - - - - - diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureRequest2.xml b/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureRequest2.xml deleted file mode 100644 index 0037fa570..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureRequest2.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - PKCS12RSAKey1 - - - - Diese Daten werden signiert. - - - - - text/plain - - - - - - - - - RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM= - - - - - text/plain - - - - - - - - - Gesundheitliche Auswirkungen elektronischer Signaturen - Ellipse - Kurvenreich - 1951-04-16 - Hinterm Berg - 6-930-21512-12 - - - - - - - - - - - - - - text/html - - - - - PHhzbDpzdHlsZXNoZWV0IHhtbG5zOnhzbD0iaHR0cDovL3d3dy53My5vcmcvMTk5OS9YU0wvVHJh -bnNmb3JtIiB2ZXJzaW9uPSIxLjAiPg0KPHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIi8+DQo8eHNs -OnRlbXBsYXRlIG1hdGNoPSJkYXRhOmJvb2siIHhtbG5zOmRhdGE9Imh0dHA6Ly91cmkuZGF0YS5v -cmciPg0KPEhUTUw+DQo8Qk9EWT4NCjxIMT5CdWNoOiA8eHNsOnZhbHVlLW9mIHNlbGVjdD0iZGF0 -YTp0aXRsZSIvPjwvSDE+DQo8L0JPRFk+DQo8L0hUTUw+DQo8L3hzbDp0ZW1wbGF0ZT4NCjwveHNs -OnN0eWxlc2hlZXQ+ - - - - - - - - - nach diesem Text wird die Signatur in das Dokument eingefuegt - - - - //env:Document - - - - diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureResponse1.xml b/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureResponse1.xml deleted file mode 100644 index 5dcbceac5..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureResponse1.xml +++ /dev/null @@ -1,24 +0,0 @@ - -tLODyeiWFbAkQKwhrR23jtcgu4k=IE0l+lYkfHmak11z2VJD7OLLZwsDT3pWaxPalTmiW9iEymd7dTILJ0rC49BgKs7r -BAUktEvhAo+Uy6hiXxdz9r58YfXimCCtIf0IS80GuWJUXMYvgkNMNFWq/qNEkbK+ -3GwNyykETR2VUt51mYVkG0CxfMbgKwh/AkFblmdYo/Y=MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1Diese Daten werden signiert. \ No newline at end of file diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureResponse2.xml b/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureResponse2.xml deleted file mode 100644 index 8139a66ab..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/CreateXMLSignatureResponse2.xml +++ /dev/null @@ -1,2 +0,0 @@ - -N/EFe1Sj5J5+18ChKLUPK586LmQ=dg1cRDpm/S5Uf2kBz6X6vdiD7ECftOMJx7hPQTCunV3/WvHx/IQ66Skj4axKbiOs 0AvLk5JKtw3MtvBWbT8tqfjRZ+3r6xi252B7X4W/+mHHesXX+yUPIW3n1TY/Dy0o fxIUWF3qZZKIO5A94ButZJlecgmFZ8hzi0yiuFM25ao=MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx 26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1Diese Daten werden signiert.tLODyeiWFbAkQKwhrR23jtcgu4k=nach diesem Text wird die Signatur in das Dokument eingefuegtWVob54034HfToUBDAErL5z6GFxo= gJhOZajRF42VUda+ZBhWNdljSLc=PLCDCNiI+09sMH1d0rH2CfwDYkY=7oKv0peUxxN1jIlmd5yVFPRYocM=NyNKwlFZNNIEjYNViERbvDWRqDfh/ZFwUrAFWyDU37kj/xHDLFn+T2X13Sx+8oaz pa5523rqVHlOExeyp5xMCAlYGMm6e04rjGrTidNNmCr2LQEZ7pDBYkAki/afp8Ey QbVQr+WmBNcVRfLH0i6HknorR3iGJHUdx9A/kEGbhBE=MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx 26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1 Gesundheitliche Auswirkungen elektronischer Signaturen Ellipse Kurvenreich 1951-04-16 Hinterm Berg 6-930-21512-12 Ym+XR9T2r7NKwGo3ndiOeenFLFE=2003-06-04T11:49:35dL59VDpBsujcngd207z0ohPl1/U=CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1044289238331text/plaintext/html \ No newline at end of file diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/TestDatenGenerator.zip b/spss.server/doc/moa_spss/examples/requestsResponses/TestDatenGenerator.zip deleted file mode 100644 index 134913cb2..000000000 Binary files a/spss.server/doc/moa_spss/examples/requestsResponses/TestDatenGenerator.zip and /dev/null differ diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyCMSSignatureRequest.xml b/spss.server/doc/moa_spss/examples/requestsResponses/VerifyCMSSignatureRequest.xml deleted file mode 100644 index 1331cd3d0..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyCMSSignatureRequest.xml +++ /dev/null @@ -1,28 +0,0 @@ - 2003-04-04T09:30:47-05:00 MIIGAAYJKoZIhvcNAQcCoIIF8TCCBe0CAQExCzAJBgUrDgMCGgUAMDsGCSqGSIb3DQEHAaAuBCxE -aWVzIHNpbmQgVGVzdGRhdGVuDQoyLiBaZWlsZQ0KMy4gWmVpbGUNCmF1c6CCA9swggPXMIIDRKAD -AgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5J -VkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZv -cm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0 -IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMxMjMwMjI1OTMw -WjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZ -MUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFu -ZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0GCSqGSIb3DQEB -AQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR97jecQUhOhRn -e66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb/WOFDhJdNbff -LdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0TAQH/BAIwADAO -BgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4wXAYMKwYBBAGVEgEC -ewEBMEwwSgYIKwYBBQUHAgIwPho8VGhpcyBjZXJ0aWZpY2F0ZSBvbmx5IG1heSBiZSB1c2VkIGZv -ciBkZW1vbnN0cmF0aW9uIHB1cnBvc2VzMDwGA1UdHwQ1MDMwMaAvoC2GK2h0dHA6Ly93d3cuaWFp -ay5hdC90ZXN0Q0EvaWFpa190ZXN0X3NpZy5jcmwwHQYDVR0OBBYEFCg66gjFLwzWj8NNmQlSzSWc -3kDtMB8GA1UdIwQYMBaAFEwgsFYCDPeICpaIpRS0Ucw6tfK/MAkGBSsOAwIdBQADgYEAJjzWjybN -vxgK5MyB6mXJKbmcCTGOy/VPmf8fPPVwt9IMlnQfI1NXH8YOzNj4PHbwx1b7oMuj2dY9IT/g/6T0 -dcl7/ATIC/jg6uO+nMYYqOqhzdfy/ivMyjowFE2W67SbfLWmS1NX+rhqJYP+dsZd2uf8CgoC85IB -DdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5J -VkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZv -cm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0 -IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0wGAYJKoZIhvcN -AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwNDE3MTQ0ODA4WjAjBgkqhkiG9w0B -CQQxFgQUWVob54034HfToUBDAErL5z6GFxowDQYJKoZIhvcNAQEBBQAEgYA3PgDZt7KWMUscVY6J -0NVA83Al3+3rEFrvtClcfNNeCwptd9zRTv7Xvj7JLoozNoCr4sg2K9cwfjpinUrh9EartS1gqoRR -7Binn38eR1lRSU+Pg3HaXh9EnEDIeCsI8qDGYCJ1TOf/YwJzUR1YYCZMyrJK2mpmDmT9fmvKwdJO -iA== TrustProfile1 \ No newline at end of file diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyCMSSignatureResponse.xml b/spss.server/doc/moa_spss/examples/requestsResponses/VerifyCMSSignatureResponse.xml deleted file mode 100644 index 9fc8f57bd..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyCMSSignatureResponse.xml +++ /dev/null @@ -1,22 +0,0 @@ - -CN=Isolde B\C3\BCrgerin,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=ATCN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1044289238331MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/100 \ No newline at end of file diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureRequest1.xml b/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureRequest1.xml deleted file mode 100644 index f52b288ad..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureRequest1.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - 2003-03-24T12:41:54+01:00 - - tLODyeiWFbAkQKwhrR23jtcgu4k=IE0l+lYkfHmak11z2VJD7OLLZwsDT3pWaxPalTmiW9iEymd7dTILJ0rC49BgKs7rBAUktEvhAo+Uy6hiXxdz9r58YfXimCCtIf0IS80GuWJUXMYvgkNMNFWq/qNEkbK+3GwNyykETR2VUt51mYVkG0CxfMbgKwh/AkFblmdYo/Y=MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFowgZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xkZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zVIAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68tZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBeMFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNhdGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtfdGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNVHSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8mzb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DLo9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktTV/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1Diese Daten werden signiert.//dsig:Signature - - TrustProfile1 - diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureRequest2.xml b/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureRequest2.xml deleted file mode 100644 index 194738900..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureRequest2.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - 2003-03-24T12:41:54+01:00 - - - nach diesem Text wird die Signatur in das Dokument eingefuegtWVob54034HfToUBDAErL5z6GFxo= - - gJhOZajRF42VUda+ZBhWNdljSLc=PLCDCNiI+09sMH1d0rH2CfwDYkY=q0HHxe1K9hoC7OFHxHiIR3Si+lE=hxUgloDXBZvoavTrNQYDoEvtS8WF50iHC41vUFUbphVWkHYZcI2+VLCl+J7GoCu5 -rKiv7Z6QqFxe0GDSAR3d8qjW2gNU6GtX4UJxdVaGlXxTOofUfQSEyoq8Xw0PHhBs -TknuIMtwfxANPSO8CbSPXm5w8DPoMuzskaZyXFZQJbo=MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1 - - Gesundheitliche Auswirkungen elektronischer Signaturen - Ellipse - Kurvenreich - 1951-04-16 - Hinterm Berg - 6-930-21512-12 - - Ym+XR9T2r7NKwGo3ndiOeenFLFE=2003-06-12T13:03:49dL59VDpBsujcngd207z0ohPl1/U=CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1044289238331text/plaintext/html - - //dsig:Signature - - - - - - - - - - - - - - - - - -TrustProfile1 - diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureResponse1.xml b/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureResponse1.xml deleted file mode 100644 index 17bd7684a..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureResponse1.xml +++ /dev/null @@ -1,22 +0,0 @@ - -CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1044289238331CN=Isolde B\C3\BCrgerin,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=ATMIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/100 \ No newline at end of file diff --git a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureResponse2.xml b/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureResponse2.xml deleted file mode 100644 index c367b0b0e..000000000 --- a/spss.server/doc/moa_spss/examples/requestsResponses/VerifyXMLSignatureResponse2.xml +++ /dev/null @@ -1,62 +0,0 @@ -Calling ... -Return ... - -CN=Isolde B\C3\BCrgerin,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=ATCN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT1044289238331MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU -MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE -CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh -bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE -AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow -gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD -SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp -b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk -ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV -IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t -ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx -26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC -MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe -MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh -dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8 -BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf -dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV -HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m -zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL -o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT -V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=PEhUTUwgeG1sbnM6ZGF0YT0iaHR0cDovL3VyaS5kYXRhLm9yZyI+DQo8Qk9EWT4N -CjxIMT5CdWNoOiBHZXN1bmRoZWl0bGljaGUgQXVzd2lya3VuZ2VuIGVsZWt0cm9u -aXNjaGVyIFNpZ25hdHVyZW48L0gxPg0KPC9CT0RZPg0KPC9IVE1MPg0KPGRzaWc6TWFuaWZlc3QgeG1sbnM6ZHNpZz0iaHR0cDovL3d3dy53My5vcmcvMjAw -MC8wOS94bWxkc2lnIyIgeG1sbnM6ZW52PSJodHRwOi8vdXJpLmVudi5vcmciIHht -bG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFu -Y2UiIElkPSJtYW5pZmVzdC0yLTEiPjxkc2lnOlJlZmVyZW5jZSBVUkk9Imh0dHA6 -Ly9sb2NhbGhvc3Q6ODA4MC9UZXN0RGF0ZW5HZW5lcmF0b3IvcmVzb3VyY2VzL0NY -MV9ib29rX25vdF9oZXJlLnhzbCI+PGRzaWc6RGlnZXN0TWV0aG9kIEFsZ29yaXRo -bT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI3NoYTEiPjwvZHNp -ZzpEaWdlc3RNZXRob2Q+PGRzaWc6RGlnZXN0VmFsdWU+WW0rWFI5VDJyN05Ld0dv -M25kaU9lZW5GTEZFPTwvZHNpZzpEaWdlc3RWYWx1ZT48L2RzaWc6UmVmZXJlbmNl -PjwvZHNpZzpNYW5pZmVzdD4=PGV0c2k6U2lnbmVkUHJvcGVydGllcyB4bWxuczpkc2lnPSJodHRwOi8vd3d3Lncz -Lm9yZy8yMDAwLzA5L3htbGRzaWcjIiB4bWxuczplbnY9Imh0dHA6Ly91cmkuZW52 -Lm9yZyIgeG1sbnM6ZXRzaT0iaHR0cDovL3VyaS5ldHNpLm9yZy8wMTkwMy92MS4x -LjEjIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1h -LWluc3RhbmNlIj48ZXRzaTpTaWduZWRTaWduYXR1cmVQcm9wZXJ0aWVzPjxldHNp -OlNpZ25pbmdUaW1lPjIwMDMtMDYtMTJUMTM6MDM6NDk8L2V0c2k6U2lnbmluZ1Rp -bWU+PGV0c2k6U2lnbmluZ0NlcnRpZmljYXRlPjxldHNpOkNlcnQ+PGV0c2k6Q2Vy -dERpZ2VzdD48ZXRzaTpEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3 -LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjc2hhMSI+PC9ldHNpOkRpZ2VzdE1ldGhv -ZD48ZXRzaTpEaWdlc3RWYWx1ZT5kTDU5VkRwQnN1amNuZ2QyMDd6MG9oUGwxL1U9 -PC9ldHNpOkRpZ2VzdFZhbHVlPjwvZXRzaTpDZXJ0RGlnZXN0PjxldHNpOklzc3Vl -clNlcmlhbD48ZHNpZzpYNTA5SXNzdWVyTmFtZT5DTj1JQUlLIFRlc3QgQ0EsT1U9 -SUFJSyBUZXN0IENBLE9VPUluc2l0dXRlIGZvciBBcHBsaWVkIEluZm9ybWF0aW9u -IFByb2Nlc3NpbmcgYW5kIENvbW11bmljYXRpb25zLE89R1JBWiBVTklWRVJTSVRZ -IE9GIFRFQ0hOT0xPR1ksQz1BVDwvZHNpZzpYNTA5SXNzdWVyTmFtZT48ZHNpZzpY -NTA5U2VyaWFsTnVtYmVyPjEwNDQyODkyMzgzMzE8L2RzaWc6WDUwOVNlcmlhbE51 -bWJlcj48L2V0c2k6SXNzdWVyU2VyaWFsPjwvZXRzaTpDZXJ0PjwvZXRzaTpTaWdu -aW5nQ2VydGlmaWNhdGU+PGV0c2k6U2lnbmF0dXJlUG9saWN5SWRlbnRpZmllcj48 -ZXRzaTpTaWduYXR1cmVQb2xpY3lJbXBsaWVkPjwvZXRzaTpTaWduYXR1cmVQb2xp -Y3lJbXBsaWVkPjwvZXRzaTpTaWduYXR1cmVQb2xpY3lJZGVudGlmaWVyPjwvZXRz -aTpTaWduZWRTaWduYXR1cmVQcm9wZXJ0aWVzPjxldHNpOlNpZ25lZERhdGFPYmpl -Y3RQcm9wZXJ0aWVzPjxldHNpOkRhdGFPYmplY3RGb3JtYXQgT2JqZWN0UmVmZXJl -bmNlPSIjcmVmZXJlbmNlLTItMSI+PGV0c2k6TWltZVR5cGU+dGV4dC9wbGFpbjwv -ZXRzaTpNaW1lVHlwZT48L2V0c2k6RGF0YU9iamVjdEZvcm1hdD48ZXRzaTpEYXRh -T2JqZWN0Rm9ybWF0IE9iamVjdFJlZmVyZW5jZT0iI3JlZmVyZW5jZS0yLTIiPjxl -dHNpOk1pbWVUeXBlPnRleHQvaHRtbDwvZXRzaTpNaW1lVHlwZT48L2V0c2k6RGF0 -YU9iamVjdEZvcm1hdD48L2V0c2k6U2lnbmVkRGF0YU9iamVjdFByb3BlcnRpZXM+ -PC9ldHNpOlNpZ25lZFByb3BlcnRpZXM+00 \ No newline at end of file diff --git a/spss.server/doc/moa_spss/examples/testclient/APIClientExample.java b/spss.server/doc/moa_spss/examples/testclient/APIClientExample.java deleted file mode 100644 index 10324f221..000000000 --- a/spss.server/doc/moa_spss/examples/testclient/APIClientExample.java +++ /dev/null @@ -1,100 +0,0 @@ -import java.io.ByteArrayInputStream; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.SignatureCreationService; -import at.gv.egovernment.moa.spss.api.xmlsign.*; -import at.gv.egovernment.moa.spss.api.common.*; - -/** - * @author Sven Aigner - * - * Dies ist ein einfaches Beispielprogramm für die Erstellung - * einer digitalen Signatur mittel der API-Funktionen des - * MOA-SPSS Servers - */ -public class APIClientExample { - - /** - * Hauptfunktion des Beispielprogramms - * @param args wird nicht ausgewertet - * @throws Exception sollten Fehler auftreten werden die Fehler an die Java-VM weitergeleitet - */ - public static void main(String[] args) throws Exception{ - - // Serverfunktionshandler instanzieren - SPSSFactory spf = SPSSFactory.getInstance(); - - // Signaturedaten in ein Contentobjekt einbinden - byte []data = "Dies sind Testdaten".getBytes("UTF-8"); - ByteArrayInputStream bis = new ByteArrayInputStream(data); - Content cont = spf.createContent(bis,"http://uri.data.org"); - - // Beschreibungselement zu den Daten erstellen - MetaInfo mi = spf.createMetaInfo("text/plain","Testdaten",null); - - // Transformationen erstellen - CreateTransformsInfo cti = spf.createCreateTransformsInfo(null,mi); - CreateTransformsInfoProfile ct = spf.createCreateTransformsInfoProfile(cti,null); - - // Datenobjekt aufbauen - DataObjectInfo doi = spf.createDataObjectInfo(DataObjectInfo.STRUCTURE_DETACHED,false,cont,ct); - - List dataobjectinfolist = new ArrayList(); - dataobjectinfolist.add(doi); - // alles zusammenpacken zu einer SingleSignature - SingleSignatureInfo ssi = spf.createSingleSignatureInfo(dataobjectinfolist,null,false); - - List singlesignatureinfolist = new ArrayList(); - singlesignatureinfolist.add(ssi); - // die Signatur in einen Request einbetten - CreateXMLSignatureRequest cxsreq = spf.createCreateXMLSignatureRequest("PKCS12RSAKey1",singlesignatureinfolist); - - // Signatureerstellungsservice aufrufen - SignatureCreationService scs = SignatureCreationService.getInstance(); - - // Response auswerten - CreateXMLSignatureResponse cxsres = scs.createXMLSignature(cxsreq); - - List elements = cxsres.getResponseElements(); - - SignatureEnvironmentResponse ser = (SignatureEnvironmentResponse)elements.get(0); - - // Responsetyp lesen - int response_type = ser.getResponseType(); - - if(response_type == SignatureEnvironmentResponse.ERROR_RESPONSE) - { - // Fehlerfall - System.out.println("Bei der Erstellung der Signatur ist ein Fehler aufgetreten"); - } - else - { - // Signaturerstellung erfolgreich - Element se = ser.getSignatureEnvironment(); - System.out.println("Signaturerstellung erfolgreich"); - - displayTree(se); - } - } - - /** - * Einfache Ausgabefunktion für einen DOM-Baum - * @param input auszugebender Knoten - */ - public static void displayTree(Node input) - { - // Ausgabe eines Knotens - System.out.println(input); - // Alle Kindknoten ausgeben - NodeList children = input.getChildNodes(); - for(int counter=0;counter - * Die Datenübertragung erfolgt über eine sichere Verbindung (Clientauthentisierung) - */ -public class HTTPSClientExampleClientAuth { - - // SOAP Konstanten - // CreationServer - private static final QName SERVICE_QNAME = new QName("SignatureCreation"); - private static final String ENDPOINT = "http://localhost:8080/moa-spss/services/SignatureCreation"; - // Secure Endpoint - private static final String SECURE_ENDPOINT = "https://localhost:8443/moa-spss/services/SignatureCreation"; - - /* - VerificationService - wenn Sie diese Werte für ENDPOINT und SERVICE verwenden können Sie eine - Signaturprüfung anstatt einer Signaturerstellung durchführen (entweder mit - ENDPOINT für eine nicht sichere Verbindung bzw. SECURE_ENDPOINT für eine - sichere Verbindung) - - private static final QName SERVICE_QNAME = new QName("SignatureVerification"); - private static final String ENDPOINT = - "http://localhost:8080/moa-spss/services/SignatureVerification"; - private static final String SECURE_ENDPOINT = - "https://localhost:8443/moa-spss/services/SignatureVerification"; - */ - public static final String HANDLER = "java.protocol.handler.pkgs"; - public static final String KEYSTORE = "javax.net.ssl.keyStore"; - public static final String KEYSTOREPASSWORD = "javax.net.ssl.keyStorePassword"; - public static final String TRUSTSTORE = "javax.net.ssl.trustStore"; - public static final String TRUSTSTOREPASSWORD = "javax.net.ssl.trustStorePassword"; - - - /** - * Methode main. - * - * Enthält den Beispielcode der nötig ist um von Java aus auf MOA-SPSS zugreifen zu können. - * Der Zugriff passiert über das AXIS-Framework. Die Verbindung ist eine SSL Verbindung mit Clientauthentisierung. - * - * @param args wird nicht verwendet - */ - - public static void main(String[] args) { - - try { - /* - Einrichten der SSL Verbindungseigenschaften - - Die Verbindung wird über SSL hergestellt, als TrustStore und als Keystore - wird ein JavaKeyStore verwendet der die notwendigen Daten enthält - */ - - Security.addProvider(new Provider()); - System.setProperty(HANDLER,"com.sun.net.ssl.internal.www.protocol"); - System.setProperty(KEYSTORE, "client.keystore"); - System.setProperty(KEYSTOREPASSWORD, "changeit"); - System.setProperty(TRUSTSTORE, "client.keystore"); - System.setProperty(TRUSTSTOREPASSWORD, "changeit"); - - // Datei mit Request einlesen - FileInputStream inputStream = new FileInputStream("example_request.xml"); - - // Parser/DOMBuilder instanzieren - DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - factory.setNamespaceAware(true); - DocumentBuilder builder = factory.newDocumentBuilder(); - - // XML Datei in einen DOM-Baum umwandeln - Document root_request = builder.parse(inputStream); - - // AXIS-Server instanzieren - Service service = ServiceFactory.newInstance().createService(SERVICE_QNAME); - - // Call öffnen - Call call = service.createCall(); - - // Neues BodyElement anlegen und mit dem DOM-Baum füllen - SOAPBodyElement body = new SOAPBodyElement(root_request.getDocumentElement()); - SOAPBodyElement[] params = new SOAPBodyElement[] {body}; - - // Call mit Endpoint verknüpfen - call.setTargetEndpointAddress(SECURE_ENDPOINT); - - // Call auslösen und die Antworten speichern - System.out.println("Calling ..."); - Vector responses = (Vector) call.invoke(params); - - // erstes BodyElement auslesen - SOAPBodyElement response = (SOAPBodyElement) responses.get(0); - - // aus der Response den DOM-Baum lesen - Document root_response = response.getAsDocument(); - System.out.println("Return ..."); - - // Ausgabe auf System.out zum Testen - OutputFormat format = new OutputFormat((Document)root_response); - - format.setLineSeparator("\n"); - format.setIndenting(false); - format.setPreserveSpace(true); - format.setOmitXMLDeclaration(false); - format.setEncoding("UTF-8"); - - XMLSerializer serializer = new XMLSerializer (System.out, format); - serializer.asDOMSerializer(); - serializer.serialize(root_response); - - // Antwort verarbeiten - // ... - // ... - } - catch(Exception e) - { - e.printStackTrace(); - } - - } -} \ No newline at end of file diff --git a/spss.server/doc/moa_spss/examples/testclient/HTTPSClientExampleServerAuth.java b/spss.server/doc/moa_spss/examples/testclient/HTTPSClientExampleServerAuth.java deleted file mode 100644 index 26e0df9f1..000000000 --- a/spss.server/doc/moa_spss/examples/testclient/HTTPSClientExampleServerAuth.java +++ /dev/null @@ -1,143 +0,0 @@ -import java.io.FileInputStream; -import java.security.Security; -import java.util.Vector; - -import javax.xml.namespace.QName; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.rpc.Call; -import javax.xml.rpc.Service; -import javax.xml.rpc.ServiceFactory; - -import org.apache.axis.message.SOAPBodyElement; -import org.apache.xml.serialize.LineSeparator; -import org.apache.xml.serialize.OutputFormat; -import org.apache.xml.serialize.XMLSerializer; -import org.w3c.dom.Document; - -import com.sun.net.ssl.internal.ssl.Provider; - -/** - * @author Sven - * - * Dies ist eine Beispielklasse die den Zugriff auf MOA-SPSS mittels AXIS erklärt.
    - * Die Datenübertragung erfolgt über eine sichere Verbindung (Serverauthentisierung) - */ -public class HTTPSClientExampleServerAuth { - - // SOAP Konstanten - // CreationServer - private static final QName SERVICE_QNAME = new QName("SignatureCreation"); - private static final String ENDPOINT = "http://localhost:8080/moa-spss/services/SignatureCreation"; - // Secure Endpoint - private static final String SECURE_ENDPOINT = "https://localhost:8443/moa-spss/services/SignatureCreation"; - - /* - Secure Endpoint - dieser Endpoint kann alternativ zum ersten ENDPOINT verwendet werden - um eine sichere Verbindung zum Server herzustellen - private static final String SECURE_ENDPOINT = - "https://localhost:8443/moa-spss/services/SignatureCreation"; - */ - - /* - VerificationService - wenn Sie diese Werte für ENDPOINT und SERVICE verwenden können Sie eine - Signaturprüfung anstatt einer Signaturerstellung durchführen (entweder mit - ENDPOINT für eine nicht sichere Verbindung bzw. SECURE_ENDPOINT für eine - sichere Verbindung) - - private static final QName SERVICE_QNAME = new QName("SignatureVerification"); - private static final String ENDPOINT = - "http://localhost:8080/moa-spss/services/SignatureVerification"; - private static final String SECURE_ENDPOINT = - "https://localhost:8443/moa-spss/services/SignatureVerification"; - */ - - // SSL Konstanten - public static final String HANDLER = "java.protocol.handler.pkgs"; - public static final String TRUSTSTORE = "javax.net.ssl.trustStore"; - public static final String TRUSTSTOREPASSWORD = "javax.net.ssl.trustStorePassword"; - - /** - * Methode main. - * - * Enthält den Beispielcode der nötig ist um von Java aus auf MOA-SPSS zugreifen zu können. - * Der Zugriff passiert über das AXIS-Framework. Die Verbindung ist eine SSL Verbindung mit Serverauthentisierung. - * - * @param args wird nicht verwendet - */ - public static void main(String[] args) { - - try { - /* - Einrichten der SSL Verbindungseigenschaften - - Die Verbindung wird über SSL hergestellt, als TrustStore wird - ein JavaKeyStore verwendet der die notwendigen Daten enthält - */ - - Security.addProvider(new Provider()); - System.setProperty(HANDLER,"com.sun.net.ssl.internal.www.protocol"); - System.setProperty(TRUSTSTORE, "client.keystore"); - System.setProperty(TRUSTSTOREPASSWORD, "changeit"); - - // Datei mit Request einlesen - FileInputStream inputStream = new FileInputStream("example_request.xml"); - - // Parser/DOMBuilder instanzieren - DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - factory.setNamespaceAware(true); - DocumentBuilder builder = factory.newDocumentBuilder(); - - // XML Datei in einen DOM-Baum umwandeln - Document root_request = builder.parse(inputStream); - - // AXIS-Server instanzieren - Service service = ServiceFactory.newInstance().createService(SERVICE_QNAME); - - // Call öffnen - Call call = service.createCall(); - - // Neues BodyElement anlegen und mit dem DOM-Baum füllen - SOAPBodyElement body = new SOAPBodyElement(root_request.getDocumentElement()); - SOAPBodyElement[] params = new SOAPBodyElement[] {body}; - - // Call mit Endpoint verknüpfen - call.setTargetEndpointAddress(SECURE_ENDPOINT); - - // Call auslösen und die Antworten speichern - System.out.println("Calling ..."); - Vector responses = (Vector) call.invoke(params); - - // erstes BodyElement auslesen - SOAPBodyElement response = (SOAPBodyElement) responses.get(0); - - // aus der Response den DOM-Baum lesen - Document root_response = response.getAsDocument(); - System.out.println("Return ..."); - - // Ausgabe auf System.out zum Testen - OutputFormat format = new OutputFormat((Document)root_response); - - format.setLineSeparator("\n"); - format.setIndenting(false); - format.setPreserveSpace(true); - format.setOmitXMLDeclaration(false); - format.setEncoding("UTF-8"); - - XMLSerializer serializer = new XMLSerializer (System.out, format); - serializer.asDOMSerializer(); - serializer.serialize(root_response); - - // Antwort verarbeiten - // ... - // ... - } - catch(Exception e) - { - e.printStackTrace(); - } - - } -} \ No newline at end of file diff --git a/spss.server/doc/moa_spss/examples/testclient/client.keystore b/spss.server/doc/moa_spss/examples/testclient/client.keystore deleted file mode 100644 index bdb6a5d14..000000000 Binary files a/spss.server/doc/moa_spss/examples/testclient/client.keystore and /dev/null differ diff --git a/spss.server/doc/moa_spss/examples/testclient/example_request.xml b/spss.server/doc/moa_spss/examples/testclient/example_request.xml deleted file mode 100644 index 6b8166d06..000000000 --- a/spss.server/doc/moa_spss/examples/testclient/example_request.xml +++ /dev/null @@ -1,19 +0,0 @@ - - PKCS12RSAKey1 - - - - Testdaten - - - - - text/plain - - - - - - \ No newline at end of file diff --git a/spss.server/doc/moa_spss/faqs.htm b/spss.server/doc/moa_spss/faqs.htm deleted file mode 100644 index e899d8060..000000000 --- a/spss.server/doc/moa_spss/faqs.htm +++ /dev/null @@ -1,261 +0,0 @@ - - - FAQs - Häufig gestellte Fragen - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - - -
    -
    FAQs

    - -
    - -
    -
    FAQs - Häufig gestellte Fragen
    -
    -

    Fragen - Übersicht

    -

    Frage 1 - Beim Starten von MOA SPSS tritt folgende Exception auf: java.lang.ClassCastException: - iaik.asn1.structures.Name. Was kann der Fehler sein?

    -

    Frage 2 - Ich möchte gerne die CRL-Archivierung von MOA verwenden, möchte - aber eine andere als die in der Konfiguration erwähnte postgreSQL-Datenbank - verwenden. Geht das?

    -

    Frage 3 - Bei der Prüfung einer Signatur liefert die Prüfung des Zertifikatsstatus - den Code 1. Was kann der Fehler sein?

    -

    Frage 4 Ich möchte - ein Zertifikat (z.B. einer Zwischen-Zertifizierungsstelle) manuell - in den internen Zertifikatsspeicher von MOA SP importieren. Wie funktioniert - das?

    -

    Frage 5 Ich möchte - MOA SS/SP in einer Umgebung betreiben, die einen Internet-Zugang nur - über einen Proxy erlaubt. Funktioniert das?

    -
    -

    Frage 1

    -

    Q: Beim Starten von MOA SPSS tritt folgende Exception - auf: java.lang.ClassCastException: iaik.asn1.structures.Name. - Was kann der Fehler sein?

    -

    A: Auf Grund einer mangelhaften Implementierung - in einigen Versionen des JDK 1.3.1 kann es beim Betrieb von MOA zu - folgendem Problem kommen: Sun macht in der Implementierung von PKCS7.getCertificate() - einen Downcast vom Interface java.security.Principal auf die eigene - Implementierung, was zu einer ClassCastException führt, wenn der JCE-Provider - von Sun nicht an erster Stelle in der List der Security-Provider installiert - ist. MOA geht nun aber so vor, dass der JCE-Provider des IAIK an die - erste Stelle installiert wird, wenn er zum Zeitpunkt der Konfiguration - noch nicht installiert war. Wird dann von irgendeinem ClassLoader - der jar-Verifier benützt, wird PKCS7.getCertificate() verwendet, - und es kommt zu einer ClassCastException.

    -

    Wird MOA über die API-Schnittstelle verwendet, ist ein - Workaround die manuelle Installation des IAIK-JCE-Providers nach dem - Sun JCE-Provider (etwa an die letzte Stelle), bevor die MOA-Konfiguration - aufgerufen wird. Bei Verwendung der Webservices ist die Möglichkeit - der statischen Konfiguration der JCE-Provider mittels Angabe in der - Datei $JAVA_HOME/jre/lib/security/java.security der einzige bekannte - Workaround. Hierzu müssen die Einträge -

    -  security.provider.1=sun.security.provider.Sun
    -  security.provider.2=com.sun.rsajca.Provider  
    -
    - durch folgenden Eintrag ergänzt werden: -
    -  security.provider.3=iaik.security.provider.IAIK
    -
    -

    -
    -

    Frage 2

    -

    Q: Ich möchte gerne die CRL-Archivierung von - MOA verwenden, möchte aber eine andere als die in der Konfiguration - erwähnte postgreSQL-Datenbank verwenden. Geht das?

    -

    A: Ja, das ist möglich. Wenn Sie eine mySQL-Datenbank - verwenden möchten, sind folgende Maßnahmen zu treffen:

    -
    -
      -
      -
    • Laden - Sie den mySQL-JDBC-Connector herunter und fügen Sie das im - Download enthaltene jar-File mysql-connector-java-3.x.x-stable-bin.jar - zum Klassenpfad für MOA SPSS hinzu.
    • -
    • Geben Sie im MOA-Konfigurationsfile mit Hilfe des generischen - Konfigurationsparameters DataBaseArchiveParameter.JDBCUrl - eine gültige JDBC-URL zu Ihrer mySQL-Datenbank angeben. Hinweise - zum Format dieser URL für mySQL finden Sie hier. -
    • -
      -
    -

    Wenn Sie eine andere Datenbank verwenden möchten, beispielsweise - Oracle, - gehen Sie sinngemäß wie oben vor und setzen zusätzlich - noch folgenden Schritt:

    -
      -
    • -
      Geben Sie im MOA-Konfigurationsfile mit Hilfe des - generischen Konfigurationsparameters DataBaseArchiveParameter.JDBCDriverClass - den vollständig qualifizierten Klassennamen des JDBC-Treibers - an, der die Verbindung zu Ihrer Datenbank herstellt.
      -
    • -
    -

    -
    -

    Frage 3

    -

    Q: Bei der Prüfung einer Signatur liefert die - Prüfung des Zertifikatsstatus den Code 1. Was kann der - Fehler sein?

    -

    A: Dieser Fehlercode bedeutet: Es konnte keine formal - korrekte Zertifikatskette vom Signatorzertifikat zu einem vertrauenswürdigen - Wurzelzertifikat konstruiert werden. Das kann grundsätzlich eine - der beiden folgenden Ursachen haben:

    -
      -
      -
    • Keines der Zertifikate in der Kette vom Signatorzertifikat bis - zu einem selbstsignierten Wurzelzertifikat ist im anzuwendenden - TrustProfile enthalten.
    • -
    • Die Zertifikatskette konnte nicht bis zu einem im anzuwendenden - TrustProfile enthaltenen vertrauenswürdigen Zertifikat gebildet - werden.
    • -
      -
    -

    Prüfen Sie also zunächst, ob sie im anzuwendenden - TrustProfile ein passendes vertrauenswürdiges Zertifikat - konfiguriert haben. Das kann beispielsweise das Zertifikat jener CA - sein, die das Signatorzertifikat ausgestellt hat, oder aber auch das - Zertifikat einer CA weiter oben in der Hierarchie des Zertifizierungsdiensteanbieters, - beispielsweise das selbstsignierte Wurzelzertifikat.

    -

    Wenn diese Prüfung das Problem nicht behebt, gelingt - des MOA SP vermutlich nicht, ein für die Bildung der Zertifikatskette - notwendiges Zertifikat zu lokalisieren. Mögliche Gründe sowie - Lösungsmöglichkeiten dafür sind:

    -
      -
      -
    • Das aktuell letzte Zertifikat in der bereits gebildeten Zertifikatskette - besitzt zwar die Zertifikatserweiterung AuthorityInformationAccess - mit einem Hinweis auf das nächste Zertifikat der zu bildenden - Kette, das darin per URL referenzierte Zertifikat kann jedoch nicht - geladen werden. Prüfen Sie daher zunächst, ob MOA SP/SS - per HTTP oder LDAP Zugriffe nach außen tätigen darf.
    • -
    • Das aktuell letzte Zertifikat in der bereits gebildeten Zertifikatskette - besitzt keine Zertifikatserweiterung AuthorityInformationAccess - mit einem Hinweis auf das nächste Zertifikat der zu bildenden - Kette, und auch im internen Zertifikatsspeicher von MOA SP ist das - nächste Zertifikat nicht enthalten. Ist Ihnen das nächste - Zertifikat bekannt (z.B. durch manuellen Download von der Webseite - des Zertifizierungsdiensteanbieters), können Sie es manuell - in den internen Zertifikatsspeicher importieren. Eine Anleitung - dazu finden Sie hier.
    • -
      -
    -

    -
    -

    Frage 4

    -

    Q: Ich möchte ein Zertifikat (z.B. einer Zwischenzertifizierungsstelle) - manuell in den internen Zertifikatsspeicher von MOA SP importieren. - Wie funktioniert das?

    -

    A: Sie können für diesen Zweck ein mit - MOA SP/SS mitgeliefertes Kommandozeilen-Tool verwenden, das Sie im Verzeichnis - $MOA_SPSS_INST/tools finden. Wechseln Sie zu diesem Verzeichnis - und rufen Sie die Script-Datei certtools.bat bzw. certtools.sh - (je nach Betriebssystem) auf. Achten Sie darauf, dass die Umgebungsvariable - $JAVA_HOME korrekt gesetzt ist. Die Syntax für dieses - Tool lautet:

    -
    -

    certtool -add <cert> <store>

    -
    -

    <cert> bezeichnet dabei Pfad und Dateiname - des zu importierenden X509-Zertifikats. Das Zertifikat muss DER-kodiert - vorliegen.

    -

    <store> bezeichnet den Pfad des internen - Zertifikatsspeichers von MOA SP. Wenn Sie nach der Installationsanleitung - vorgegangen sind, lautet dieser Pfad $CATALINA_HOME/conf/moa-spss/certstore.

    -
    -

    Frage 5

    -
    -

    Q: Ich möchte MOA SS/SP in einer Umgebung betreiben, - die einen Internet-Zugang nur über einen Proxy erlaubt. Funktioniert - das?

    -

    A: Ja, zumindest für Zugriffe über HTTP. - Sie müssen dazu die nachfolgenden JAVA System-Properties setzen:

    -
    -

    http.proxyHost=<proxyhost>
    - http.proxyPort=<proxyport>
    - http.nonProxyHosts="<exceptionhosts>"

    -
    -

    <proxyhost> gibt den Namen oder die IP-Adresse des Proxies - an.

    -

    <proxyport> gibt den Port des Proxies an.

    -

    <exceptionhosts> enthält eine Liste von Rechnernamen, - die nicht über den Proxy laufen sollen. Jedenfalls müssen - sie hier localhost angeben. Einzelne Namen sind durch eine - Pipe (|) zu trennen. Bitte beachten Sie, dass IP-Addressen - nicht angegeben werden dürfen, sowie die verpflichtend zu verwendenen - Anführungszeichen.

    -
    -
    - - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/spss.server/doc/moa_spss/links.htm b/spss.server/doc/moa_spss/links.htm deleted file mode 100644 index cd9888c30..000000000 --- a/spss.server/doc/moa_spss/links.htm +++ /dev/null @@ -1,122 +0,0 @@ - - - MOA Links - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA Links

    - - - - -
    - -
    - -
    -
    MOA Links
    - -
    - - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/spss.server/doc/moa_spss/moa.htm b/spss.server/doc/moa_spss/moa.htm deleted file mode 100644 index cd66138d1..000000000 --- a/spss.server/doc/moa_spss/moa.htm +++ /dev/null @@ -1,177 +0,0 @@ - - - MOA Module fuer Online Applikationen - - - - - - - - - -
    - - - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - - - -
    -
    MOA-SP/SS

    -
    - Allgemein
    - - - - - -
    - -
    -
    -
    -
    - -
    Allgemein
    -

    -Dieses Dokument enthält die Dokumentation für die Module

    -
      -
    • MOA-SP (Signaturprüfung)
    • -
    • MOA-SS (Serversignatur).
    • -
    -

    -Diese Module können von An-wendungen verwendet werden um Signaturen zu erstellen -bzw. diese zu überprüfen. -

    -Die Funktionalität und der Aufbau der Schnittstelle zu den Modulen ist in der -Spezifikation Version 1.1 detailliert beschrieben. Da -diese beiden Module auf der - -Spezifikation des Security-Layer (Version 1.1) aufbauen ist ein Verständnis dieser Spezifikation -ebenfalls erforderlich. -

    -

    -
    - -
    - - - -
    -

     

    -
    -
    -
    -

    Modul Signaturprüfung (MOA-SP)

    -
    -Das Modul Signaturprüfung dient zum Überprüfen von einfachen bzw. sicheren - -XML-Signaturen und -CMS-Signaturen. -Bei XML-Signaturen kann zusätzlich überprüft werden ob sie der -Security-Layer Spezifikation entsprechen. -

    -Im Zuge der Prüfung werden sowohl die Signatur, optionale XMLDSig-Manifeste, -das optionale Signaturmanifest (siehe Security-Layer), als auch die Gültigkeit -und Anwendbarkeit des Zertifikats überprüft. -

    -Anwendungen können das Modul entweder als Web-Service oder über -ein Java-API ansprechen. -
    -
    -

    - -
    - - - -
    -

     

    -
    - -
    -
    -

    Modul Serversignatur (MOA-SS)

    -
    -Das Modul Serversignatur dient zum Erstellen von XML-Signaturen in Anlehnung an die - -Security-Layer Spezifikation. Die Signatur kann sowohl in Software -erstellt werden als auch mittels eines Hardware Security Moduls (HSM), das -den privaten Schlüssel enthält und die Signatur berechnet. -

    -Der Zugriff auf einzelne Signaturschlüssel in MOA-SP kann basierend -auf dem für TLS-Client-Authentisierung verwendeten Zertifikat -eingeschränkt werden. -

    -Anwendungen können das Modul entweder als Web-Service oder über -ein Java-API ansprechen. - -
    - -
    -

    - - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - diff --git a/spss.server/doc/moa_spss/sp-admin.htm b/spss.server/doc/moa_spss/sp-admin.htm deleted file mode 100644 index 16990cee9..000000000 --- a/spss.server/doc/moa_spss/sp-admin.htm +++ /dev/null @@ -1,300 +0,0 @@ - - - MOA SP/SS-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-SP/SS

    -
    - Übersicht
    - - - - -
    - -
    -
    -
    MOA SP/SS-Administration
    -

    -Die Module Signaturprüfung (SP) und Serversignatur (SS) sind als plattformunabhängige Module ausgelegt, die entweder als Webservice über HTTP(S) oder als Klassenbibliothek über ein API angesprochen werden können. Für den Einsatz der Module als Klassenbibliothek wird eine Java Virtual Machine vorausgesetzt, für den Betrieb als Webservice wird zusätzlich ein Java Servlet Container benötigt. -

    -Dieses Handbuch beschreibt die Installation und Konfiguration der MOA SP/SS-Module, sowohl als Webservice als auch als Klassenbibliothek, sowie die Einrichtung der Systemumgebung. Ein Großteil der Beschreibung bezieht sich auf beide Einsatzmöglichkeiten (als Webservice und als Klassenbibliothek); wo dies nicht der Fall ist, wird explizit zwischen MOA SP/SS Webservice und MOA SP/SS Klassenbibliothek unterschieden. -

    -
    -
    - - -
    - - - -
    -

     

    -
    -

    Übersicht

    -
    -Für den Einsatz der MOA SP/SS Module sind unterschiedliche Szenarien möglich, die unterschiedliche Möglichkeiten bieten und die Installation unterschiedlicher Software- und Hardware-Komponenten erfordern. Dieser Abschnitt gibt einen kurzen Überblick über die notwendige Basis-Installation und optionale weitere Konfigurationsmöglichkeiten. -
    -
    -
    - -
    - - - -
    -

     

    -
    -
    Basis-Installation (Webservice)
    -

    -Die Basis-Installation des Webservices stellt einerseits die minimalen Anforderungen für den Betrieb des MOA SP/SS Webservices dar, andererseits dient sie als Ausgangspunkt für weitere (optionale) Konfigurations-Möglichkeiten. Sie erlaubt bereits den uneingeschränkten Betrieb des MOA SP/SS Webservices. -

    -Folgende Software ist Voraussetzung für die Basis-Installation des Webservices: -

    -
      -
    • JDK 1.3.1 oder JDK 1.4.1
    • -
    • Tomcat 4.1.18
    • -
    • MOA SP/SS Webservice 1.0
    • -
    -
    -In diesem Betriebs-Szenario wird das MOA SP/SS Webservice in Tomcat zum Einsatz gebracht. Tomcat fungiert gleichzeitig als HTTP- und HTTPS-Endpunkt für das MOA SP/SS Webservice. Beide Protokolle werden direkt in Tomcat konfiguriert. -

    -Das MOA SP/SS Webservice verwendet Log4j als Logging Toolkit. -

    -Ausgehend von der Basis-Installation können die optionalen Konfigurationen, die in den nachfolgenden Abschnitten beschrieben werden, unabhängig und in beliebiger Kombination aufgesetzt werden. -
    -
    -
    - -
    - - - -
    -

     

    -
    -
    Basis-Installation (Klassenbibliothek)
    -

    -Die Basis-Installation der Klassenbibliothek stellt einerseits die minimalen Anforderungen für den Einsatz der MOA SP/SS Klassenbibliothek dar, andererseits dient sie als Ausgangspunkt für weitere (optionale) Konfigurations-Möglichkeiten. Sie erlaubt bereits den uneingeschränkten Einsatz der MOA SP/SS Klassenbibliothek. -

    -Folgende Software ist Voraussetzung für die Basis-Installation der Klassenbibliothek: -

    -
      -
    • JDK 1.3.1 oder JDK 1.4.1
    • -
    • MOA SP/SS Klassenbibliothek 1.0
    • -
    -
    -Die MOA SP/SS Klassenbibliothek verwendet Log4j als Logging Toolkit. -

    -Ausgehend von der Basis-Installation können die optionalen Konfigurationen, die in den nachfolgenden Abschnitten beschrieben werden, unabhängig und in beliebiger Kombination aufgesetzt werden. -
    -
    -
    - -
    - - - -
    -

     

    -
    -

    Konfiguration mit vorgeschaltetem Webserver (optional)

    -
    -Dem MOA SP/SS Webservice kann optional ein Webserver vorgeschaltet sein. Unter Microsoft Windows ist das im Regelfall der Microsoft Internet Information Server (MS IIS), auf Unix-Systemen kommt üblicherweise der Apache Webserver zum Einsatz. -

    - Folgende Software ist unter Windows Voraussetzung: -
    -
      -
    • MS IIS 5.0
    • -
    • Jakarta mod_jk 1.2.2
    • -
    -
    Folgende Software ist unter Unix/Linux Voraussetzung:
    -
      -
    • Apache Webserver 2.0.x mit mod_SSL
    • -
    • Jakarta mod_jk 1.2.2
    • -
    -
    In diesem Fall übernimmt der vorgeschaltete Webserver die Funktion des HTTP- und HTTPS-Endpunktes. Beide Protokolle werden im Webserver konfiguriert. -

    -Mittels mod_jk werden die Webservice-Aufrufe, die im vorgeschalteten Webserver eintreffen, an Tomcat weitergeleitet, bzw. die Antwort von Tomcat wieder an den Webserver zurückübermittelt. -
    -
    -
    - -
    - - - -
    -

     

    -
    -

    Konfiguration mit PostgreSQL (optional)

    -
    -Die MOA SP/SS Module können eine PostgreSQL Datenbank nutzen, um: -
    -
      -
    • Certificate Revocation Lists (CRLs) zu cachen, und
    • -
    • Log-Meldungen zu speichern
    • -
    -
    Für den Zugriff auf PostgreSQL ist die Installation folgender Software Voraussetzung:
    -
      -
    • PostgreSQL 7.3
    • -
    -
    -
    - -
    - - - -
    -

     

    -
    -

    Konfiguration mit HSM (optional)

    -
    -Die MOA SP/SS Module können mittels PKCS#11 auf Hardware Security Modules (HSMs) zugreifen. Sie wurden mit folgendem HSM getestet: -
    -
      -
    • Eracom protectserver orange external
    • -
    -
    -

    - -
    - - - -
    -

     

    -
    -

    Zusammenfassung

    -
    -Notwendig für den Einsatz der MOA SP/SS Module ist eine Basis-installation des Webservices oder der Klassenbibliothek. Weitere optionale Konfigurationen können unabhängig und in beliebiger Kombination miteinander durchgeführt werden, um eine bessere Integration der Module in die vorhandene Betriebs- bzw. Applikations-Infrastruktur zu erreichen. -
    -
    -

    - - - -
    - - - -
    -

     

    -
    -

    Referenzierte Software

    -
    -Die Versionsangaben beziehen sich auf die Versionen, mit denen die MOA SP/SS Module entwickelt und getestet wurde. Geringfügig andere Software-Versionen stellen üblicherweise kein Problem dar. -
    -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    KomponenteVersion
    JDK 1.3.1 
    JDK 1.4.1 
    Tomcat 4.1.18 
    MOA SP/SS Webservices 1.0.6 
    Apache Webserver 1.3.x  
    Apache Webserver 2.0.x  
    Microsoft Internet Information Server 5.0  
    mod_SSL (*) 
    Jakarta mod_jk 1.2.2 
    Jakarta Log4j 1.2.7 
    PostgreSQL 7.3 
    HSM (Eracom protectserver orange external) n/a 
    -
    -

    - -
    -(*) passend zur Version des Apache Webservers -
    -
    -

    - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/spss.server/doc/moa_spss/sp-admin_1.htm b/spss.server/doc/moa_spss/sp-admin_1.htm deleted file mode 100644 index 16401ab7d..000000000 --- a/spss.server/doc/moa_spss/sp-admin_1.htm +++ /dev/null @@ -1,417 +0,0 @@ - - - MOA SP/SS-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-SP/SS

    - -
    - Basis-Installation
        (Webservice)
    - - - -
    - -
    - -
    -

    Basis-Installation (Webservice)

    -
    -

    Vorbereitung

    -
    -Installation des JDK
    -Installieren Sie das JDK 1.3.1 oder JDK 1.4.1 in ein beliebiges Verzeichnis. Das Wurzelverzeichnis der JDK-Installation wird im weiteren Verlauf als $JAVA_HOME bezeichnet. -

    -Installation von Tomcat
    -Installieren Sie Tomcat in ein Verzeichnis, das keine Leerzeichen im Pfadnamen enthält. Das Wurzelverzeichnis der Tomcat-Installation wird im weiteren Verlauf als $CATALINA_HOME bezeichnet. Hinweis: Tomcat wird in einer Distribution für JDKs ab Version 1.2 und in einer Distribution speziell für JDK 1.4 ausgeliefert. Installieren Sie die zur Version Ihres JDK passende Tomcat-Version. -

    -Entpacken des MOA SP/SS Webservices
    -Entpacken Sie die Datei moa-spss-1.0.x.zip in ein beliebiges Verzeichnis. Dieses Verzeichnis wird im weiteren Verlauf als $MOA_SPSS_INST bezeichnet. -

    -Installation der IAIK JCE und JSSE im JDK 1.3.1
    -Da Java in der Version 1.3.1 ohne Unterstützung für Kryptographie und SSL ausgeliefert wird, muss dies manuell nachträglich installiert werden. Für den Betrieb des MOA SP/SS Webservices ist es deshalb notwendig, die Dateien aus dem Verzeichnis $MOA_SPSS_INST/ext13 in das Verzeichnis $JAVA_HOME/jre/lib/ext zu kopieren. -

    -Installation der IAIK JCE im JDK 1.4.1
    - Um die mit MOA SP/SS ausgelieferte IAIK JCE im JDK 1.4.1 zu installieren, - müssen die Dateien aus dem Verzeichnis $MOA_SPSS_INST/ext14 in das - Verzeichnis $JAVA_HOME/jre/lib/ext kopiert werden. Zusätzlich müssen - die sogenannten "Unlimited Strength Jurisdiction Policy Files 1.4.1" - heruntergeladen, entpackt und ins Verzeichnis $JAVA_HOME/jre/lib/security - kopiert werden. Der Download für diese Dateien findet sich am unteren - Ende der Download-Seite - für das JDK 1.4.1 in der Sektion "Other Downloads".
    -
    -
    -
    - - -
    - - -
    -

     

    -
    -

    -
    -
    -

    Konfiguration von Tomcat

    -
    -Minimale Konfiguration
    -Die zentrale Konfigurations-Datei von Tomcat ist $CATALINA_HOME/conf/server.xml. Tomcat wird grundsätzlich mit einer funktionierenden Default-Konfiguration ausgeliefert, die jedoch einiges an Ballast enthält und viele Ports offen lässt. Die Datei $MOA_SPSS_INST/tomcat/server.xml enthält eine minimale Tomcat-Konfiguration, die ausschließlich den Connector für HTTP freischaltet. Durch kopieren dieser Datei nach $CATALINA_HOME/conf/server.xml kann Tomcat mit dieser Konfiguration gestartet werden.

    -SSL
    -Ein sicherer Betrieb des MOA SP/SS Webservices setzt voraus, dass für die Übertragung der Daten SSL verwendet wird. Das Dokument Tomcat SSL Configuration HOW-TO gibt einen guten Überblick über die Konfiguration von SSL in Tomcat. Da das JDK bereits im Abschnitt "Vorbereitung" auf SSL vorbereitet wurde, sind an dieser Stelle nur noch folgende Schritte notwendig: -
    -
      -
    • Erstellung eines Server-Keystores, welches den privaten Schlüssel des Servers sowie das Server-Zertifikat enthält, z.B. mit dem Java Keytool.
    • -
    • Erstellung eines Keystores mit vertrauenswürdigen Client-Zertifikaten, z.B. mit dem Java Keytool (nur, wenn SSL Client-Authentisierung verwendet werden soll)
    • -
    • Konfiguration des SSL-Connectors in $CATALINA_HOME/conf/server.xml (optional mit Client-Authentisierung)
    • -
    -
    -Die Konfiguration von SSL im Tomcat kann entfallen, wenn Tomcat ein Webserver vorgeschaltet ist, der die SSL-Kommunikation mit dem Aufrufer des Webservices übernimmt. -
    -

    -
    -MOA Administrator
    -Der Aufruf der URL für die dynamische Konfiguration des MOA SP/SS Webservices ist durch eine Passwort-Abfrage geschützt, und kann nur von Benutzern aufgerufen werden, die der Benutzer-Rolle moa-admin zugeordnet werden können.
    -Um diese Benutzer-Rolle und einen oder mehrere Benutzer einzurichten, müssen in der Datei $CATALINA_HOME/conf/tomcat-users.xml unter dem Element <tomcat-users> sinngemäß folgende Einträge hinzugefügt werden: -
    -<role rolename="moa-admin"/>
    -<user username="moa" password="moa" roles="moa-admin"/>
    -
    -
    -
    - -
    - - -
    -

     

    -
    -

    -
    -
    -

    Deployment des MOA SP/SS Webservices in Tomcat

    -
    -Um das MOA SP/SS Webservice in Tomcat für den Ablauf vorzubereiten, sind folgende Schritte notwendig:
    -
      -
    • Die Datei $MOA_SPSS_INST/moa-spss.war enthält das einsatzfertige - MOA SP/SS Webarchiv und muss ins Verzeichnis Verzeichnis $CATALINA_HOME/webapps - kopiert werden. Dort wird sie beim ersten Start von Tomcat automatisch - ins Verzeichnis $CATALINA_HOME/webapps/ moa-spss entpackt.
    • -
    • Die MOA SP/SS Konfigurationsdatei und zugehörige Profil-Verzeichnisse - müssen in ein beliebiges Verzeichnis im Filesystem kopiert werden - (z.B. $CATALINA_HOME/ conf/moa).
      - In $MOA_SPSS_INST/conf befindet sich eine funktionsfähige Konfiguration, - die als Ausgangspunkt für die Konfiguration des MOA SP/SS Webservices - dienen kann.
    • -
    • Wird Tomcat unter JDK 1.3.1 betrieben, müssen die Dateien - aus dem Verzeichnis $MOA_SPSS_INST/endorsed13 in das Tomcat-Verzeichnis - $CATALINA_HOME/common/endorsed kopiert werden. Folgende Libraries - sind für das Deployment im endorsed Verzeichnis vorgesehen: -
        -
      • Xerces-J-2.0.2 (bestehend aus xercesImpl.jar - und xmlParserAPIs.jar).
      • -
      - Eventuell vorhandene Dateien mit dem gleichen Namen müssen ersetzt - werden.
    • -
    • Wird Tomcat unter JDK 1.4.1 betrieben, müssen die Dateien - aus dem Verzeichnis $MOA_SPSS_INST/endorsed14 in das Tomcat-Verzeichnis - $CATALINA_HOME/common/endorsed kopiert werden. Folgende Libraries - sind für das Deployment im endorsed Verzeichnis vorgesehen: -
        -
      • Xerces-J-2.0.2 (bestehend aus xercesImpl.jar - und xmlParserAPIs.jar).
      • -
      • Xalan-J-2.2.0 (bestehend aus xalan.jar.jar - und bsf.jar).
      • -
      - Eventuell vorhandene Dateien mit dem gleichen Namen müssen ersetzt - werden.
    • -
    • Folgende Java System-Properties können optional gesetzt sein:
      -
        -
      • moa.spss.server.configuration=Name der MOA - SP/SS Konfigurationsdatei. Eine beispielhafte MOA SP/SS - Konfiguration ist in $MOA_SPSS_INST/conf/moa-spss/ MOA-SPSSConfiguration.xml - enthalten. Ist diese System-Property nicht gesetzt, wird - automatisch eine im Web-Archive unter WEB-INF/conf - enthaltene Default-Konfiguration herangezogen.
      • -
      • log4j.configuration=URL der Log4j Konfigurationsdatei. - Eine beispielhafte Log4j-Konfiguration ist in $MOA_SPSS_INST/conf/moa-spss/log4j.properties - enthalten. Ist diese System-Property nicht gesetzt, wird - automatisch eine im Web-Archive unter WEB-INF/classes - enthaltene Default-Konfiguration herangezogen.
      • -
      • moa.node.id=Name des Rechner-Knotens, auf dem - MOA SP/SS läuft. Der Name des Knotens wird bei Log-Ausgaben - von MOA SP/SS angeführt und dient zur Unterscheidung mehrerer - gleichzeitig betriebener MOA SP/SS Webservice-Instanzen. - Der Name des Knotens ist frei wählbar.
      • -
      • javax.net.ssl.trustStore=Dateiname des Truststores - für vertrauenswürdige SSL Client-Zertifikate (optional; - nur, wenn SSL Client-Authentisierung durchgeführt werden - soll). Relative Dateinamen werden zum Verzeichnis, von dem - Tomcat gestartet wird, aufgelöst.
      • -
      • javax.net.ssl.trustStorePassword=Passwort für - den Truststore (optional; nur, wenn SSL Client-Authentisierung - durchgeführt werden soll).
      • -
      • javax.net.ssl.trustStoreType=Truststore-Typ - (optional; nur, wenn SSL Client-Authentisierung durchgeführt - werden soll). Je nach verwendetem Keystore-Typ ist "jks" - oder "pkcs12" üblich.
      • -
      - Diese Java System-Properties werden Tomcat über die Umgebungsvariable - CATALINA_OPTS mitgeteilt. - -
    -
    -
    - - - -
    - - -
    -

     

    -
    -

    -
    -
    -

    Starten und Stoppen von Tomcat

    -

    Windows

    -
    -

    Das Verzeichnis $MOA_SPSS_INST/tomcat/win32 enthält Script-Dateien - zum Starten und Stoppen sowie für das Installieren und - Deinstallieren von Tomcat als Service.

    -

    Vor der erstmaligen Verwendung der Scripts müssen in den - ersten Zeilen die Umgebungsvariablen JAVA_HOME und CATALINA_HOME - angepasst werden.

    -
    -
    -

    Unix

    -
    -

    Zunächst müssen die im vorigen Abschnitt besprochenen - Umgebungsvariablen gesetzt sein. Die Datei $MOA_SPSS_INST/tomcat/unix/moa-env.sh - enthält ein Beispiel dafür.

    -

    Nach dem Deployment und der Konfiguration kann Tomcat aus - seinem Wurzelverzeichnis mit

    -
        bin/catalina.sh start
    - gestartet werden. Das Stoppen von - Tomcat erfolgt analog mit
        bin/catalina.sh stop
    -

    Prüfen des erfolgreichen Starts

    -

    Ein erfolgreicher Startvorgang ist an folgender Log-Meldung - ersichtlich:
    -

    -
    -
    -    INFO | 18 10:09:45,155 | main | TID=startup NID=<null> 
    -      MSG=MOA Konfiguration erfolgreich geladen
    -
    -Bei leichten Fehlern in der Konfiguration geben WARN Log-Meldungen unmittelbar davor Aufschluss über fehlerhafte Konfigurations-Einträge. -

    -Nach dem Starten von Tomcat steht das MOA SP/SS Webservice für die Server-Signatur und Signatur-Prüfung unter den Endpunkten -
    -    http://host:port/moa-spss/services/SignatureCreation
    -
    -bzw. -
    -    http://host:port/moa-spss/services/SignatureVerification
    -
    -zur Verfügung. Die Verfügbarkeit des Services kann einfach überprüft werden, indem der Endpunkt mit einem Web-Browser aufgerufen wird und zu einer Anzeige einer Informationsseite führt. -

    -
    -Dynamische Konfigurations-Updates können durch den Aufruf der URL http://host:port/moa-spss/ConfigurationUpdate (z.B. durch Eingabe in einem Browser) durchgeführt werden.
    -Konnte das MOA-SPSS Webservice nicht ordnungsgemäß konfiguriert und gestartet werden, geht das aus der Log-Meldung hervor:
    -
    -    FATAL | 18 10:17:03,475 | main | TID=startup NID=<null> 
    -      MSG=Fehler beim Lesen der MOA Konfiguration: 
    -      das Service steht nicht zur Verfügung
    -
    -In diesem Fall geben die WARN bzw. ERROR Log-Meldungen unmittelbar davor Aufschluss über den genaueren Grund. -
    -
    - - -
    - - -
    -

     

    -
    -

    -
    -
    -
    -

    Logging

    -
    -Das MOA SP/SS Webservice verwendet Jakarta Log4j für die Ausgabe von Log-Meldungen am Bildschirm bzw. in Log-Dateien. Log4j bietet zahlreiche Konfigurationsmöglichkeiten, die ausführlich im Log4j Handbuch beschrieben sind. Unter anderem gibt es die Möglichkeit, folgende Einstellungen vorzunehmen:
    -
      -
    • Das verwendete Log-Level (DEBUG, INFO, WARN, ERROR, FATAL).
    • -
    • Name und maximale Größe der Log-Datei(en).
    • -
    • Das Aussehen der Log-Einträge.
    • -
    -Das MOA-SPSS Webservice verwendet folgende Log-Hierarchien: -
    -
      -
    • moa.spss.server für alle Log-Meldungen aus dem MOA-SPSS Webservice
    • -
    • iaik.server für alle Log-Meldungen aus den IAIK Kryptographie-Modulen
    • -
    -
    -Als Ausgangspunkt für die Logging-Konfiguration liegt die Datei $MOA_SPSS_INST/conf/moa-spss/log4j.properties bei. Wird diese Datei als Logging-Konfiguration verwendet, so werden alle Log-Meldungen sowohl in die Konsole, als auch in die Datei moa-spss.log geschrieben. -

    -Format der Log-Meldungen
    -Anhand einer konkreten Log-Meldung wird das Format der MOA SP/SS Log-Meldungen erläutert: -
    -    INFO | 01 21:25:26,540 | Thread-3 | 
    -      TID=1049225059594-100 NID=node1 
    -      MSG=Starte neue Transaktion: TID=1049225059594-100, 
    -      Service=SignatureVerification
    -
    - -Der Wert INFO besagt, dass die Log-Meldung im Log-Level INFO entstanden ist. Folgende Log-Levels existieren:
    -
      -
    • DEBUG: Log-Meldungen im Log-Level DEBUG geben Auskunft über die innere Arbeitsweise des Systems. Sie sind hauptsächlich für Entwickler interessant.
    • -
    • INFO: Diese Log-Meldungen geben Status-Informationen über den Ablauf des Webservices, wie z.B., dass eine neue Anfrage eingelangt ist.
    • -
    • WARN: Bei der Ausführung einer Operation sind leichte Fehler aufgetreten. Der Ablauf des Webservices ist nicht weiter beeinträchtigt.
    • -
    • ERROR: Die Ausführung einer Operation musste abgebrochen werden. Das Webservice ist davon nicht beeinträchtigt.
    • -
    • FATAL: Es ist ein Fehler aufgetreten, der den weiteren Betrieb des Webservices nicht mehr erlaubt.
    • -
    -Der nächste Wert "01 21:25:26,540", gibt den Zeitpunkt an, an dem die Log-Meldung generiert wurde (in diesem Fall den 1. Tag im aktuellen Monat, sowie die genaue Uhrzeit).
    -Der Wert Thread-3 bezeichnet den Tomcat Worker-Thread, von dem die Anfrage bearbeitet wird.
    -Der Wert von TID gibt die für jede Anfrage eindeutige Transaktions-ID an. Log-Meldungen, die bei der Abarbeitung dieser Anfrage geschrieben werden, enthalten alle einen Hinweis auf die entsprechende Transaktions-ID.
    -Der Wert von NID gibt den Rechner-Knoten an, auf dem das MOA SP/SS Webservice läuft (bei NID=<null> ist dieser Wert nicht konfiguriert).
    -Der Rest der Zeile einer Log-Meldung ist der eigentliche Text, mit dem das System bestimmte Informationen anzeigt. Im Fehlerfall ist häufig ein Java Stack-Trace angefügt, der eine genauere Ursachen-Forschung ermöglicht. -

    - - -Wichtige Log-Meldungen
    -Neben den im Abschnitt "Starten und Stoppen von Tomcat" beschriebenen Log-Meldungen, die anzeigen, ob das Service ordnungsgemäß gestartet wurde, geben nachfolgenden Log-Meldungen Aufschluss über die Abarbeitung von Anfragen. Die Entgegennahme einer Anfrage wird angezeigt durch: -
    -
    -    INFO | 01 21:25:26,540 | Thread-3 | 
    -      TID=1049225059594-100 NID=<null> 
    -      MSG=Starte neue Transaktion: TID=1049225059594-100, 
    -      Service=SignatureVerification
    -    INFO | 01 21:25:26,540 | Thread-3 | 
    -      TID=1049225059594-100 NID=<null> 
    -      MSG=Aufruf von Adresse=127.0.0.1
    -    INFO | 01 21:25:26,540 | Thread-3 | 
    -      TID=1049225059594-100 NID=<null> 
    -      MSG=Client-Zertifikat nicht verfügbar
    -
    - -
    -Die 3. Log-Meldung besagt, dass für die Abarbeitung dieser Anfrage kein Client-Zertifikat verfügbar ist (entweder, weil die Anfrage über HTTP eingelangt ist, oder weil die SSL Client-Authentisierung nicht eingeschaltet ist). Bei erfolgreicher SSL Client-Authentisierung, gibt beispielsweise folgende Log-Meldung Informationen über das Client-Zertifikat aus: -
    -
    -    INFO | 12 13:58:08,772 | Thread-10 | 
    -      TID=1045054687159-2 NID=<null> 
    -      MSG=Client-Zertifikat: Subject=CN=Testuser, 
    -      OU=MOA, O=BRZ, L=Vienna, ST=Vienna, C=AT, 
    -      Serial=1.039.104.204, 
    -      Issuer=CN=TestCA, OU=MOA, O=BRZ, L=Vienna, 
    -      ST=Vienna, C=AT
    -
    - -Eine erfolgreich abgearbeitete Anfrage wird angezeigt durch: - -
    -    INFO | 01 21:25:53,168 | Thread-3 | 
    -      TID=1049225059594-106 NID=<null> 
    -      MSG=Anfrage erfolgreich abgearbeitet
    -
    - -Ein Fehler beim Abarbeiten der Anfrage wird angezeigt durch:
    -
    -    INFO | 01 21:25:27,642 | Thread-3 | 
    -      TID=1049225059594-100 NID=<null> 
    -      MSG=Fehler beim Abarbeiten der Anfrage
    -
    -
    -In diesem Fall gibt der mitgeloggte Stacktrace Auskunft über die Art des Fehlers. Der Aufrufer des MOA SP/SS Webservices bekommt einen Fehlercode sowie eine kurze Beschreibung des Fehlers als Antwort zurück. -

    -Die Tatsächlich übertragenen Anfragen bzw. Antworten werden aus Effizienzgründen nur im Log-Level DEBUG angezeigt. -
    -
    -

    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    -
    - \ No newline at end of file diff --git a/spss.server/doc/moa_spss/sp-admin_2.htm b/spss.server/doc/moa_spss/sp-admin_2.htm deleted file mode 100644 index fd6974c8e..000000000 --- a/spss.server/doc/moa_spss/sp-admin_2.htm +++ /dev/null @@ -1,569 +0,0 @@ - - - MOA SP/SS-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-SP/SS

    - - - -
    - Konfiguration
    - -
    - -

    - - -
    -
    Konfiguration der SP/SS-Module
    - -
    -

    SP/SS-Konfigurationsdatei

    -

    -Die Konfiguration von MOA SP/SS wird mittels einer XML-basierten Konfigurationsdatei, die dem Schema MOA-SPSS-Configuration-1.0.xsd entspricht, durchgeführt. -

    -Der Ort der Konfigurationsdatei wird im Abschnitt Deployment der Web-Applikation in Tomcat beschrieben. -

    -Die folgenden Abschnitte erläutern das Format der Konfigurationsdatei. -MOA-SPSSConfiguration.xml zeigt ein Beispiel -für eine umfassende Konfigurationsdatei. -

    -Enthält die Konfigurationsdatei relative Pfadangaben, werden diese relativ zum Verzeichnis, in dem die Konfigurationsdatei -gespeichert ist, interpretiert. - -
    -

    -CanonicalizationAlgorithm
    -Als Inhalt des Elements CanonicalizationAlgorithm kann der Kanonisierungs-Algorithmus, der für das Erstellen von XML Signaturen verwendet werden soll und in der Signatur als Inhalt von /dsig:Signature/dsig:SignedInfo/dsig:CanonicalizationMethod aufscheint, spezifiziert werden. -

    -Gültige Werte:
    -http://www.w3.org/TR/2001/REC-xml-c14n-20010315
    -http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments
    -http://www.w3.org/2001/10/xml-exc-c14n#
    -http://www.w3.org/2001/10/xml-exc-c14n#WithComments
    -
    -
    -Default-Wert:
    http://www.w3.org/TR/2001/REC-xml-c14n-20010315 -

    -

    - -
    -

    -DigestMethodAlgorithm
    -Als Inhalt des Elements DigestMethodAlgorithm kann der Digest-Algorithmus spe­zi­fi­ziert werden, der in der Signatur als Inhalt von dsig:Reference/dsig:DigestMethod aufscheint. -

    -Gültige Werte:
    http://www.w3.org/2000/09/xmldsig#sha1 -

    -Default-Wert:
    http://www.w3.org/2000/09/xmldsig#sha1 -

    -

    - -
    -

    -GenericConfiguration
    -Das Element GenericConfiguration ermöglicht das Setzen von Namen-Werte Paaren mittels der Attribute name und value. Die folgende Liste spezifiziert -

      -
    • gültige Werte für das name-Attribut,
    • -
    • eine Beschreibung
    • -
    • gültige Werte für das value-Attribut und
    • -
    • den Default-Wert für das value-Attribut.
    • -
    - - - - -
    name: autoAddCertificate
    -Gibt an, ob Zertifikate, die in der Signtur enthalten sind bzw. bei der Zertifikatspfaderstellung verwendet werden, -automatisch im Zertifikatsspeicher -(siehe Parameter DirectoryCertStoreParameters.RootDir) -gespeichert werden sollen (siehe auch Parameter -useAuthorityInfoAccess).
    -
    -value:
    -Gültige Werte: true/false
    -Default-Wert: true -
    - - - -
    name: DirectoryCertStoreParameters.RootDir
    -Gibt den Pfadnamen zum Verzeichnis an, das als Zertifikatsspeicher verwendet wird.
    -
    -value:
    -Gültige Werte: Name eines Verzeichnisses, das Verzeichnis muss noch nicht existieren
    -Default-Wert: certstore -
    - - - - -
    name: useAuthorityInfoAccess
    -Gibt an, ob die Zertifikatserweiterung AuthorityInformationAccess für die Zertifikatspfaderstellung verwendet -werden soll. Wird der Wert auf true gesetzt, dann setzt MOA auch autoAddCertificate automatisch -auf true und ignoriert den Wert aus der Konfigurationsdatei.
    -
    -value:
    -Gültige Werte: true/false
    -Default-Wert: true -
    - - - - -
    name: checkRevocation
    -Gibt ab, ob bei der Zertifikatsüberprüfung auch der Zertifikatsstatus überprüft werden soll. Der Zertifikatsstatus -wird mittels Certificate Revocation Lists (CRL) überprüft.
    -
    -value:
    -Gültige Werte: true/false
    -Default-Wert: true -
    - - - - -
    name: maxRevocationAge
    -Wenn der Zertifikatsstatus überprüft werden soll (siehe Parameter checkRevocation), -gibt dieser Parameter an, wann eine aktuelle Revozierungsinformation (CRL) geladen werden soll.
    -
    -value:
    -Gültige Werte: -
      -
    • negativer Wert: bei jedem Zugriff auf Revozierungsinformation wird eine aktuelle Revozierungsinformation geladen
    • -
    • 0: eine neue Revozierungsinformation wird zu dem Zeitpunkt geladen, der im nextUpdate-Feld der CRL spezifiziert ist
    • -
    • positiver Wert: Zeitspanne in Millisekunden, die eine Revozierungsinformation ohne neuerliche Abfrage verwendet werden darf
    • -
    -Default-Wert: 0 -
    - - - -
    name: archiveRevocationInfo
    -Gibt an, ob Revozierungsinformation archiviert werden soll -(siehe auch Parameter DataBaseArchiveParameter.JDBCUrl). -
    -
    -value:
    -Gültige Werte: true/false
    -Default-Wert: false -
    - - - - - - - - -
    name: DataBaseArchiveParameter.JDBCUrl
    Gibt eine JDBC-URL zur Datenbank an, in der - Revozierungsinformation archiviert werden soll. Wird dieser - Parameter nicht gesetzt, dann wertet MOA den Parameter archiveRevocationInfo - nicht aus der Konfigurationsdatei aus sondern setzt den - Wert automatisch auf false.
    - Der genaue Aufbau der JDBC-URL ist abhängig von der verwendeten - Datenbank. Im Fall von PostgreSQL kann folgende URL verwendet - werden: jdbc:postgresql://host/moadb?user=moauser&amp;password=moapassword - wobei host, moadb, moauser und moapassword - an die tatsächlich verwendete Datenbank angepasst werden - muss.
    - Die Verwendung von "&amp" ist erforderlich, - da "&" einen Fehler bei der Validierung der - Konfigurationsdatei verursacht.
    - Die Archivdaten werden nur MOA-SPSS-intern benötigt und - das Format ist daher für den Betrieb des Servers nicht relevant. -
    - value:
    - Gültige Werte: String
    - - - - - - - -
    name: DataBaseArchiveParameter.JDBCDriverClass
    -

    Dieser Parameter kann verwendet werden, um MOA SPSS den - Klassennamen des JDBC-Datenbanktreibers bekannt zu geben, - der zur Ansprache der für die CRL-Archivierung zu - verwendenden Datenbank benützt werden soll. Er muss - den vollständig qualifizierten Klassennamen der JDBC-Treiberklasse - enthalten. -

    -

    Der Parameter wird nur dann ausgewertet, wenn der generische - Konfigurationsparameter archiveRevocationInfo - auf den Wert true gesetzt ist. -

    Hinweis: Wird im generischen Konfigurationsparameter - DataBaseArchiveParameter.JDBCUrl entweder eine - postgreSQL- oder eine mySQL-Datenbank referenziert, braucht - dieser Paramter nicht angegeben zu werden; in diesen Standardfällen - erfolgt eine automatische Zuordnung zur passenden JDBC-Treiberklasse. -


    - value:
    - Gültige Werte: vollständig qualifizierter Java-Klassenname
    -

    - -
    -

    -HardwareKeyModule
    -Mittels dieses Elements werden Hardware-Key-Module konfiguriert. HardwareKeyModule hat vier Attribute: -

    - - - - - - - - - - - - - - - - - - -
    Attribut-NameAttribut-TypBeschreibung
    idtokeneine vom Administrator gewählte Bezeichnung für das Key-Modul; diese id wird von KeyGroup/Key/KeyModuleID referenziert.
    namestringder Name des PKCS#11-Moduls; der Name enthält den Dateinamen der DLL (Windows) oder der Shared-Library -(Unix), die das PKCS#11-Modul implementiert; der Wert enthält entweder einen Dateinamen mit absoluter Pfadangabe bzw. -einen Dateinamen ohne Pfadangabe. Im letzteren Fall wird der Dateiname relativ zum Suchpfad des Betriebssystems -interpretiert.
    slotIDstringein spezifischer Slot des PKCS#11 HW Moduls; das Attribut ist optional, wird keine slotID spezifiziert, dann selektiert MOA SP/SS einen Slot für die Signaturerstellung.
    userPINstringder PIN für die Aktivierung des privaten Schlüssels
    -

    - -
    -

    -SoftwareKeyModule
    -Mittels dieses Elements werden Software-Key-Module in Form von PKCS#12-Dateien konfiguriert. SoftwareKeyModule hat drei Attribute: -

    - - - - - - - - - - - - - - -
    Attribut-NameAttribut-TypBeschreibung
    idtokeneine vom Administrator gewählte Bezeichnung für das Key-Modul; diese id wird von KeyGroup/Key/KeyModuleID referenziert.
    filenamestringder Dateiname der PKCS#12-Datei; das Attribut enthält entweder einen absoluten Pfadnamen oder einen -Pfadnamen relativ zur MOA SP/SS Konfigurationsdatei.
    passwordstringdas Passwort zur Aktivierung des privaten Schlüssels in der PKCS#12-Datei
    -

    - -
    -

    -KeyGroup
    -Eine KeyGroup ist eine Zusammenfassung mehreren Keys in eine Gruppe. Der durch das Attribut id definierte Bezeichner -dieser KeyGroup wird im CreateXMLSignatureRequest im Element KeyIdentifier verwendet. MOA-SS wählt einen Schlüssel -aus der KeyGroup für die Signaturerstellung aus. Durch die Zusammenfassung mehrere Schlüssel in eine Gruppe -kann die Verfügbarkeit und der Durchsatz der Signaturerstellung erhöht werden.
    -Das Kind-Element Key identifiziert einen privaten Schlüssel. -Ein Schlüssel wird durch das Element KeyModuleID (siehe z.B. SoftwareKeyModule/@id), Issuer -und Seriennummer des zum Schlüssel gehörigen Zertifikats im Element KeyCertIssuerSerial bezeichnet. -

    -Die Konfiguration des Elements Key erfolgt in einem 2-stufigen Prozess:
    -

      -
    1. Zuerst werden die verwendeten PKCS#12-Dateien und PKCS#11-Module als Elemente HardwareKeyModule und SoftwareKeyModule in der Konfigurationsdatei erfasst
    2. -
    3. Beim Starten des MOA SP/SS-Servers werden die verfügbaren Schlüssel im Log-File aufgelistet: -

      -
      INFO | 10 12:56:43,023 | main |
      -       Key ID=SWKeyModule1;
      -       CN=IAIK Test CA,OU=IAIK Test CA,
      -       OU=Insitute for Applied Information
      -       Processing and Communications,
      -       O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT;
      -       1044289238331
      -INFO | 10 12:56:43,023 | main |
      -       Key ID=SWKeyModule2;
      -       CN=IAIK Test CA,OU=IAIK Test CA,
      -       OU=Insitute for Applied Information
      -       Processing and Communications,
      -       O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT;
      -       1044289238331
      -INFO | 10 12:56:43,023 | main |
      -       Key ID=SWKeyModule3;
      -       CN=IAIK ECDSA Test,OU=JavaSecurity,O=IAIK,C=AT;
      -       68172
      -INFO | 10 12:56:43,023 | main |
      -       Key ID=SWKeyModule4;
      -       CN=IAIK DSA Test CA,OU=JavaSecurity,O=IAIK,C=AT;
      -       761791
      -
    4. -
    5. Für jeden verfügbaren Schlüssel werden die Inhalte der Elemente Key/KeyModuleID, Key/KeyCertIssuerSerial/X509IssuerName und Key/KeyCertIssuerSerial/X509SerialNumber dem Log-File entnommen und in die Konfigurationsdatei eingetragen
    6. -
    7. Nach einem neuerlichen Start von MOA SP/SS stehen die Key-Definitionen zur Verfügung
    8. -
    -

    -

    Sind die zu den zu konfigurierenden Schlüsseln zugehörigen Zertifikate bekannt, -kann alternativ die Konfiguration in einem Schritt erfolgen, indem -die benötigten Informationen mit dem Skript certtool -info <certfilename> aus dem Zertifikat gelesen werden. -<certfilename> bezeichnet den Dateinamen eines X.509 Zertifikates in DER-Kodierung. -

    -certtool ist im Verzeichnis $MOA_SPSS_INST/tools abgelegt.

    - -
    -

    -KeyGroupMapping
    -Das Element KeyGroupMapping ordnet einem Client von MOA SS die ihm zur Verfügung stehenden KeyGroups zu, indem das -den Client repräsentierende TLS Client-Zertifikat (Element X509IssuerSerial) mit einer oder mehreren KeyGroups -assoziiert wird.

    -Enthält das Element KeyGroupMapping kein Element X509IssuerSerial, dann können die in diesem Element definierten -KeyGroups von jedem Client (auch ohne TLS Client Authentisierung) verwendet werden. -

    - -
    -

    -ChainingModes
    -Das Element ChainingModes definiert, ob bei der Zertifikatspfadüberprüfung das Kettenmodell ("chaining") oder das Modell nach PKIX RFC 3280 ("pkix") verwendet werden soll. -

    -Das Attribut systemDefaultMode spezifiziert das Modell, das im Standardfall verwendet werden soll. -Mit dem Kind-Element TrustAnchor kann für jeden Trust Anchor ein abweichendes Modell spezifiziert werden. -Ein Trust Anchor ist ein Zertifikat, das im TrustProfile spezifiziert ist (Erklärung siehe -TrustProfile). -Ein Trust Anchor wird durch den Typ dsig:X509IssuerSerialType spezifiziert. -Das für diesen Trust Anchor gültige Modell wird durch das Attribut mode spezifiziert. -

    -Gültige Werte für die Attribute systemDefaultMode und mode sind "chaining" und "pkix". -

    - -
    -

    -CRLArchive
    -Im Attribut duration wird spezifiziert, wie lange (in Tagen) gecachte CRLs archiviert werden müssen. -

    - -
    -

    -CRLDistributionPoint
    -Das Element CRLDistributionPoint dient zum Spezifizieren von URLs, die auf CRLs von CAs (Zertifikatsaussteller) verweisen.

    -Eine CA wird über das Element CAIssuerDN identifiziert, das den Issuer-DN der CA als String enthält. CRLDistributionPoint kann -das Element DistributionPoint einmal oder mehrmals enthalten. Das Element DistributionPoint hat zwei Attribute:
    -

      -
    • der Wert des Attributs uri enthält den CRL Distribution Point; es werden die Protokolle HTTP, HTTPS und LDAP -unterstützt.
    • -
    • der Wert des optionalen Attributs reasonCodes (vom Typ NMTOKENS) enthält eine Liste von Reason Codes -(nach RFC 3280). Die über uri referenzierte CRL enthält nur CRL Einträge mit den spezifizierten Reason Codes. -Wird der Wert dieses Attributs nicht gesetzt dann kann die CRL Einträge mit allen reason codes enthalten.
      -Gültige Werte:
      -unspecified, keyCompromise, cACompromise, affiliationChanged, superseded, -cessationOfOperation, certificateHold, removeFromCRL, privilegeWithdrawn, aACompromise
    • -
    -

    - -
    -

    -CreateSignatureEnvironmentProfile
    -CreateTransformsInfoProfile
    -VerifyTransformsInfoProfile
    -SupplementProfile

    -Jedes dieser Elemente enthält das Attribut id und das Attribut filename. Das Attribut id bezeichnet das Profil -wie es im CreateXMLSignatureRequest bzw. VerifyXMLSignatureRequest tatsächlich referenziert wird. - Das Attribut filename bezeichnet die Datei, die die -entsprechenden Elemente gemäß MOA SP/SS Schemas [MOA SP/SS Schema] beinhaltet. Die Datei beinhaltet wohlgeformtes -XML mit genau einem Element als Dokumentelement. -

    -Die folgende Tabelle bezeichnet jene Elemente, die in den Dateien als Dokumentelement verwendet werden müssen: -

    - - - - - - - - - - - - - - -
    ProfilnameWurzelelement
    CreateSignatureEnvironmentProfileCreateSignatureEnvironmentProfile
    CreateTransformsInfoProfileCreateTransformsInfoProfile
    VerifyTransformsInfoProfileVerifyTransformsInfoProfile
    SupplementProfileSupplementProfile
    - -

    -

    - -
    -

    -TrustProfile
    -Ein TrustProfile enthält Zertifikate, die als vertrauenswürdig betrachtet werden. Vertrauenswürdige Zertifikate können -selbst-signierte Wurzel-Zertifikate, Zertifikate von Zwischen CAs oder End-Entity Zertifikate sein. Für die -erfolgreiche Überprüfung eines Zertifikats muss (unter anderem) ein Zertifikatspfad zu einem Zertifikat aufgebaut -werden können, das in jenem Trustprofile enthalten ist, welches im Verify-Request bezeichnet ist.
    -
    -TrustProfile enthält zwei Attribute: -

      -
    • Das Attribut id spezifiziert die TrustProfileID wie sie im Message-Format von MOA-SP referenziert wird
    • -
    • Das Attribut uri spezifiziert eine URL, die ein Verzeichnis im lokalen Dateisystem referenziert -(nur das Schema file wird unterstützt). Alle für diese TrustProfileID vertrauenswürdigen -Zertifikate werden in diesem Verzeichnis gespeichert.
    • -
    -

    - -
    -

    - - -
    - - - -
    -

     

    -
    -
    -Beispiele -MinimalSPConfig.xml -



    -


    -Beispiele -MinimalSSConfig.xml -
    -
    -

    Minimale Konfigurations-Dateien

    - -
    -MOA-SP
    -Wird nur die Signaturprüfungs-Funktion von MOA-SP/SS verwendet, dann muss die Konfigurationsdatei zumindest folgende Elemente enthalten:
    -
      -
    • ein Element TrustProfile
    • -
    -
    - -
    -MOA-SS
    -Wird nur die Server-Signatur-Funktion von MOA-SP/SS verwendet, dann muss die Konfigurationsdatei zumindest folgende Elemente enthalten:
    -
      -
    • ein Element HardwareKeyModule oder SoftwareKeyModule
    • -
    • ein Element KeyGroup mit einem Kind-Element Key
    • -
    • ein Element KeyGroupMapping mit einem Kind-Element
      KeyGroup
    • -
    -
    - -
    -

    - - -
    - - - -
    -

     

    -
    -

    -
    -
    -

    Änderung der Konfiguration während des Betriebs

    -
    -Der Inhalt dieser Konfiguration, bzw. jene Teile, auf die indirekt verwiesen wird (z.B. die Dateien, die die -Transformations-Profile enthalten), können während des laufenden Betriebes des MOA-Servers geändert werden. Der -Server selbst wird durch den Aufruf einer URL im Applikationskontext von MOA SP/SS -(siehe ConfigurationUpdate) -dazu veranlasst, die geänderte Konfigurati-on neu einzulesen. Im Falle einer fehlerhaften neuen Konfiguration -wird die ursprüngliche Konfiguration beibehalten. -

    -
    -
    -

    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    -
    - \ No newline at end of file diff --git a/spss.server/doc/moa_spss/sp-admin_3.htm b/spss.server/doc/moa_spss/sp-admin_3.htm deleted file mode 100644 index 2e8152abf..000000000 --- a/spss.server/doc/moa_spss/sp-admin_3.htm +++ /dev/null @@ -1,237 +0,0 @@ - - - MOA SP/SS-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    -
    MOA-SP/SS

    - - - - -
    - Optionale
        Komponenten
    -
    - -
    -
    -Optionale
    Komponenten

    -IIS
    -Apache
    -HSM
    -PostgreSQL
    -
    -
    -

    Konfiguration der optionalen Komponenten

    -

    Konfiguration des Microsoft Internet Information Server (optional)

    -
    -Den MOA SP/SS Webservices kann optional ein MS IIS vorgeschaltet sein. In diesem Fall übernimmt der MS IIS die HTTP- bzw. HTTPS-Kommunikation mit dem Aufrufer des Webservices. Die Kommunikation zwischen MS IIS und dem in Tomcat deployten Webservice wird durch Jakarta mod_jk durchgeführt. Die angeführten Konfigurationsschritte gehen von einer MS IIS Standard-Installation aus.

    -Konfiguration von Jakarta mod_jk im MS IIS
    -Für die Kommunikation des MS IIS mit dem im Tomcat deployten Webservice wird das ISAPI-Modul von Jakarta mod_jk im MS IIS installiert und konfiguriert. Eine detaillierte Installations- und Konfigurationsanleitung gibt das mod_jk IIS HowTo. Beispiele für workers.properties und uriworkermap.properties Dateien liegen im Verzeichnis $MOA_SPSS_INST/tomcat bei. -

    -Konfiguration von Tomcat
    -Damit Tomcat die Aufrufe, die von MS IIS mittels Jakarta mod_jk weiterleitet, entgegennehmen kann, muss in $CATALINA_HOME/conf/server.xml der AJP 1.3 Connector aktiviert werden. Im Gegenzug können die Connectoren für HTTP und HTTPS deaktiviert werden. Das geschieht am einfachsten durch Ein- bzw. Auskommentieren der entsprechenden Connector Konfigurations-Elemente in dieser Datei. Die Datei $MOA_SPSS_INST/tomcat/server.mod_jk.xml enthält eine Konfiguration, die ausschließlich den Port für den mod_jk Connector offen lässt. -

    -
    -
    -Konfiguration von SSL
    -Die Dokumentation zum Einrichten von SSL auf dem MS IIS steht nach Installation des IIS unter http://localhost/iisHelp/ bzw. online zur Verfügung. -
    -
    -

    - - -
    - - - -
    -

     

    -
    -

    -
    -
    -

    Konfiguration des Apache Webservers (optional)

    -
    -Den MOA SP/SS Webservices kann ein Apache Webserver vorgeschaltet sein. Das Prinzip funktioniert wie bei MS IIS, auch hier wird Jakarta mod_jk für die Kommunikation zwischen Webserver und Tomcat eingesetzt. Die angeführten Konfigurationsschritte gehen von einer Standard-Installation des Apache Webservers aus und sind ident für die Versionen 1.3.x und 2.0.x. -

    -Konfiguration von Jakarta mod_jk im Apache Webserver
    - Um das MOA-SPSS Webservice hinter einem Apache Webserver zu betreiben, ist die Konfiguration des Apache-Moduls mod_jk erforderlich. Eine detaillierte Installations- und Konfigurationsanleitung gibt das mod_jk Apache HowTo. Ein Beispiel für eine workers.properties Datei liegt im Verzeichnis $MOA_SPSS_INST/tomcat bei.
    -Um das MOA SP/SS Webservice dem Apache Webserver bekannt zu machen, sind zumindest folgende Einträge im globalen Kontext der Apache-Konfigurationsdatei notwendig: -
    -    LoadModule jk_module /usr/lib/apache/mod_jk.so
    -    AddModule jk_module
    -    JkOptions +ForwardKeySize +ForwardURICompat
    -              -ForwardDirectories
    -    JkWorkersFile conf/workers.properties    
    -    JkMount /moa-spss/* moaworker    
    -
    - -Die Pfad- und Dateinamen können je nach existierender Apache Installation geringfügig variieren. - -

    -Konfiguration von Tomcat
    -Die Konfiguration von Tomcat ist analog wie im Abschnitt über den MS IIS durchzuführen. -

    - -Konfiguration von SSL mit mod_SSL
    -Apache kann in Verbindung mit mod_SSL als SSL-Endpunkt für das MOA SP/SS Webservice fungieren. In diesem Fall entfällt die SSL-Konfiguration in Tomcat, da Apache und Tomcat auch im Fall von SSL Daten via mod_jk austauschen. Eine detaillierte Installations- und Konfigurationsanleitung von mod_SSL gibt die Online-Dokumentation. -

    -Bei der Verwendung von Client-Authentisierung muss darauf geachtet werden, dass mod_ssl die HTTP-Header mit den Informationen über das Client-Zertifikat exportiert. Dies wird durch Angabe der Option
    -
    -    SSLOptions +ExportCertData +StdEnvVars
    -
    -in der Apache-Konfiguration erreicht. Je nach vorhandener SSL-Konfiguration des Apache Webservers kann diese Option im globalen Kontext, im Kontext des Virtual Hosts oder im Kontexts eines Verzeichnisses spezifiziert werden.
    - -
    -
    -

    - - -
    - - - -
    -

     

    -
    -

    -
    -
    -

    HSM, am Beispiel Eracom protectserver orange external (optional)

    -
    -Eracom protectserver orange external wird gemäß der Installationsanleitung installiert. -

    -Die Bibliotheken in $MOA_SPSS_INST/pkcs11 müssen anschließend in den Library-Pfad -des jeweiligen Betriebssystems kopiert werden (Windows 2000: ein Verzeichnis, das -in der Umgebungsvariablen PATH vorhanden ist; Linux: ein Verzeichnis, das in der -Umgebungsvariablen LD_LIBRARY_PATH vorhanden ist). Der Name der PKCS#11-Bibliothek -wird als Wert des Attributs -/MOAConfiguration/HardwareKeyModule/@name in der -Konfigurationsdatei verwendet. -
    -

    -

    -
    - - -
    - - - -
    -

     

    -
    -

    Konfiguration von PostgreSQL (optional)

    -
    -Die MOA SP/SS Module können PostgreSQL zum Zwischenspeichern von Certificate Revocation Lists (CRLs) und zum Abspeichern von Log-Meldungen verwenden. In beiden Fällen wird eine installierte und konfigurierte Datenbank vorausgesetzt. Eine detaillierte Übersicht über die Installation und Konfiguration von PostgreSQL gibt die Online-Dokumentation. Hinweis: Eine Möglichkeit, PostgreSQL unter MS Windows zu installieren, besteht darin, Cygwin mit dem PostgreSQL-Package zu installieren. Alternative Installationsvarianten werden auf dieser Seite angeführt.

    -Anlegen eines Benutzers und einer Datenbank für MOA
    -Damit die MOA SP/SS Module eine Verbindung zu PostgreSQL aufbauen kann, müssen der Name eines PostgreSQL-Benutzers und einer -Datenbank bekannt sein. Sollten diese nicht vorhanden sein, kann mit folgenden Kommandos ein Benutzer namens moa und eine Datenbank namens moadb angelegt werden:
    -
    -    createuser -U postgres -d -A -P moa
    -    createdb -U moa moadb
    -
    - -Da die MOA SP/SS Module über JDBC mit der Datenbank kommunizieren, ist in der Folge die Angabe einer JDBC-URL notwendig, die die Verbindungsparameter enthält. Wurden der Benutzer und die Datenbank wie im obigen Beispiel angelegt, ist folgende JDBC-URL anzugeben (durchgeschrieben, in einer Zeile): -
    -    jdbc:postgresql://host/moadb?user=moa&
    -      password=moapass
    -
    -(Annahme: als Passwort für den Benutzer moa wurde moapass gewählt). -Die Zeichen jdbc:postgresql:// sind unveränderliche Bestandteile einer PostgreSQL JDBC-URL. host gibt den Rechner an, auf dem PostgreSQL läuft. Der nächste Parameter (moadb) identifiziert den Namen der Datenbank. Über die Parameter user= und pass= werden Benutzer und Passwort bekanntgegeben. - - -

    - -Caching von CRLs
    -Zum Cachen von CRLs müssen in der MOA SP/SS Konfigurationsdatei die Einträge archiveRevocationInfo auf true und DataBaseArchiveParameter.JDBCUrl auf eine gültige JDBC-URL gesetzt werden. Da es sich hier um einen Eintrag in eine XML-Datei handelt, muss das Zeichen "&" in der oben gezeigten JDBC-URL durch die Zeichenfolge "&amp;" ersetzt werden. -

    -Logging
    -Für das Logging in eine PostgreSQL Datenbank mittels Jakarta Log4j muss zunächst eine Tabelle für die Log-Meldungen angelegt werden. Dies kann mit folgendem SQL-Statement erreicht werden: -
    -    create table spss_log 
    -      (log_time timestamp, 
    -       log_level varchar(5), 
    -       log_msg text);
    -
    -Um das Logging in die Datenbank Log4j bekannt zu machen, muss die Log4j-Konfiguration adaptiert werden. Die Datei $MOA_SPSS_INST/conf/moa-spss/log4j.properties enthält bereits eine beispielhafte Jakarta Log4j-Konfiguration für das Logging in eine PostgreSQL Datenbank, die standardmäßig ausgeschaltet ist. Wie beim Caching von CRLs ist auch hier die Angabe einer JDBC-URL notwendig, damit die MOA SP/SS Module eine Verbindung zur Datenbank aufnehmen können.
    -Hinweis: Bei Tests hat sich das Logging in eine Datenbank mit Jakarta Log4j als Performance-Engpass herausgestellt. Es wird deshalb empfohlen, auf dieses Feature zu verzichten. -

    -
    - -
    -

    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/spss.server/doc/moa_spss/sp-admin_4.htm b/spss.server/doc/moa_spss/sp-admin_4.htm deleted file mode 100644 index 25a73e082..000000000 --- a/spss.server/doc/moa_spss/sp-admin_4.htm +++ /dev/null @@ -1,183 +0,0 @@ - - - MOA SP/SS-Administration - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-SP/SS

    - - -
    - Basis-Installation
        (Klassenbibliothek)
    - - -
    - -

    -
    -Installationsschritte: -

    -Vorbereitung
    -Klassenpfad
    -Logging
    -
    -
    -

    Basis-Installation (Klassenbibliothek)

    -
    -

    Vorbereitung

    -
    -Installation des JDK
    -Installieren Sie das JDK 1.3.1 oder JDK 1.4.1 in ein beliebiges Verzeichnis. Das Wurzelverzeichnis der JDK-Installation wird im weiteren Verlauf als $JAVA_HOME bezeichnet. -

    -Entpacken der MOA SP/SS Klassenbibliothek
    -Entpacken Sie die Datei moa-spss-1.0.x-lib.zip in ein beliebiges Verzeichnis. Dieses Verzeichnis wird im weiteren Verlauf als $MOA_SPSS_INST bezeichnet. -

    -Installation der IAIK JCE und JSSE im JDK 1.3.1
    -Da Java in der Version 1.3.1 ohne Unterstützung für Kryptographie und SSL ausgeliefert wird, muss dies manuell nachträglich installiert werden. Für den Einsatz der MOA SP/SS Klassenbibliothek ist es deshalb notwendig, die Dateien aus dem Verzeichnis $MOA_SPSS_INST/ext13 in das Verzeichnis $JAVA_HOME/jre/lib/ext zu kopieren. -

    -Installation der IAIK JCE im JDK 1.4.1
    -Um die mit MOA SP/SS ausgelieferte IAIK JCE im JDK 1.4.1 zu installieren, müssen die Dateien aus dem Verzeichnis $MOA_SPSS_INST/ext14 in das Verzeichnis $JAVA_HOME/jre/lib/ext kopiert werden. Zusätzlich müssen die sogenannten "Unlimited Strength Jurisdiction Policy Files 1.4.1" heruntergeladen, entpackt und ins Verzeichnis $JAVA_HOME/jre/lib/security kopiert werden. Der Download für diese Dateien findet sich am unteren Ende der Download-Seite für das JDK 1.4.1 in der Sektion "Other Downloads". -

    -
    -
    - - - -
    -
    -
    -

     

    -
    -

    -
    -
    -

    Einbinden der Bibliotheken in den Klassenpfad

    -
    -Um die MOA SP/SS Klassenbibliothek in einer Applikation verwenden zu können, müssen die mit MOA SP/SS ausgelieferten Klassenbibliotheken in den Java Klassenpfad der Applikation eingebunden werden. Folgende Tabelle gibt Aufschluss über die eingesetzten Klassenbibliotheken:

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    KlassenbibliothekVersionDateien
    MOA SP/SS1.0.x  moa-spss.jar, moa-common.jar
    IAIK MOA1.07  lib/iaik-moa-full.jar, lib/iaikPkcs11Provider.jar, lib/iaikPkcs11Wrapper.jar, lib/iaik_cms.jar, lib/iaik_ecc.jar, lib/ixsil.jar, lib/ext13/iaik_jce_full.jar, lib/ext14/iaik_ecc.jar, lib/ext14/iaik_jce_full.jar, lib/ext14/ iaikPkcs11Provider_signed.jar
    JAXP1.2_01  lib/jaxp-api.jar, lib/sax.jar, lib/dom.jar
    Xerces-J2.0.2  lib/xercesImpl.jar, lib/xmlParserAPIs.jar
    Xalan-J2.2.0  lib/xalan.jar, lib/bsf.jar
    Jaxen1.0  lib/jaxen-core.jar, lib/jaxen-dom.jar, lib/saxpath.jar
    Commons-Logging1.0.2  lib/commons-logging-api.jar, lib/commons-logging.jar
    Log4j1.2.7  lib/log4j-1.2.7.jar
    Commons-Discovery0.2  lib/commons-discovery.jar
    JSSE1.0.3_01  lib/ext13/jsse.jar, lib/ext13/jcert.jar, lib/ext13/jnet.jar
    Postgres JDBC27.3  lib/pg73jdbc2.jar
    -
    -
    -
    -Folgende Einschränkungen sind zu beachten:
    -
      -
    • Unter JDK 1.4.1 muss die Angabe der IAIK MOA Bibliotheken lib/iaik_ecc.jar und lib/iaikPkcs11Provider.jar entfallen, da diese bereits im Vorbereitungsschritt ins JDK kopiert wurden, und damit automatisch zur Verfügung stehen. -
    • Unter JDK 1.4.1 muss die Angabe der JSSE-Bibliotheken entfallen, da diese bereits im JDK enthalten sind.
    • -
    • Wenn keine Datenbank-Funktionalität verwendet wird, kann die Angabe des Postgres JDBC-Treibers entfallen.
    • -
    - -
    -
    - -
    - - -
    -

     

    -
    -
    -
    -
    -

    Logging

    -
    -Die MOA SP/SS Klassenbibliothek verwendet Jakarta Log4j für die Ausgabe von Log-Meldungen am Bildschirm bzw. in Log-Dateien. Die im Abschnitt zum Thema Logging im MOA SP/SS Webservice gemachten Aussagen lassen sich großteils auf den Einsatz der MOA SP/SS Klassenbibliothek übertragen. -
    -

    - - - - -

    -
    -
    © 2003
    -
    -
    - -
    - - \ No newline at end of file diff --git a/spss.server/doc/moa_spss/sp-anwendung.htm b/spss.server/doc/moa_spss/sp-anwendung.htm deleted file mode 100644 index 4adccb46d..000000000 --- a/spss.server/doc/moa_spss/sp-anwendung.htm +++ /dev/null @@ -1,1079 +0,0 @@ - - - MOA SP/SS-Anwendung - - - - - - - - - -
    - - -
    - Module für Online-Applikationen -
    -
    -  -
    -
    -Projekt moa  -
    -
    - - - - - - -
    -
    MOA-SP/SS

    - - - - - -
    -
    - - - - - - - -
    -
    -

    -
    -
    MOA SP/SS-Anwendung
    -

    -Die Module Signaturprüfung (SP) und Serversignatur (SS) sind als plattformunabhängige Module ausgelegt, die über ein -Webservice bzw. ein Java-API verwendet werden können. -

    -Dieses Handbuch beschreibt die Verwendung der SP/SS-Module anhand einfacher exemplarischer Anwendungen: -

      -
    • HTTPClientExample.java
      Aufruf des Webservice über HTTP
    • -
    • HTTPSClientExampleServerAuth.java
      Aufruf des Webservice über eine TLS-Verbindung mit serverseitiger Authentisierung
    • -
    • HTTPSClientExampleClientAuth.java
      Aufruf des Webservice über eine TLS-Verbindung mit client- und serverseitiger Authentisierung
    • -
    • APIClientExample.java
      Aufruf des API
    • -
    -Weiters werden folgende Beispiel-Requests beschrieben: -
      -
    • einfache Requests für die Erstellung und Überprüfung einer XML-Signatur
    • -
    • umfassende Requests für die Erstellung und Überprüfung einer XML-Signatur
    • -
    • ein Request für die Überprüfung einer CMS-Signatur
    • -
    - -

    -
    - - -
    - - - -
    -

     

    - -
    -

    Voraussetzungen

    -
    -Die folgende Liste enthält die erforderlichen Java-Bibliotheken, um die Beispielprogramme auszuführen. -Die angeführten Versionsnummern bezeichnen jene Versionen dieser Java-Bibliotheken, mit denen die -Beispielprogramme getestet wurden. -

    - - - - - - - - - - - - - - - - - - - -
    Java-BibliothekVersionBemerkung
    JDK1.3+Java Development Kit
    Xerces
    XML Parser
    2.0.2+nicht nötig wenn JDK 1.4 verwendet wird
    - Download: xml.apache.org/xerces2-j
    AXIS Framework1.0+Download: xml.apache.org/axis
    JSSE1.0.3+wenn eine SSL Verbindung verwendet wird, nicht nötig wenn JDK 1.4 verwendet wird
    Download: java.sun.com/products/jsse
    Servlet API2.3+nicht nötig wenn AXIS 1.1 verwendet wird
    -Download: java.sun.com/products/servlet
    -
    -
    -

    - - - -
    - - - -
    -

     

    -

     

    -
    -

    Beispiel-Programme

    -
    Im folgenden werden vier Beispiele für Client-Applikationen beschrieben:
    -
      -
    • HTTPClientExample
      -Aufruf des Webservice über HTTP
    • -
    • HTTPSClientExampleServerAuth
      -Aufruf des Webservice über eine TLS-Verbindung mit serverseitiger Authentisierung
    • -
    • HTTPSClientExampleClientAuth
      -Aufruf des Webservice über eine TLS-Verbindung mit client- und serverseitiger Authentisierung
    • -
    • APIClientExample
      -Aufruf des API
    • -
    -
    -

    - - - -
    - - - -
    -

     

    - -
    -

    Beispiel HTTPClientExample

    -
    -1. Einlesen des XML-Request aus einer Datei
    -
    -    FileInputStream inputStream = 
    -        new FileInputStream("example_request.xml");
    -

    - -2. Aufbau der DOM-Struktur
    -Erstellen der BuilderFactory für den Parser -
    -    DocumentBuilderFactory factory = 
    -        DocumentBuilderFactory.newInstance();
    -
    -Namespaces müssen im Request definiert sein, darum -
    -    factory.setNamespaceAware(true);
    -
    -Einen neuen Builder instanzieren -
    -    DocumentBuilder builder = 
    -        factory.newDocumentBuilder();
    -
    -XML-Datei einlesen und parsen -
    -    Document root_request = 
    -        builder.parse(inputStream);
    -
    -

    - -3. AXIS Service instanzieren
    -Service erstellen. SERVICE_QNAME ist entweder SignatureCreation oder SignatureVerification. -
    -    Service service = 
    -        ServiceFactory.newInstance().
    -            createService(SERVICE_QNAME);
    -
    -Call Object erstellen -
    -    Call call = service.createCall();
    -
    -Ein SOAP Body Objekt erzeugen und mit dem Request aus der Datei füllen -
    -    SOAPBodyElement body = 
    -        new SOAPBodyElement(root_request.
    -            getDocumentElement());
    -    SOAPBodyElement[] params = 
    -        new SOAPBodyElement[] {body};
    -
    -Serviceendpunkt einstellen. URL zum Server mit dem Webservice z.b. http://localhost:8080/moa-spss/services/SignatureCreation. -
    -    call.setTargetEndpointAddress(ENDPOINT);
    -
    -

    - -4. Service aufrufen
    -Request durchführen (Parameter werden als Array von SOAPBodyElement-Objekten übergeben) -
    -    Vector responses = (Vector)call.invoke(params);
    -
    -Response auslesen -
    -    SOAPBodyElement response = 
    -        (SOAPBodyElement) responses.get(0);
    -
    -Response-Document auslesen -
    -    Document root_response = response.getAsDocument();
    -
    -

    - -5. Exceptions behandeln
    -Folgende Exceptions können auftreten und müssen bei der Dokumentverarbeitung -behandelt werden:
    - - - - - - - - - - - - - - - - - -
    ExceptionBeschreibung
    FileNotFoundExceptionDatei kann nicht gefunden werden
    IOExceptionDatei kann nicht gelesen werden
    ParserConfigurationExceptionParsereinstellungen nicht korrekt
    xxSAXExceptionFehler beim Parsen (z.b. XML-Fehler in der Eingabedatei)
    ServiceExceptionFehler beim Durchführen des AXIS Request
    RemoteExceptionProbleme mit der Verbindung
    - -
    -
    -

    - - - -
    - - - -
    -

     

    - -
    -

    Beispiel HTTPSClientExampleServerAuth

    -
    -Zusätzlich zu HTTPClientExample:

    -Erst werden die Konstanten für die Systemproperties gesetzt -
    -    handler = "java.protocol.handler.pkgs";
    -    trustStore = "javax.net.ssl.trustStore";
    -    trustStorePassword = 
    -      "javax.net.ssl.trustStorePassword";
    -
    -Hinzufügen des SSL-Providers in das Systemobjekt Security -
    -    Security.addProvider(
    -      new com.sun.net.ssl.internal.ssl.Provider());
    -
    -Setzen der Systemproperties für den SSL-Provider -
    -    System.setProperty(
    -      handler,"com.sun.net.ssl.internal.www.protocol");
    -    System.setProperty(
    -      trustStore, "client.keystore");
    -    System.setProperty(trustStorePassword, "changeit");
    -
    - -Danach muß nur noch der Endpunkt umgestellt werden von ENDPOINT zu SECURE_ENDPOINT -
    -    "http://localhost:8080/moa-spss/
    -            services/SignatureCreation"
    -
    -wird zu -
    -    "https://localhost:8443/moa-spss/
    -            services/SignatureCreation"
    -
    -AXIS erkennt das es sich um eine sichere Verbindung handelt und initialisert die Verbindung über einen SecureSocket. -
    -
    -

    - - - -
    - - - -
    -

     

    - -
    -

    Beispiel HTTPSClientExampleClientAuth

    -
    -Zusätzlich zu HTTPSClientExampleServerAuth:

    -Für Clientauthorisierung kommen noch folgende Properties hinzu -
    -    keyStore = "javax.net.ssl.keyStore";
    -    keyStorePassword = "javax.net.ssl.keyStorePassword";
    -    System.setProperty(
    -        keyStore, "client.keystore");
    -    System.setProperty(keyStorePassword, "changeit");
    -
    -
    -
    -

    - -
    - - - -
    -

     

    -
    -Beispiel:
    -APIClientExample
    -

    -
    -
    -

    Beispiel APIClientExample

    -
    -Folgende VM-Properties müssen gesetzt sein um das API Beispiel -ausführen zu können.

    - - - - - - - - - - - - - -
    moa.spss.server.configuration
    Pfad zur Konfiguration von MOA-SPSSBeispiel C:\moa\ConfigurationTest.xml
    log4j.configuration
    Pfad zu einer gültigen Log4J KonfigurationBeispiel file:/C:/moa/log4j.properties
    -
    -Serverfunktionshandler instanzieren -
    	SPSSFactory spf = 
    -		SPSSFactory.getInstance();
    - -Signaturedaten in ein Contentobjekt einbinden -
    	byte[]data = 
    -		"Dies sind Testdaten".getBytes("UTF-8");
    -	ByteArrayInputStream bis = 
    -		new ByteArrayInputStream(data);
    -	Content cont = 
    -		spf.createContent(bis,"http://uri.data.org");
    - -Beschreibungselement zu den Daten erstellen -
    	MetaInfo mi = 
    -	spf.createMetaInfo("text/plain","Testdaten",null);
    - -Transformationen erstellen -
    	CreateTransformsInfo cti = 
    -		spf.createCreateTransformsInfo(null,mi);
    -	CreateTransformsInfoProfile ct = 
    -		spf.createCreateTransformsInfoProfile(
    -			cti,
    -			null);
    - -Datenobjekt aufbauen -
    	DataObjectInfo doi = 
    -		spf.createDataObjectInfo(
    -			DataObjectInfo.STRUCTURE_DETACHED,
    -			false,
    -			cont,
    -			ct);
    -	List dataobjectinfolist = new ArrayList();
    -	dataobjectinfolist.add(doi);
    - -alles zusammenpacken zu einer SingleSignature -
    	SingleSignatureInfo ssi = 
    -		spf.createSingleSignatureInfo(
    -			dataobjectinfolist,
    -			null,
    -			false);
    -	List singlesignatureinfolist = new ArrayList();
    -	singlesignatureinfolist.add(ssi);
    -die Signatur in einen Request einbetten -
    	CreateXMLSignatureRequest cxsreq = 
    -		spf.createCreateXMLSignatureRequest(
    -			"PKCS12RSAKey1",
    -			singlesignatureinfolist);
    - -Signatureerstellungsservice instanzieren -
    	SignatureCreationService scs = 
    -		SignatureCreationService.getInstance();
    - -Signatureerstellungsservice aufrufen -
    	CreateXMLSignatureResponse cxsres = 
    -		scs.createXMLSignature(cxsreq);
    - -Response auswerten -
    	List elements = cxsres.getResponseElements();
    -	
    -	SignatureEnvironmentResponse ser = 
    -	(SignatureEnvironmentResponse)elements.get(0);
    - -Responsetyp lesen -
    	int response_type = ser.getResponseType();
    -	if(response_type == 
    -		SignatureEnvironmentResponse.ERROR_RESPONSE)
    -	{
    -		...
    -	}
    -
    -Fehlerfall -
    	System.out.println("Bei der Erstellung der 
    -	Signatur ist ein Fehler aufgetreten");
    -
    -Signaturerstellung erfolgreich -
    	Element se = ser.getSignatureEnvironment();
    -	System.out.println(
    -		"Signaturerstellung erfolgreich");
    -	displayTree(se);
    -
    - -
    -
    -

    - - -
    - - - -
    -

     

    -
    -

    Beispiel-Requests

    -
    -In den folgenden Abschnitten werden einfache und umfassende Beispiele für Requests beschrieben, die an MOA-SP/SS -gesendet werden können. Damit soll der Anwendungsentwickler einen Überblick über die -Möglichkeiten von MOA-SP/SS vermittelt bekommen. Die detaillierte und vollständige Beschreibung -des Funktionsumfangs ist in den Spezifikationen von MOA-SP/SS und des Security-Layers enthalten. -
    -
    -

    - - - -
    - - - -
    -

     

    -
    -Beispiel:
    -Request
    -Response
    -

    -
    -
    -

    Beispiel:
    einfacher CreateXMLSignatureRequest

    -
    -Das Beispiel in CreateXMLSignatureReqest1.xml zeigt einen -einfachen <CreateXMLSignatureRequest>. Die Bedeutung der einzelnen Elemente -wird im folgenden beschrieben: -
    -  <KeyIdentifier>PKCS12RSAKey1</KeyIdentifier>
    -
    -PKCS12RSAKey1 bezeichnet eine Schlüsselgruppe aus der MOA-SS einen Signaturschlüssel selektieren soll -und muss einer im Konfigurationsfile definierten <KeyGroup> entsprechen. -
    -  <SingleSignatureInfo SecurityLayerConformity="false">
    -
    -Für jedes <SingleSignatureInfo>-Element wird eine eigene XML-Signatur erzeugt. Wird das -Attribut SecurityLayerConformity auf true gesetzt, dann wird eine XML-Signatur -gemäß Security-Layer Spezifikation erzeugt; d.h. es werden signierte Properties (Zeitpunkt -der Signaturerstellung, -das für die Signaturüberprüfung zu verwendende Zertifikat, Metainformationen zu den signierten Datenobjekten) und ein -Manifest, das alle implizite Transformationsparameter enthält, zur Signatur hinzugefügt. -
    -    <DataObjectInfo Structure="enveloping">
    -
    -Für jedes Daten-Objekt, das in die Signatur als dsig:Reference aufgenommen werden soll, muss ein -DataObjectInfo-Element spezifiziert werden. Das Attribut Structure gibt an, ob die Daten -in die Signatur in ein <dsig:Object>-Element integriert werden soll -(Structure="enveloping") oder via eine URL referenziert werden soll (Structure="detached"). -

    -Im Fall von Structure="enveloping" muss im nachfolgenden DataObject Element entweder das -Attribut Reference gesetzt sein oder die zu signierenden Daten explizit im Element Base64Content oder -XMLContent spezifiziert sein. Die Angabe der zu signierenden Daten über das Attribut Reference -und gleichzeitig dem Element Base64Content oder XMLContent ist nicht erlaubt. -

    -Im Fall von Structure="detached" muss das Attribut Reference im nachfolgenden DataObject -Element gesetzt sein. Die Angabe der Elemente Base64Content oder XMLContent ist optional. -
    -      <DataObject>
    -        <XMLContent xml:space="preserve">
    -          Diese Daten werden signiert.
    -        <XMLContent>
    -      </DataObject>
    -
    -Die zu signierenden Daten werden im Element <DataObject> spezifiziert und können entweder als -<XMLContent> oder <Base64Content> oder über das Attribut Reference -angegeben werden. -
    -      <CreateTransformsInfoProfile>
    -        <CreateTransformsInfo>
    -          <FinalDataMetaInfo>
    -            <MimeType>text/plain<MimeType>
    -          </FinalDataMetaInfo>
    -        </CreateTransformsInfo>
    -      </CreateTransformsInfoProfile>
    -
    -Zu jedem Daten-Objekt können optional Transformationen (z.B. XPath, XSLT, Base64-Decodierung, etc.)angegeben werden. -Werden keine Transformationen angegeben so muss zumindest der MIME-Type der zu signierenden Daten spezifiziert werden. -

    -Die von diesem Request erzeugt Response ist in CreateXMLSignatureResponse1.xml abgelegt. -

    -
    -

    - - -
    - - - -
    -

     

    -
    -Beispiel:
    -Request
    -Response
    -

    -
    -
    -

    Beispiel:
    einfacher VerifyXMLSignatureRequest

    -
    -Die oben erzeugte XML-Signatur kann mit dem in VerifyXMLSignatureReqest1.xml gezeigten -einfachen <VerifyXMLSignatureRequest> wieder überprüft werden. -
    -<VerifyXMLSignatureRequest
    -  xmlns="http://reference.e-government.gv.at/
    -                namespace/moa/20020822#"
    -  xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
    -  
    -  <VerifySignatureInfo>
    -    <VerifySignatureEnvironment>
    -      <XMLContent>
    -        <dsig:Signature
    -          Id="signature-1"
    -          xmlns:dsig="http://www.w3.org/2000/09/
    -                             xmldsig#">
    -          .........
    -        </dsig:Signature>
    -      </XMLContent>
    -    </VerifySignatureEnvironment>
    -
    - -Im Element VerifySignatureInfo wird zuerst die zu überprüfende Signatur im Element -VerifySignatureEnvironment angegeben. Im Beispiel wird die Signatur als Kind-Element von -<XMLContent> spezifiziert. Alternativ könnte die Signatur in Base64-Kodierung -im Element <Base64Content> oder mit dem Attribut Reference über eine URL -referenziert werden. - -
    -    <VerifySignatureLocation>
    -      //dsig:Signature
    -    </VerifySignatureLocation>
    -    
    -  </VerifySignatureInfo>
    -
    - -Weiters muss mittels eines XPath-Ausdrucks im Element <VerifySignatureLocation> -die Position der zu prüfenden Signatur spezifiziert werden. Werden im XPath-Ausdruck -Namespace-Prefixes verwendet, müssen die entsprechenden Namespace-Deklarationen im Kontext -des Elements VerifySignatureLocation bekannt sein. Im Beispiel wird das Prefix dsig -verwendet, das im Element <VerifyXMLSignatureRequest> deklariert wird. - -
    -  <TrustProfileID>TrustProfile1<TrustProfileID>
    -
    -Abschließend wird im Element <TrustProfileID> ein Trustprofile spezifiziert, das am MOA-SP Server -definiert ist und jene Zertifikate enthält, die für diesen Request als vertrauenswürdig gelten. -

    -Die von diesem Request erzeugt Response ist in VerifyXMLSignatureResponse1.xml abgelegt. Die Response enthält das Ergebnis der Signaturprüfung -im Element <SignatureCheck>, das Ergebnis der Zertifikatsprüfung im Element -<CertificateCheck> und Informationen über den Signator im Element -<SignerInfo>/<X509Data>. Die Informationen über den Signator bestehen aus den Elementen -<X509SubjectName>, <X509IssuerSerial> und <X509Certificate>. - -

    -
    -

    - - -
    - - - -
    -

     

    Beispiel:
    Request
    -Response -


    -
    -

    Beispiel:
    umfassender CreateXMLSignatureRequest

    Das Beispiel in CreateXMLSignatureReqest2.xml zeigt einen umfassenden -<CreateXMLSignatureRequest>. -

    -Das Beispiel benötigt zwei Dateien, die über die URL -http://localhost:8080/TestDatenGenerator/resources/<Dateiname> erreichbar sind. -Bevor der Beispiel-Request ausgeführt wird, muss daher -TestDatenGenerator.zip -entpackt und in $CATALINA_HOME/webapps kopiert werden. Voraussetzung ist, dass Tomcat auf Port 8080 läuft. - -
    -<CreateXMLSignatureRequest
    -  xmlns="http://reference.e-government.gv.at/
    -      namespace/moa/20020822#"
    -  xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
    -  <KeyIdentifier>PKCS12RSAKey1</KeyIdentifier>
    -  <SingleSignatureInfo SecurityLayerConformity="false">
    -    <DataObjectInfo Structure="enveloping" 
    -    ChildOfManifest="true">
    -      <DataObject>
    -        <XMLContent>Diese Daten werden 
    -        signiert.</XMLContent>
    -      </DataObject>
    -      <CreateTransformsInfoProfile>
    -        <CreateTransformsInfo>
    -          <FinalDataMetaInfo>
    -            <MimeType>text/plain</MimeType>
    -          </FinalDataMetaInfo>
    -        </CreateTransformsInfo>
    -      </CreateTransformsInfoProfile>
    -    </DataObjectInfo>
    -  </SingleSignatureInfo>
    -
    - -Der Anfang des Requests ist identisch mit dem einfachen CreateXMLSignatureRequest. -Als Variation wurde <ChildOfManifest= "true"> gesetzt. - -Damit wird spezifiziert, dass die zugehörige <dsig:Reference> nicht in das Element -<SignedInfo> sondern in ein XMLDSig-Manifest eingefügt werden soll. - -Wird das Attribut <ChildOfManifest> nicht gesetzt, dann -wird kein XMLDSig-Manifest erzeugt. - -
    -  <SingleSignatureInfo SecurityLayerConformity="true">
    -
    - -Anschließend wird angegeben, dass eine zweite Signatur erstellt werden soll. -SecurityLayerConformity="true" gibt an, dass die Signatur entsprechend der Security-Layer -Spezifikation Version 1.1 erstellt werden muss, d.h. es werden Signaturattribute und gegebenenfalls ein - -Signatur-Manifest erzeugt. Wird eine Security-Layer konforme Signatur erzeugt, dann -darf <ChildOfManifest="true"> nicht gesetzt sein. -

    -Die zweite Signatur soll zwei Datenobjekte enthalten: - -

    -    <DataObjectInfo Structure="detached">
    -
    - -Für das erste Datenobjekt sollen die signierten Daten nicht in der Signatur enthalten sein (Structure="detached"). - -
    -      <DataObject
    -        Reference="http://localhost:8080/TestDatenGenerator
    -                   /resources/testDaten.txt">
    -        <Base64Content>
    -          RGllcyBz........DQphdXM=
    -        </Base64Content>
    -      </DataObject>
    -      <CreateTransformsInfoProfile>
    -        <CreateTransformsInfo>
    -          <FinalDataMetaInfo>
    -            <MimeType>text/plain</MimeType>
    -          </FinalDataMetaInfo>
    -        </CreateTransformsInfo>
    -      </CreateTransformsInfoProfile>
    -    </DataObjectInfo>
    -
    - -Die zu signierenden Daten sind in Base64-Kodierung angegeben und werden in der Signatur über die URL, die im -Attribut Reference angegeben ist, referenziert. Diese URL wird im Zuge der Signaturerstellung -nicht aufgelöst, da die Daten bereits explizit im Request angegeben sind. Es werden keine weitere -Transformationen für das Datenobjekt angegeben. - -
    -    <DataObjectInfo Structure="enveloping">
    -      <DataObject>
    -        <XMLContent xml:space="preserve">
    -          <data:book
    -            xmlns:data="http://uri.data.org"
    -            data:hardback="yes">
    -            <data:title>
    -              Gesundheitliche Auswirkungen 
    -              elektronischer Signaturen
    -            </data:title>
    -            <data:first-name>Ellipse</data:first-name>
    -            <data:last-name>Kurvenreich</data:last-name>
    -            <data:birth-date>1951-04-16</data:birth-date>
    -            <data:birth-location>
    -              Hinterm Berg
    -            </data:birth-location>
    -            <data:register-number>
    -              6-930-21512-12
    -            </data:register-number>
    -          </data:book>
    -        </XMLContent>
    -      </DataObject>
    -
    - -Das zweite Datenobjekt, das signiert werden soll ist eine XML-Struktur. -

    -Für die XML-Struktur wird eine Transformation spezifiziert, die angewendet werden muss, bevor die Daten signiert -werden: -

    -      <CreateTransformsInfoProfile>
    -
    -Transformationen können entweder explizit im Request im Element <CreateTransformsInfoProfile> -angegeben werden oder mit dem Element <CreateTransformsInfoProfileID> über eine am MOA-SS-Server -konfigurierte Profil-ID referenziert werden. -
    -        <CreateTransformsInfo>
    -
    -Im Transformationsprofil werden im Element <CreateTransformsInfo> die Transformationskette -(<dsig:Transforms>) und optionale Ergänzungsobjekte (<Supplement>) angegeben. -
    -          <dsig:Transforms>
    -            <dsig:Transform
    -              Algorithm="http://www.w3.org/TR/
    -                1999/REC-xslt-19991116">
    -              <xsl:stylesheet
    -                xmlns:xsl="http://www.w3.org/
    -                   1999/XSL/Transform"
    -                version="1.0">
    -                <xsl:include
    -                  href="http://localhost:8080/
    -                        TestDatenGenerator/resources/
    -                        CX1_book_not_here.xsl"/>
    -              </xsl:stylesheet>
    -            </dsig:Transform>
    -          </dsig:Transforms>
    -
    -Im Beispiel besteht die Transformationskette aus einer XSLT-Transformation, die ein weiteres XSLT Stylesheet inkludiert. -MOA-SS unterstützt alle Transformationen aus der XMLDSig-Spezifikation sowie Exclusive XML Canonicalization 1.0 und -XPath Filter 2.0. - -
              
    -          <FinalDataMetaInfo>
    -            <MimeType>text/html</MimeType>
    -          </FinalDataMetaInfo>
    -        </CreateTransformsInfo>
    -
    -<FinalDataMetaInfo> gibt den MIME-Type der Daten an, die das Ergebnis der Transformation bilden und -tatsächlich signiert werden. -

    -Weiters können optional Ergänzungsobjekte angegeben werden, die Daten enthalten, die von MOA-SP zur -Signaturerstellung verwendet werden sollen: -

    -        <Supplement>
    -          <Content Reference="http://localhost:8080/
    -                              TestDatenGenerator/resources/
    -                              CX1_book_not_here.xsl">
    -            <Base64Content>PHhzbDpzdHls.....eWxlc2hlZXQ+
    -            </Base64Content>
    -          </Content>
    -        </Supplement>
    -      </CreateTransformsInfoProfile>
    -    </DataObjectInfo>
    -
    -Im aktuellen Beispiel wird ein Ergänzungsobjekt für jenes Stylesheet angegeben, das im Stylesheet der oben -spezifizierten XSLT-Transformation referenziert wird. MOA-SS wird die angegebene URL nicht auflösen sondern -stattdessen die im Ergänzungsobjekt enthaltenen Daten verwenden. -

    -

    -    <CreateSignatureInfo xmlns:env="http://uri.env.org">
    -
    -Abschließend wird hier noch mittels des optionalen Elements <CreateSignatureInfo> festgelegt, -dass die zu erzeugende Signatur in ein bereits bestehendes XML-Dokument eingebettet werden soll. Im Beispiel -wird das Namespace-Prefix env hier deklariert, da es weiter unten im Element -CreateSignatureLocation verwendet werden wird. -
    -      <CreateSignatureEnvironment>
    -        <XMLContent>
    -          <env:Document
    -            xmlns:env="http://uri.env.org"
    -            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    -            xsi:schemaLocation="http://uri.env.org
    -                                http://anyhost/envSchema.xsd">
    -            nach diesem Text wird die Signatur in das Dokument
    -            eingefügt
    -          </env:Document>
    -        </XMLContent>
    -      </CreateSignatureEnvironment>
    -
    -Im Element <CreateSignatureEnvironment> wird das XML-Dokument angegeben. -
    -      <CreateSignatureEnvironmentProfile>
    -        <CreateSignatureLocation Index="1">
    -          /env:Document
    -        </CreateSignatureLocation>
    -      </CreateSignatureEnvironmentProfile>
    -
    -Anschließend wird im Profil angegeben an welcher Position des XML-Dokuments die Signatur eingefügt werden -soll. Im Element <CreateSignatureLocation> wird ein XPath-Ausdruck angegeben, der das -Element selektiert, als dessen Kind die Signatur eingefügt werden soll. Das Attribut Index spezifiziert -die Position innerhalb dieses Elements, an der die Signatur eingefügt werden soll. "0" gibt an, -dass die Signatur als erstes Kind eingefügt werden soll. -
    -    </CreateSignatureInfo>
    -  </SingleSignatureInfo>
    -</CreateXMLSignatureRequest>
    -
    -Abschließend müssen alle Elemente wieder geschlossen werden. -

    -Die von diesem Request erzeugt Response ist in -CreateXMLSignatureResponse2.xml abgelegt. Die Response enthält zwei Elemente SignatureEnvironment, die die -beiden erzeugten Signaturen enthalten. -

    -
    -

    - -
    - - - - - -
    -

     

    -
    -Beispiel:
    -Request
    -Response
    -

    -
    -
    -

    Beispiel:
    umfassender VerifyXMLSignatureRequest

    -
    -Das Beispiel in -VerifyXMLSignatureReqest2.xml zeigt wie die im obigen Beispiel erzeugte zweite Signatur -überprüft werden kann. -
    -<VerifyXMLSignatureRequest
    -  xmlns="http://reference.e-government.gv.at/
    -     namespace/moa/20020822#"
    -  xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
    -  <DateTime>2003-03-24T12:41:54+01:00</DateTime>
    -
    -Optional kann ein Datum und eine Uhrzeit angegeben werden, für die die Überprüfung durchgeführt werden soll. - -
      
    -  <VerifySignatureInfo>
    -    <VerifySignatureEnvironment>
    -     <XMLContent>
    -       <env:Document xmlns:env="http://uri.env.org" .....>
    -         nach diesem Text ..... Dokument eingefuegt
    -         <dsig:Signature .....>.....</dsig:Signature>
    -       </env:Document>
    -      </XMLContent>
    -    </VerifySignatureEnvironment>
    -
    -Die Signatur inklusive des umgebenden XML-Dokuments wird im Element <VerifySignatureEnvironment> -angegeben. -
        
    -    <VerifySignatureLocation>
    -      //dsig:Signature
    -    </VerifySignatureLocation>
    -  </VerifySignatureInfo>
    -
    -Die zu prüfende Signatur aus dem Element <VerifySignatureEnvironment> wird über einen XPath-Ausdruck -spezifiziert. - -Enthält die Signatur ID-Attribute, die referenziert werden, dann muss das XML-Dokument validierend geparst werden können. -Im Beispiel-Request wird die URL des Schemas für das Element env:Document im Attribut xsi:schemaLocation -spezifiziert (http://anyhost/envSchema.xsd). Soll MOA-SP diese URL nicht selbst auflösen, dann kann das -Schema kann im Element SupplementProfile übergeben werden: - -
    -  <SupplementProfile>
    -    <Content Reference="http://anyhost/envSchema.xsd">
    -      <XMLContent xml:space="preserve">
    -        <xsd:schema
    -          targetNamespace="http://uri.env.org"
    -          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    -          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    -          elementFormDefault="qualified"
    -          attributeFormDefault="unqualified">
    -          <xsd:element name="Document">
    -            <xsd:complexType mixed="true">
    -              <xsd:sequence minOccurs="0"
    -                            maxOccurs="unbounded">
    -                <xsd:any namespace="##any"
    -                         processContents="lax"/>
    -              </xsd:sequence>
    -            </xsd:complexType>
    -          </xsd:element>
    -        </xsd:schema>
    -      </XMLContent>
    -    </Content>
    -  </SupplementProfile>
    -
    - -
    -  <ReturnHashInputData/>
    -
    -Das Element gibt an, dass für jedes dsig:SignedInfo/dsig:Reference Element jene Daten, die für die -Hash-Berechnung der Signatur als Eingangsdaten verwendet werden, in der Antwort returniert werden sollen. - -
    -  <TrustProfileID>TrustProfile1</TrustProfileID>
    -</VerifyXMLSignatureRequest>
    -
    -Abschließend wird ein am MOA-SP Server definiertes Profil angegeben, dass jene Zertifikate umfasst, die für -diesen Request als vertrauenswürdig anzusehen sind. -

    - -Die von diesem Request erzeugt Response ist in -VerifyXMLSignatureResponse2.xml abgelegt. Zusätzlich zu den Daten der Response des einfachen -VerifyXMLSignatureRequests enthält diese Response für jedes dsig:SignedInfo/dsig:Reference Element -ein HashInputData Element. -

    -
    -

    - - - - - -
    - - - -
    -

     

    -
    -Beispiel:
    -Request
    -Response
    -

    -
    -
    -

    Beispiel:
    VerifyCMSSignatureRequest

    -
    -Das Beispiel in VerifyCMSSignatureRequest.xml zeigt einen -einfachen <VerifyCMSSignatureRequest>. Die Bedeutung der einzelnen Elemente -wird im folgenden beschrieben: -
    -<VerifyCMSSignatureRequest
    -  xmlns="http://reference.e-government.gv.at/
    -    namespace/moa/20020822#"
    -  xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
    -  Signatories="1">
    -
    -Das optionale Attribut Signatories enthält eine Liste von positiven Ganzzahlen und gibt an, welche Signaturen -im CMS-Datenobjekt überprüft werden sollen. Signatories="1" gibt an, dass die erste Signatur geprüft -werden soll. -Wird das Attribut nicht spezifiziert, dann wird ebenfalls die erste Signatur geprüft. Signatories="all" -gibt an, dass alle im CMS-Objekt enthaltene Signaturen geprüft werden sollen. - -
    -  <DateTime>2003-04-04T09:30:47-05:00</DateTime>
    -
    -Das optionale Element <DateTime> gibt an für welchen Zeitpunkt die Signaturüberprüfung -durchgeführt werden soll. Ist das Element nicht im Request enthalten, dann wird die aktuelle Systemzeit -verwendet. - -
    -  <CMSSignature>MIIGAAYJKo...mT9fmvKwdJOiA==</CMSSignature>
    -
    -Das Element <CMSSignature> enthält das CMS-Signaturobjekt in Base64-Kodierung. -

    -Sind die signierten Daten nicht in der CMS-Signatur enthalten, müssen sie im DataObject-Element -angegeben werden. Optional kann der MIME-Type dieser Daten spezifiziert werden. Die eigentlichen Daten -müssen im Base64Content-Element in Base64-Kodierung vorliegen. - -
    -  <TrustProfileID>TrustProfile1<TrustProfileID>
    -
    - -TrustProfile1 referenziert ein im Konfigurationsfile des MOA-Server definiertes Profil, das -jene Zertifikate umfasst, die für diese Überprüfung als vertrauenswürdig gelten. - - -

    -Die von diesem Request erzeugt Response ist in -VerifyCMSSignatureResponse.xml abgelegt. Die Response enthält die selben Informationen wie die Response zum -einfachen VerifyXMLSignatureRequest. -

    -
    -

    - - - - - - -

    -
    -
    © 2003
    -
    -
    - - -
    - - \ No newline at end of file diff --git a/spss.server/lib/axis-1.0/axis.jar b/spss.server/lib/axis-1.0/axis.jar deleted file mode 100644 index 7cf31027a..000000000 Binary files a/spss.server/lib/axis-1.0/axis.jar and /dev/null differ diff --git a/spss.server/lib/axis-1.0/jaxrpc.jar b/spss.server/lib/axis-1.0/jaxrpc.jar deleted file mode 100644 index 4a2081643..000000000 Binary files a/spss.server/lib/axis-1.0/jaxrpc.jar and /dev/null differ diff --git a/spss.server/lib/axis-1.0/saaj.jar b/spss.server/lib/axis-1.0/saaj.jar deleted file mode 100644 index cf43f1fcd..000000000 Binary files a/spss.server/lib/axis-1.0/saaj.jar and /dev/null differ diff --git a/spss.server/lib/axis-1.0/wsdl4j.jar b/spss.server/lib/axis-1.0/wsdl4j.jar deleted file mode 100644 index e90968e03..000000000 Binary files a/spss.server/lib/axis-1.0/wsdl4j.jar and /dev/null differ diff --git a/spss.server/lib/commons-discovery-0.2/commons-discovery.jar b/spss.server/lib/commons-discovery-0.2/commons-discovery.jar deleted file mode 100644 index b88554847..000000000 Binary files a/spss.server/lib/commons-discovery-0.2/commons-discovery.jar and /dev/null differ diff --git a/spss.server/lib/commons-logging-1.0.2/commons-logging-api.jar b/spss.server/lib/commons-logging-1.0.2/commons-logging-api.jar deleted file mode 100644 index d6ad90330..000000000 Binary files a/spss.server/lib/commons-logging-1.0.2/commons-logging-api.jar and /dev/null differ diff --git a/spss.server/lib/commons-logging-1.0.2/commons-logging.jar b/spss.server/lib/commons-logging-1.0.2/commons-logging.jar deleted file mode 100644 index aca1e4132..000000000 Binary files a/spss.server/lib/commons-logging-1.0.2/commons-logging.jar and /dev/null differ diff --git a/spss.server/lib/iDoclet-1.0/iDoclet.jar b/spss.server/lib/iDoclet-1.0/iDoclet.jar deleted file mode 100644 index 6b4600e94..000000000 Binary files a/spss.server/lib/iDoclet-1.0/iDoclet.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/iaik-moa-full.jar b/spss.server/lib/iaik-moa-20030703/iaik-moa-full.jar deleted file mode 100644 index 30d5f4828..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/iaik-moa-full.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/iaikPkcs11Provider.jar b/spss.server/lib/iaik-moa-20030703/iaikPkcs11Provider.jar deleted file mode 100644 index 52c32ff7e..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/iaikPkcs11Provider.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/iaikPkcs11Wrapper.jar b/spss.server/lib/iaik-moa-20030703/iaikPkcs11Wrapper.jar deleted file mode 100644 index 5d69f255c..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/iaikPkcs11Wrapper.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/iaik_cms.jar b/spss.server/lib/iaik-moa-20030703/iaik_cms.jar deleted file mode 100644 index 0f8be7bf0..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/iaik_cms.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/iaik_ecc.jar b/spss.server/lib/iaik-moa-20030703/iaik_ecc.jar deleted file mode 100644 index 8c528a215..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/iaik_ecc.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/iaik_jce_full.jar b/spss.server/lib/iaik-moa-20030703/iaik_jce_full.jar deleted file mode 100644 index 8d0f093e6..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/iaik_jce_full.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/ixsil.jar b/spss.server/lib/iaik-moa-20030703/ixsil.jar deleted file mode 100644 index 606430367..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/ixsil.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/signed/iaikPkcs11Provider_signed.jar b/spss.server/lib/iaik-moa-20030703/signed/iaikPkcs11Provider_signed.jar deleted file mode 100644 index fd56f9911..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/signed/iaikPkcs11Provider_signed.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/signed/iaik_ecc.jar b/spss.server/lib/iaik-moa-20030703/signed/iaik_ecc.jar deleted file mode 100644 index 4279ff571..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/signed/iaik_ecc.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/signed/iaik_jce_full.jar b/spss.server/lib/iaik-moa-20030703/signed/iaik_jce_full.jar deleted file mode 100644 index 13f0b90be..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/signed/iaik_jce_full.jar and /dev/null differ diff --git a/spss.server/lib/iaik-moa-20030703/win32/pkcs11wrapper.dll b/spss.server/lib/iaik-moa-20030703/win32/pkcs11wrapper.dll deleted file mode 100644 index dcc61609e..000000000 Binary files a/spss.server/lib/iaik-moa-20030703/win32/pkcs11wrapper.dll and /dev/null differ diff --git a/spss.server/lib/jaxen-1.0/jaxen-core.jar b/spss.server/lib/jaxen-1.0/jaxen-core.jar deleted file mode 100644 index e52bf679c..000000000 Binary files a/spss.server/lib/jaxen-1.0/jaxen-core.jar and /dev/null differ diff --git a/spss.server/lib/jaxen-1.0/jaxen-dom.jar b/spss.server/lib/jaxen-1.0/jaxen-dom.jar deleted file mode 100644 index 1a9926357..000000000 Binary files a/spss.server/lib/jaxen-1.0/jaxen-dom.jar and /dev/null differ diff --git a/spss.server/lib/jaxen-1.0/saxpath.jar b/spss.server/lib/jaxen-1.0/saxpath.jar deleted file mode 100644 index 2b43955ba..000000000 Binary files a/spss.server/lib/jaxen-1.0/saxpath.jar and /dev/null differ diff --git a/spss.server/lib/jaxp-1.2_01/dom.jar b/spss.server/lib/jaxp-1.2_01/dom.jar deleted file mode 100644 index f91f80a8b..000000000 Binary files a/spss.server/lib/jaxp-1.2_01/dom.jar and /dev/null differ diff --git a/spss.server/lib/jaxp-1.2_01/jaxp-api.jar b/spss.server/lib/jaxp-1.2_01/jaxp-api.jar deleted file mode 100644 index 7a3295ee6..000000000 Binary files a/spss.server/lib/jaxp-1.2_01/jaxp-api.jar and /dev/null differ diff --git a/spss.server/lib/jaxp-1.2_01/sax.jar b/spss.server/lib/jaxp-1.2_01/sax.jar deleted file mode 100644 index 9ffb844e5..000000000 Binary files a/spss.server/lib/jaxp-1.2_01/sax.jar and /dev/null differ diff --git a/spss.server/lib/jsse-1.0.3_01/jcert.jar b/spss.server/lib/jsse-1.0.3_01/jcert.jar deleted file mode 100644 index d33134214..000000000 Binary files a/spss.server/lib/jsse-1.0.3_01/jcert.jar and /dev/null differ diff --git a/spss.server/lib/jsse-1.0.3_01/jnet.jar b/spss.server/lib/jsse-1.0.3_01/jnet.jar deleted file mode 100644 index e1d340093..000000000 Binary files a/spss.server/lib/jsse-1.0.3_01/jnet.jar and /dev/null differ diff --git a/spss.server/lib/jsse-1.0.3_01/jsse.jar b/spss.server/lib/jsse-1.0.3_01/jsse.jar deleted file mode 100644 index 123188c5e..000000000 Binary files a/spss.server/lib/jsse-1.0.3_01/jsse.jar and /dev/null differ diff --git a/spss.server/lib/junit-3.8.1/junit.jar b/spss.server/lib/junit-3.8.1/junit.jar deleted file mode 100644 index 674d71e89..000000000 Binary files a/spss.server/lib/junit-3.8.1/junit.jar and /dev/null differ diff --git a/spss.server/lib/log4j-1.2.7/log4j-1.2.7.jar b/spss.server/lib/log4j-1.2.7/log4j-1.2.7.jar deleted file mode 100644 index 1595a56ef..000000000 Binary files a/spss.server/lib/log4j-1.2.7/log4j-1.2.7.jar and /dev/null differ diff --git a/spss.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar b/spss.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar deleted file mode 100644 index 8bf46dd8e..000000000 Binary files a/spss.server/lib/postgres-jdbc2-7.3/pg73jdbc2.jar and /dev/null differ diff --git a/spss.server/lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip b/spss.server/lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip deleted file mode 100644 index c450772ea..000000000 Binary files a/spss.server/lib/servlet-2.3/servlet-2_3-fcs-classfiles.zip and /dev/null differ diff --git a/spss.server/lib/xalan-j-2.2/bsf.jar b/spss.server/lib/xalan-j-2.2/bsf.jar deleted file mode 100644 index 19036c1bc..000000000 Binary files a/spss.server/lib/xalan-j-2.2/bsf.jar and /dev/null differ diff --git a/spss.server/lib/xalan-j-2.2/xalan.jar b/spss.server/lib/xalan-j-2.2/xalan.jar deleted file mode 100644 index 8dd6dca25..000000000 Binary files a/spss.server/lib/xalan-j-2.2/xalan.jar and /dev/null differ diff --git a/spss.server/lib/xerces-j-2.0.2/xercesImpl.jar b/spss.server/lib/xerces-j-2.0.2/xercesImpl.jar deleted file mode 100644 index f25d73cd7..000000000 Binary files a/spss.server/lib/xerces-j-2.0.2/xercesImpl.jar and /dev/null differ diff --git a/spss.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar b/spss.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar deleted file mode 100644 index c1fa1d645..000000000 Binary files a/spss.server/lib/xerces-j-2.0.2/xmlParserAPIs.jar and /dev/null differ diff --git a/spss.server/res/resources/properties/spss_messages_de.properties b/spss.server/res/resources/properties/spss_messages_de.properties deleted file mode 100644 index cab226a82..000000000 --- a/spss.server/res/resources/properties/spss_messages_de.properties +++ /dev/null @@ -1,140 +0,0 @@ -# This file contains exception messages in the standard Java properties -# format. The messages may contain formatting patterns as definied in the -# java.text.MessageFormat class. - -# -# Error messages: the key corresponds to the error code -# - -1100=Fehler beim Validieren der Anfrage: {0} -1101=Bei enveloping Datenobjekten muss entweder Content oder Reference übergeben werden -1102=Bei detached Datenobjekten darf das Attribut Reference nicht leer sein -1103=Ungültiger Wert für Attribut Structure im Element DataObjectInfo: {0} -1104=Ungültiger Wert für DateTime: {0} -1105=Ungültiger Wert für Attribut Index in Element CreateSignatureLocation: {0} -1106=Interner Fehler beim Parsen der XML-Daten -1107=Kein Kind-Element im Element XMLContent gefunden -1108=Ungültiger Wert für dsig:Algorithm: {0} -1109=XMLContent darf nur ein Kind-Element enthalten -1110=Entweder Content oder Reference muss gesetzt sein -1111=Reference muss gesetzt sein, wenn kein Content angegeben ist -1112=Bei leerer Reference muss CreateSignatureEnvironment vorhanden sein -1113=Der Endpunkt akzeptiert keine Anfragen vom Typ: {0} - -2200=Fehler beim Erzeugen der Antwort -2201=Transformations-Algorithmus unbekannt: {0} -2202=Kein XPath-Element für XPath-Transformation gefunden -2203=TrustProfileID unbekannt: {0} -2207=Ungültiges URI-Format: {0} -2208=Fehler beim Öffnen des Datenobjekts (URI={0}) -2209=Fehler beim Parsen der XML-Daten -2210=Fehler beim Lesen des Datenobjekts -2211=Referenzierte Daten können nicht als XML interpretiert werden (URI={0}) -2212=Fehler beim Auswerten des XPath-Ausdrucks: {0} -2213=Zugriff auf das Dateisystem verweigert (URI={0}) -2214=Ungültiges URL-Format: {0} -2215=Kein Stylesheet für XSLT-Transformation gefunden -2216=Kein XPath-Filter2 Element für XPath-Filter2-Transform gefunden -2217=Kein InclusiveNamespaces Element für Exclusive Canonicalization Transform gefunden -2218=Das Signature Environment enthält keine validen XML-Daten -2219=Fehler beim Lesen des Signature Environment -2220=Allgemeiner Fehler beim Erzeugen der Signatur -2221=Fehler bei der Behandlung des Schlüssels -2222=Fehler beim Erstellen des Manifests -2223=Fehler beim Erstellen der Referenz -2224=Hashwert nicht verfügbar -2225=Signier-Algorithmus wird nicht unterstützt -2226=Fehler beim Einbetten der Signatur -2227=Fehler beim Berechnen des Signaturwertes -2228=Fehler beim Behandeln der SignedProperties -2229=Signator-Zertifikat nicht verfügbar -2230=Fehler beim Auflösen eines Supplements -2231=Die Schlüsselgruppe ist nicht verfügbar -2232=Die Schlüsselgruppe ist leer -2233=Fehler beim Durchführen der Transformation -2234=CreateTransformsInfoProfileID nicht vorhanden (ID={0}) -2235=CreateSignatureEnvironment muss entweder Reference oder Content enthalten -2236=CreateSignatureEnvironmentProfileID nicht vorhanden (ID={0}) -2237=Fehler beim Auflösen der internen Referenz (URI={0}) -2240=Allgemeiner Fehler beim Verifizieren der Signatur -2241=Algorithmus wird nicht unterstützt -2242=Fehler beim Parsen der CMS Signatur -2243=Signator-Zertifikat nicht verfügbar -2244=Fehler beim Lesen der Signatur-Daten -2245=Fehler beim Codieren des Signator-Zertifikats -2246=Fehler beim Umwandeln des SubjectDN des Signator-Zertifikats nach RFC2253: {0} -2247=Allgemeiner Fehler beim Verifizieren der Signatur -2248=Fehler beim Vorbereiten der Daten -2249=Das Attribut Signatories enthält einen ungültigen Index (Index={0}) -2262=Fehler beim Behandeln des Manifests -2263=Fehler beim Parsen der Properties -2264=Fehler beim Behandeln der Referenz -2265=Fehler beim Durchführen der Transformation -2266=Signatur ist kein dsig:Signature-Element -2267=SupplementProfileID nicht vorhanden (ID={0}) -2268=VerifyTransformsInfoProfileID nicht vorhanden (ID={0}) -2269=Fehler beim Parsen der Transformation -2270=Fehler beim Decodieren des Hash-Wertes -2271=Falsche Anzahl an ReferenceInfo Elementen in SignatureManfestCheckParams -2280=Die Angabe XMLContent wird derzeit nicht unterstützt - -2900=Interner Server-Fehler - -9900=Nicht klassifizierter Fehler in Subsystem -9901=Nicht klassifizierter Laufzeitfehler in Subsystem -9999=Nicht klassifizierter Fehler - - -# -# Server internal messages -# - -init.00=Fehler beim Lesen der MOA SP/SS Konfiguration: das Service steht nicht zur Verfügung -init.01=MOA SP/SS Konfiguration erfolgreich geladen -init.02=Fehler beim Löschen der Archivdaten -init.03=Fehler beim Aktivieren des IAIK-JCE/JSSE/JDK1.3 Workaround: SSL ist möglicherweise nicht verfügbar -init.04=Fehler beim Initialisieren des Schema Pools - -config.00=Fehler beim Erstellen des KeyGroupMapping: KeyGroup mit id={0} unbekannt - die Erstellung des KeyGroupMapping wird fortgeführt -config.01=Fehler in der Konfiguration: kein gültiger Wert für CRLArchive/duration -config.02=Fehler in der Konfiguration: {0} mit id={1}: falscher Profiltyp in Datei {2} -config.03=Fehler in der Konfiguration: {0} mit id={1} konnte nicht geladen werden -config.04=Fehler in der Konfiguration: {0} mit id={1} existiert bereits -config.05=Umgebungsvariable {0} nicht gesetzt: benutze Default-Konfiguration -config.06=Die MOA SP/SS Konfiguration wurde erfolgreich aktualisiert. -config.07=Fehler in der Konfiguration: Reason code {0} unbekannt -config.08=Fehler beim Konfigurieren der IAIK-Module -config.09=Fehler beim Öffnen der Schlüssel-Datei {0} -config.10=Fehler beim Einlesen der Konfiguration (siehe Log-Datei für Details) -config.11=Fehler biem Erstellen der Konfiguration (siehe Log-Datei für Details) -config.12=Fehler beim Einlesen des Profils -config.13=Fehler beim Erstellen des CRLDistributionPoint: CAIssuerDN={0} ungültig -config.14=Die URI für das TrustProfile mit id={0} ist ungültig (URI={1}) -config.15=Fehler beim Erstellen des TrustProfile id={0}: Name des Konfigurations-Verzeichnisses konnte nicht in eine URL umgewandet werden -config.16=Fehler beim Erstellen von X509IssuerSerial (IssuerName={0}, SerialNumber={1}) -config.17=DigestAlgorithmName unbekannt (AlgorithmName={0}) -config.18=Lade Keystore: {0} -config.19=Key ID={0} -config.20=Fehler beim Aktualisieren der MOA SP/SS Konfiguration. Die bestehende Konfiguration wird beibehalten. -config.21=Lade Konfiguration von {0} -config.22=Lade {0} mit id={1} von Datei {2} -config.23=Fehler in der Konfiguration: {0} nicht konfiguriert oder ungültig, verwende den Default-Wert: {1} -config.24=Fehler in der Konfiguration: Die GenericConfiguration mit name={0} ist bereits gesetzt -config.25=Fehler in der Konfiguration: Das SoftwareKeyModule mit id={0} konnte nicht geladen werden, da die Datei {1} nicht existiert oder ein Verzeichnis bezeichnet -config.26=Fehler beim Erstellen der KeyGroup mit id={0}: KeyModule mit id={1} unbekannt -config.27=Fehler in der Konfiguration: Das TrustProfile mit id={0} zeigt nicht auf ein existierendes Verzeichnis -config.28=Einen detaillierten Fehlerbericht entnehmen Sie bitte der Log-Datei. -config.29=Es sind folgende leichte Fehler aufgetreten: -config.30=Fehler in der Konfiguration: Die GenericConfiguration {0} zeigt nicht auf ein existierendes Verzeichnis oder das Verzeichnis konnte nicht erstellt werden -config.31=Fehler in der Konfiguration der KeyGroup mit id={0}: Der Schlüssel im KeyModule id={1} mit IssuerName={2} und SerialNumber={3} konnte nicht geladen werden - -handler.00=Starte neue Transaktion: TID={0}, Service={1} -handler.01=Aufruf von Adresse={0} -handler.02=Client-Zertifikat: Subject={0}, Serial={1}, Issuer={2} -handler.03=Client-Zertifikat nicht verfügbar -handler.04=Anfrage erfolgreich abgearbeitet -handler.05=Fehler beim Abarbeiten der Anfrage - -invoker.00=Das Signature Environment konnte nicht validierend geparst werden -invoker.01=Keine passende Transformationskette gefunden (Index={0}) -invoker.02=Der Hashwert der Transformation stimmt nicht überein (Index={0}) diff --git a/spss.server/res/resources/security/cacerts b/spss.server/res/resources/security/cacerts deleted file mode 100644 index 6eeaba418..000000000 Binary files a/spss.server/res/resources/security/cacerts and /dev/null differ diff --git a/spss.server/res/resources/wsdl/MOA-SPSS-1.1.wsdl b/spss.server/res/resources/wsdl/MOA-SPSS-1.1.wsdl deleted file mode 100644 index 39a1d56c4..000000000 --- a/spss.server/res/resources/wsdl/MOA-SPSS-1.1.wsdl +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spss.server/res/resources/wsdl/MOA-SPSS-1.1.xsd b/spss.server/res/resources/wsdl/MOA-SPSS-1.1.xsd deleted file mode 100644 index f7cd8600a..000000000 --- a/spss.server/res/resources/wsdl/MOA-SPSS-1.1.xsd +++ /dev/null @@ -1,431 +0,0 @@ - - - - - - - - - - - - - - - - - - - - Ermöglichung der Stapelsignatur durch wiederholte Angabe dieses Elements - - - - - - - - - - - - - - - - - - - Auswahl: Entweder explizite Angabe des Signaturorts sowie ggf. sinnvoller Supplements im Zshg. mit der Signaturumgebung, oder Verweis auf ein benanntes Profil - - - - - - - - - - - - - - - - - - Kardinalität 1..oo erlaubt die Antwort auf eine Stapelsignatur-Anfrage - - - - Resultat, falls die Signaturerstellung erfolgreich war - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - mit diesem Profil wird eine Menge von vertrauenswürdigen Wurzelzertifikaten spezifiziert - - - - - - - - - - - only ds:X509Data and RetrievalMethod is supported; QualifiedCertificate is included as X509Data/any;publicAuthority is included as X509Data/any - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pro dsig:Reference-Element in der zu überprüfenden XML-Signatur muss hier ein ReferenceInfo-Element erscheinen. Die Reihenfolge der einzelnen ReferenceInfo Elemente entspricht jener der dsig:Reference Elemente in der XML-Signatur. - - - - - - - - - - mit diesem Profil wird eine Menge von vertrauenswürdigen Wurzelzertifikaten spezifiziert - - - - - - - - - - - only ds:X509Data and ds:RetrievalMethod is supported; QualifiedCertificate is included as X509Data/any; PublicAuthority is included as X509Data/any - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Auswahl: Entweder explizite Angabe EINER Transformationskette inklusive ggf. sinnvoller Supplements oder Verweis auf ein benanntes Profil - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Resultat, falls die Signaturerstellung gescheitert ist - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ein oder mehrere Transformationswege können von der Applikation an MOA mitgeteilt werden. Die zu prüfende Signatur hat zumindest einem dieser Transformationswege zu entsprechen. Die Angabe kann explizit oder als Profilbezeichner erfolgen. - - - - - Profilbezeichner für einen Transformationsweg - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Die Angabe des Transformationsparameters (explizit oder als Hashwert) kann unterlassen werden, wenn die Applikation von der Unveränderlichkeit des Inhalts der in "Transformationsparamter", Attribut "URI" angegebenen URI ausgehen kann. - - - - Der Transformationsparameter explizit angegeben. - - - - - Der Hashwert des Transformationsparameters. - - - - - - - - - - - - - - - - - - - - - - Explizite Angabe des Transformationswegs - - - - - - - Alle impliziten Transformationsparameter, die zum Durchlaufen der oben angeführten Transformationskette bekannt sein müssen, müssen hier angeführt werden. Das Attribut "URI" bezeichnet den Transformationsparameter in exakt jener Weise, wie er in der zu überprüfenden Signatur gebraucht wird. - - - - - - - - - - - - - - - - diff --git a/spss.server/server-config.wsdd b/spss.server/server-config.wsdd deleted file mode 100644 index 1f5f83ae5..000000000 --- a/spss.server/server-config.wsdd +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - http://reference.e-government.gv.at/namespace/moa/20020822# - - - - - - - - - - - - - http://reference.e-government.gv.at/namespace/moa/20020822# - - - - - - - - - - - - - - - - - - - diff --git a/spss.server/src/at/gv/egovernment/moa/spss/MOAApplicationException.java b/spss.server/src/at/gv/egovernment/moa/spss/MOAApplicationException.java deleted file mode 100644 index 0d7abd1d3..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/MOAApplicationException.java +++ /dev/null @@ -1,41 +0,0 @@ -package at.gv.egovernment.moa.spss; -/** - * Base class of application specific MOA exceptions. - * - * Application exceptions are exceptions that originate from application - * code (e.g. inconsistent data provided by the user, no permission to access - * certain resources, etc.) - * - * @author Patrick Peck - * @version $Id$ - */ -public class MOAApplicationException extends MOAException { - - /** - * Create a new MOAApplicationException. - * - * @param messageId The identifier of the message associated with this - * exception. - * @param parameters Additional message parameters. - */ - public MOAApplicationException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Create a new MOAApplicationException. - * - * @param messageId The identifier of the message associated with this - * MOAApplicationException. - * @param parameters Additional message parameters. - * @param wrapped The exception wrapped by this - * MOAApplicationException. - */ - public MOAApplicationException( - String messageId, - Object[] parameters, - Throwable wrapped) { - super(messageId, parameters, wrapped); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/MOAException.java b/spss.server/src/at/gv/egovernment/moa/spss/MOAException.java deleted file mode 100644 index a102d256b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/MOAException.java +++ /dev/null @@ -1,164 +0,0 @@ -package at.gv.egovernment.moa.spss; -import java.io.PrintStream; -import java.io.PrintWriter; - -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; - -import org.w3c.dom.DOMImplementation; -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.util.Constants; - -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * Base class of MOA specific exceptions. - * - * This class has the ability to wrap other exceptions which may be seen - * as the root cause for this exception. A similar mechanism is in place - * since JDK1.4 (see the getClause() method) but will not be used - * because of required compatibility with JDK1.3. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class MOAException extends Exception { - /** The message ID. */ - private String messageId; - /** The wrapped Throwable. */ - private Throwable wrapped; - - /** - * Create a MOAException. - * - * @param messageId The message ID of the message contained in the created - * MOAException. - * @param parameters The parameters needed to fill in the message arguments. - */ - public MOAException(String messageId, Object[] parameters) { - super(MessageProvider.getInstance().getMessage(messageId, parameters)); - this.messageId = messageId; - } - - /** - * Create a MOAException. - * - * @param messageId The message ID of the message contained in the created - * MOAException. - * @param parameters The parameters needed to fill in the message arguments. - * @param wrapped The exception wrapped by the created - * MOAException. - */ - public MOAException( - String messageId, - Object[] parameters, - Throwable wrapped) { - - super(MessageProvider.getInstance().getMessage(messageId, parameters)); - this.messageId = messageId; - this.wrapped = wrapped; - } - - /** - * Returns the message ID of this exception. - * - * @return The message ID as provided in the constructor. - */ - public String getMessageId() { - return messageId; - } - - /** - * Returns the exception wrapped by this MOAException. - * - * @return The exception wrapped by this exception. Possibly - * null, if none was provided at construction time. - */ - public Throwable getWrapped() { - return wrapped; - } - - /** - * Convert this MOAException to an ErrorResponse - * element from the MOA namespace. - * - * @return An ErrorResponse element, containing the subelements - * ErrorCode and Info required by the MOA schema. - */ - public Element toErrorResponse() { - DocumentBuilder builder; - DOMImplementation impl; - Document doc; - Element errorResponse; - Element errorCode; - Element info; - - // create a new document - try { - builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); - impl = builder.getDOMImplementation(); - } catch (ParserConfigurationException e) { - return null; - } - - // build the ErrorResponse element - doc = impl.createDocument(Constants.MOA_NS_URI, "ErrorResponse", null); - errorResponse = doc.getDocumentElement(); - - // add MOA namespace declaration - errorResponse.setAttributeNS( - Constants.XMLNS_NS_URI, - "xmlns", - Constants.MOA_NS_URI); - - // build the child elements - errorCode = doc.createElementNS(Constants.MOA_NS_URI, "ErrorCode"); - errorCode.appendChild(doc.createTextNode(messageId)); - info = doc.createElementNS(Constants.MOA_NS_URI, "Info"); - info.appendChild(doc.createTextNode(getMessage())); - errorResponse.appendChild(errorCode); - errorResponse.appendChild(info); - return errorResponse; - } - - /** - * Print a stack trace of this exception to System.err. - * - * @see java.lang.Throwable#printStackTrace() - */ - public void printStackTrace() { - printStackTrace(System.err); - } - - /** - * Print a stack trace of this exception, including the wrapped exception. - * - * @param s The stream to write the stack trace to. - * @see java.lang.Throwable#printStackTrace(java.io.PrintStream) - */ - public void printStackTrace(PrintStream s) { - super.printStackTrace(s); - if (getWrapped() != null) { - s.print("Caused by: "); - getWrapped().printStackTrace(s); - } - } - - /** - * Print a stack trace of this exception, including the wrapped exception. - * - * @param s The stream to write the stacktrace to. - * @see java.lang.Throwable#printStackTrace(java.io.PrintWriter) - */ - public void printStackTrace(PrintWriter s) { - super.printStackTrace(s); - if (getWrapped() != null) { - s.print("Caused by: "); - getWrapped().printStackTrace(s); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/MOASystemException.java b/spss.server/src/at/gv/egovernment/moa/spss/MOASystemException.java deleted file mode 100644 index 5a49b6852..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/MOASystemException.java +++ /dev/null @@ -1,40 +0,0 @@ -package at.gv.egovernment.moa.spss; -/** - * Base class of technical MOA exceptions. - * - * Technical exceptions are exceptions that originate from system failure (e.g., - * a database connection fails, a component is not available, etc.) - * - * @author Patrick Peck - * @version $Id$ - */ -public class MOASystemException extends MOAException { - - /** - * Create a new MOASystemException. - * - * @param messageId The identifier of the message associated with this - * exception. - * @param parameters Additional message parameters. - */ - public MOASystemException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Create a new MOASystemException. - * - * @param messageId The identifier of the message associated with this - * MOASystemException. - * @param parameters Additional message parameters. - * @param wrapped The exception wrapped by this - * MOASystemException. - */ - public MOASystemException( - String messageId, - Object[] parameters, - Throwable wrapped) { - super(messageId, parameters, wrapped); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/Configurator.java b/spss.server/src/at/gv/egovernment/moa/spss/api/Configurator.java deleted file mode 100644 index a0efa8924..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/Configurator.java +++ /dev/null @@ -1,60 +0,0 @@ -package at.gv.egovernment.moa.spss.api; - -import org.apache.commons.discovery.tools.DiscoverClass; - -import at.gv.egovernment.moa.spss.MOAException; - -/** - * Configures the SP/SS API. - * - * Also handles dynamic configuration updates. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class Configurator { - - /** The default implementation class. */ - private static final String DEFAULT_IMPLEMENTATION = - "at.gv.egovernment.moa.spss.server.init.ConfiguratorImpl"; - - /** The single instance of this class. */ - private static Configurator instance = null; - - public static synchronized Configurator getInstance() { - if (instance == null) { - try { - DiscoverClass discover = new DiscoverClass(); - instance = - (Configurator) discover.newInstance( - Configurator.class, - DEFAULT_IMPLEMENTATION); - } catch (Exception e) { - // this can not happen since we provide a valid default - // implementation - } - } - return instance; - } - - /** - * Initialize the SP/SS configuration. - * - * Only a single call to this method will have an effect. Use - * update() for reflecting changes in the configuration instead. - * - * @throws MOAException An error occurred updating the SP/SS configuration. - */ - public abstract void init() throws MOAException; - - /** - * Update the SP/SS configuration. - * - * This will only have an effect after the system has been initialized once - * using init(). - * - * @throws MOAException An error occurred updating the SP/SS configuration. - */ - public abstract void update() throws MOAException; - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/SPSSFactory.java b/spss.server/src/at/gv/egovernment/moa/spss/api/SPSSFactory.java deleted file mode 100644 index 178a45273..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/SPSSFactory.java +++ /dev/null @@ -1,993 +0,0 @@ -package at.gv.egovernment.moa.spss.api; - -import java.io.InputStream; -import java.math.BigInteger; -import java.security.cert.X509Certificate; -import java.util.Date; -import java.util.List; -import java.util.Map; - -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import org.apache.commons.discovery.tools.DiscoverClass; - -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContent; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSDataObject; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseElement; -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; -import at.gv.egovernment.moa.spss.api.common.Transform; -import at.gv.egovernment.moa.spss.api.common.X509IssuerSerial; -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; -import at.gv.egovernment.moa.spss.api.common.XPathFilter; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.ErrorResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.SignatureEnvironmentResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResultInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResultInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.SignatureManifestCheckParams; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; - -/** - * An abstract factory for creating MOA SP/SS API objects. - * - * Use getInstance() to get a concrete factory instance. Using - * this instance, concrete MOA SP/SS API object can be created. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class SPSSFactory { - - /** The default implementation of this class. */ - private static final String DEFAULT_IMPLEMENTATION = - "at.gv.egovernment.moa.spss.api.impl.SPSSFactoryImpl"; - - /** The single instance of this class. */ - private static SPSSFactory instance = null; - - /** - * Returns the single instance of this class. - * - * @return The single instance of this class. - */ - public static synchronized SPSSFactory getInstance() { - if (instance == null) { - try { - DiscoverClass discover = new DiscoverClass(); - instance = - (SPSSFactory) discover.newInstance( - SPSSFactory.class, - DEFAULT_IMPLEMENTATION); - } catch (Exception e) { - // this can not happen since we provide a valid default - // implementation - } - } - return instance; - } - - // - // Factory methods for creating XML signatures - // - - /** - * Create a new CreateXMLSignatureRequest object. - * - * @param keyIdentifier The identifier for the key group to use for signing. - * @param singleSignatureInfos A List of - * SingleSignatureInfo objects containing information about a - * single signature to be created. - * @return The CreateXMLSignatureRequest containing the above - * data. - * - * @pre keyIdentifier != null && keyIdentifier.length() > 0 - * @pre singleSignatureInfos != null - * @pre forall Object o in singleSignatureInfos | - * o instanceof at.gv.egovernment.moa.spss.api.common.SingleSignatureInfo - * @post return != null - */ - public abstract CreateXMLSignatureRequest createCreateXMLSignatureRequest( - String keyIdentifier, - List singleSignatureInfos); - - /** - * Create a new SingleSignatureInfo object. - * - * @param dataObjectInfos The data objects that will be signed (including - * transformations). - * @param createSignatureInfo Information about the signature environment. May - * be null. - * @param securityLayerConform If true, a Security Layer conform - * signature manifest is created, otherwise not. - * @return The SingleSignatureInfo containing the above data. - * - * @pre dataObjectInfos != null && dataObjectInfos.size() > 0 - * @pre forall Object o in dataObjectInfos | - * o instanceof at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo - * @post return != null - */ - public abstract SingleSignatureInfo createSingleSignatureInfo( - List dataObjectInfos, - CreateSignatureInfo createSignatureInfo, boolean securityLayerConform); - - /** - * Create a new DataObjectInfo object. - * - * @param structure The type of signature to create. - * @param childOfManifest If true, references will be returned - * as children of an XMLDsig manifest. Otherwise, they will be returned as - * children of the signature itself. - * @param dataObject The data object that will be signed. - * @param createTransformsInfoProfile Additional transformations to apply - * to the data object. - * @return The DataObjectInfo containing the above data. - * - * @pre DataObjectInfo.STRUCTURE_DETACHED.equals(structure) || - * DataObjectInfo.STRUCTURE_ENVELOPING.equals(structure) - * @pre dataObject != null - * @pre createTransformsInfoProfile != null - * @post return != null - */ - public abstract DataObjectInfo createDataObjectInfo( - String structure, - boolean childOfManifest, - Content dataObject, - CreateTransformsInfoProfile createTransformsInfoProfile); - - /** - * Create a new CreateTransformsInfoProfile object containing a - * reference to a locally stored profile. - * - * @param profileID The profile ID to resolve during signature creation. - * @return The CreateTransformsInfoProfile containing the given - * profile ID. - * - * @pre profileID != null && profileID.length() > 0 - * @post return != null - */ - public abstract CreateTransformsInfoProfile createCreateTransformsInfoProfile(String profileID); - - /** - * Create a new CreateTransformsInfoProfile object by providing - * the profile data explicitly. - * - * @param transformsInfo The transformations to apply to the associated - * data object. - * @param supplements Supplemental information for the transformation. May be - * null. - * @return The CreateTransformsInfoProfile containing the above - * data. - * - * @pre transformsInfo != null - * @pre supplements != null implies - * forall Object o in supplements | - * o instanceof at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation - * @post return != null - */ - public abstract CreateTransformsInfoProfile createCreateTransformsInfoProfile( - CreateTransformsInfo transformsInfo, - List supplements); - - /** - * Create a new CreateTransformsInfo object. - * - * @param transforms The Transforms to apply to the associated - * data object. May be null. - * @param finalDataMetaInfo Information about the type of the transformed - * data. - * @return The CreateTransformsInfo containing the above data. - * - * @pre transforms != null implies transforms.size > 0 - * @pre transforms != null implies - * forall Object o in transforms | - * o instanceof at.gv.egovernment.moa.spss.api.common.Transform - * @pre finalDataMetaInfo != null - * @post return != null - */ - public abstract CreateTransformsInfo createCreateTransformsInfo( - List transforms, - MetaInfo finalDataMetaInfo); - - /** - * Create a new CreateSignatureInfo object. - * - * @param createSignatureEnvironment The signature environment that will - * contain the signature. - * @param createSignatureEnvironmentProfile Additional information about - * the signture environment. - * @return The CreateSignatureInfo containing the above data. - * - * @pre createSignatureEnvironment != null - * @pre createSignatureEnvironmentProfile != null - * @post return != null - */ - public abstract CreateSignatureInfo createCreateSignatureInfo( - Content createSignatureEnvironment, - CreateSignatureEnvironmentProfile createSignatureEnvironmentProfile); - - /** - * Create a new CreateSignatureEnvironmentProfile object - * containing a reference to a locally stored profile. - * - * @param profileID The profile ID to resolve during signature creation. - * @return The CreateSignatureEnvironmentProfile containing - * the given profile ID. - * - * @pre profileID != null && profileID.length() > 0 - * @post return != null - */ - public abstract CreateSignatureEnvironmentProfile createCreateSignatureEnvironmentProfile(String profileID); - - /** - * Create a new CreateSignatureEnvironmentProfile object by - * providing the profile data explicitly. - * - * @param createSignatureLocation The location where the signature will be - * inserted. - * @param supplements Additional information about the signature environment. - * @return The CreateSignatureEnvironmentProfile containing the - * above data. - * - * @pre createSignatureLocation != null - * @pre supplements != null - * @pre forall Object o in supplements | - * o instanceof at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation - * @post return != null - */ - public abstract CreateSignatureEnvironmentProfile createCreateSignatureEnvironmentProfile( - CreateSignatureLocation createSignatureLocation, - List supplements); - - /** - * Create a new CreateSignatureLocation object. - * - * @param xPathExpression The XPath expression to select the signature - * parent element within the signature environment. - * @param index The index of the node, after which the signature will be - * inserted. - * @param namespaceDeclarations The namespace prefix to URI mapping to apply - * while evaluating the XPath expression. - * @return The CreateSignatureLocation containing the above data. - * - * @pre xPathExpression != null - * @pre index >= 0 - * @pre namespaceDeclarations != null - */ - public abstract CreateSignatureLocation createCreateSignatureLocation( - String xPathExpression, - int index, - Map namespaceDeclarations); - - /** - * Create a new CreateXMLSignatureResponse object. - * - * @param responseElements The elements of the response, either - * SignatureEnvironmentResponse objects, or - * ErrorResponse objects. - * @return The new CreateXMLSignatureResponse containing the - * above data. - * - * @pre responseElements != null && responseElements.size() > 0 - * @pre forall Object o in responseElements | - * o instanceof at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureResponseElement - * @post return != null - */ - public abstract CreateXMLSignatureResponse createCreateXMLSignatureResponse(List responseElements); - - /** - * Create a new SignatureEnvironmentResponse object. - * - * @param signatureEnvironment The signature environment containing the - * signature. - * @return The SignatureEnvironmentResponse containing the - * signatureEnvironment. - * - * @pre signatureEnvironment != null - * @post return != null - */ - public abstract SignatureEnvironmentResponse createSignatureEnvironmentResponse(Element signatureEnvironment); - - /** - * Create a new ErrorResponse object. - * - * @param code The numerical error code. - * @param info Verbose error information. - * @return The new ErrorResponse containing the above data. - * - * @pre code > 0 - * @pre info != null - * @post return != null - */ - public abstract ErrorResponse createErrorResponse(int code, String info); - - // - // Factory methods for verifying CMS signatures - // - - /** - * Create a new VerifyCMSSignatureRequest object. - * - * @param signatories The indexes of the signatories whose signature is to - * be verified. - * @param dateTime The date for which the verification is to be performed. - * May be null. - * @param cmsSignature The CMS signature. - * @param dataObject The signed data. May be null. - * @param trustProfileID The ID of the trust profile containing the trusted - * root certificates. - * @return The VerifyCMSSignatureRequest containing the above - * data. - * - * @pre signatories != null && signatories.length > 0 - * @pre signaturies != VerifyCMSSignatureRequest.ALL_SIGNATORIES implies - * for (int i = 0; i < signatories.length; i++) - * signatories[i] >= 1 - * @pre cmsSignature != null - * @pre trustProfileID != null && trustProfileID.length() > 0 - * @post return != null - */ - public abstract VerifyCMSSignatureRequest createVerifyCMSSignatureRequest( - int[] signatories, - Date dateTime, - InputStream cmsSignature, - CMSDataObject dataObject, - String trustProfileID); - - /** - * Create a new CMSDataObject object from data at a given URI. - * - * @param metaInfo Type information about the CMSDataObject. - * May be null. - * @param content The CMS content containing the data. - * @return The new CMSDataObject containing the data. - * - * @pre referenceURI != null - * @pre content != null - * @post return != null - */ - public abstract CMSDataObject createCMSDataObject( - MetaInfo metaInfo, - CMSContent content); - - /** - * Create a new CMSContent object from the data contained at the - * given URI. - * - * @param referenceURI The URI identifying the data. Must be resolvable. - * @return The CMSContent containing a reference to the signed - * data. - * - * @pre referenceURI != null - * @post return != null - */ - public abstract CMSContent createCMSContent(String referenceURI); - - /** - * Create a new CMSContent object from a byte stream. - * - * @param binaryContent The byte stream containing the signed data. - * @return The new CMSContent containing the data from the - * byte stream. - * - * @pre binaryContent != null - * @post return != null - */ - public abstract CMSContent createCMSContent(InputStream binaryContent); - - /** - * Create a new VerifyCMSSignatureResponse object. - * - * @param responseElements Verification information about each signature. - * @return The new VerifyCMSSignatureResponse containing the - * status of signature verification for each signature contained in the - * request. - * - * @pre responseElements != null && responseElements.size() > 0 - * @pre forall Object o in responseElements | - * o instanceof at.gv.egovernment.moa.spss.api.cmssign.VerifyCMSSignatureResponseElement - * @post return != null - */ - public abstract VerifyCMSSignatureResponse createVerifyCMSSignatureResponse(List responseElements); - - /** - * Create a new VerifyCMSSignatureResponseElement object. - * - * @param signerInfo Information about the signer certificate. - * @param signatureCheck Result of the singature value check. - * @param certificateCheck Result of the certificate status check. - * @return The new VerifyCMSSignatureResponseElement containing - * the above data. - * - * @pre signerInfo != null && signatureCheck != null && - * certificateCheck != null - * @post return != null - */ - public abstract VerifyCMSSignatureResponseElement createVerifyCMSSignatureResponseElement( - SignerInfo signerInfo, - CheckResult signatureCheck, - CheckResult certificateCheck); - - // - // Factory methods for verifying XML signatures - // - - /** - * Create a new VerifyXMLSignatureRequest object. - * - * @param dateTime The date for which the verification is to be performed. - * May be null. - * @param verifySignatureInfo Information about the signature environment and - * the location of the signature. - * @param supplementProfiles Supplemental information for the signature - * environment. May be null. - * @param signatureManifestParams Additional information for checking the - * signature manifest. May be null. - * @param returnHashInputData If true, hash input data will - * be returned in the response, otherwise not. - * @param trustProfileID The ID of the trust profile containing the trusted - * root certificates. - * @return The new VerifyXMLSignatureRequest containing the - * above data. - * - * @pre verifySignatureInfo != null - * @pre supplementProfiles != null implies - * forall Object o in supplementProfiles | - * o instanceof at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile - * @pre trustProfileID != null && trustProfileID.length() > 0 - * @post return != null - */ - public abstract VerifyXMLSignatureRequest createVerifyXMLSignatureRequest( - Date dateTime, - VerifySignatureInfo verifySignatureInfo, - List supplementProfiles, - SignatureManifestCheckParams signatureManifestParams, - boolean returnHashInputData, - String trustProfileID); - - /** - * Create a new VerifySignatureInfo object. - * - * @param verifySignatureEnvironment The signature environment containing - * the signature to be verified. - * @param verifySignatureLocation The location of the signature within the - * signature environment. - * @return The new VerifySignatureInfo containing the above data. - * - * @pre verifySignatureEnvironment != null - * @pre verifySignatureLocation != null - * @post return != null - */ - public abstract VerifySignatureInfo createVerifySignatureInfo( - Content verifySignatureEnvironment, - VerifySignatureLocation verifySignatureLocation); - - /** - * Create a new VerifySignatureLocation object. - * - * @param xPathExpression The XPath expression to select the signature - * element within the signature environment. - * @param namespaceDeclarations The namespace prefix to URI mapping to apply - * while evaluating the XPath expression. - * @return The new VerifySignatureLocation containing the above - * data. - * - * @pre xPathExpression != null - * @pre namespaceDeclarations != null - * @post return != null - */ - public abstract VerifySignatureLocation createVerifySignatureLocation( - String xPathExpression, - Map namespaceDeclarations); - - /** - * Create a new SupplementProfile object containing a reference - * to a locally stored profile. - * - * @param profileID The profile ID to resolve during signature verification. - * @return The SupplementProfile containing the profile ID. - * - * @pre profileID != null && profileID.length() > 0 - * @post return != null - */ - public abstract SupplementProfile createSupplementProfile(String profileID); - - /** - * Create a new SupplementProfile object by providing the profile - * data explicitly. - * - * @param supplementProfile The profile data. - * @return The SupplementProfile containing the profile data. - */ - public abstract SupplementProfile createSupplementProfile(XMLDataObjectAssociation supplementProfile); - - /** - * Create a new SignatureManifestCheckParams object. - * - * @param referenceInfos Information for checking the validity of a - * a reference. - * @param returnReferenceInputData If true, the input data to - * the calculation of reference digest values will be returned in the - * response, otherwise not. - * @return The SignatureManifestCheckParams containing the - * above data. - * - * @pre referenceInfos != null && referenceInfos.size() > 0 - * @pre forall Object o in referenceInfos | - * o instanceof at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo - * @post return != null - */ - public abstract SignatureManifestCheckParams createSignatureManifestCheckParams( - List referenceInfos, - boolean returnReferenceInputData); - - /** - * Create a new ReferenceInfo object. - * - * @param verifyTransformsInfoProfiles The transformation profiles valid for - * the associated reference. - * @return The ReferenceInfo containing the transformation - * profiles. - * - * @pre verifyTransformsInfoProfiles != null && - * verifyTransformsInfoProfiles.size() > 0 - * @pre forall Object o in verifyTransformsInfoProfiles | - * o instanceof at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile - * @post return != null - */ - public abstract ReferenceInfo createReferenceInfo(List verifyTransformsInfoProfiles); - - /** - * Create a new VerifyTransformsInfoProfile object containing - * a reference to a locally stored profile. - * - * @param profileID The profile ID to resolve during signature verification. - * @return The VerifyTransformsInfoProfile containing the - * given profile ID. - * - * @pre profileID != null && profileID.length() > 0 - * @post return != null - */ - public abstract VerifyTransformsInfoProfile createVerifyTransformsInfoProfile(String profileID); - - /** - * Create a new VerifyTransformsInfoProfile object by providing - * the profile data explicitly. - * - * @param transforms A valid chain of transformations for the reference. - * May be null. - * @param transformParameters Additional transformation information. - * @return The VerifyTransformsInfoProfile containing the above - * data. - * - * @pre transforms != null implies - * (transforms.size() > 0 && - * forall Object o in transforms | o instanceof Transform) - * @pre transformParameters != null implies - * forall Object o in transformParameters | - * o instanceof at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter - * @post return != null - */ - public abstract VerifyTransformsInfoProfile createVerifyTransformsInfoProfile( - List transforms, - List transformParameters); - - /** - * Create a new TransformParameter object with the data - * contained at the given URI. - * - * @param URI The URI identifying the data. The URI will be resolved during - * signature verification. - * @return The TransformParameter containing the URI of the - * data. - * - * @pre URI != null - * @post return != null - */ - public abstract TransformParameter createTransformParameter(String URI); - - /** - * Creata a new TransformParameter object containing the - * binary data. - * - * @param URI The URI identifying the data. - * @param binaryData The binary data. - * @return The TransformParameter containig the binary data. - * - * @pre URI != null - * @pre binary != null - * @post return != null - */ - public abstract TransformParameter createTransformParameter( - String URI, - InputStream binaryData); - - /** - * Create a new TransformParameter object containing the hash - * value of the transformation data. - * - * @param URI The URI identifying the data. It will be resolved during - * signature verification. - * @param digestMethod The digest method used for calculating the digest - * value. - * @param digestValue The hash value of the transformation data. - * @return The TransformParameter containing the above data. - * - * @pre URI != null - * @pre digestMethod != null - * @pre digestValue != null - */ - public abstract TransformParameter createTransformParameter( - String URI, - String digestMethod, - byte[] digestValue); - - /** - * Create a new VerifyXMLSignatureResponse object. - * - * @param signerInfo Information about the signer certificate. - * @param hashInputDatas The signed data objects. May be null. - * @param referenceInputDatas The reference input data objects. - * May be null. - * @param signatureCheck Status information about the signature check. - * @param signatureManifestCheck Status information about the signature - * manifest check. - * @param xmlDsigManifestChecks Status information about each XMLDsig manifest - * check. - * @param certificateCheck Status information about the signer certificate - * check. - * @return The VerifyXMLSignatureResponse containing the above - * data. - * - * @pre signerInfo != null - * @pre hashInputDatas != null implies - * forall Object o in hashInputDatas | - * o instanceof at.gv.egovernment.moa.spss.api.common.Content - * @pre referenceInputDatas != null implies - * forall Object o in referenceInputDatas | - * o instanceof at.gv.egovernment.moa.spss.api.common.Content - * @pre signatureCheck != null - * @pre xmlDsigManifestChecks != null implies - * forall Object o in xmlDsigManifestChecks | - * o instanceof at.gv.egovernment.moa.spss.api.xmlverifyManifestRefsCheckResult - * @pre certificateCheck != null - * @post return != null - */ - public abstract VerifyXMLSignatureResponse createVerifyXMLSignatureResponse( - SignerInfo signerInfo, - List hashInputDatas, - List referenceInputDatas, - ReferencesCheckResult signatureCheck, - ReferencesCheckResult signatureManifestCheck, - List xmlDsigManifestChecks, - CheckResult certificateCheck); - - /** - * Create a new ReferencesCheckResult object. - * - * @param code The status code. - * @param info Additional information about the reference check. - * @return The ReferencesCheckResult containing the above data. - * - * @pre code >= 0 - * @post return != null - */ - public abstract ReferencesCheckResult createReferencesCheckResult( - int code, - ReferencesCheckResultInfo info); - - /** - * Create a new ReferencesCheckResultInfo object. - * - * @param anyOtherInfo Arbitrary XML content describing the check result. - * May be null. - * @param failedReferences The indexes of the failed references. May be - * null. - * @return The ReferencesCheckResultInfo containing the above - * data. - * - * @post return != null - */ - public abstract ReferencesCheckResultInfo createReferencesCheckResultInfo( - NodeList anyOtherInfo, - int[] failedReferences); - - /** - * Create a new ManifestRefsCheckResult object. - * - * @param code The status code. - * @param info Additional information about the manifest check. May be - * null. - * @return The ManifestRefsCheckResult containing the above - * data. - * - * @pre code >= 0 - * @post return != null - */ - public abstract ManifestRefsCheckResult createManifestRefsCheckResult( - int code, - ManifestRefsCheckResultInfo info); - - /** - * Create a new ManifestRefsCheckResultInfo object. - * - * @param anyOtherInfo Arbitrary XML content describing the check result. - * May be null. - * @param failedReferences The indexes of the failed references. May be - * null. - * @param referringSigReference The index of the reference in the signature. - * @return The ManifestRefsCheckResultInfo containing the - * above data. - * - * @pre referringSigReference > 0 - * @post return != null - */ - public abstract ManifestRefsCheckResultInfo createManifestRefsCheckResultInfo( - NodeList anyOtherInfo, - int[] failedReferences, - int referringSigReference); - - // - // Factory methods for common objects - // - - /** - * Create a new Content object referencing data via a URI. - * - * @param referenceURI The URI pointing to the content. - * @return The Content object containing the reference. - * - * @pre referenceURI != null && referenceURI.length() > 0 - * @post return != null - */ - public abstract Content createContent(String referenceURI); - - /** - * Create a new Content object containing binary data. - * - * @param binaryData An InputStream containing the binary data. - * @param referenceURI An URI identifying the data. May be null. - * @return The Content object containing the data. - * - * @pre binaryData != null - * @post return != null - */ - public abstract Content createContent( - InputStream binaryData, - String referenceURI); - - /** - * Create a new Content object containing XML data. - * - * @param xmlData The XML data contained in the new Content. - * @param referenceURI An URI identifying the data. May be null. - * @return The Content object containing the data. - * - * @pre xmlData != null - * @post return != null - */ - public abstract Content createContent(NodeList xmlData, String referenceURI); - - /** - * Create a new XMLDataObjectAssociation object. - * - * @param metaInfo Information about the content type. May be - * null. - * @param content The Content object containing the data. - * @return The XMLDataObjectAssociation containing the above - * data. - * - * @pre content != null - * @pre content.getContentType() == Content.CONTENT_XML || - * content.getContentType() == Contetn.CONTENT_BINARY - * @pre content.getReference() != null - * @post return != null - */ - public abstract XMLDataObjectAssociation createXMLDataObjectAssociation( - MetaInfo metaInfo, - Content content); - - /** - * Create a new MetaInfo object. - * - * @param mimeType The MIME type part of the meta information. - * @param description Descriptive meta information. May be null. - * @param otherInfo XML meta information. May be null. - * @return The MetaInfo object containing the above data. - * - * @pre mimeType != null && mimeType.length() > 0 - * @pre otherInfo != null implies - * forall Node n in otherInfo | n.getNodeType() == Node.ELEMENT - */ - public abstract MetaInfo createMetaInfo( - String mimeType, - String description, - NodeList otherInfo); - - /** - * Create a CanonicalizationTransform type of Transform. - * - * @param algorithmURI The algorithm URI of the canonicalization. - * @return The created CanonicalizationTransform object. - * - * @pre CanonicalizationTransform.CANONICAL_XML.equals(algorithmURI) || - * CanonicalizationTransform.CANONICAL_XML_WITH_COMMENTS.equals(algorithmURI) - * @post return != null - */ - public abstract Transform createCanonicalizationTransform(String algorithmURI); - - /** - * Create an ExclusiveCanonicalizationTransform type of - * Transform. - * - * @param algorithmURI The algorithm URI of the exclusive canonicalization. - * @param inclusiveNamespacePrefixes The prefixes of the namespaces to - * treat according to canonical XML. - * @return The new ExclusiveCanonicalizationTransform - * - * @pre ExclusiveCanonicalizationTransform.EXCLUSIVE_CANONICAL_XML.equals(algorithmURI) || - * ExclusiveCanonicalizationTransform.EXCLUSIVE_CANONICAL_XML_WITH_COMMENTS.equals(algorithmURI) - * @pre inclusiveNamespacePrefixes != null - * @pre forall Object o in inclusiveNamespacePrefixes | o instanceof String - * @post return != null - */ - public abstract Transform createExclusiveCanonicalizationTransform( - String algorithmURI, - List inclusiveNamespacePrefixes); - - /** - * Create a Base64Transform type of Transform. - * - * @return A Transform denoting a Base64 decoding. - * - * @post return != null - */ - public abstract Transform createBase64Transform(); - - /** - * Create a EnvelopedSignatureTransform type of - * Transform. - * - * @return A Transform denoting an enveloped signature. - * - * @post return != null - */ - public abstract Transform createEnvelopedSignatureTransform(); - - /** - * Create an XSLTTransform type of Transform. - * - * @param styleSheet The XSLT stylesheet contained in the - * Transform. - * @return A Transform containing the XSLT stylesheet. - * - * @post return != null - */ - public abstract Transform createXSLTTransform(Element styleSheet); - - /** - * Create an XPathTransform type of Transform. - * - * @param xPathExpression The XPath expression to use in the created - * Transform. - * @param namespaceDeclarations The namespace prefix to URI mapping to - * apply on evaluation of the XPath expression. - * @return The XPathTransform containing the above data. - * - * @pre xPathExpression != null - * @pre namespaceDeclarations != null - * @post return != null - */ - public abstract Transform createXPathTransform( - String xPathExpression, - Map namespaceDeclarations); - - /** - * Create a new XPathFilter2Transform type of - * Transform. - * - * @param xPathFilters The filters contained in the newly created - * XPathFilter2Transform. - * @return The XPathFilter2Transform containing the given - * filters. - * - * @pre xPathFilters != null && - * forall Object o in xPathFilters | - * o instanceof at.gv.egovernment.moa.spss.api.common.XPathFilter - * @post return != null - */ - public abstract Transform createXPathFilter2Transform(List xPathFilters); - - /** - * Create a new XPathFilter object. - * - * @param filterType The type of filter. - * @param xPathExpression The XPath expression contained in this filter. - * @param namespaceDeclarations The namespace prefix to URI mapping to apply - * on evaluation of the XPath expression. - * @return The XPathFilter containing the above data. - * - * @pre XPathFilter.SUBTRACT_TYPE.equals(filterType) || - * XPathFilter.INTERSECT_TYPE.equals(filterType) || - * XPathFilter.UNION_TYPE.equals(filterType) - * @pre xPathExpression != null - * @pre namespaceDeclarations != null - * @post return != null - */ - public abstract XPathFilter createXPathFilter( - String filterType, - String xPathExpression, - Map namespaceDeclarations); - - /** - * Create a new CheckResult object. - * - * @param code The check code. - * @param info Verbose information about the check. May be null. - * @return The CheckResult containing the above data. - * - * @pre code >= 0 - * @post return != null - */ - public abstract CheckResult createCheckResult(int code, NodeList info); - - /** - * Create a new SignerInfo object. - * - * @param signerCertificate The signer certificate in binary form. - * @param qualifiedCertificate true, if the signer certificate is - * a qualified certificate, otherwise false. - * @param publicAuthority true, if the signer certificate is a - * public authority certificate, otherwise false. - * @param publicAuthorityID The identification of the public authority - * (if publicAuthority is true). May be - * null. - * @return The SignerInfo containing the above data. - * - * @pre signerCertSubjectName != null - * @pre signerCertIssuerSerial != null - * @pre signerCertificate != null - */ - public abstract SignerInfo createSignerInfo( - X509Certificate signerCertificate, - boolean qualifiedCertificate, - boolean publicAuthority, - String publicAuthorityID); - - /** - * Create a new X509IssuerSerial object. - * - * @param issuerName The distinguished name of the issuer. - * @param issuerSerial The certificate serial number. - * @return The X509IssuerSerial containing the above data. - * - * @pre issuerName != null - * @pre issuerSerial != null - */ - public abstract X509IssuerSerial createX509IssuerSerial( - String issuerName, - BigInteger issuerSerial); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/SignatureCreationService.java b/spss.server/src/at/gv/egovernment/moa/spss/api/SignatureCreationService.java deleted file mode 100644 index a84ca2a83..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/SignatureCreationService.java +++ /dev/null @@ -1,57 +0,0 @@ -package at.gv.egovernment.moa.spss.api; - -import at.gv.egovernment.moa.spss.MOAException; - -import org.apache.commons.discovery.tools.DiscoverClass; - - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; - -/** - * Interface providing functions for signature creation. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class SignatureCreationService { - - /** The default implementation class. */ - private static final String DEFAULT_IMPLEMENTATION = - "at.gv.egovernment.moa.spss.server.invoke.SignatureCreationServiceImpl"; - - /** The single instance of this class. */ - private static SignatureCreationService instance = null; - - /** - * Get an instance of the SignatureCreationService. - * - * @return A concrete instance of the SignatureCreationService. - */ - public static synchronized SignatureCreationService getInstance() { - if (instance == null) { - try { - DiscoverClass discover = new DiscoverClass(); - instance = - (SignatureCreationService) discover.newInstance( - SignatureCreationService.class, - DEFAULT_IMPLEMENTATION); - } catch (Exception e) { - // this can not happen since we provide a valid default - // implementation - } - } - return instance; - } - - /** - * Create an XML signature. - * - * @param request Information on how to create the signature. - * @return A CreateXMLSignatureResponse containing the - * signature. - * @throws MOAException Error in server side MOA module. - */ - public abstract CreateXMLSignatureResponse createXMLSignature(CreateXMLSignatureRequest request) - throws MOAException; -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/SignatureVerificationService.java b/spss.server/src/at/gv/egovernment/moa/spss/api/SignatureVerificationService.java deleted file mode 100644 index d0fcb029a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/SignatureVerificationService.java +++ /dev/null @@ -1,69 +0,0 @@ -package at.gv.egovernment.moa.spss.api; - -import org.apache.commons.discovery.tools.DiscoverClass; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; - -/** - * Interface providing functions for verifying signatures. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class SignatureVerificationService { - - /** The default implementation class. */ - private static final String DEFAULT_IMPLEMENTATION = - "at.gv.egovernment.moa.spss.server.invoke.SignatureVerificationServiceImpl"; - - /** The single instance of this class. */ - private static SignatureVerificationService instance = null; - - /** - * Get an instance of the SignatureVerificationService. - * - * @return A concrete instance of the - * SignatureVerificationService. - */ - public static synchronized SignatureVerificationService getInstance() { - if (instance == null) { - try { - DiscoverClass discover = new DiscoverClass(); - instance = - (SignatureVerificationService) discover.newInstance( - SignatureVerificationService.class, - DEFAULT_IMPLEMENTATION); - } catch (Exception e) { - // this can not happen since we provide a valid default - // implementation - } - } - return instance; - } - - /** - * Verify a CMS signature. - * - * @param request Detailed information on the verification that should be - * performed. - * @return A VerifyCMSSignatureResponse object that contains - * information about the performed verification. - * @throws MOAException Error in server side MOA module. - */ - public abstract VerifyCMSSignatureResponse verifyCMSSignature(VerifyCMSSignatureRequest request) - throws MOAException; - /** - * Verfiy an XML Signature. - * - * @param request information on the verification that should be performed. - * @return A VerifyXMLSignatureResponse object that contains - * information about the performed verification. - * @throws MOAException Error in server side MOA module. - */ - public abstract VerifyXMLSignatureResponse verifyXMLSignature(VerifyXMLSignatureRequest request) - throws MOAException; -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContent.java b/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContent.java deleted file mode 100644 index b4ecb3937..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContent.java +++ /dev/null @@ -1,28 +0,0 @@ -package at.gv.egovernment.moa.spss.api.cmsverify; - -/** - * Base class for objects containing CMS content. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CMSContent { - /** - * Indicates that this object contains a reference to the CMS content. - */ - public static final int REFERENCE_CONTENT = 0; - /** - * Indicates that this object contains the CMS content explicitly. - */ - public static final int EXPLICIT_CONTENT = 1; - - /** - * Gets the type of the contained content. - * - * @return The type of content, either REFERENCE_CONTENT or - * EXPLICIT_CONTENT. - */ - public int getContentType(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContentExcplicit.java b/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContentExcplicit.java deleted file mode 100644 index 58c2b0259..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContentExcplicit.java +++ /dev/null @@ -1,19 +0,0 @@ -package at.gv.egovernment.moa.spss.api.cmsverify; - -import java.io.InputStream; - -/** - * Encapsulates binary CMS content. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CMSContentExcplicit extends CMSContent { - /** - * Gets the content as a stream. - * - * @return A stream containing the binary content. - */ - public InputStream getBinaryContent(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContentReference.java b/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContentReference.java deleted file mode 100644 index 7c4e6d913..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSContentReference.java +++ /dev/null @@ -1,17 +0,0 @@ -package at.gv.egovernment.moa.spss.api.cmsverify; - -/** - * Encapsulates CMS content that is referenced by an URI. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CMSContentReference extends CMSContent { - /** - * Gets the reference URI from wher the content can be retrieved. - * - * @return The reference URI. - */ - public String getReference(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSDataObject.java b/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSDataObject.java deleted file mode 100644 index 37f6fd396..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/CMSDataObject.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.cmsverify; - -import at.gv.egovernment.moa.spss.api.common.MetaInfo; - -/** - * A data object used for verification of CMS signatures. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CMSDataObject { - /** - * Gets the meta information of the content. - * - * @return An object containig the meta information. - */ - public MetaInfo getMetaInfo(); - /** - * Gets the actual content of the data object. - * - * @return The actual content. - */ - public CMSContent getContent(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureRequest.java b/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureRequest.java deleted file mode 100644 index 6d1f389af..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureRequest.java +++ /dev/null @@ -1,52 +0,0 @@ -package at.gv.egovernment.moa.spss.api.cmsverify; - -import java.io.InputStream; -import java.util.Date; - -/** - * Object that encapsulates a request to verify a CMS signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifyCMSSignatureRequest { - /** - * Indicates, that signature checks for all signatories must be returned. - */ - public static int[] ALL_SIGNATORIES = new int[] { -1 }; - /** - * Gets the positions of signatories whose signature must be verified. - * - * @return The positions of signatories. - */ - public int[] getSignatories(); - /** - * Gets the date and time for which the signature verification has to - * be performed. - * - * @return Date and time for which the signature verification has - * to be performed. - */ - public Date getDateTime(); - /** - * Gets the binary CMS signature. - * - * @return An InputStream from which the binary CMS signature - * can be read. - */ - public InputStream getCMSSignature(); - /** - * Gets the data object necessary for the verification. - * - * @return The data object necessary for verification. - */ - public CMSDataObject getDataObject(); - /** - * Gets the profile ID of trusted certificates to be used for signature - * verification. - * - * @return The profile ID of trusted certificates. - */ - public String getTrustProfileId(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureResponse.java b/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureResponse.java deleted file mode 100644 index 5f2e6d255..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureResponse.java +++ /dev/null @@ -1,21 +0,0 @@ -package at.gv.egovernment.moa.spss.api.cmsverify; - -import java.util.List; - - -/** - * Object that encapsulates the response on a request to verify a CMS - * signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifyCMSSignatureResponse { - /** - * Gets the response elements. - * - * @return The response elements. - */ - public List getResponseElements(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureResponseElement.java b/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureResponseElement.java deleted file mode 100644 index 49ddb9419..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/cmsverify/VerifyCMSSignatureResponseElement.java +++ /dev/null @@ -1,32 +0,0 @@ -package at.gv.egovernment.moa.spss.api.cmsverify; - -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; - -/** - * Contains detailed information about the verification of a signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifyCMSSignatureResponseElement { - /** - * Gets a SignerInfo element according to CMS. - * - * @return The SignerInfo element according to CMS. - */ - public SignerInfo getSignerInfo(); - /** - * Gets the result of the signature verification. - * - * @return The result of the signature verification. - */ - public CheckResult getSignatureCheck(); - /** - * Gets the result of the certificate verification. - * - * @return The result of the certificate verification. - */ - public CheckResult getCertificateCheck(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/Base64Transform.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/Base64Transform.java deleted file mode 100644 index 94785727d..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/Base64Transform.java +++ /dev/null @@ -1,13 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -/** - * A Transform performing a Base64 decoding. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface Base64Transform extends Transform { - /** Algorithm URI of the Base64 Transform type. */ - public static final String BASE64_DECODING = - "http://www.w3.org/2000/09/xmldsig#base64"; -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/CanonicalizationTransform.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/CanonicalizationTransform.java deleted file mode 100644 index 352461e52..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/CanonicalizationTransform.java +++ /dev/null @@ -1,17 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import at.gv.egovernment.moa.util.Constants; - -/** - * A canonicalization type of Transform. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface CanonicalizationTransform extends Transform { - /** Algorithm URI of canonical XML. */ - public static final String CANONICAL_XML = Constants.C14N_URI; - /** Algorithm URI of canonical XML with comments. */ - public static final String CANONICAL_XML_WITH_COMMENTS = - Constants.C14N_WITH_COMMENTS_URI; -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/CheckResult.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/CheckResult.java deleted file mode 100644 index 974483d82..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/CheckResult.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import org.w3c.dom.NodeList; - -/** - * Object encapsulating the result of a signature verification. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CheckResult { - /** - * Gets the result code. - * - * @return The result code. - */ - public int getCode(); - /** - * Gets descriptive information. - * - * @return Descriptive information. - */ - public NodeList getInfo(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/Content.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/Content.java deleted file mode 100644 index 173e9d395..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/Content.java +++ /dev/null @@ -1,37 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -/** - * Encapsulates content data. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface Content { - /** - * Indicates that this object contains a URI reference to some content. - */ - public static final int REFERENCE_CONTENT = 0; - /** - * Indicates that this object contains binary content. - */ - public static final int BINARY_CONTENT = 1; - /** - * Indicates that this object contains XML content. - */ - public static final int XML_CONTENT = 2; - - /** - * Gets the type of content contained in this object. - * - * @return The type of content, either BINARY_CONTENT or - * XML_CONTENT - */ - public int getContentType(); - /** - * Gets the reference to the content data (a URI). - * - * @return The reference to the content data. - */ - public String getReference(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentBinary.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentBinary.java deleted file mode 100644 index 664afa406..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentBinary.java +++ /dev/null @@ -1,21 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import java.io.InputStream; - -/** - * Encapsulates binary content. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface ContentBinary extends Content { - /** - * Get the binary content. - * - * @return An InputStream from which the binary content can - * be read. - */ - public InputStream getBinaryContent(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentReference.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentReference.java deleted file mode 100644 index c10f0c2f8..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentReference.java +++ /dev/null @@ -1,11 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -/** - * Content containing a reference to content data. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface ContentReference extends Content { - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentXML.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentXML.java deleted file mode 100644 index ad5930452..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ContentXML.java +++ /dev/null @@ -1,19 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import org.w3c.dom.NodeList; - -/** - * Encapsulates arbitrary XML content. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface ContentXML extends Content { - /** - * Gets the XML content stored in this object. - * - * @return The XML content. - */ - public NodeList getXMLContent(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ElementSelector.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/ElementSelector.java deleted file mode 100644 index 862cb84da..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ElementSelector.java +++ /dev/null @@ -1,28 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import java.util.Map; - -/** - * A class containing data for selecting single elements using an XPath - * expression. - * - * Derived classes are used to point to the CreateSignatureLocation - * and the VerifySignatureLocation. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface ElementSelector { - /** - * Gets the XPath expression pointing to a single element. - * - * @return The XPath expression to select the signature parent element. - */ - public String getXPathExpression(); - /** - * Gets the namespace prefix to URI mapping to use when evaluating the XPath. - * - * @return The namespace prefix to URI mapping. - */ - public Map getNamespaceDeclarations(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/EnvelopedSignatureTransform.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/EnvelopedSignatureTransform.java deleted file mode 100644 index f951e35c0..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/EnvelopedSignatureTransform.java +++ /dev/null @@ -1,15 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -/** - * An enveloped signature type of Transform. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface EnvelopedSignatureTransform extends Transform { - /** - * Algorithm URI of the enveloped signature type of Transform. - */ - public static final String ENVELOPED_SIGNATURE = - "http://www.w3.org/2000/09/xmldsig#enveloped-signature"; -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ExclusiveCanonicalizationTransform.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/ExclusiveCanonicalizationTransform.java deleted file mode 100644 index 369270259..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/ExclusiveCanonicalizationTransform.java +++ /dev/null @@ -1,27 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import java.util.List; - -import at.gv.egovernment.moa.util.Constants; - -/** - * An exclusive canonicalization type of Transform. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface ExclusiveCanonicalizationTransform extends Transform { - /** Algorithm URI of exclusive canonical XML. */ - public static final String EXCLUSIVE_CANONICAL_XML = Constants.EXC_C14N_URI; - /** Algorithm URI of exclusive canonical XML with comments. */ - public static final String EXCLUSIVE_CANONICAL_XML_WITH_COMMENTS = - Constants.EXC_C14N_WITH_COMMENTS_URI; - - /** - * Sets the namespace prefixes that are handled in the same manner as in - * canonical XML. - * - * @return The inclusive namespace prefixes. - */ - public List getInclusiveNamespacePrefixes(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/MetaInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/MetaInfo.java deleted file mode 100644 index fea0a1b42..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/MetaInfo.java +++ /dev/null @@ -1,31 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import org.w3c.dom.NodeList; - -/** - * Object encapsulating descriptive meta information. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface MetaInfo { - /** - * Gets the mime type of the associated object. - * - * @return The mimetype of the associated object. - */ - public String getMimeType(); - /** - * Gets the descriptive information (URI). - * - * @return URI referencing the descriptive information. - */ - public String getDescription(); - /** - * Gets the elemental informations. - * - * @return The elemental informations. - */ - public NodeList getAnyElements(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/SignerInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/SignerInfo.java deleted file mode 100644 index c3b4aaadc..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/SignerInfo.java +++ /dev/null @@ -1,43 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import java.security.cert.X509Certificate; - - -/** - * Contains information about the signer. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface SignerInfo { - /** - * Gets the signer certificate. - * - * @return The signer certificate. - */ - public X509Certificate getSignerCertificate(); - /** - * Checks, whether the certificate contained in this object is qualified. - * - * @return true, if the certificate is qualified, otherwise - * false. - */ - public boolean isQualifiedCertificate(); - /** - * Checks, whether the certificate contained in this object is a - * public authority certificate. - * - * @return true, if the certificate is a public authority - * certificate, otherwise false. - */ - public boolean isPublicAuthority(); - /** - * Gets the public authority ID, if the certificate contained in this - * object is from a public authority. - * - * @return The public authority ID. - */ - public String getPublicAuhtorityID(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/Transform.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/Transform.java deleted file mode 100644 index 49a4e7c35..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/Transform.java +++ /dev/null @@ -1,16 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -/** - * Base class for XMLDsig Transform elements. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface Transform { - /** - * Gets the algorithm URI of this Transform. - * - * @return The algorithm URI of this Transform. - */ - public String getAlgorithmURI(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/X509IssuerSerial.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/X509IssuerSerial.java deleted file mode 100644 index d2ea88968..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/X509IssuerSerial.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import java.math.BigInteger; - -/** - * Contains an X.509 issuer distinguished name/serial number pair. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface X509IssuerSerial { - /** - * Gets the issuer distinguished name. - * - * @return The issuer distinguished name. - */ - public String getX509IssuerName(); - /** - * Gets the issuer serial number. - * - * @return The issuer serial number. - */ - public BigInteger getX509SerialNumber(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XMLDataObjectAssociation.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/XMLDataObjectAssociation.java deleted file mode 100644 index e1e034222..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XMLDataObjectAssociation.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - - -/** - * Object encapsulating arbitrary content and optional descriptive meta - * information. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface XMLDataObjectAssociation { - /** - * Gets descriptive meta information. - * - * @return The descriptive meta information. - */ - public MetaInfo getMetaInfo(); - /** - * Gets the actual content. - * - * @return The content of this association. - */ - public Content getContent(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathFilter.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathFilter.java deleted file mode 100644 index 247776ce0..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathFilter.java +++ /dev/null @@ -1,38 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import java.util.Map; - -/** - * An XPath expression set operation. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface XPathFilter { - /** Subtract this filter's node set from the resulting node set. */ - public static final String SUBTRACT_TYPE = "subtract"; - /** Intersect this filter's node set with the resulting node set. */ - public static final String INTERSECT_TYPE = "intersect"; - /** Compute the union of this filter's node set and the resulting node set. */ - public static final String UNION_TYPE = "union"; - - /** - * Gets the type of this XPathFilter. - * - * @return The type of this XPathFilter. - */ - public String getFilterType(); - /** - * Gets the XPath expression for selecting the nodes. - * - * @return The XPath expression for selecting the nodes. - */ - public String getXPathExpression(); - /** - * Gets The namespace prefix to URI mapping used during evaluation of the - * XPath expression. - * - * @return The namespace prefix to URI mapping. - */ - public Map getNamespaceDeclarations(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathFilter2Transform.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathFilter2Transform.java deleted file mode 100644 index 335d37dbf..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathFilter2Transform.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import java.util.List; - -/** - * An XPath type of Transform containing multiple filters for - * performing set operations on XPath selections. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface XPathFilter2Transform extends Transform { - /** Algorithm URI for the XPath Filter2 Transform. */ - public static final String XPATH_FILTER2 = - "http://www.w3.org/2002/06/xmldsig-filter2"; - - /** - * Gets the XPathFilters contained in this - * XPathFilter2Transform. - * - * @return The XPathFilters. - */ - public List getFilters(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathTransform.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathTransform.java deleted file mode 100644 index f1cc1a2bc..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XPathTransform.java +++ /dev/null @@ -1,30 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import java.util.Map; - -/** - * A Transform performing an XPath selection. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface XPathTransform extends Transform { - /** Algorithm URI of the XPath Transform. */ - public static final String XPATH = - "http://www.w3.org/TR/1999/REC-xpath-19991116"; - - /** - * Gets the XPath expression used for selection. - * - * @return The XPath expression used for selection. - */ - public String getXPathExpression(); - /** - * Gets The namespace prefix to URI mapping used during evaluation of the - * XPath expression. - * - * @return The namespace prefix to URI mapping. - */ - public Map getNamespaceDeclarations(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XSLTTransform.java b/spss.server/src/at/gv/egovernment/moa/spss/api/common/XSLTTransform.java deleted file mode 100644 index 7f44bb060..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/common/XSLTTransform.java +++ /dev/null @@ -1,23 +0,0 @@ -package at.gv.egovernment.moa.spss.api.common; - -import org.w3c.dom.Element; - -/** - * A Transform containing an XSLT stylesheet. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface XSLTTransform extends Transform { - /** Algorithm URI for the XSLT type of Transform. */ - public static final String XSLT = - "http://www.w3.org/TR/1999/REC-xslt-19991116"; - - /** - * Gets the XSLT stylesheet element used for the transformation. - * - * @return The XSLT stylesheet element used for the transformation. - */ - public Element getStylesheet(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/Base64TransformImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/Base64TransformImpl.java deleted file mode 100644 index 4af075da2..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/Base64TransformImpl.java +++ /dev/null @@ -1,22 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.Base64Transform; - -/** - * Default implementation of Base64Transform. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class Base64TransformImpl - extends TransformImpl - implements Base64Transform { - - /** - * Create a new Base64TransformImpl object. - */ - public Base64TransformImpl() { - setAlgorithmURI(BASE64_DECODING); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSContentExplicitImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSContentExplicitImpl.java deleted file mode 100644 index dd700cf21..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSContentExplicitImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.io.InputStream; - -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContentExcplicit; - -/** - * Default implementation of CMSContentExplicit. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CMSContentExplicitImpl implements CMSContentExcplicit { - - /** The binary content, as a stream. */ - private InputStream binaryContent; - - /** - * Sets the binary content as a stream. - * - * @param content The binary content as a stream. - */ - public void setBinaryContent(InputStream content) { - this.binaryContent = content; - } - - public InputStream getBinaryContent() { - return binaryContent; - } - - /** - * Gets the type of content. - * - * @return EXPLICIT_CONTENT - */ - public int getContentType() { - return EXPLICIT_CONTENT; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSContentReferenceImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSContentReferenceImpl.java deleted file mode 100644 index f9c080a0d..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSContentReferenceImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContentReference; - -/** - * Default implementation of CMSContentReference. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CMSContentReferenceImpl implements CMSContentReference { - - /** The reference pointing to the actual data. */ - private String reference; - - /** - * Sets the reference URI. - * - * @param referenceURI The URI pointing to the content data. - */ - public void setReference(String referenceURI) { - this.reference = referenceURI; - } - - public String getReference() { - return reference; - } - - /** - * Gets the content type. - * - * @return REFERENCE_CONTENT - */ - public int getContentType() { - return REFERENCE_CONTENT; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSDataObjectImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSDataObjectImpl.java deleted file mode 100644 index 6eec4e847..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CMSDataObjectImpl.java +++ /dev/null @@ -1,46 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContent; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSDataObject; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; - -/** - * Default implementation of CMLSDataObject. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CMSDataObjectImpl implements CMSDataObject { - - /** The MetaInfo associated with the CMS data object. */ - private MetaInfo metaInfo; - /** The CMSContent contained in this data object. */ - private CMSContent cmsContent; - - /** - * Sets the meta information associated with the CMS data object. - * - * @param metaInfo The meta information. - */ - public void setMetaInfo(MetaInfo metaInfo) { - this.metaInfo = metaInfo; - } - - public MetaInfo getMetaInfo() { - return metaInfo; - } - - /** - * Sets the data of this CMSDataObject. - * - * @param cmsContent The actual data of this CMSDataObject. - */ - public void setContent(CMSContent cmsContent) { - this.cmsContent = cmsContent; - } - - public CMSContent getContent() { - return cmsContent; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CanonicalizationTransformImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CanonicalizationTransformImpl.java deleted file mode 100644 index cf446d1b4..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CanonicalizationTransformImpl.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.CanonicalizationTransform; - -/** - * Default implementation of CanonicalizationTransform. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CanonicalizationTransformImpl - extends TransformImpl - implements CanonicalizationTransform { - - /** - * Create a new CanonicalizationTransformImpl object. - * - * @param algorithmURI Algorithm URI of the canonicalization - * Transform type. - */ - public CanonicalizationTransformImpl(String algorithmURI) { - setAlgorithmURI(algorithmURI); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CheckResultImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CheckResultImpl.java deleted file mode 100644 index 2acb12e51..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CheckResultImpl.java +++ /dev/null @@ -1,52 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.spss.api.common.CheckResult; - -/** - * Default implementation of CheckResult. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CheckResultImpl implements CheckResult { - /** The result code. */ - private int code; - - /** Additional information. */ - private NodeList info; - - /** - * Sets a result code. - * - * @param code The result code. - */ - public void setCode(int code) { - this.code = code; - } - - /** - * @see at.gv.egovernment.moa.spss.api.CheckResult#getCode() - */ - public int getCode() { - return code; - } - - /** - * Sets a descriptive information. - * - * @param info The descriptive information. - */ - public void setInfo(NodeList info) { - this.info = info; - } - - /** - * @see at.gv.egovernment.moa.spss.api.CheckResult#getInfo() - */ - public NodeList getInfo() { - return info; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentBinaryImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentBinaryImpl.java deleted file mode 100644 index bbed6bf8b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentBinaryImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.io.InputStream; - -import at.gv.egovernment.moa.spss.api.common.ContentBinary; - -/** - * Default implementation of ContentBinary. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class ContentBinaryImpl extends ContentImpl implements ContentBinary { - - /** The binary content as a stream. */ - private InputStream binaryContent; - - /** - * Sets the binary content as a stream. - * - * @param binaryContent The binary content as a stream. - */ - public void setBinaryContent(InputStream binaryContent) { - this.binaryContent = binaryContent; - } - - public InputStream getBinaryContent() { - return binaryContent; - } - - /** - * Gets the type of content. - * - * @return BINARY_CONTENT - */ - public int getContentType() { - return BINARY_CONTENT; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentImpl.java deleted file mode 100644 index 7f331d2cd..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentImpl.java +++ /dev/null @@ -1,28 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.Content; - -/** - * Default base class for Content implementations. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class ContentImpl implements Content { - /** The reference pointing to the content data. */ - private String reference; - - /** - * Sets the reference pointing to the content data. - * - * @param referenceURI The URI of the content data. - */ - public void setReference(String referenceURI) { - this.reference = referenceURI; - } - - public String getReference() { - return reference; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentReferenceImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentReferenceImpl.java deleted file mode 100644 index 50609aa0e..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentReferenceImpl.java +++ /dev/null @@ -1,24 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.ContentReference; - -/** - * Default implementation of ContentReference. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ContentReferenceImpl - extends ContentImpl - implements ContentReference { - - /** - * Gets the type of content. - * - * @return REFERENCE_CONTENT - */ - public int getContentType() { - return REFERENCE_CONTENT; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentXMLImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentXMLImpl.java deleted file mode 100644 index c03f5edde..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ContentXMLImpl.java +++ /dev/null @@ -1,40 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.spss.api.common.ContentXML; - -/** - * Default implementation of ContentXML. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class ContentXMLImpl extends ContentImpl implements ContentXML { - - /** The nodes making up the XML content. */ - private NodeList xmlContent; - - /** - * Sets the nodes making up the XML content. - * - * @param xmlContent The XML content. - */ - public void setXMLContent(NodeList xmlContent) { - this.xmlContent = xmlContent; - } - - public NodeList getXMLContent() { - return xmlContent; - } - - /** - * Gets the type of content. - * - * @return XML_CONTENT - */ - public int getContentType() { - return XML_CONTENT; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureEnvironmentProfileExplicitImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureEnvironmentProfileExplicitImpl.java deleted file mode 100644 index 22e4cd61d..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureEnvironmentProfileExplicitImpl.java +++ /dev/null @@ -1,66 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureLocation; - -/** - * Default implementation of - * . - * - * @author Patrick Peck - * @version $Id$ - */ -public class CreateSignatureEnvironmentProfileExplicitImpl - implements CreateSignatureEnvironmentProfileExplicit { - - /** The insertion location of the signature to be created. */ - private CreateSignatureLocation createSignatureLocation; - - /** Supplemental information for evaluating the signature environment. */ - private List supplements; - - /** - * Sets the insertion location of the signature to be created. - * - * @param createSignatureLocation The insertion location of the signature to - * be created. - */ - public void setCreateSignatureLocation(CreateSignatureLocation createSignatureLocation) { - this.createSignatureLocation = createSignatureLocation; - } - - public CreateSignatureLocation getCreateSignatureLocation() { - return createSignatureLocation; - } - - /** - * Sets the supplemental information for evaluating the signature - * environment. - * - * @param supplements The supplemental information. - */ - public void setSupplements(List supplements) { - this.supplements = - supplements != null - ? Collections.unmodifiableList(new ArrayList(supplements)) - : null; - } - - public List getSupplements() { - return supplements; - } - - /** - * Gets the type of profile. - * - * @return EXPLICIT_CREATESIGNATUREENVIRONMENTPROFILE - */ - public int getCreateSignatureEnvironmentProfileType() { - return EXPLICIT_CREATESIGNATUREENVIRONMENTPROFILE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureEnvironmentProfileIDImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureEnvironmentProfileIDImpl.java deleted file mode 100644 index 1c7dc6439..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureEnvironmentProfileIDImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileID; - -/** - * Default implementation of CreateSignatureEnvironmentProfileID. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CreateSignatureEnvironmentProfileIDImpl - implements CreateSignatureEnvironmentProfileID { - - /** The profile ID. */ - private String createSignatureEnvironmentProfileID; - - /** - * Sets the profile ID. - * - * @param profileID The profile ID. - */ - public void setCreateSignatureEnvironmentProfileID(String profileID) { - this.createSignatureEnvironmentProfileID = profileID; - } - - public String getCreateSignatureEnvironmentProfileID() { - return createSignatureEnvironmentProfileID; - } - - /** - * Gets the type of profile. - * - * @return ID_CREATESIGNATUREENVIRONMENTPROFILE - */ - public int getCreateSignatureEnvironmentProfileType() { - return ID_CREATESIGNATUREENVIRONMENTPROFILE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureInfoImpl.java deleted file mode 100644 index 097af7fff..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureInfoImpl.java +++ /dev/null @@ -1,50 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureInfo; - -/** - * Default implementation of CreateSignatureInfo. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CreateSignatureInfoImpl implements CreateSignatureInfo { - - /** The signature environment that will contain the newly created - * signature. */ - private Content createSignatureEnvironment; - - /** Additional information about the signature environment. */ - private CreateSignatureEnvironmentProfile createSignatureEnvironmentProfile; - - /** - * Sets the signature environment that will contain the newly created - * signature. - * - * @param createSignatureEnvironment The signature environment. - */ - public void setCreateSignatureEnvironment(Content createSignatureEnvironment) { - this.createSignatureEnvironment = createSignatureEnvironment; - } - - public Content getCreateSignatureEnvironment() { - return createSignatureEnvironment; - } - - /** - * Sets the signature environment profile containing additional information - * about the signature environment. - * - * @param profile The signature environment profile. - */ - public void setCreateSignatureEnvironmentProfile(CreateSignatureEnvironmentProfile profile) { - this.createSignatureEnvironmentProfile = profile; - } - - public CreateSignatureEnvironmentProfile getCreateSignatureEnvironmentProfile() { - return createSignatureEnvironmentProfile; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureLocationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureLocationImpl.java deleted file mode 100644 index c0b36f505..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateSignatureLocationImpl.java +++ /dev/null @@ -1,31 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureLocation; - -/** - * Default implementation of CreateSignatureLocation. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CreateSignatureLocationImpl - extends ElementSelectorImpl - implements CreateSignatureLocation { - - /** The index of the newly created signature. */ - private int index; - - /** - * Sets the index of the newly created signature. - * - * @param index The index of the newly created signature. - */ - public void setIndex(int index) { - this.index = index; - } - - public int getIndex() { - return index; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoImpl.java deleted file mode 100644 index ff4108248..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.common.MetaInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfo; - -/** - * Default implementation of CreateTransformsInfo. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CreateTransformsInfoImpl implements CreateTransformsInfo { - /** The dsig:Transforms. */ - private List transforms; - /** Meta information about the data resulting from the transforms. */ - private MetaInfo finalDataMetaInfo; - - /** - * Sets the transforms. - * - * @param transforms The transforms. - */ - public void setTransforms(List transforms) { - this.transforms = - transforms != null - ? Collections.unmodifiableList(new ArrayList(transforms)) - : null; - } - - public List getTransforms() { - return transforms; - } - - /** - * Sets the meta information about the data resulting from the transforms. - * - * @param finalDataMetaInfo The meta information. - */ - public void setFinalDataMetaInfo(MetaInfo finalDataMetaInfo) { - this.finalDataMetaInfo = finalDataMetaInfo; - } - - public MetaInfo getFinalDataMetaInfo() { - return finalDataMetaInfo; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoProfileExplicitImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoProfileExplicitImpl.java deleted file mode 100644 index 508b6c083..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoProfileExplicitImpl.java +++ /dev/null @@ -1,62 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicit; - -/** - * Default implementation of CreateTransformsInfoProfileExplicit. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CreateTransformsInfoProfileExplicitImpl - implements CreateTransformsInfoProfileExplicit { - - /** Transformation information. */ - private CreateTransformsInfo transformsInfo; - /** Additional data for the transformations. */ - private List supplements = new ArrayList(); - - /** - * Sets the transformation information. - * - * @param transformsInfo The transformation information. - */ - public void setCreateTransformsInfo(CreateTransformsInfo transformsInfo) { - this.transformsInfo = transformsInfo; - } - - public CreateTransformsInfo getCreateTransformsInfo() { - return transformsInfo; - } - - /** - * Sets the additional data for the transformations. - * - * @param supplements The additional data. - */ - public void setSupplements(List supplements) { - this.supplements = - supplements != null - ? Collections.unmodifiableList(new ArrayList(supplements)) - : null; - } - - public List getSupplements() { - return supplements; - } - - /** - * Gets the type of profile. - * - * @return EXPLICIT_CREATETRANSFORMSINFOPROFILE - */ - public int getCreateTransformsInfoProfileType() { - return EXPLICIT_CREATETRANSFORMSINFOPROFILE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoProfileIDImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoProfileIDImpl.java deleted file mode 100644 index 5cd1fcc48..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateTransformsInfoProfileIDImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileID; - -/** - * Default implementation of CreateTransformsInfoProfileID. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CreateTransformsInfoProfileIDImpl - implements CreateTransformsInfoProfileID { - - /** The profile ID. */ - private String createTransformsID; - - /** - * Sets the profile ID. - * @param createTransformsID The profile ID. - */ - public void setCreateTransformsInfoProfileID(String createTransformsID) { - this.createTransformsID = createTransformsID; - } - - public String getCreateTransformsInfoProfileID() { - return createTransformsID; - } - - /** - * Gets the type of profile. - * - * @return ID_CREATETRANSFORMSINFOPROFILE - */ - public int getCreateTransformsInfoProfileType() { - return ID_CREATETRANSFORMSINFOPROFILE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateXMLSignatureRequestImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateXMLSignatureRequestImpl.java deleted file mode 100644 index 08f94cc31..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateXMLSignatureRequestImpl.java +++ /dev/null @@ -1,53 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; - -/** - * Default implementation of CreateXMLSignatureRequest. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CreateXMLSignatureRequestImpl - implements CreateXMLSignatureRequest { - - /** The identifier for selecting the private keys for creating the signature.*/ - private String keyIdentifier; - /** Information for creating a single signature. */ - private List singleSignatureInfos = new ArrayList(); - - /** - * Sets the identifier for selecting the private keys for creating the - * signature. - * - * @param keyIdentifier The identifier for selecting the private keys. - */ - public void setKeyIdentifier(String keyIdentifier) { - this.keyIdentifier = keyIdentifier; - } - - public String getKeyIdentifier() { - return keyIdentifier; - } - - /** - * Sets the information for creating single signatures. - * - * @param singleSignaureInfos The information for creating single signatures. - */ - public void setSingleSignatureInfos(List singleSignaureInfos) { - this.singleSignatureInfos = - singleSignaureInfos != null - ? Collections.unmodifiableList(new ArrayList(singleSignaureInfos)) - : null; - } - - public List getSingleSignatureInfos() { - return singleSignatureInfos; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateXMLSignatureResponseImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateXMLSignatureResponseImpl.java deleted file mode 100644 index 590258e30..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/CreateXMLSignatureResponseImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; - -/** - * Default implementation of CreateXMLSignatureResponse. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class CreateXMLSignatureResponseImpl - implements CreateXMLSignatureResponse { - - /** The elements contained in the response. */ - private List responseElements = new ArrayList(); - - /** - * Sets the elements contained in the response. - * - * @param responseElements The response elements. - */ - public void setResponseElements(List responseElements) { - this.responseElements = - responseElements != null - ? Collections.unmodifiableList(new ArrayList(responseElements)) - : null; - } - - public List getResponseElements() { - return responseElements; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java deleted file mode 100644 index 8ab2241de..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/DataObjectInfoImpl.java +++ /dev/null @@ -1,79 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo; - -/** - * Default implementation of DataObjectInfo. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class DataObjectInfoImpl implements DataObjectInfo { - /** The signature structure type. */ - private String stucture; - /** Whether a reference will be placed in the signature itself or in the - * manifest */ - private boolean childOfManifest; - /** The data object to be signed. */ - private Content dataObject; - /** The profile containing additional information for the transformations. */ - private CreateTransformsInfoProfile createTransformsInfoProfile; - - /** - * Sets the signature structure type. - * - * @param structure The signature structure type. - */ - public void setStructure(String structure) { - this.stucture = structure; - } - - public String getStructure() { - return stucture; - } - - /** - * Sets whether a reference will be placed in the signature itself or in the - * manifest. - * - * @param childOfManifest Whether to put the reference in the signature of - * in the manifest. - */ - public void setChildOfManifest(boolean childOfManifest) { - this.childOfManifest = childOfManifest; - } - - public boolean isChildOfManifest() { - return childOfManifest; - } - - /** - * Sets the data object to be signed. - * - * @param dataObject The data object to be signed. - */ - public void setDataObject(Content dataObject) { - this.dataObject = dataObject; - } - - public Content getDataObject() { - return dataObject; - } - - /** - * Sets additional information for the transformations. - * - * @param profile The profile containing additional information for the - * transformations. - */ - public void setCreateTransformsInfoProfile(CreateTransformsInfoProfile profile) { - this.createTransformsInfoProfile = profile; - } - - public CreateTransformsInfoProfile getCreateTransformsInfoProfile() { - return createTransformsInfoProfile; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ElementSelectorImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ElementSelectorImpl.java deleted file mode 100644 index e460bd584..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ElementSelectorImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.HashMap; -import java.util.Map; - -import at.gv.egovernment.moa.spss.api.common.ElementSelector; - -/** - * Default implementation of ElementSelector. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class ElementSelectorImpl implements ElementSelector { - /** The XPath expression pointing to the element. */ - private String xPathExpression; - /** The namespace declarations to apply for evaluating the XPath */ - private Map namespaceDeclarations = new HashMap(); - - /** - * Sets the XPath expression pointing to the element. - * - * @param xPathExpression XPath expression pointing to the element. - */ - public void setXPathExpression(String xPathExpression) { - this.xPathExpression = xPathExpression; - } - - public String getXPathExpression() { - return xPathExpression; - } - - /** - * Sets namespace declarations to apply for evaluating the XPath. - * - * @param namespaceDeclarations The namespace declarations to apply for - * evaluating the XPath. - */ - public void setNamespaceDeclarations(Map namespaceDeclarations) { - this.namespaceDeclarations = namespaceDeclarations; - } - - public Map getNamespaceDeclarations() { - return namespaceDeclarations; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/EnvelopedSignatureTransformImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/EnvelopedSignatureTransformImpl.java deleted file mode 100644 index a1be3d86a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/EnvelopedSignatureTransformImpl.java +++ /dev/null @@ -1,22 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.EnvelopedSignatureTransform; - -/** - * Default implementation of EnvelopedSignatureTransform. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class EnvelopedSignatureTransformImpl - extends TransformImpl - implements EnvelopedSignatureTransform { - - /** - * Create a EnvelopedSignatureTransformImpl. - */ - public EnvelopedSignatureTransformImpl() { - setAlgorithmURI(ENVELOPED_SIGNATURE); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ErrorResponseImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ErrorResponseImpl.java deleted file mode 100644 index d7047ab44..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ErrorResponseImpl.java +++ /dev/null @@ -1,52 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlsign.ErrorResponse; - -/** - * Default implementation of ErrorResponse. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class ErrorResponseImpl implements ErrorResponse { - /** The error code. */ - private int code; - /** Verbose error message. */ - private String info; - - /** - * Sets the error code. - * - * @param code The error code. - */ - public void setErrorCode(int code) { - this.code = code; - } - - public int getErrorCode() { - return code; - } - - /** - * Sets the verbose error information. - * - * @param info The verbose error information. - */ - public void setInfo(String info) { - this.info = info; - } - - public String getInfo() { - return info; - } - - /** - * Gets the response type. - * - * @return ERROR_RESPONSE - */ - public int getResponseType() { - return ERROR_RESPONSE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ExclusiveCanonicalizationTransformImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ExclusiveCanonicalizationTransformImpl.java deleted file mode 100644 index bf21c8634..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ExclusiveCanonicalizationTransformImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.common.ExclusiveCanonicalizationTransform; - -/** - * Default implementation of ExclusiveCanonicalizationTransform. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ExclusiveCanonicalizationTransformImpl - extends TransformImpl - implements ExclusiveCanonicalizationTransform { - - /** The namespaces to treat according to canonical XML. */ - private List inclusiveNamespacePrefixes; - - /** - * Create a ExclusiveCanonicalizationTransformImpl object. - * - * @param algorithmURI The algorithm URI identifying the transformation - * algorithm. - */ - public ExclusiveCanonicalizationTransformImpl(String algorithmURI) { - setAlgorithmURI(algorithmURI); - } - - /** - * Sets the namespaces to treat according to canonical XML. - * @param inclusiveNamespacePrefixes The namespaces to treat according to - * canonical XML. - */ - public void setInclusiveNamespacePrefixes(List inclusiveNamespacePrefixes) { - this.inclusiveNamespacePrefixes = - inclusiveNamespacePrefixes != null - ? Collections.unmodifiableList(new ArrayList(inclusiveNamespacePrefixes)) - : null; - } - - public List getInclusiveNamespacePrefixes() { - return inclusiveNamespacePrefixes; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ManifestRefsCheckResultImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ManifestRefsCheckResultImpl.java deleted file mode 100644 index 9174e3a46..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ManifestRefsCheckResultImpl.java +++ /dev/null @@ -1,44 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResultInfo; - -/** - * Default implementation of ManifestRefsCheckResult. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class ManifestRefsCheckResultImpl implements ManifestRefsCheckResult { - /** The numerical check code. */ - private int code; - /** Additional information about the check. */ - private ManifestRefsCheckResultInfo info; - - /** - * Sets the check code. - * - * @param code A numerical representation of the result of the manifest check. - */ - public void setCode(int code) { - this.code = code; - } - - public int getCode() { - return code; - } - - /** - * Sets a reference to the manifest. - * - * @param info The reference to the manifest. - */ - public void setInfo(ManifestRefsCheckResultInfo info) { - this.info = info; - } - - public ManifestRefsCheckResultInfo getInfo() { - return info; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ManifestRefsCheckResultInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ManifestRefsCheckResultInfoImpl.java deleted file mode 100644 index 0071a14f3..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ManifestRefsCheckResultInfoImpl.java +++ /dev/null @@ -1,32 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResultInfo; - -/** - * Default implementation of ManifestRefsCheckResultInfo. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class ManifestRefsCheckResultInfoImpl - extends ReferencesCheckResultInfoImpl - implements ManifestRefsCheckResultInfo { - - /** The position of the signature reference containing the reference to the - * manifest being described by this object.*/ - private int referringSignatureReference; - - /** - * Sets the position of the signature reference containing the reference to - * the manifest being described by this object. - * @param referringSignatureReference The position of the signature reference. - */ - public void setReferringSignatureReference(int referringSignatureReference) { - this.referringSignatureReference = referringSignatureReference; - } - - public int getReferringSignatureReference() { - return referringSignatureReference; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/MetaInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/MetaInfoImpl.java deleted file mode 100644 index c435dd8fd..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/MetaInfoImpl.java +++ /dev/null @@ -1,59 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.spss.api.common.MetaInfo; - -/** - * Default implementation of MetaInfo. - * @author Fatemeh Philippi - * @version $Id$ - */ -public class MetaInfoImpl implements MetaInfo { - /** Information about the MIME type. */ - private String mimeType; - /** URI pointing to a description of the content. */ - private String description; - /** Descriptive XML content. */ - private NodeList anyElements; - - /** - * Sets the MIME type. - * - * @param mimeType The MIME type to set. - */ - public void setMimeType(String mimeType) { - this.mimeType = mimeType; - } - - public String getMimeType() { - return mimeType; - } - - /** - * Sets the URI pointing to a description of the content. - * - * @param description The URI pointing to a description of the content. - */ - public void setDescription(String description) { - this.description = description; - } - - public String getDescription() { - return description; - } - - /** - * Sets descriptive XML content. - * - * @param anyElements The elements to set. - */ - public void setAnyElements(NodeList anyElements) { - this.anyElements = anyElements; - } - - public NodeList getAnyElements() { - return anyElements; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferenceInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferenceInfoImpl.java deleted file mode 100644 index 923a4bce1..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferenceInfoImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo; - -/** - * Default implementation of ReferenceInfo. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class ReferenceInfoImpl implements ReferenceInfo { - /** Profile containing the transforms allowed in the signature. */ - private List verifyTransformsInfoProfiles; - - /** - * Sets the transforms profile used for verifying the transforms contained - * in the signature. - * - * @param verifyTransformsInfoProfiles The profiles containing the transforms - * allowed in the signature. - */ - public void setVerifyTransformsInfoProfiles(List verifyTransformsInfoProfiles) { - this.verifyTransformsInfoProfiles = - verifyTransformsInfoProfiles != null - ? Collections.unmodifiableList( - new ArrayList(verifyTransformsInfoProfiles)) - : null; - } - - public List getVerifyTransformsInfoProfiles() { - return verifyTransformsInfoProfiles; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferencesCheckResultImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferencesCheckResultImpl.java deleted file mode 100644 index 6bb4d30ac..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferencesCheckResultImpl.java +++ /dev/null @@ -1,46 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResultInfo; - -/** - * Default implementation of ReferencesCheckResult. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ReferencesCheckResultImpl implements ReferencesCheckResult { - /** The check code. */ - private int code; - /** Additional information about the reference check. */ - private ReferencesCheckResultInfo info; - - /** - * Sets the check code. - * - * @param code A numerical representation of the result of the reference - * check. - */ - public void setCode(int code) { - this.code = code; - } - - public int getCode() { - return code; - } - - /** - * Sets additional information about the reference check. - * - * @param manifestRefsCheckResultInfo Additional information about the - * reference check. - */ - public void setInfo(ReferencesCheckResultInfo manifestRefsCheckResultInfo) { - this.info = manifestRefsCheckResultInfo; - } - - public ReferencesCheckResultInfo getInfo() { - return info; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferencesCheckResultInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferencesCheckResultInfoImpl.java deleted file mode 100644 index a21b417ae..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/ReferencesCheckResultInfoImpl.java +++ /dev/null @@ -1,46 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResultInfo; - -/** - * Default implementation of ReferencesCheckResultInfo. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ReferencesCheckResultInfoImpl - implements ReferencesCheckResultInfo { - - /** Additional information about the references check. */ - private NodeList anyOtherInfo; - /** The indexes of the failed references. */ - private int[] failedReferences = new int[0]; - - /** - * Sets additional information about the references check. - * @param anyOtherInfo Additional information about the references check. - */ - public void setAnyOtherInfo(NodeList anyOtherInfo) { - this.anyOtherInfo = anyOtherInfo; - } - - public NodeList getAnyOtherInfo() { - return anyOtherInfo; - } - - /** - * Sets the indexes of the failed references. - * - * @param failedReferences The indexes of the failed references. - */ - public void setFailedReferences(int[] failedReferences) { - this.failedReferences = failedReferences; - } - - public int[] getFailedReferences() { - return failedReferences; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SPSSFactoryImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SPSSFactoryImpl.java deleted file mode 100644 index ab6240f79..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SPSSFactoryImpl.java +++ /dev/null @@ -1,559 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.io.InputStream; -import java.math.BigInteger; -import java.security.cert.X509Certificate; -import java.util.Date; -import java.util.List; -import java.util.Map; - -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContent; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSDataObject; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseElement; -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; -import at.gv.egovernment.moa.spss.api.common.Transform; -import at.gv.egovernment.moa.spss.api.common.X509IssuerSerial; -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; -import at.gv.egovernment.moa.spss.api.common.XPathFilter; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.ErrorResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.SignatureEnvironmentResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResultInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResultInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.SignatureManifestCheckParams; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; - -/** - * Default implementation of SPSSFactory. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SPSSFactoryImpl extends SPSSFactory { - - public CreateXMLSignatureRequest createCreateXMLSignatureRequest( - String keyIdentifier, - List singleSignatureInfos) { - CreateXMLSignatureRequestImpl createXMLSignatureRequest = - new CreateXMLSignatureRequestImpl(); - createXMLSignatureRequest.setKeyIdentifier(keyIdentifier); - createXMLSignatureRequest.setSingleSignatureInfos(singleSignatureInfos); - return createXMLSignatureRequest; - } - - public SingleSignatureInfo createSingleSignatureInfo( - List dataObjectInfos, - CreateSignatureInfo createSignatureInfo, - boolean securityLayerConform) { - SingleSignatureInfoImpl singleSignatureInfo = new SingleSignatureInfoImpl(); - singleSignatureInfo.setDataObjectInfos(dataObjectInfos); - singleSignatureInfo.setCreateSignatureInfo(createSignatureInfo); - singleSignatureInfo.setSecurityLayerConform(securityLayerConform); - return singleSignatureInfo; - } - public DataObjectInfo createDataObjectInfo( - String structure, - boolean childOfManifest, - Content dataObject, - CreateTransformsInfoProfile createTransformsInfoProfile) { - DataObjectInfoImpl dataObjectInfo = new DataObjectInfoImpl(); - dataObjectInfo.setStructure(structure); - dataObjectInfo.setChildOfManifest(childOfManifest); - dataObjectInfo.setDataObject(dataObject); - dataObjectInfo.setCreateTransformsInfoProfile(createTransformsInfoProfile); - return dataObjectInfo; - } - - public CreateTransformsInfoProfile createCreateTransformsInfoProfile(String profileID) { - - CreateTransformsInfoProfileIDImpl createTransformsInfoProfile = - new CreateTransformsInfoProfileIDImpl(); - createTransformsInfoProfile.setCreateTransformsInfoProfileID(profileID); - return createTransformsInfoProfile; - } - - public CreateTransformsInfoProfile createCreateTransformsInfoProfile( - CreateTransformsInfo transformsInfo, - List supplements) { - CreateTransformsInfoProfileExplicitImpl createTransformsInfoProfile = - new CreateTransformsInfoProfileExplicitImpl(); - createTransformsInfoProfile.setCreateTransformsInfo(transformsInfo); - createTransformsInfoProfile.setSupplements(supplements); - return createTransformsInfoProfile; - } - - public CreateTransformsInfo createCreateTransformsInfo( - List transforms, - MetaInfo finalDataMetaInfo) { - CreateTransformsInfoImpl createTransformsInfo = - new CreateTransformsInfoImpl(); - - createTransformsInfo.setTransforms(transforms); - createTransformsInfo.setFinalDataMetaInfo(finalDataMetaInfo); - return createTransformsInfo; - } - - public CreateSignatureInfo createCreateSignatureInfo( - Content createSignatureEnvironment, - CreateSignatureEnvironmentProfile createSignatureEnvironmentProfile) { - CreateSignatureInfoImpl createSignatureInfo = new CreateSignatureInfoImpl(); - createSignatureInfo.setCreateSignatureEnvironment( - createSignatureEnvironment); - createSignatureInfo.setCreateSignatureEnvironmentProfile( - createSignatureEnvironmentProfile); - return createSignatureInfo; - } - - public CreateSignatureEnvironmentProfile createCreateSignatureEnvironmentProfile( - CreateSignatureLocation createSignatureLocation, - List supplements) { - CreateSignatureEnvironmentProfileExplicitImpl createSignatureEnvironmentProfile = - new CreateSignatureEnvironmentProfileExplicitImpl(); - createSignatureEnvironmentProfile.setCreateSignatureLocation( - createSignatureLocation); - createSignatureEnvironmentProfile.setSupplements(supplements); - return createSignatureEnvironmentProfile; - } - - public CreateSignatureLocation createCreateSignatureLocation( - String signatureLocationXPath, - int signatureLocationIndex, - Map namespaceDeclarations) { - CreateSignatureLocationImpl createSignatureLocation = - new CreateSignatureLocationImpl(); - createSignatureLocation.setIndex(signatureLocationIndex); - createSignatureLocation.setNamespaceDeclarations(namespaceDeclarations); - createSignatureLocation.setXPathExpression(signatureLocationXPath); - return createSignatureLocation; - } - - public CreateSignatureEnvironmentProfile createCreateSignatureEnvironmentProfile(String profileID) { - CreateSignatureEnvironmentProfileIDImpl createSignatureEnvironmentProfile = - new CreateSignatureEnvironmentProfileIDImpl(); - createSignatureEnvironmentProfile.setCreateSignatureEnvironmentProfileID( - profileID); - return createSignatureEnvironmentProfile; - } - - public CreateXMLSignatureResponse createCreateXMLSignatureResponse(List responseElements) { - CreateXMLSignatureResponseImpl createXMLSignatureResponse = - new CreateXMLSignatureResponseImpl(); - createXMLSignatureResponse.setResponseElements(responseElements); - return createXMLSignatureResponse; - } - - public SignatureEnvironmentResponse createSignatureEnvironmentResponse(Element signatureEnvironment) { - SignatureEnvironmentResponseImpl signatureEnvironmentResponse = - new SignatureEnvironmentResponseImpl(); - signatureEnvironmentResponse.setSignatureEnvironment(signatureEnvironment); - return signatureEnvironmentResponse; - } - - public ErrorResponse createErrorResponse(int code, String info) { - ErrorResponseImpl errorResponse = new ErrorResponseImpl(); - errorResponse.setErrorCode(code); - errorResponse.setInfo(info); - return errorResponse; - } - - public VerifyCMSSignatureRequest createVerifyCMSSignatureRequest( - int[] signatories, - Date dateTime, - InputStream cmsSignature, - CMSDataObject dataObject, - String trustProfileID) { - VerifyCMSSignatureRequestImpl verifyCMSSignatureRequest = - new VerifyCMSSignatureRequestImpl(); - verifyCMSSignatureRequest.setDateTime(dateTime); - verifyCMSSignatureRequest.setCMSSignature(cmsSignature); - verifyCMSSignatureRequest.setDataObject(dataObject); - verifyCMSSignatureRequest.setTrustProfileId(trustProfileID); - verifyCMSSignatureRequest.setSignatories(signatories); - return verifyCMSSignatureRequest; - } - - public CMSDataObject createCMSDataObject( - MetaInfo metaInfo, - CMSContent content) { - - CMSDataObjectImpl cmsDataObject = new CMSDataObjectImpl(); - cmsDataObject.setMetaInfo(metaInfo); - cmsDataObject.setContent(content); - - return cmsDataObject; - } - - public CMSContent createCMSContent(InputStream binaryContent) { - CMSContentExplicitImpl cmsContent = new CMSContentExplicitImpl(); - - cmsContent.setBinaryContent(binaryContent); - return cmsContent; - } - - public CMSContent createCMSContent(String referenceURI) { - CMSContentReferenceImpl cmsContent = new CMSContentReferenceImpl(); - - cmsContent.setReference(referenceURI); - return cmsContent; - } - - - public CMSDataObject createCMSDataObject( - MetaInfo metaInfo, - String referenceURI) { - CMSDataObjectImpl cmsDataObject = new CMSDataObjectImpl(); - CMSContentReferenceImpl cmsContent = new CMSContentReferenceImpl(); - cmsDataObject.setMetaInfo(metaInfo); - cmsContent.setReference(referenceURI); - return cmsDataObject; - } - - public VerifyCMSSignatureResponse createVerifyCMSSignatureResponse(List responseElements) { - VerifyCMSSinatureResponseImpl verifyCMSSignatureResponse = - new VerifyCMSSinatureResponseImpl(); - verifyCMSSignatureResponse.setResponseElements(responseElements); - return verifyCMSSignatureResponse; - } - - public VerifyCMSSignatureResponseElement createVerifyCMSSignatureResponseElement( - SignerInfo signerInfo, - CheckResult signatureCheck, - CheckResult certificateCheck) { - VerifyCMSSignatureResponseElementImpl verifyCMSSignatureResponseElement = - new VerifyCMSSignatureResponseElementImpl(); - verifyCMSSignatureResponseElement.setSignerInfo(signerInfo); - verifyCMSSignatureResponseElement.setSignatureCheck(signatureCheck); - verifyCMSSignatureResponseElement.setCertificateCheck(certificateCheck); - return verifyCMSSignatureResponseElement; - } - - public VerifyXMLSignatureRequest createVerifyXMLSignatureRequest( - Date dateTime, - VerifySignatureInfo verifySignatureInfo, - List supplementProfiles, - SignatureManifestCheckParams signatureManifestParams, - boolean returnHashInputData, - String trustProfileID) { - VerifyXMLSignatureRequestImpl verifyXMLSignatureRequest = - new VerifyXMLSignatureRequestImpl(); - verifyXMLSignatureRequest.setDateTime(dateTime); - verifyXMLSignatureRequest.setSignatureInfo(verifySignatureInfo); - verifyXMLSignatureRequest.setSupplementProfiles(supplementProfiles); - verifyXMLSignatureRequest.setSignatureManifestCheckParams( - signatureManifestParams); - verifyXMLSignatureRequest.setReturnHashInputData(returnHashInputData); - verifyXMLSignatureRequest.setTrustProfileId(trustProfileID); - return verifyXMLSignatureRequest; - } - - public VerifySignatureInfo createVerifySignatureInfo( - Content verifySignatureEnvironment, - VerifySignatureLocation verifySignatureLocation) { - VerifySignatureInfoImpl verifySignatureInfo = new VerifySignatureInfoImpl(); - verifySignatureInfo.setVerifySignatureEnvironment( - verifySignatureEnvironment); - verifySignatureInfo.setVerifySignatureLocation(verifySignatureLocation); - return verifySignatureInfo; - } - - public VerifySignatureLocation createVerifySignatureLocation( - String xPathExpression, - Map namespaceDeclarations) { - VerifySignatureLocationImpl verifySignatureLocation = - new VerifySignatureLocationImpl(); - verifySignatureLocation.setXPathExpression(xPathExpression); - verifySignatureLocation.setNamespaceDeclarations(namespaceDeclarations); - return verifySignatureLocation; - } - - public SupplementProfile createSupplementProfile(String profileID) { - SupplementProfileIDImpl supplementProfileID = new SupplementProfileIDImpl(); - supplementProfileID.setSupplementProfileID(profileID); - return supplementProfileID; - } - - public SupplementProfile createSupplementProfile(XMLDataObjectAssociation supplementProfile) { - SupplementProfileExplicitImpl supplementProfileExplicit = - new SupplementProfileExplicitImpl(); - supplementProfileExplicit.setSupplementProfile(supplementProfile); - return supplementProfileExplicit; - } - - public SignatureManifestCheckParams createSignatureManifestCheckParams( - List referenceInfos, - boolean returnReferenceInputData) { - SignatureManifestCheckParamsImpl signatureManifestCheckParams = - new SignatureManifestCheckParamsImpl(); - signatureManifestCheckParams.setReferenceInfos(referenceInfos); - signatureManifestCheckParams.setReturnReferenceInputData( - returnReferenceInputData); - return signatureManifestCheckParams; - } - - public ReferenceInfo createReferenceInfo(List verifyTransformsInfoProfiles) { - ReferenceInfoImpl referenceInfo = new ReferenceInfoImpl(); - referenceInfo.setVerifyTransformsInfoProfiles(verifyTransformsInfoProfiles); - return referenceInfo; - } - - public VerifyTransformsInfoProfile createVerifyTransformsInfoProfile( - List transforms, - List transformParameters) { - VerifyTransformsInfoProfileExplicitImpl verifyTransformsInfoProfile = - new VerifyTransformsInfoProfileExplicitImpl(); - - verifyTransformsInfoProfile.setTransforms(transforms); - verifyTransformsInfoProfile.setTransformParameters(transformParameters); - - return verifyTransformsInfoProfile; - } - - public VerifyTransformsInfoProfile createVerifyTransformsInfoProfile(String profileID) { - VerifyTransformsInfoProfileIDImpl verifyTransformsInfoProfile = - new VerifyTransformsInfoProfileIDImpl(); - verifyTransformsInfoProfile.setVerifyTransformsInfoProfileID(profileID); - return verifyTransformsInfoProfile; - } - - - public TransformParameter createTransformParameter(String URI, String digestMethod, byte[] digestValue) { - TransformPatameterHashImpl transformParameter = - new TransformPatameterHashImpl(); - transformParameter.setURI(URI); - transformParameter.setDigestMethod(digestMethod); - transformParameter.setDigestValue(digestValue); - return transformParameter; - } - - public TransformParameter createTransformParameter( - String URI, - InputStream binaryData) { - TransformParameterBinaryImpl transformParameter = - new TransformParameterBinaryImpl(); - transformParameter.setURI(URI); - transformParameter.setBinaryContent(binaryData); - return transformParameter; - } - - public TransformParameter createTransformParameter(String URI) { - TransformParameterURIImpl transformParameter = - new TransformParameterURIImpl(); - transformParameter.setURI(URI); - return transformParameter; - } - - public VerifyXMLSignatureResponse createVerifyXMLSignatureResponse( - SignerInfo signerInfo, - List hashInputDatas, - List referenceInputDatas, - ReferencesCheckResult signatureCheck, - ReferencesCheckResult signatureManifestCheck, - List xmlDsigManifestChecks, - CheckResult certificateCheck) { - VerifyXMLSignatureResponseImpl verifyXMLSignatureResponse = - new VerifyXMLSignatureResponseImpl(); - verifyXMLSignatureResponse.setSignerInfo(signerInfo); - verifyXMLSignatureResponse.setHashInputDatas(hashInputDatas); - verifyXMLSignatureResponse.setReferenceInputDatas(referenceInputDatas); - verifyXMLSignatureResponse.setSignatureCheck(signatureCheck); - verifyXMLSignatureResponse.setSignatureManifestCheck( - signatureManifestCheck); - verifyXMLSignatureResponse.setXMLDsigManifestChecks(xmlDsigManifestChecks); - verifyXMLSignatureResponse.setCertificateCheck(certificateCheck); - return verifyXMLSignatureResponse; - } - - public ReferencesCheckResult createReferencesCheckResult( - int code, - ReferencesCheckResultInfo info) { - ReferencesCheckResultImpl referencesCheckResult = - new ReferencesCheckResultImpl(); - referencesCheckResult.setCode(code); - referencesCheckResult.setInfo(info); - return referencesCheckResult; - } - - public ReferencesCheckResultInfo createReferencesCheckResultInfo( - NodeList anyOtherInfo, - int[] failedReferences) { - ReferencesCheckResultInfoImpl referencesCheckResultInfo = - new ReferencesCheckResultInfoImpl(); - referencesCheckResultInfo.setAnyOtherInfo(anyOtherInfo); - referencesCheckResultInfo.setFailedReferences(failedReferences); - return referencesCheckResultInfo; - } - - public ManifestRefsCheckResult createManifestRefsCheckResult( - int code, - ManifestRefsCheckResultInfo info) { - ManifestRefsCheckResultImpl manifestRefsCheckResult = - new ManifestRefsCheckResultImpl(); - manifestRefsCheckResult.setCode(code); - manifestRefsCheckResult.setInfo(info); - return manifestRefsCheckResult; - } - - public ManifestRefsCheckResultInfo createManifestRefsCheckResultInfo( - NodeList anyOtherInfo, - int[] failedReferences, - int referringSigReference) { - ManifestRefsCheckResultInfoImpl manifestRefsCheckResultInfo = - new ManifestRefsCheckResultInfoImpl(); - manifestRefsCheckResultInfo.setAnyOtherInfo(anyOtherInfo); - manifestRefsCheckResultInfo.setReferringSignatureReference( - referringSigReference); - manifestRefsCheckResultInfo.setFailedReferences(failedReferences); - return manifestRefsCheckResultInfo; - } - - public Content createContent(InputStream binaryData, String referenceURI) { - ContentBinaryImpl content = new ContentBinaryImpl(); - content.setBinaryContent(binaryData); - content.setReference(referenceURI); - return content; - } - - public Content createContent(String referenceURI) { - ContentReferenceImpl content = new ContentReferenceImpl(); - content.setReference(referenceURI); - return content; - } - - public Content createContent(NodeList xmlData, String referenceURI) { - ContentXMLImpl content = new ContentXMLImpl(); - content.setXMLContent(xmlData); - content.setReference(referenceURI); - return content; - } - - public XMLDataObjectAssociation createXMLDataObjectAssociation( - MetaInfo metaInfo, - Content xmlContent) { - XMLDataObjectAssociationImpl xmlDataObjectAssociation = - new XMLDataObjectAssociationImpl(); - xmlDataObjectAssociation.setMetaInfo(metaInfo); - xmlDataObjectAssociation.setContent(xmlContent); - return xmlDataObjectAssociation; - } - - public MetaInfo createMetaInfo( - String mimeType, - String description, - NodeList otherInfo) { - MetaInfoImpl metaInfo = new MetaInfoImpl(); - metaInfo.setMimeType(mimeType); - metaInfo.setDescription(description); - metaInfo.setAnyElements(otherInfo); - return metaInfo; - } - - public Transform createCanonicalizationTransform(String algorithmURI) { - CanonicalizationTransformImpl transform = new CanonicalizationTransformImpl(algorithmURI); - return transform; - } - - public Transform createExclusiveCanonicalizationTransform(String algorithmURI, List inclusiveNamespacePrefixes) { - ExclusiveCanonicalizationTransformImpl transform = new ExclusiveCanonicalizationTransformImpl(algorithmURI); - transform.setInclusiveNamespacePrefixes(inclusiveNamespacePrefixes); - return transform; - } - - public Transform createBase64Transform() { - Base64TransformImpl transform = new Base64TransformImpl(); - return transform; - } - - public Transform createEnvelopedSignatureTransform() { - EnvelopedSignatureTransformImpl transform = - new EnvelopedSignatureTransformImpl(); - return transform; - } - - public Transform createXSLTTransform(Element styleSheet) { - XSLTransformImpl transform = new XSLTransformImpl(); - transform.setStylesheet(styleSheet); - return transform; - } - - public Transform createXPathTransform( - String xPathExpression, - Map namespaceDeclarations) { - XPathTransformImpl transform = new XPathTransformImpl(); - transform.setXPathExpression(xPathExpression); - transform.setNamespaceDelcarations(namespaceDeclarations); - return transform; - } - - public Transform createXPathFilter2Transform(List xPathFilters) { - XPathFilter2TransformImpl transform = new XPathFilter2TransformImpl(); - transform.setFilters(xPathFilters); - return transform; - } - - public XPathFilter createXPathFilter( - String filterType, - String xPathExpression, - Map namespaceDeclarations) { - XPathFilterImpl xPathFilter = new XPathFilterImpl(); - xPathFilter.setFilterType(filterType); - xPathFilter.setXPathExpression(xPathExpression); - xPathFilter.setNamespaceDelcarations(namespaceDeclarations); - return xPathFilter; - } - - public CheckResult createCheckResult(int code, NodeList info) { - CheckResultImpl checkResult = new CheckResultImpl(); - checkResult.setCode(code); - checkResult.setInfo(info); - return checkResult; - } - - public SignerInfo createSignerInfo( - X509Certificate signerCertificate, - boolean qualifiedCertificate, - boolean publicAuthority, - String publicAuthorityID) { - SignerInfoImpl signerInfo = new SignerInfoImpl(); - signerInfo.setSignerCertificate(signerCertificate); - signerInfo.setQualifiedCertificate(qualifiedCertificate); - signerInfo.setPublicAuthority(publicAuthority); - signerInfo.setPublicAuhtorityID(publicAuthorityID); - return signerInfo; - } - - public X509IssuerSerial createX509IssuerSerial( - String issuerName, - BigInteger serialNumber) { - X509IssuerSerialImpl x509IssuerSerial = new X509IssuerSerialImpl(); - x509IssuerSerial.setX509IssuerName(issuerName); - x509IssuerSerial.setX509SerialNumber(serialNumber); - return x509IssuerSerial; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignatureEnvironmentResponseImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignatureEnvironmentResponseImpl.java deleted file mode 100644 index 57d30ad3b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignatureEnvironmentResponseImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.spss.api.xmlsign.SignatureEnvironmentResponse; - -/** - * Default implementation of SignatureEnvironmentResponse. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class SignatureEnvironmentResponseImpl - implements SignatureEnvironmentResponse { - - /** The signature environment containing the XML signature. */ - private Element signatureEnvironment; - - /** - * Sets the XML structure which contains the signature. - * - * @param signatureEnvironment A general XML structure containing the signature. - */ - public void setSignatureEnvironment(Element signatureEnvironment) { - this.signatureEnvironment = signatureEnvironment; - } - - public Element getSignatureEnvironment() { - return signatureEnvironment; - } - - /** - * Gets the type of CreateXMLSignatureResponseElement. - * - * @return SIGNATURE_ENVIRONMENT_RESPONSE - */ - public int getResponseType() { - return SIGNATURE_ENVIRONMENT_RESPONSE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignatureManifestCheckParamsImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignatureManifestCheckParamsImpl.java deleted file mode 100644 index 5924f8447..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignatureManifestCheckParamsImpl.java +++ /dev/null @@ -1,52 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlverify.SignatureManifestCheckParams; - -/** - * Default implementation of SignatureManifestCheckParams. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class SignatureManifestCheckParamsImpl - implements SignatureManifestCheckParams { - - /** Referential information. */ - private List referenceInfos; - /** Whether to return the signature source data. */ - private boolean returnReferenceInputData = true; - - /** - * Sets the referantial information. - * - * @param referenceInfos The referential information. - */ - public void setReferenceInfos(List referenceInfos) { - this.referenceInfos = - referenceInfos != null - ? Collections.unmodifiableList(new ArrayList(referenceInfos)) - : null; - } - - public List getReferenceInfos() { - return referenceInfos; - } - - /** - * Sets whether to return signature source data. - * - * @param returnReferenceInputData Whether to return signature source data. - */ - public void setReturnReferenceInputData(boolean returnReferenceInputData) { - this.returnReferenceInputData = returnReferenceInputData; - } - - public boolean getReturnReferenceInputData() { - return returnReferenceInputData; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignerInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignerInfoImpl.java deleted file mode 100644 index 277f1a008..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SignerInfoImpl.java +++ /dev/null @@ -1,81 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.security.cert.X509Certificate; - -import at.gv.egovernment.moa.spss.api.common.SignerInfo; - -/** - * Default implementation of SignerInfo. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class SignerInfoImpl implements SignerInfo { - - /** The signer certificate. */ - private X509Certificate signerCertificate; - /** Determines, whether signerCertificate is a qualified - * certificate. */ - private boolean qualifiedCertificate; - /** Determines, whether signerCertificate is from a public - * authority. */ - private boolean publicAuthority; - /** The public authority ID of the signerCertificate. */ - private String publicAuthorityID; - - /** - * Sets the signer certificate. - * - * @param signerCertificate The signer certificate. - */ - public void setSignerCertificate(X509Certificate signerCertificate) { - this.signerCertificate = signerCertificate; - } - - public X509Certificate getSignerCertificate() { - return signerCertificate; - } - - /** - * Sets, whether the certificate contained in this object is qualified or not. - * - * @param qualifiedCertificate Is true, if the certificate is - * qualified, otherwise false. - */ - public void setQualifiedCertificate(boolean qualifiedCertificate) { - this.qualifiedCertificate = qualifiedCertificate; - } - - public boolean isQualifiedCertificate() { - return qualifiedCertificate; - } - - /** - * Sets, whether the certificate contained in this object is an - * e-government certificate or not. - * - * @param publicAuthority Is true, if the certificate is - * public authority certificate, otherwise false. - */ - public void setPublicAuthority(boolean publicAuthority) { - this.publicAuthority = publicAuthority; - } - - public boolean isPublicAuthority() { - return publicAuthority; - } - - /** - * Sets the public authority ID of the signer certificate. - * - * @param publicAuhtorityID The public authority ID of the signer certificate. - */ - public void setPublicAuhtorityID(String publicAuhtorityID) { - this.publicAuthorityID = publicAuhtorityID; - } - - public String getPublicAuhtorityID() { - return publicAuthorityID; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SingleSignatureInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SingleSignatureInfoImpl.java deleted file mode 100644 index b50a65c68..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SingleSignatureInfoImpl.java +++ /dev/null @@ -1,49 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo; - -/** - * @author Fatemeh Philippi - * @version $Id$ - */ -public class SingleSignatureInfoImpl implements SingleSignatureInfo { - - private List dataObjectInfos = new ArrayList(); - - private CreateSignatureInfo createSignatureInfo; - - private boolean securityLayerConform = true; - - public void setDataObjectInfos(List dataObjectInfos) { - this.dataObjectInfos = - dataObjectInfos != null - ? Collections.unmodifiableList(new ArrayList(dataObjectInfos)) - : null; - } - - public List getDataObjectInfos() { - return dataObjectInfos; - } - - public void setCreateSignatureInfo(CreateSignatureInfo createSignatureInfo) { - this.createSignatureInfo = createSignatureInfo; - } - - public CreateSignatureInfo getCreateSignatureInfo() { - return createSignatureInfo; - } - - public void setSecurityLayerConform(boolean securityLayerConform) { - this.securityLayerConform = securityLayerConform; - } - - public boolean isSecurityLayerConform() { - return securityLayerConform; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SupplementProfileExplicitImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SupplementProfileExplicitImpl.java deleted file mode 100644 index 78723fec2..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SupplementProfileExplicitImpl.java +++ /dev/null @@ -1,39 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileExplicit; - -/** - * Default implementation of SupplementProfileExplicit. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class SupplementProfileExplicitImpl implements SupplementProfileExplicit { - - /** Supplemental information for verifying a signature. */ - private XMLDataObjectAssociation supplement; - - /** - * Sets the supplemental information for verifying a signature. - * - * @param supplement The supplemental information for verifying a signature. - */ - public void setSupplementProfile(XMLDataObjectAssociation supplement) { - this.supplement = supplement; - } - - public XMLDataObjectAssociation getSupplementProfile() { - return supplement; - } - - /** - * Gets the type of SupplementProfile. - * - * @return EXPLICIT_SUPPLEMENTPROFILE - */ - public int getSupplementProfileType() { - return EXPLICIT_SUPPLEMENTPROFILE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SupplementProfileIDImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SupplementProfileIDImpl.java deleted file mode 100644 index 320827fad..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/SupplementProfileIDImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileID; - -/** - * Default implementation of SupplementProfileID. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class SupplementProfileIDImpl implements SupplementProfileID { - /** The profile ID. */ - private String profileID; - - /** - * Sets the SupplementProfile profile ID. - * - * @param profileID The profile ID. - */ - public void setSupplementProfileID(String profileID) { - this.profileID = profileID; - } - - public String getSupplementProfileID() { - return profileID; - } - - /** - * Gets the type of SupplementProfile. - * - * @return ID_SUPPLEMENTPROFILE - */ - public int getSupplementProfileType() { - return ID_SUPPLEMENTPROFILE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformImpl.java deleted file mode 100644 index 51c7a543f..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformImpl.java +++ /dev/null @@ -1,26 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.Transform; - -/** - * @author Fatemeh Philippi - * @version $Id$ - */ -public class TransformImpl implements Transform { - /** The URI identifying the transformation algorithm. */ - private String algorithmURI; - - /** - * Sets the URI identifying the transformation algorithm. - * - * @param algorithmURI The URI identifying the transformation algorithm. - */ - public void setAlgorithmURI(String algorithmURI) { - this.algorithmURI = algorithmURI; - } - - public String getAlgorithmURI() { - return algorithmURI; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterBinaryImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterBinaryImpl.java deleted file mode 100644 index 2901fb1bb..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterBinaryImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.io.InputStream; - -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameterBinary; - -/** - * Default implementation of TransformParameterBinary. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class TransformParameterBinaryImpl - extends TransformParameterImpl - implements TransformParameterBinary { - - /** The binary content as a stream. */ - private InputStream binaryContent; - - /** - * Sets the binary content as a stream. - * - * @param binaryContent The binary content as a stream. - */ - public void setBinaryContent(InputStream binaryContent) { - this.binaryContent = binaryContent; - } - - public InputStream getBinaryContent() { - return binaryContent; - } - - /** - * Gets the TransformParameter type. - * - * @return BINARY_TRANSFORMPARAMETER - */ - public int getTransformParameterType() { - return BINARY_TRANSFORMPARAMETER; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterImpl.java deleted file mode 100644 index 9fe60638e..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterImpl.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -/** - * Default base implementation of TransformParameter. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class TransformParameterImpl { - /** An URI identifying the TransformParameter. */ - private String uri; - - /** - * Sets the URI identifying the TransformParameter. - * @param uri The URI identifying the TransformParameter. - */ - public void setURI(String uri) { - this.uri = uri; - } - - public String getURI() { - return uri; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterURIImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterURIImpl.java deleted file mode 100644 index 25449504c..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformParameterURIImpl.java +++ /dev/null @@ -1,24 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameterURI; - -/** - * Default implementation of TransformParameterURI. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class TransformParameterURIImpl - extends TransformParameterImpl - implements TransformParameterURI { - - /** - * Gets the type of TransformParameter. - * - * @return URI_TRANSFORMPARAMETER - */ - public int getTransformParameterType() { - return URI_TRANSFORMPARAMETER; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformPatameterHashImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformPatameterHashImpl.java deleted file mode 100644 index a7843e68c..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/TransformPatameterHashImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameterHash; - -/** - * Default implementation of TransformParameterHash - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class TransformPatameterHashImpl - extends TransformParameterImpl - implements TransformParameterHash { - - /** The method used to calculate the digest value. */ - private String digestMethod; - /** The digest value. */ - private byte[] digestValue; - - /** - * Sets method used to calculate the digest value. - * @param digestMethod The method used to calculate the digest value. - */ - public void setDigestMethod(String digestMethod) { - this.digestMethod = digestMethod; - } - - public String getDigestMethod() { - return digestMethod; - } - - /** - * Sets the digest value. - * - * @param digestValue The digest value. - */ - public void setDigestValue(byte[] digestValue) { - this.digestValue = digestValue; - } - - public byte[] getDigestValue() { - return digestValue; - } - - /** - * Gets the type of TransformParameter. - * - * @return HASH_TRANSFORMPARAMETER - */ - public int getTransformParameterType() { - return HASH_TRANSFORMPARAMETER; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSignatureRequestImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSignatureRequestImpl.java deleted file mode 100644 index a3c37aaef..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSignatureRequestImpl.java +++ /dev/null @@ -1,93 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.io.InputStream; -import java.util.Date; - -import at.gv.egovernment.moa.spss.api.cmsverify.CMSDataObject; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; - -/** - * Default implementation of VerifyCMSSignatureRequest. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifyCMSSignatureRequestImpl - implements VerifyCMSSignatureRequest { - - /** The indexes of the signatories whose signature should be verified. */ - private int[] signatories; - /** The profile ID of trusted certificates. */ - private String trustProfileId; - /** The data object necessary for signature verification. */ - private CMSDataObject dataObject; - /** The CMS signature to verify. */ - private InputStream cmsSignature; - /** The date for which to verify the signature. */ - private Date dateTime; - - /** - * Sets the indexes of the signatories whose signature should be verified. - * - * @param signatories The indexes of the signatories whose signature should be - * verified. - */ - public void setSignatories(int[] signatories) { - this.signatories = signatories; - } - - public int[] getSignatories() { - return signatories; - } - - /** - * Sets the date for which to verify the signature. - * - * @param dateTime The date for which to verify the signature. - */ - public void setDateTime(Date dateTime) { - this.dateTime = dateTime; - } - - public Date getDateTime() { - return dateTime; - } - - /** - * Sets the CMS signature to verify. - * @param signature The CMS signature to verify. - */ - public void setCMSSignature(InputStream signature) { - this.cmsSignature = signature; - - } - - public InputStream getCMSSignature() { - return cmsSignature; - } - - /** - * Sets the data object necessary for signature verification. - * @param dataObject The data object necessary for signature verification. - */ - public void setDataObject(CMSDataObject dataObject) { - this.dataObject = dataObject; - } - - public CMSDataObject getDataObject() { - return dataObject; - } - - /** - * Sets the profile ID of trusted certificates. - * @param trustProfileId The profile ID of trusted certificates. - */ - public void setTrustProfileId(String trustProfileId) { - this.trustProfileId = trustProfileId; - } - - public String getTrustProfileId() { - return trustProfileId; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSignatureResponseElementImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSignatureResponseElementImpl.java deleted file mode 100644 index 40dc04683..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSignatureResponseElementImpl.java +++ /dev/null @@ -1,62 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseElement; -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; - -/** - * Default implementation of VerifyCMSSignatureResponseElement. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifyCMSSignatureResponseElementImpl - implements VerifyCMSSignatureResponseElement { - - /** Information about the signer certificate. */ - private SignerInfo signerInfo; - /** Information about the signature check. */ - private CheckResult signatureCheck; - /** Information about the certificate check. */ - private CheckResult certificateCheck; - - /** - * Sets a SignerInfo element according to CMS. - * - * @param signerInfo The SignerInfo element according to CMS. - */ - public void setSignerInfo(SignerInfo signerInfo) { - this.signerInfo = signerInfo; - } - - public SignerInfo getSignerInfo() { - return signerInfo; - } - - /** - * Sets a result of the signature verification. - * - * @param signatureCheck The result of the signature verification. - */ - public void setSignatureCheck(CheckResult signatureCheck) { - this.signatureCheck = signatureCheck; - } - - public CheckResult getSignatureCheck() { - return signatureCheck; - } - - /** - * Sets a result of the certificate verification. - * - * @param certificateCheck The result of the certificate verification. - */ - public void setCertificateCheck(CheckResult certificateCheck) { - this.certificateCheck = certificateCheck; - } - - public CheckResult getCertificateCheck() { - return certificateCheck; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSinatureResponseImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSinatureResponseImpl.java deleted file mode 100644 index f258380e0..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyCMSSinatureResponseImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; - -/** - * Default implementation of VerifyCMSSignatureResponse. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifyCMSSinatureResponseImpl - implements VerifyCMSSignatureResponse { - - /** The elements contained in the response. */ - private List responseElements; - - /** - * Sets the elements contained in the response. - * - * @param responseElements The elements contained in the response. - */ - public void setResponseElements(List responseElements) { - this.responseElements = - responseElements != null - ? Collections.unmodifiableList(new ArrayList(responseElements)) - : null; - } - - public List getResponseElements() { - return responseElements; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifySignatureInfoImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifySignatureInfoImpl.java deleted file mode 100644 index 2653e2fd2..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifySignatureInfoImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureLocation; - -/** - * Default implementation of VerifySignatureInfo. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifySignatureInfoImpl implements VerifySignatureInfo { - /** The location of the signature to be verified. */ - private VerifySignatureLocation verifySignatureLocation; - /** The environment containing the signature to be verified. */ - private Content verifySignatureEnvironment; - - /** - * Sets the location of the signature to be verified. - * - * @param verifySignatureLocation The location of the signature to be - * verified. - */ - public void setVerifySignatureLocation(VerifySignatureLocation verifySignatureLocation) { - this.verifySignatureLocation = verifySignatureLocation; - } - - public VerifySignatureLocation getVerifySignatureLocation() { - return verifySignatureLocation; - } - - /** - * Sets the signature environment containing the signature to be verified. - * - * @param verifySignatureEnvironment The signature environment containing the - * signature to be verified. - */ - public void setVerifySignatureEnvironment(Content verifySignatureEnvironment) { - this.verifySignatureEnvironment = verifySignatureEnvironment; - } - - public Content getVerifySignatureEnvironment() { - return verifySignatureEnvironment; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifySignatureLocationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifySignatureLocationImpl.java deleted file mode 100644 index 933e42987..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifySignatureLocationImpl.java +++ /dev/null @@ -1,15 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureLocation; - -/** - * Default implementation of VerifySignatureLocation. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifySignatureLocationImpl - extends ElementSelectorImpl - implements VerifySignatureLocation { - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsDataImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsDataImpl.java deleted file mode 100644 index 594f9c246..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsDataImpl.java +++ /dev/null @@ -1,36 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo; - -/** - * Default implementation of . - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifyTransformsDataImpl implements ReferenceInfo { - /** Information about the transformations contained in the signature. */ - private List verifyTransformsInfoProfiles; - - /** - * Sets the information about the transformations contained in the signature. - * - * @param verifyTransformsInfoProfiles The profiles containing transformation - * information. - */ - public void setVerifyTransformsInfoProfiles(List verifyTransformsInfoProfiles) { - this.verifyTransformsInfoProfiles = - verifyTransformsInfoProfiles != null - ? Collections.unmodifiableList( - new ArrayList(verifyTransformsInfoProfiles)) - : null; - } - - public List getVerifyTransformsInfoProfiles() { - return verifyTransformsInfoProfiles; - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsInfoProfileExplicitImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsInfoProfileExplicitImpl.java deleted file mode 100644 index d9a864499..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsInfoProfileExplicitImpl.java +++ /dev/null @@ -1,61 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicit; - -/** - * Default implementation of VerifyTransformsInfoProfileExplicit. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifyTransformsInfoProfileExplicitImpl - implements VerifyTransformsInfoProfileExplicit { - - /** The transforms contained in this profile. */ - private List transforms; - /** Additional information for the transforms. */ - private List transformParameters = new ArrayList(); - - /** - * Sets the transforms contained in this profile. - * - * @param transforms The transforms contained in this profile. - */ - public void setTransforms(List transforms) { - this.transforms = - transforms != null - ? Collections.unmodifiableList(new ArrayList(transforms)) - : null; - } - - public List getTransforms() { - return transforms; - } - - /** - * Sets additional information for the transforms. - * - * @param transformParameters Additional information for the transforms. - */ - public void setTransformParameters(List transformParameters) { - this.transformParameters = new ArrayList(transformParameters); - } - - public List getTransformParameters() { - return transformParameters; - } - - /** - * Gets the type of VerifyTransformsInfoProfile. - * - * @return EXPLICIT_VERIFYTRANSFORMSINFOPROFILE - */ - public int getVerifyTransformsInfoProfileType() { - return EXPLICIT_VERIFYTRANSFORMSINFOPROFILE; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsInfoProfileIDImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsInfoProfileIDImpl.java deleted file mode 100644 index fb1f10cea..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyTransformsInfoProfileIDImpl.java +++ /dev/null @@ -1,38 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileID; - -/** - * Default implementation of VerifyTransformsInfoProfileID. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifyTransformsInfoProfileIDImpl implements VerifyTransformsInfoProfileID { - - /** The profile ID. */ - private String verifyTransformsInfoProfileID; - - /** - * Sets the profile ID. - * - * @param profileID The profile ID. - */ - public void setVerifyTransformsInfoProfileID(String profileID) { - this.verifyTransformsInfoProfileID = profileID; - } - - public String getVerifyTransformsInfoProfileID() { - return verifyTransformsInfoProfileID; - } - - /** - * Gets the type of VerifyTransformsInfoProfile. - * - * @return ID_VERIFYTRANSFORMSINFOPROFILE - */ - public int getVerifyTransformsInfoProfileType() { - return ID_VERIFYTRANSFORMSINFOPROFILE; - } - -} \ No newline at end of file diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyXMLSignatureRequestImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyXMLSignatureRequestImpl.java deleted file mode 100644 index 26d7def4c..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyXMLSignatureRequestImpl.java +++ /dev/null @@ -1,113 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Date; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.xmlverify.SignatureManifestCheckParams; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; - -/** - * Default implementation of VerifyXMLSignatureRequest. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifyXMLSignatureRequestImpl - implements VerifyXMLSignatureRequest { - /** Date and time for signature verification. */ - private Date dateTime; - /** The signature to be verified. */ - private VerifySignatureInfo verifySignatureInfo; - /** Supplemental information about the singature. */ - private List supplementProfiles; - /** Additional parameters for checking the signature manifest. */ - private SignatureManifestCheckParams signatureManifestCheckParams; - /** Whether to return the hash input data. */ - private boolean returnHashInputData; - /** The profile ID of the trust profile containing the trusted certificates. - */ - private String trustProfileId; - - /** - * Sets the date and time for signature verification. - * - * @param dateTime The date and time for signature verification. - */ - public void setDateTime(Date dateTime) { - this.dateTime = dateTime; - } - - public Date getDateTime() { - return dateTime; - } - - /** - * Sets the signature to be verified. - * - * @param signatureInfo The signature to be verified. - */ - public void setSignatureInfo(VerifySignatureInfo signatureInfo) { - this.verifySignatureInfo = signatureInfo; - } - - public VerifySignatureInfo getSignatureInfo() { - return verifySignatureInfo; - } - - /** - * Sets supplemental information about the singature. - * @param supplementProfiles - */ - public void setSupplementProfiles(List supplementProfiles) { - this.supplementProfiles = - supplementProfiles != null - ? Collections.unmodifiableList(new ArrayList(supplementProfiles)) - : null; - } - - public List getSupplementProfiles() { - return supplementProfiles; - } - - /** - * Sets supplemental information about the singature. - * @param params Supplemental information about the singature. - */ - public void setSignatureManifestCheckParams(SignatureManifestCheckParams params) { - this.signatureManifestCheckParams = params; - } - - public SignatureManifestCheckParams getSignatureManifestCheckParams() { - return signatureManifestCheckParams; - } - - /** - * Sets whether to return hash input data. - * - * @param returnSignedData Whether to return hash input data. - */ - public void setReturnHashInputData(boolean returnSignedData) { - this.returnHashInputData = returnSignedData; - } - - public boolean getReturnHashInputData() { - return returnHashInputData; - } - - /** - * Sets the profile ID of trusted certificates. - * - * @param trustProfileId The profile ID of trusted certificates. - */ - public void setTrustProfileId(String trustProfileId) { - this.trustProfileId = trustProfileId; - } - - public String getTrustProfileId() { - return trustProfileId; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyXMLSignatureResponseImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyXMLSignatureResponseImpl.java deleted file mode 100644 index f163013c1..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/VerifyXMLSignatureResponseImpl.java +++ /dev/null @@ -1,134 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; - -/** - * @author Fatemeh Philippi - * @version $Id$ - */ -public class VerifyXMLSignatureResponseImpl - implements VerifyXMLSignatureResponse { - - /** Information about the signer certificate. */ - private SignerInfo signerInfo; - /** The hash input data objects. */ - private List hashInputDatas = new ArrayList(); - /** The reference input data objects. */ - private List referenceInputDatas = new ArrayList(); - /** Information about the signature check. */ - private ReferencesCheckResult signatureCheck; - /** Information about the signature manifest check. */ - private ReferencesCheckResult signatureManifestCheck; - /** Information about the XMLDsig manifest check. */ - private List xmlDsigManifestChecks = new ArrayList(); - /** Information about the certificate check. */ - private CheckResult certificateCheck; - - /** - * Sets information about the signer certificate. - * - * @param signerInfo Information about the signer certificate. - */ - public void setSignerInfo(SignerInfo signerInfo) { - this.signerInfo = signerInfo; - } - - public SignerInfo getSignerInfo() { - return signerInfo; - } - - /** - * Sets data signed by the signatory. - * - * @param hashInputDatas The signed datas. - */ - public void setHashInputDatas(List hashInputDatas) { - this.hashInputDatas = - hashInputDatas != null - ? Collections.unmodifiableList(new ArrayList(hashInputDatas)) - : null; - } - - public List getHashInputDatas() { - return hashInputDatas; - } - - /** - * Sets the source data elements. - * - * @param referenceInputDatas The source data elements. - */ - public void setReferenceInputDatas(List referenceInputDatas) { - this.referenceInputDatas = - referenceInputDatas != null - ? Collections.unmodifiableList(new ArrayList(referenceInputDatas)) - : null; - } - - public List getReferenceInputDatas() { - return referenceInputDatas; - } - - /** - * Sets the result of the signature verification. - * - * @param signatureCheck The result of the signature verification. - */ - public void setSignatureCheck(ReferencesCheckResult signatureCheck) { - this.signatureCheck = signatureCheck; - } - - public ReferencesCheckResult getSignatureCheck() { - return signatureCheck; - } - - /** - * Sets the result of the signature manifest verification. - * - * @param signatureManifestCheck The result of the signature manifest verification. - */ - public void setSignatureManifestCheck(ReferencesCheckResult signatureManifestCheck) { - this.signatureManifestCheck = signatureManifestCheck; - } - - public ReferencesCheckResult getSignatureManifestCheck() { - return signatureManifestCheck; - } - - /** - * Sets the result of the certification verification. - * - * @param certificateCheck The result of the certificate verification. - */ - public void setCertificateCheck(CheckResult certificateCheck) { - this.certificateCheck = certificateCheck; - } - - public CheckResult getCertificateCheck() { - return certificateCheck; - } - - /** - * Sets the XMLDSigManifestChecks. - * - * @param xmlDsigManifestChecks The XMLDSigManifestChecks. - */ - public void setXMLDsigManifestChecks(List xmlDsigManifestChecks) { - this.xmlDsigManifestChecks = - xmlDsigManifestChecks != null - ? Collections.unmodifiableList(new ArrayList(xmlDsigManifestChecks)) - : null; - } - - public List getXMLDsigManifestChecks() { - return xmlDsigManifestChecks; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/X509IssuerSerialImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/X509IssuerSerialImpl.java deleted file mode 100644 index e6d644fd9..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/X509IssuerSerialImpl.java +++ /dev/null @@ -1,45 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.math.BigInteger; - -import at.gv.egovernment.moa.spss.api.common.X509IssuerSerial; - -/** - * Default implementation of X509IssuerSerial. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class X509IssuerSerialImpl implements X509IssuerSerial { - /** The certificate serial number. */ - private BigInteger x509SerialNumber; - /** The certificate issuer DN. */ - private String x509IssuerName; - - /** - * Sets the issuer distinguished name. - * - * @param x509IssuerName The issuer distinguished name. - */ - public void setX509IssuerName(String x509IssuerName) { - this.x509IssuerName = x509IssuerName; - } - - public String getX509IssuerName() { - return x509IssuerName; - } - - /** - * Sets the certificate serial number. - * - * @param x509SerialNumber The issuer serial number. - */ - public void setX509SerialNumber(BigInteger x509SerialNumber) { - this.x509SerialNumber = x509SerialNumber; - } - - public BigInteger getX509SerialNumber() { - return x509SerialNumber; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XMLDataObjectAssociationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XMLDataObjectAssociationImpl.java deleted file mode 100644 index b603c3367..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XMLDataObjectAssociationImpl.java +++ /dev/null @@ -1,45 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; - -/** - * Default implementation of XMLDataObjectAssociation. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class XMLDataObjectAssociationImpl implements XMLDataObjectAssociation { - - /** Meta information about the Content object. */ - private MetaInfo metaInfo; - /** The actual data contained in this object. */ - private Content content; - - /** - * Sets meta information about the Content object. - * @param metaInfo Meta information about the Content object. - */ - public void setMetaInfo(MetaInfo metaInfo) { - this.metaInfo = metaInfo; - } - - public MetaInfo getMetaInfo() { - return metaInfo; - } - - /** - * Sets the actual data contained in this object. - * - * @param content The actual data contained in this object. - */ - public void setContent(Content content) { - this.content = content; - } - - public Content getContent() { - return content; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathFilter2TransformImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathFilter2TransformImpl.java deleted file mode 100644 index a96a8f161..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathFilter2TransformImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.ArrayList; -import java.util.List; - -import at.gv.egovernment.moa.spss.api.common.XPathFilter2Transform; - -/** - * Default implementation of XPathFilter2Transform. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class XPathFilter2TransformImpl - extends TransformImpl - implements XPathFilter2Transform { - - /** The XPath filters. */ - private List filters; - - /** - * Create a new XPathFilter2TransformImpl object. - */ - public XPathFilter2TransformImpl() { - setAlgorithmURI(XPATH_FILTER2); - } - - /** - * Sets the XPath filters contained in this - * XPathFilter2Transform. - * - * @param filters The XPath filters contained in this - * XPathFilter2Transform. - */ - public void setFilters(List filters) { - this.filters = new ArrayList(filters); - } - - public List getFilters() { - return filters; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathFilterImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathFilterImpl.java deleted file mode 100644 index 72d91bc58..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathFilterImpl.java +++ /dev/null @@ -1,64 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.HashMap; -import java.util.Map; - -import at.gv.egovernment.moa.spss.api.common.XPathFilter; - -/** - * Default implementation of XPathFilter. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class XPathFilterImpl implements XPathFilter { - /** The type of filter. */ - private String filterType; - /** The XPath expression of the filter. */ - private String xPathExpression; - /** The namespace prefix to URI mapping to while evaluating the XPath - * expression. */ - private Map namespaceDeclarations = new HashMap(); - - /** - * Sets the type of filter. - * - * @param filterType The type of filter. - */ - public void setFilterType(String filterType) { - this.filterType = filterType; - } - - public String getFilterType() { - return filterType; - } - - /** - * Sets the XPath expression of the filter. - * - * @param xPathExpression The XPath expression of the filter. - */ - public void setXPathExpression(String xPathExpression) { - this.xPathExpression = xPathExpression; - } - - public String getXPathExpression() { - return xPathExpression; - } - - /** - * Sets the namespace prefix to URI mapping to while evaluating the XPath - * expression. - * - * @param namespaceDeclarations The namespace prefix to URI mapping to while - * evaluating the XPath expression. - */ - public void setNamespaceDelcarations(Map namespaceDeclarations) { - this.namespaceDeclarations = namespaceDeclarations; - } - - public Map getNamespaceDeclarations() { - return namespaceDeclarations; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathTransformImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathTransformImpl.java deleted file mode 100644 index 1c9817ecc..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XPathTransformImpl.java +++ /dev/null @@ -1,59 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import java.util.HashMap; -import java.util.Map; - -import at.gv.egovernment.moa.spss.api.common.XPathTransform; - -/** - * Default implementation of XPathTransform. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class XPathTransformImpl - extends TransformImpl - implements XPathTransform { - - /** The XPath expression to evaluate. */ - private String xPathExpression; - /** The namespace prefix to URI mapping to while evaluating the XPath - * expression. */ - private Map namespaceDeclarations = new HashMap(); - - /** - * Create a new XPathTransformImpl object. - */ - public XPathTransformImpl() { - setAlgorithmURI(XPATH); - } - - /** - * Sets the XPath expression to evaluate. - * - * @param xPathExpression The XPath expression to evaluate. - */ - public void setXPathExpression(String xPathExpression) { - this.xPathExpression = xPathExpression; - } - - public String getXPathExpression() { - return xPathExpression; - } - - /** - * Sets the namespace prefix to URI mapping to while evaluating the XPath - * expression. - * - * @param namespaceDeclarations The namespace prefix to URI mapping to while - * evaluating the XPath expression. - */ - public void setNamespaceDelcarations(Map namespaceDeclarations) { - this.namespaceDeclarations = namespaceDeclarations; - } - - public Map getNamespaceDeclarations() { - return namespaceDeclarations; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XSLTransformImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XSLTransformImpl.java deleted file mode 100644 index c6ddc0fd6..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/impl/XSLTransformImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -package at.gv.egovernment.moa.spss.api.impl; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.spss.api.common.XSLTTransform; - -/** - * Default implementation of XSLTTransform. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class XSLTransformImpl extends TransformImpl implements XSLTTransform { - /** The XSLT stylesheet to apply. */ - private Element styleSheet; - - /** - * Create a new XSLTransformImpl object. - */ - public XSLTransformImpl() { - setAlgorithmURI(XSLT); - } - - /** - * Sets the XSLT stylesheet to apply. - * - * @param styleSheet The XSLT stylesheet to apply. - */ - public void setStylesheet(Element styleSheet) { - this.styleSheet = styleSheet; - } - - public Element getStylesheet() { - return styleSheet; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureRequestParser.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureRequestParser.java deleted file mode 100644 index 319d3ac9d..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureRequestParser.java +++ /dev/null @@ -1,288 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.util.ArrayList; -import java.util.List; - -import org.w3c.dom.Element; -import org.w3c.dom.traversal.NodeIterator; - -import at.gv.egovernment.moa.util.BoolUtils; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo; - -/** - * A parser to parse CreateXMLSignatureRequest DOM trees into - * CreateXMLSignatureRequest API objects. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CreateXMLSignatureRequestParser { - - // - // XPath expresssions to select elements in the CreateXMLSignatureRequest - // - private static final String MOA = Constants.MOA_PREFIX + ":"; - private static final String KEY_IDENTIFIER_XPATH = - "/" + MOA + "CreateXMLSignatureRequest/" + MOA + "KeyIdentifier"; - private static final String SINGLE_SIGNATURE_INFO_XPATH = - "/" + MOA + "CreateXMLSignatureRequest/" + MOA + "SingleSignatureInfo"; - private static final String DATA_OBJECT_INFO_XPATH = MOA + "DataObjectInfo"; - private static final String DATA_OBJECT_XPATH = MOA + "DataObject"; - private static final String CREATE_SIGNATURE_INFO_XPATH = - MOA + "CreateSignatureInfo"; - private static final String CREATE_TRANSFORMS_INFO_PROFILE_XPATH = - (MOA + "CreateTransformsInfoProfile | ") - + (MOA + "CreateTransformsInfoProfileID"); - private static final String CREATE_SIGNATURE_ENVIRONMENT_XPATH = - MOA + "CreateSignatureEnvironment"; - private static final String CREATE_SIGNATURE_ENVIRONMENT_PROFILE_XPATH = - (MOA + "CreateSignatureEnvironmentProfile | ") - + (MOA + "CreateSignatureEnvironmentProfileID"); - private static final String SL_CONFORM_ATTR_NAME = "SecurityLayerConformity"; - - /** The factory to create API objects. */ - private SPSSFactory factory; - - /** - * Create a new CreateXMLSignatureRequestParser. - */ - public CreateXMLSignatureRequestParser() { - this.factory = SPSSFactory.getInstance(); - } - - /** - * Parse a CreateXMLSignatureRequest DOM element, as defined - * by the MOA schema. - * - * @param requestElem The CreateXMLSignatureRequest to parse. The - * request must have been successfully parsed against the schema for this - * method to succeed. - * @return A CreateXMLSignatureRequest API object containing - * the data from the DOM element. - * @throws MOAApplicationException An error occurred parsing the request. - */ - public CreateXMLSignatureRequest parse(Element requestElem) - throws MOAApplicationException { - - List singleSignatureInfos = parseSingleSignatureInfos(requestElem); - String keyIdentifier = - XPathUtils.getElementValue(requestElem, KEY_IDENTIFIER_XPATH, null); - - return factory.createCreateXMLSignatureRequest( - keyIdentifier, - singleSignatureInfos); - } - - /** - * Parse all SingleSignatureInfo elements of the - * CreateXMLSignatureRequest. - * - * @param requestElem The CreateXMLSignatureRequest to parse. - * @return A List of SingleSignatureInfo API - * objects. - * @throws MOAApplicationException An error occurred parsing on of the - * SingleSignatureInfo elements. - */ - private List parseSingleSignatureInfos(Element requestElem) - throws MOAApplicationException { - - List singleSignatureInfos = new ArrayList(); - NodeIterator sigInfoElems = - XPathUtils.selectNodeIterator(requestElem, SINGLE_SIGNATURE_INFO_XPATH); - Element sigInfoElem; - - while ((sigInfoElem = (Element) sigInfoElems.nextNode()) != null) { - singleSignatureInfos.add(parseSingleSignatureInfo(sigInfoElem)); - } - - return singleSignatureInfos; - } - - /** - * Parse a SingleSignatureInfo DOM element. - * - * @param sigInfoElem The SingleSignatureInfo DOM element to - * parse. - * @return A SingleSignatureInfo API object containing the - * information of sigInfoElem. - * @throws MOAApplicationException An error occurred parsing the - * SingleSignatureInfo. - */ - private SingleSignatureInfo parseSingleSignatureInfo(Element sigInfoElem) - throws MOAApplicationException { - - List dataObjectInfos = parseDataObjectInfos(sigInfoElem); - CreateSignatureInfo createSignatureInfo = - parseCreateSignatureInfo(sigInfoElem); - boolean securityLayerConform; - - if (sigInfoElem.hasAttribute(SL_CONFORM_ATTR_NAME)) { - securityLayerConform = - BoolUtils.valueOf(sigInfoElem.getAttribute(SL_CONFORM_ATTR_NAME)); - } else { - securityLayerConform = true; - } - - return factory.createSingleSignatureInfo( - dataObjectInfos, - createSignatureInfo, - securityLayerConform); - } - - /** - * Parse the DataObjectInfo DOM elements contained in the given - * SingleSignatureInfo DOM element. - * - * @param sigInfoElem The SingleSignatureInfo DOM element - * whose DataObjectInfos to parse. - * @return A List of DataObjectInfo API objects - * containing the data from the DataObjectInfo DOM elements. - * @throws MOAApplicationException An error occurred parsing one of the - * DataObjectInfos. - */ - private List parseDataObjectInfos(Element sigInfoElem) - throws MOAApplicationException { - - List dataObjectInfos = new ArrayList(); - NodeIterator dataObjInfoElems = - XPathUtils.selectNodeIterator(sigInfoElem, DATA_OBJECT_INFO_XPATH); - Element dataObjInfoElem; - - while ((dataObjInfoElem = (Element) dataObjInfoElems.nextNode()) != null) { - dataObjectInfos.add(parseDataObjectInfo(dataObjInfoElem)); - } - return dataObjectInfos; - } - - /** - * Parse a DataObjectInfo DOM element. - * - * @param dataObjInfoElem The DataObjectInfo DOM element to - * parse. - * @return A DataObjectInfo API element containing the data - * from dataObjInfoElem. - * @throws MOAApplicationException An error occurred parsing the - * DataObjectInfo. - */ - private DataObjectInfo parseDataObjectInfo(Element dataObjInfoElem) - throws MOAApplicationException { - - String structure = dataObjInfoElem.getAttribute("Structure"); - Element dataObjectElem = - (Element) XPathUtils.selectSingleNode(dataObjInfoElem, DATA_OBJECT_XPATH); - Content dataObject = RequestParserUtils.parseContent(dataObjectElem); - CreateTransformsInfoProfile createTransformsInfoProfile = - parseCreateTransformsInfoProfile(dataObjInfoElem); - boolean childOfManifest; - - if (dataObjInfoElem.hasAttribute("ChildOfManifest")) { - childOfManifest = - BoolUtils.valueOf(dataObjInfoElem.getAttribute("ChildOfManifest")); - } else { - childOfManifest = false; - } - - return factory.createDataObjectInfo( - structure, - childOfManifest, - dataObject, - createTransformsInfoProfile); - } - - /** - * Parse a CreateTransformsInfoProfile DOM element. - * - * @param dataObjInfoElem The DataObjectInfo DOM element - * containing the CreateTransformsInfoProfile. - * @return The CreateTransformsInfoProfile API object containing - * the profile found in dataObjInfoElem. - * @throws MOAApplicationException An error occurred parsing the - * CreateTransformsInfoProfile. - */ - private CreateTransformsInfoProfile parseCreateTransformsInfoProfile(Element dataObjInfoElem) - throws MOAApplicationException { - - Element profileElem = - (Element) XPathUtils.selectSingleNode( - dataObjInfoElem, - CREATE_TRANSFORMS_INFO_PROFILE_XPATH); - - if ("CreateTransformsInfoProfile".equals(profileElem.getLocalName())) { - ProfileParser profileParser = new ProfileParser(); - return profileParser.parseCreateTransformsInfoProfile(profileElem); - - } else { - String profileID = DOMUtils.getText(profileElem); - return factory.createCreateTransformsInfoProfile(profileID); - } - } - - /** - * Parse the CreateSignatureInfo DOM element contained in - * a SingleSignatureInfo. - * - * @param sigInfoElem The SingleSignatureInfo DOM element - * containing the CreateSignatureInfo to be parsed. - * @return A CreateSignatureInfo API object containing the - * data from the CreateSignatureInfo DOM element, or - * null, if none was found. - */ - private CreateSignatureInfo parseCreateSignatureInfo(Element sigInfoElem) { - Element createInfoElem = - (Element) XPathUtils.selectSingleNode( - sigInfoElem, - CREATE_SIGNATURE_INFO_XPATH); - - if (createInfoElem != null) { - Element environmentElem = - (Element) XPathUtils.selectSingleNode( - createInfoElem, - CREATE_SIGNATURE_ENVIRONMENT_XPATH); - Content environment = RequestParserUtils.parseContent(environmentElem); - CreateSignatureEnvironmentProfile environmentProfile = - parseCreateSignatureEnvironmentProfile(createInfoElem); - - return factory.createCreateSignatureInfo(environment, environmentProfile); - } else { - return null; - } - } - - /** - * Parse the CreateSignatureEnvironmentProfile contained in - * the given CreateSignatureInfo DOM element. - * - * @param createInfoElem CreateSignatureInfo DOM element to - * parse. - * @return The CreateSignatureEnvironmentProfile contained - * in the given CreateSignatureInfo DOM element.. - */ - private CreateSignatureEnvironmentProfile parseCreateSignatureEnvironmentProfile(Element createInfoElem) { - Element profileElem = - (Element) XPathUtils.selectSingleNode( - createInfoElem, - CREATE_SIGNATURE_ENVIRONMENT_PROFILE_XPATH); - - if ("CreateSignatureEnvironmentProfile" - .equals(profileElem.getLocalName())) { - ProfileParser profileParser = new ProfileParser(); - return profileParser.parseCreateSignatureEnvironmentProfile(profileElem); - } else { - String profileID = DOMUtils.getText(profileElem); - return factory.createCreateSignatureEnvironmentProfile(profileID); - } - } - -} \ No newline at end of file diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureResponseBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureResponseBuilder.java deleted file mode 100644 index eec9c4882..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureResponseBuilder.java +++ /dev/null @@ -1,119 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.util.Iterator; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; - -import at.gv.egovernment.moa.util.Constants; - -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponseElement; -import at.gv.egovernment.moa.spss.api.xmlsign.ErrorResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.SignatureEnvironmentResponse; - -/** - * Convert a CreateXMLSignatureResponse API object into its - * XML representation, according to the MOA XML schema. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CreateXMLSignatureResponseBuilder { - private static final String MOA_NS_URI = Constants.MOA_NS_URI; - - /** The XML document containing the response element. */ - private Document responseDoc; - /** The response CreateXMLSignatureResponse DOM element. */ - private Element responseElem; - - /** - * Create a new CreateXMLSignatureResponseBuilder: - * - * @throws MOASystemException An error occurred setting up the resulting - * XML document. - */ - public CreateXMLSignatureResponseBuilder() throws MOASystemException { - responseDoc = - ResponseBuilderUtils.createResponse("CreateXMLSignatureResponse"); - responseElem = responseDoc.getDocumentElement(); - } - - /** - * Build a document containing a CreateXMLSignatureResponse - * DOM element being the XML representation of the given - * CreateXMLSignatureResponse API object. - * - * @param response The CreateXMLSignatureResponse to convert - * to XML. - * @return A document containing the CreateXMLSignatureResponse - * DOM element. - */ - public Document build(CreateXMLSignatureResponse response) { - Iterator iter; - - for (iter = response.getResponseElements().iterator(); iter.hasNext();) { - CreateXMLSignatureResponseElement responseElement = - (CreateXMLSignatureResponseElement) iter.next(); - - switch (responseElement.getResponseType()) { - case CreateXMLSignatureResponseElement.SIGNATURE_ENVIRONMENT_RESPONSE : - SignatureEnvironmentResponse envResponse = - (SignatureEnvironmentResponse) responseElement; - addSignatureEnvironment(envResponse); - break; - - case CreateXMLSignatureResponseElement.ERROR_RESPONSE : - ErrorResponse errorResponse = (ErrorResponse) responseElement; - addErrorResponse(errorResponse); - break; - } - - } - - return responseDoc; - } - - /** - * Add a SignatureEnvironment element to the response. - * - * @param envResponse The content to put under the - * SignatureEnvironment element. This should either be a - * dsig:Signature element (in case of a detached signature) or - * the signature environment containing the signature (in case of - * an enveloping signature). - */ - private void addSignatureEnvironment(SignatureEnvironmentResponse envResponse) { - Element content = envResponse.getSignatureEnvironment(); - Node importedSignature = responseDoc.importNode(content, true); - Element signatureEnvironment = - responseDoc.createElementNS(MOA_NS_URI, "SignatureEnvironment"); - signatureEnvironment.appendChild(importedSignature); - responseElem.appendChild(signatureEnvironment); - } - - /** - * Add a ErrorResponse element to the response. - * - * @param errorResponse The API object containing the information to put into - * the ErrorResponse DOM element. - */ - private void addErrorResponse(ErrorResponse errorResponse) { - Element errorElem = - responseDoc.createElementNS(MOA_NS_URI, "ErrorResponse"); - Element errorCodeElem = - responseDoc.createElementNS(MOA_NS_URI, "ErrorCode"); - Element infoElem = responseDoc.createElementNS(MOA_NS_URI, "Info"); - String errorCodeStr = Integer.toString(errorResponse.getErrorCode()); - - errorCodeElem.appendChild(responseDoc.createTextNode(errorCodeStr)); - errorElem.appendChild(errorCodeElem); - infoElem.appendChild(responseDoc.createTextNode(errorResponse.getInfo())); - errorElem.appendChild(errorCodeElem); - errorElem.appendChild(infoElem); - responseElem.appendChild(errorElem); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/ProfileParser.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/ProfileParser.java deleted file mode 100644 index 66c08e0ab..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/ProfileParser.java +++ /dev/null @@ -1,285 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.io.IOException; -import java.io.InputStream; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -import org.w3c.dom.Element; -import org.w3c.dom.traversal.NodeIterator; - -import at.gv.egovernment.moa.util.Base64Utils; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile; - -/** - * Parse the various profile elements contained in the MOA web service requests - * and given as separate files in the MOA configuration. - * - * The profiles parsed must be schema valid according to the MOA XML schema. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ProfileParser { - - // - // XPath expressions to select parts of the profiles - // - private static final String MOA = Constants.MOA_PREFIX + ":"; - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - private static final String CREATE_TRANSFORMS_XPATH = - MOA + "CreateTransformsInfo/" + DSIG + "Transforms"; - private static final String FINAL_DATA_META_INFO_XPATH = - MOA + "CreateTransformsInfo/" + MOA + "FinalDataMetaInfo"; - private static final String CREATE_SIGNATURE_LOCATION_XPATH = - MOA + "CreateSignatureLocation"; - private static final String SUPPLEMENT_XPATH = MOA + "Supplement"; - private static final String VERIFY_TRANSFORMS_XPATH = DSIG + "Transforms"; - private static final String TRANSFORM_PARAMETER_XPATH = - MOA + "TransformParameter"; - private static final String TRANSFORM_PARAMETER_CONTENT_XPATH = - MOA + "Base64Content | " + MOA + "Hash"; - private static final String DIGEST_METHOD_XPATH = DSIG + "DigestMethod"; - private static final String DIGEST_VALUE_XPATH = DSIG + "DigestValue"; - - /** The factory used to create API objects. */ - private SPSSFactory factory = SPSSFactory.getInstance(); - - /** - * Parse a CreateTransformsInfoProfile DOM element. - * - * @param profileElem The CreateTransformsInfoProfile element - * to parse. - * @return The CreateTransformsInfoProfile API object containing - * the data from the profileElem. - * @throws MOAApplicationException An error occurred parsing the DOM element. - */ - public CreateTransformsInfoProfile parseCreateTransformsInfoProfile(Element profileElem) - throws MOAApplicationException { - CreateTransformsInfo createTransformsInfo = - parseCreateTransformsInfo(profileElem); - List supplements = parseSupplements(profileElem); - - return factory.createCreateTransformsInfoProfile( - createTransformsInfo, - supplements); - } - - /** - * Parse the CreateTransformsInfo DOM element contained in a - * CreateTransformsInfoProfile. - * - * @param profileElem The CreateTransformsInfoProfile DOM - * element containing the CreateTransformsInfo. - * @return The CreateTransformsInfo API object containinig the - * data from the CreateTransformsInfo DOM element. - * @throws MOAApplicationException An error occurred parsing the - * CreateTransformsInfo DOM element. - */ - private CreateTransformsInfo parseCreateTransformsInfo(Element profileElem) - throws MOAApplicationException { - - Element transformsElem = - (Element) XPathUtils.selectSingleNode( - profileElem, - CREATE_TRANSFORMS_XPATH); - Element metaInfoElem = - (Element) XPathUtils.selectSingleNode( - profileElem, - FINAL_DATA_META_INFO_XPATH); - MetaInfo finalDataMetaInfo; - List transforms; - - // parse the dsig:Transforms - if (transformsElem != null) { - TransformParser transformsParser = new TransformParser(); - transforms = transformsParser.parseTransforms(transformsElem); - } else { - transforms = null; - } - - // parse the meta info - finalDataMetaInfo = RequestParserUtils.parseMetaInfo(metaInfoElem); - - return factory.createCreateTransformsInfo(transforms, finalDataMetaInfo); - } - - /** - * Parse a CreateSignatureEnvironmentProfile DOM element. - * - * @param profileElem The CreateSignatureEnvironmentProfile - * DOM element to parse. - * @return The CreateSignatureEnvironmentProfile API object - * containing the data from the profileElem. - */ - public CreateSignatureEnvironmentProfile parseCreateSignatureEnvironmentProfile(Element profileElem) { - CreateSignatureLocation createSignatureLocation = - parseCreateSignatureLocation(profileElem); - List supplements = parseSupplements(profileElem); - - return factory.createCreateSignatureEnvironmentProfile( - createSignatureLocation, - supplements); - } - - /** - * Parse a CreateSignatureLocation DOM element contained in - * a CreateSignatureEnvironmentProfile. - * - * @param profileElem The CreateSignatureEnvironmentProfile DOM - * element containing the CreateSignatureLocation. - * @return The CreateSignatureLocation API object containing - * the data from the CreateSignatureLocation DOM element. - */ - private CreateSignatureLocation parseCreateSignatureLocation(Element profileElem) { - Element locationElem = - (Element) XPathUtils.selectSingleNode( - profileElem, - CREATE_SIGNATURE_LOCATION_XPATH); - String xPathExpression = DOMUtils.getText(locationElem); - Map namespaceDeclarations = DOMUtils.getNamespaceDeclarations(locationElem); - String indexStr = locationElem.getAttribute("Index"); - int index = Integer.parseInt(indexStr); - - return factory.createCreateSignatureLocation( - xPathExpression, - index, - namespaceDeclarations); - } - - /** - * Parse all Supplement DOM elements contained in a given - * parent DOM element. - * - * @param supplementsParentElem The DOM element being the parent of the - * Supplements. - * @return A List of Supplement API objects - * containing the data from the Supplement DOM elements. - */ - private List parseSupplements(Element supplementsParentElem) { - List supplements = new ArrayList(); - NodeIterator supplementElems = - XPathUtils.selectNodeIterator(supplementsParentElem, SUPPLEMENT_XPATH); - Element supplementElem; - - while ((supplementElem = (Element) supplementElems.nextNode()) != null) { - XMLDataObjectAssociation supplement = - RequestParserUtils.parseXMLDataObjectAssociation(supplementElem); - supplements.add(supplement); - } - return supplements; - } - - /** - * Parse a SupplementProfile DOM element. - * - * @param profileElem The SupplementProfile DOM element to parse. - * @return The SupplementProfile API object containing the - * data from the SupplementProfile DOM element. - */ - public SupplementProfile parseSupplementProfile(Element profileElem) { - XMLDataObjectAssociation supplementProfile = - RequestParserUtils.parseXMLDataObjectAssociation(profileElem); - - return factory.createSupplementProfile(supplementProfile); - } - - /** - * Parse a VerifyTransformsInfoProfile DOM element. - * - * @param profileElem The VerifyTransformsInfoProfile DOM - * element to parse. - * @return A VerifyTransformsInfoProfile API object containing - * the information from the VerifyTransformsInfoProfile DOM - * element. - * @throws MOAApplicationException An error occurred parsing the - * VerifyTransformsInfoProfile. - */ - public VerifyTransformsInfoProfile parseVerifyTransformsInfoProfile(Element profileElem) - throws MOAApplicationException { - Element transformsElem = - (Element) XPathUtils.selectSingleNode( - profileElem, - VERIFY_TRANSFORMS_XPATH); - List transforms = null; - NodeIterator paramElems = - XPathUtils.selectNodeIterator(profileElem, TRANSFORM_PARAMETER_XPATH); - Element paramElem; - List transformParameters = new ArrayList(); - - // parse the dsig:Transforms - if (transformsElem != null) { - TransformParser transformsParser = new TransformParser(); - transforms = transformsParser.parseTransforms(transformsElem); - } - - // parse the TransformParameter elements - while ((paramElem = (Element) paramElems.nextNode()) != null) { - transformParameters.add(parseTransformParameter(paramElem)); - } - - return factory.createVerifyTransformsInfoProfile( - transforms, - transformParameters); - } - - /** - * Parse a TransformParameter DOM element. - * - * @param paramElem The TransformParameter DOM element to - * parse. - * @return The TransformParameter API object containing the - * information from the TransformParameter DOM element. - * @throws MOAApplicationException An error occurred parsing the - * TransformParameter DOM element. - */ - private TransformParameter parseTransformParameter(Element paramElem) - throws MOAApplicationException { - String uri = paramElem.getAttribute("URI"); - Element contentElem = - (Element) XPathUtils.selectSingleNode( - paramElem, - TRANSFORM_PARAMETER_CONTENT_XPATH); - - if (contentElem == null) { - return factory.createTransformParameter(uri); - } else if ("Base64Content".equals(contentElem.getLocalName())) { - String base64Str = DOMUtils.getText(contentElem); - InputStream binaryContent = Base64Utils.decodeToStream(base64Str, true); - - return factory.createTransformParameter(uri, binaryContent); - } else { // "Hash".equals(contentElem.getLocalName()) - String digestMethodStr = - XPathUtils.getElementValue(contentElem, DIGEST_METHOD_XPATH, ""); - String digestValueStr = - XPathUtils.getElementValue(contentElem, DIGEST_VALUE_XPATH, ""); - byte[] digestValue = null; - - try { - digestValue = Base64Utils.decode(digestValueStr, true); - } catch (IOException e) { - throw new MOAApplicationException("2270", null); - } - return factory.createTransformParameter( - uri, - digestMethodStr, - digestValue); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/RequestParserUtils.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/RequestParserUtils.java deleted file mode 100644 index 0fff949b1..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/RequestParserUtils.java +++ /dev/null @@ -1,147 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.text.ParseException; -import java.util.Date; - -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.util.Base64Utils; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.DateTimeUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; - -/** - * Utility methods for parsing XML requests definied in the MOA XML schema. - * - * @author Patrick Peck - * @version $Id$ - */ -public class RequestParserUtils { - // - // XPath expressions for parsing parts of a request - // - private static final String MOA = Constants.MOA_PREFIX + ":"; - private static final String REFERENCE_ATTR_NAME = "Reference"; - private static final String MIME_TYPE_XPATH = MOA + "MimeType"; - private static final String DESCRIPTION_XPATH = MOA + "Description"; - private static final String XML_ASSOC_CONTENT_XPATH = MOA + "Content"; - private static final String CONTENT_XPATH = - MOA + "Base64Content | " + MOA + "XMLContent"; - private static final String ANY_OTHER_XPATH = - "*[namespace-uri() != \"" + Constants.MOA_NS_URI + "\"]"; - - /** - * Parse a XMLDataObjectAssociationType kind of DOM element. - * - * @param assocElem The XMLDataObjectAssociationType kind of - * DOM elmeent to parse. - * @return The XMLDataObjectAssociation API object containing - * the data from the XMLDataObjectAssociationType DOM element. - */ - public static XMLDataObjectAssociation parseXMLDataObjectAssociation(Element assocElem) { - SPSSFactory factory = SPSSFactory.getInstance(); - MetaInfo metaInfo = parseMetaInfo(assocElem); - Element contentElem = - (Element) XPathUtils.selectSingleNode(assocElem, XML_ASSOC_CONTENT_XPATH); - Content content = parseContent(contentElem); - - return factory.createXMLDataObjectAssociation(metaInfo, content); - } - - /** - * Parse a MetaInfoType kind of DOM element. - * - * @param metaInfoElem The MetaInfoType kind of DOM element. - * @return The MetaInfo API object containing the data from - * the metaInfoElem. - */ - public static MetaInfo parseMetaInfo(Element metaInfoElem) { - SPSSFactory factory = SPSSFactory.getInstance(); - String mimeType = - XPathUtils.getElementValue(metaInfoElem, MIME_TYPE_XPATH, null); - String description = - XPathUtils.getElementValue(metaInfoElem, DESCRIPTION_XPATH, null); - NodeList anyOther = - XPathUtils.selectNodeList(metaInfoElem, ANY_OTHER_XPATH); - - return factory.createMetaInfo(mimeType, description, anyOther); - } - - /** - * Parse a ContentOptionalRefType or - * ContentRequiredRefType kind of DOM element. - * @param contentParentElem The DOM element being the parent of the - * content element. - * @return The Content API object containing the data from - * the given DOM element. - */ - public static Content parseContent(Element contentParentElem) { - SPSSFactory factory = SPSSFactory.getInstance(); - String referenceURI = - contentParentElem.hasAttribute(REFERENCE_ATTR_NAME) - ? contentParentElem.getAttribute(REFERENCE_ATTR_NAME) - : null; - Element contentElem = - (Element) XPathUtils.selectSingleNode(contentParentElem, CONTENT_XPATH); - - if (contentElem == null) { - return factory.createContent(referenceURI); - } - - if ("Base64Content".equals(contentElem.getLocalName())) { - String base64String = DOMUtils.getText(contentElem); - return factory.createContent( - Base64Utils.decodeToStream(base64String, true), - referenceURI); - } else { // "XMLContent".equals(contentElem.getLocalName()) - return factory.createContent(contentElem.getChildNodes(), referenceURI); - } - } - - /** - * Get the signing time from a Verfiy(CMS|XML)SignatureRequest. - * - * @param requestElem A Verify(CMS|XML)SignatureRequest DOM - * element. - * @param dateTimeXPath The XPath to lookup the DateTime element - * within the request. - * @return Date The date and time corresponding to the DateTime - * element in the request. If no DateTime element exists in the - * request, null is returned. - * @throws MOAApplicationException An error occurred during a parsing the - * DateTime element or creating the return value. - */ - public static Date parseDateTime(Element requestElem, String dateTimeXPath) - throws MOAApplicationException { - - Element dateTimeElem; - String dateTimeText; - - // select the DateTime element - dateTimeElem = - (Element) XPathUtils.selectSingleNode(requestElem, dateTimeXPath); - - // parse a date from the element value - if (dateTimeElem != null) { - dateTimeText = DOMUtils.getText(dateTimeElem); - try { - return DateTimeUtils.parseDateTime(dateTimeText); - } catch (ParseException e) { - throw new MOAApplicationException( - "1104", - new Object[] { dateTimeText }); - } - } else { - return null; - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/ResponseBuilderUtils.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/ResponseBuilderUtils.java deleted file mode 100644 index cc3e73e41..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/ResponseBuilderUtils.java +++ /dev/null @@ -1,213 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.io.IOException; -import java.security.cert.CertificateEncodingException; -import java.security.cert.X509Certificate; - -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; - -import org.w3c.dom.DOMImplementation; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import iaik.utils.RFC2253NameParser; -import iaik.utils.RFC2253NameParserException; - -import at.gv.egovernment.moa.util.Base64Utils; -import at.gv.egovernment.moa.util.Constants; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOASystemException; - -/** - * Utility methods used by the verious ResponseBuilder classes. - * - * @author Patrick Peck - * @version $Id$ - */ -class ResponseBuilderUtils { - // - // shortcuts to various XML namespace constants - // - private static final String MOA_NS_URI = Constants.MOA_NS_URI; - private static final String SL11 = Constants.SL11_PREFIX + ":"; - private static final String SL11_NS_URI = Constants.SL11_NS_URI; - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - private static final String DSIG_NS_URI = Constants.DSIG_NS_URI; - private static final String XMLNS_NS_URI = Constants.XMLNS_NS_URI; - - /** - * Create a response element with all the namespaces set. - * - * @param responseName The name of the response root element. - * @return A DOM document containing the response root element and predefined - * MOA, DSIG and XML namespace declarations. - * @throws MOASystemException An error building the response document. - */ - public static Document createResponse(String responseName) - throws MOASystemException { - - try { - DocumentBuilder docBuilder = - DocumentBuilderFactory.newInstance().newDocumentBuilder(); - DOMImplementation impl = docBuilder.getDOMImplementation(); - Document response; - Element root; - String attrValue; - - response = impl.createDocument(MOA_NS_URI, responseName, null); - root = response.getDocumentElement(); - - // add namespace prefix declarations - root.setAttributeNS(XMLNS_NS_URI, "xmlns", MOA_NS_URI); - attrValue = "xmlns:" + Constants.DSIG_PREFIX; - root.setAttributeNS(XMLNS_NS_URI, attrValue, DSIG_NS_URI); - - return response; - } catch (ParserConfigurationException e) { - throw new MOASystemException("2200", null, e); - } - } - - /** - * Add a SignerInfo element to the response. - * - * @param response The response document, in order to create new elements in - * it. - * @param root The root element into which the SignerInfo element - * will be inserted. - * @param cert The signer certificate to add. - * @param isQualified Indicates, whether cert is a qualified - * certificate. - * @param isPublicAuthority Indicates, whether cert is - * certificate owned by a public authority. - * @param publicAuthorityID Information about the public authority owning - * cert. Must not be null, if - * isPublicAuthority ! = null. - * @throws MOAApplicationException An error occurred reading data from the - * certificate. - */ - public static void addSignerInfo( - Document response, - Element root, - X509Certificate cert, - boolean isQualified, - boolean isPublicAuthority, - String publicAuthorityID) - throws MOAApplicationException { - - Element signerInfoElem = response.createElementNS(MOA_NS_URI, "SignerInfo"); - Element x509DataElem = - response.createElementNS(DSIG_NS_URI, DSIG + "X509Data"); - Element x509IssuerSerialElem = - response.createElementNS(DSIG_NS_URI, DSIG + "X509IssuerSerial"); - Element x509IssuerElem = - response.createElementNS(DSIG_NS_URI, DSIG + "X509IssuerName"); - String issuer = cert.getIssuerDN().getName(); - Element x509SerialNumberElem = - response.createElementNS(DSIG_NS_URI, DSIG + "X509SerialNumber"); - String serialNumber = cert.getSerialNumber().toString(); - Element x509SubjectNameElem = - response.createElementNS(DSIG_NS_URI, DSIG + "X509SubjectName"); - Element x509CertificateElem = - response.createElementNS(DSIG_NS_URI, DSIG + "X509Certificate"); - Element qualifiedCertificateElem = - isQualified - ? response.createElementNS(SL11_NS_URI, SL11 + "QualifiedCertificate") - : null; - Element publicAuthorityElem = - isPublicAuthority - ? response.createElementNS(MOA_NS_URI, "PublicAuthority") - : null; - Element codeElem = - publicAuthorityID != null - ? response.createElementNS(MOA_NS_URI, "Code") - : null; - - // fill in text - x509IssuerElem.appendChild(response.createTextNode(issuer)); - x509SerialNumberElem.appendChild(response.createTextNode(serialNumber)); - try { - RFC2253NameParser parser = - new RFC2253NameParser(cert.getSubjectDN().getName()); - String subjectRfc2253 = parser.parse().getRFC2253String(); - x509SubjectNameElem.appendChild(response.createTextNode(subjectRfc2253)); - } catch (RFC2253NameParserException e) { - x509SubjectNameElem.appendChild( - response.createTextNode(cert.getSubjectDN().getName())); - } - try { - x509CertificateElem.appendChild( - response.createTextNode(Base64Utils.encode(cert.getEncoded()))); - } catch (CertificateEncodingException e) { - throw new MOAApplicationException("2245", null, e); - } catch (IOException e) { - throw new MOAApplicationException("2245", null, e); - } - - // build structure - x509DataElem.appendChild(x509SubjectNameElem); - x509IssuerSerialElem.appendChild(x509IssuerElem); - x509IssuerSerialElem.appendChild(x509SerialNumberElem); - x509DataElem.appendChild(x509IssuerSerialElem); - x509DataElem.appendChild(x509CertificateElem); - if (isQualified) { - String attrValue = "xmlns:" + Constants.SL11_PREFIX; - qualifiedCertificateElem.setAttributeNS( - XMLNS_NS_URI, - attrValue, - SL11_NS_URI); - x509DataElem.appendChild(qualifiedCertificateElem); - } - if (isPublicAuthority) { - x509DataElem.appendChild(publicAuthorityElem); - if (publicAuthorityID != null) { - codeElem.appendChild(response.createTextNode(publicAuthorityID)); - publicAuthorityElem.appendChild(codeElem); - } - } - signerInfoElem.appendChild(x509DataElem); - root.appendChild(signerInfoElem); - } - - /** - * Add an element containing Code and Info - * subelements. - * - * @param response The response document, in order to create new elements in - * it. - * @param root The root element into which to insert the newly created - * element. - * @param elementName The name of the newly created element. - * @param code The content of the Code subelement. - * @param info The content of the Info subelement. - */ - public static void addCodeInfoElement( - Document response, - Element root, - String elementName, - int code, - NodeList info) { - - Element codeInfoElem = response.createElementNS(MOA_NS_URI, elementName); - Element codeElem = response.createElementNS(MOA_NS_URI, "Code"); - Element infoElem; - int i; - - codeElem.appendChild(response.createTextNode(Integer.toString(code))); - codeInfoElem.appendChild(codeElem); - if (info != null) { - infoElem = response.createElementNS(MOA_NS_URI, "Info"); - - for (i = 0; i < info.getLength(); i++) { - infoElem.appendChild(info.item(i).cloneNode(true)); - } - codeInfoElem.appendChild(infoElem); - } - root.appendChild(codeInfoElem); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/TransformParser.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/TransformParser.java deleted file mode 100644 index 84f377826..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/TransformParser.java +++ /dev/null @@ -1,251 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.StringTokenizer; - -import org.w3c.dom.Element; -import org.w3c.dom.traversal.NodeIterator; - -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.common.Base64Transform; -import at.gv.egovernment.moa.spss.api.common.CanonicalizationTransform; -import at.gv.egovernment.moa.spss.api.common.EnvelopedSignatureTransform; -import at.gv.egovernment.moa.spss.api.common.ExclusiveCanonicalizationTransform; -import at.gv.egovernment.moa.spss.api.common.Transform; -import at.gv.egovernment.moa.spss.api.common.XPathFilter; -import at.gv.egovernment.moa.spss.api.common.XPathFilter2Transform; -import at.gv.egovernment.moa.spss.api.common.XPathTransform; -import at.gv.egovernment.moa.spss.api.common.XSLTTransform; - -/** - * A parser to parse XMLDsig Transform DOM elements into their - * MOA SPSS API representation. - * - * @author Patrick Peck - * @version $Id$ - */ -public class TransformParser { - // - // XPath expressions for selecting information from the DOM tree - // - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - private static final String DSIG_FILTER2 = - Constants.DSIG_FILTER2_PREFIX + ":"; - private static final String XSLT = Constants.XSLT_PREFIX + ":"; - private static final String EC = Constants.DSIG_EC_PREFIX + ":"; - private static final String TRANSFORM_XPATH = DSIG + "Transform"; - private static final String XPATH_XPATH = DSIG + "XPath"; - private static final String XSLT_ELEMENT_XPATH = XSLT + "stylesheet"; - private static final String XPATH2_XPATH = - (DSIG_FILTER2 + "XPath[@Filter=\"intersect\"] | ") - + (DSIG_FILTER2 + "XPath[@Filter=\"subtract\"] | ") - + (DSIG_FILTER2 + "XPath[@Filter=\"union\"]"); - private static final String INCLUSIVE_NAMESPACES_XPATH = - EC + "InclusiveNamespaces"; - - /** - * The SPSSFactory to use for creating new API objects. - */ - private SPSSFactory factory = SPSSFactory.getInstance(); - - /** - * Parse an XMLDsig Transforms DOM element. - * - * @param transformsElem The Transforms DOM element to parse. - * @return A List of Transform API objects - * containing the data from the individual Transform DOM - * elements. - * @throws MOAApplicationException An error occurred parsing the - * Transforms DOM element. - */ - public List parseTransforms(Element transformsElem) - throws MOAApplicationException { - List transforms = new ArrayList(); - NodeIterator transformElems = - XPathUtils.selectNodeIterator(transformsElem, TRANSFORM_XPATH); - Element transformElem; - Transform transform; - - while ((transformElem = (Element) transformElems.nextNode()) != null) { - transform = parseTransform(transformElem); - transforms.add(transform); - } - - return transforms; - } - - /** - * Parse an XMLDsig Transform DOM element. - * - * @param transformElem Transform DOM element to parse. - * @return The Transform API object containing the data - * from the Transform DOM element. - * @throws MOAApplicationException An error occurred parsing the - * Transform DOM element. - */ - public Transform parseTransform(Element transformElem) - throws MOAApplicationException { - - String algorithmUri = transformElem.getAttribute("Algorithm"); - - if (CanonicalizationTransform.CANONICAL_XML.equals(algorithmUri) - || CanonicalizationTransform.CANONICAL_XML_WITH_COMMENTS.equals( - algorithmUri)) { - return factory.createCanonicalizationTransform(algorithmUri); - } else if ( - ExclusiveCanonicalizationTransform.EXCLUSIVE_CANONICAL_XML.equals( - algorithmUri) - || ExclusiveCanonicalizationTransform - .EXCLUSIVE_CANONICAL_XML_WITH_COMMENTS - .equals( - algorithmUri)) { - return parseExclusiveC14nTransform(algorithmUri, transformElem); - } else if (Base64Transform.BASE64_DECODING.equals(algorithmUri)) { - return factory.createBase64Transform(); - } else if ( - EnvelopedSignatureTransform.ENVELOPED_SIGNATURE.equals(algorithmUri)) { - return factory.createEnvelopedSignatureTransform(); - } else if (XPathTransform.XPATH.equals(algorithmUri)) { - return parseXPathTransform(transformElem); - } else if (XPathFilter2Transform.XPATH_FILTER2.equals(algorithmUri)) { - return parseXPathFilter2Transform(transformElem); - } else if (XSLTTransform.XSLT.equals(algorithmUri)) { - return parseXSLTTransform(transformElem); - } else { - throw new MOAApplicationException("1108", new Object[] { algorithmUri }); - } - } - - /** - * Parse an exclusive canonicalization type of transform. - * - * @param algorithmUri The algorithm URI of the canonicalization algorithm. - * @param transformElem The Transform DOM element to parse. - * @return An ExclusiveCanonicalizationTransform API object - * containing the data from the transformElem. - * @throws MOAApplicationException An error occurred parsing the - * transformElem. - */ - private Transform parseExclusiveC14nTransform( - String algorithmUri, - Element transformElem) - throws MOAApplicationException { - - Element inclusiveNamespacesElem = - (Element) XPathUtils.selectSingleNode( - transformElem, - INCLUSIVE_NAMESPACES_XPATH); - - if (inclusiveNamespacesElem == null) { - throw new MOAApplicationException("2217", null); - } else { - StringTokenizer tokenizer = - new StringTokenizer(inclusiveNamespacesElem.getAttribute("PrefixList")); - List inclusiveNamespaces = new ArrayList(); - - while (tokenizer.hasMoreTokens()) { - inclusiveNamespaces.add(tokenizer.nextToken()); - } - - return factory.createExclusiveCanonicalizationTransform( - algorithmUri, - inclusiveNamespaces); - } - } - - /** - * Parse an XPath type of Transform. - * - * @param transformElem The Transform DOM element to parse. - * @return The Transform API object representation of the - * Transform DOM element. - * @throws MOAApplicationException An error occurred parsing the - * Transform DOM element. - */ - private Transform parseXPathTransform(Element transformElem) - throws MOAApplicationException { - Element xPathElem = - (Element) XPathUtils.selectSingleNode(transformElem, XPATH_XPATH); - Map nsDecls; - - if (xPathElem == null) { - throw new MOAApplicationException("2202", null); - } - - nsDecls = DOMUtils.getNamespaceDeclarations(xPathElem); - nsDecls.remove(""); - - return factory.createXPathTransform(DOMUtils.getText(xPathElem), nsDecls); - } - - /** - * Parse an XPathFilter2 type of Transform. - * - * @param transformElem The Transform DOM element to parse. - * @return The Transform API object representation of the - * Transform DOM element. - * @throws MOAApplicationException An error occurred parsing the - * Transform DOM element. - */ - private Transform parseXPathFilter2Transform(Element transformElem) - throws MOAApplicationException { - List filters = new ArrayList(); - NodeIterator iter = - XPathUtils.selectNodeIterator(transformElem, XPATH2_XPATH); - Element filterElem; - - while ((filterElem = (Element) iter.nextNode()) != null) { - String filterAttr = filterElem.getAttribute("Filter"); - String filterType; - String expression; - Map nsDecls; - - if (filterAttr.equals("intersect")) { - filterType = XPathFilter.INTERSECT_TYPE; - } else if (filterAttr.equals("subtract")) { - filterType = XPathFilter.SUBTRACT_TYPE; - } else { - filterType = XPathFilter.UNION_TYPE; - } - - expression = DOMUtils.getText(filterElem); - nsDecls = DOMUtils.getNamespaceDeclarations(filterElem); - nsDecls.remove(""); - filters.add(factory.createXPathFilter(filterType, expression, nsDecls)); - } - if (filters.size() == 0) { - throw new MOAApplicationException("2216", null); - } - - return factory.createXPathFilter2Transform(filters); - } - - /** - * Parse an XSLT type of Transform. - * - * @param transformElem The Transform DOM element to parse. - * @return The Transform API object representation of the - * Transform DOM element. - * @throws MOAApplicationException An error occurred parsing the - * Transform DOM element. - */ - private Transform parseXSLTTransform(Element transformElem) - throws MOAApplicationException { - Element xsltElem = - (Element) XPathUtils.selectSingleNode(transformElem, XSLT_ELEMENT_XPATH); - - if (xsltElem == null) { - throw new MOAApplicationException("2215", null); - } - - return factory.createXSLTTransform(xsltElem); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureRequestParser.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureRequestParser.java deleted file mode 100644 index 74d14b7cc..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureRequestParser.java +++ /dev/null @@ -1,169 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.io.InputStream; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; -import java.util.StringTokenizer; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.util.Base64Utils; -import at.gv.egovernment.moa.util.CollectionUtils; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContent; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSDataObject; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; - -/** - * A parser to parse VerifyCMSSignatureRequest DOM trees into - * VerifyCMSSignatureRequest API objects. - * - * @author Patrick Peck - * @version $Id$ - */ -public class VerifyCMSSignatureRequestParser { - - // - // XPath expressions for selecting parts of the DOM message - // - private static final String MOA = Constants.MOA_PREFIX + ":"; - private static final String DATE_TIME_XPATH = MOA + "DateTime"; - private static final String CMS_SIGNATURE_XPATH = MOA + "CMSSignature"; - private static final String TRUST_PROFILE_ID_XPATH = MOA + "TrustProfileID"; - private static final String DATA_OBJECT_XPATH = MOA + "DataObject"; - private static final String META_INFO_XPATH = MOA + "MetaInfo"; - private static final String CONTENT_XPATH = MOA + "Content"; - private static final String BASE64_CONTENT_XPATH = MOA + "Base64Content"; - - /** The SPSSFactory for creating new API objects. */ - private SPSSFactory factory = SPSSFactory.getInstance(); - - /** - * Parse a VerifyCMSSignatureRequest DOM element, as defined - * by the MOA schema. - * - * @param requestElem The VerifyCMSSignatureRequest to parse. The - * request must have been successfully parsed against the schema for this - * method to succeed. - * @return A VerifyCMSSignatureRequest API objects containing - * the data from the DOM element. - * @throws MOAApplicationException An error occurred parsing the request. - */ - public VerifyCMSSignatureRequest parse(Element requestElem) - throws MOAApplicationException { - - int[] signatories = parseSignatories(requestElem); - Date dateTime = - RequestParserUtils.parseDateTime(requestElem, DATE_TIME_XPATH); - String cmsSignatureStr = - XPathUtils.getElementValue(requestElem, CMS_SIGNATURE_XPATH, ""); - CMSDataObject dataObject = parseDataObject(requestElem); - String trustProfileID = - XPathUtils.getElementValue(requestElem, TRUST_PROFILE_ID_XPATH, null); - InputStream cmsSignature = - Base64Utils.decodeToStream(cmsSignatureStr, true); - - return factory.createVerifyCMSSignatureRequest( - signatories, - dateTime, - cmsSignature, - dataObject, - trustProfileID); - } - - /** - * Parse the Signatories attribute contained in the - * VerifyCMSSignatureRequest DOM element. - * - * @param requestElem The VerifyCMSSignatureRequest DOM element. - * @return The signatories contained in the given - * VerifyCMSSignatureRequest DOM element. - */ - private int[] parseSignatories(Element requestElem) { - String signatoriesStr = requestElem.getAttribute("Signatories"); - - if ("all".equals(signatoriesStr)) { - return VerifyCMSSignatureRequest.ALL_SIGNATORIES; - } else { - StringTokenizer tokenizer = new StringTokenizer(signatoriesStr); - List signatoriesList = new ArrayList(); - int[] signatories; - - // put the signatories into a List - while (tokenizer.hasMoreTokens()) { - try { - signatoriesList.add(new Integer(tokenizer.nextToken())); - } catch (NumberFormatException e) { - // this cannot occur if the request has been validated - } - } - - // convert the List into an int array - signatories = CollectionUtils.toIntArray(signatoriesList); - - return signatories; - } - } - - /** - * Parse a the DataObject DOM element contained in a given - * VerifyCMSSignatureRequest DOM element. - * - * @param requestElem The VerifyCMSSignatureRequest DOM element - * to parse. - * @return The CMSDataObject API object containing the data - * from the DataObject DOM element. - */ - private CMSDataObject parseDataObject(Element requestElem) { - Element dataObjectElem = - (Element) XPathUtils.selectSingleNode(requestElem, DATA_OBJECT_XPATH); - - if (dataObjectElem != null) { - Element metaInfoElem = - (Element) XPathUtils.selectSingleNode(dataObjectElem, META_INFO_XPATH); - MetaInfo metaInfo = null; - Element contentElem = - (Element) XPathUtils.selectSingleNode(dataObjectElem, CONTENT_XPATH); - CMSContent content = parseContent(contentElem); - - if (metaInfoElem != null) { - metaInfo = RequestParserUtils.parseMetaInfo(metaInfoElem); - } - - return factory.createCMSDataObject(metaInfo, content); - } else { - return null; - } - - } - - /** - * Parse the content contained in a CMSContentBaseType kind of - * DOM element. - * - * @param contentElem The CMSContentBaseType kind of element to - * parse. - * @return A CMSDataObject API object containing the data - * from the given DOM element. - */ - private CMSContent parseContent(Element contentElem) { - Element base64ContentElem = - (Element) XPathUtils.selectSingleNode(contentElem, BASE64_CONTENT_XPATH); - - if (base64ContentElem != null) { - String base64Str = DOMUtils.getText(base64ContentElem); - InputStream binaryContent = Base64Utils.decodeToStream(base64Str, true); - return factory.createCMSContent(binaryContent); - } else { - return factory.createCMSContent( - contentElem.getAttribute("Reference")); - } - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureResponseBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureResponseBuilder.java deleted file mode 100644 index 3fc8f223d..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureResponseBuilder.java +++ /dev/null @@ -1,101 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.util.Iterator; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseElement; -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; - -/** - * Convert a VerifyCMSSignatureResponse API object into its - * XML representation, according to the MOA XML schema. - * - * @author Patrick Peck - * @version $Id$ - */ -public class VerifyCMSSignatureResponseBuilder { - /** The XML document containing the response element. */ - private Document responseDoc; - /** The response VerifyCMSSignatureResponse DOM element. */ - private Element responseElem; - - /** - * Create a new VerifyCMSSignatureResponseBuilder: - * - * @throws MOASystemException An error occurred setting up the resulting - * XML document. - */ - public VerifyCMSSignatureResponseBuilder() throws MOASystemException { - responseDoc = - ResponseBuilderUtils.createResponse("VerifyCMSSignatureResponse"); - responseElem = responseDoc.getDocumentElement(); - } - - /** - * Build a document containing a VerifyCMSSignatureResponse - * DOM element being the XML representation of the given - * VerifyCMSSignatureResponse API object. - * - * @param response The VerifyCMSSignatureResponse to convert - * to XML. - * @return A document containing the VerifyCMSSignatureResponse - * DOM element. - * @throws MOAApplicationException An error occurred building the response. - */ - public Document build(VerifyCMSSignatureResponse response) - throws MOAApplicationException { - - Iterator iter; - - for (iter = response.getResponseElements().iterator(); iter.hasNext();) { - VerifyCMSSignatureResponseElement responseElement = - (VerifyCMSSignatureResponseElement) iter.next(); - addResponseElement(responseElement); - } - - return responseDoc; - } - - /** - * Add an element to the response. - * - * @param responseElement The element to add to the response. - * @throws MOAApplicationException An error occurred adding the element. - */ - private void addResponseElement(VerifyCMSSignatureResponseElement responseElement) - throws MOAApplicationException { - - SignerInfo signerInfo = responseElement.getSignerInfo(); - CheckResult signatureCheck = responseElement.getSignatureCheck(); - CheckResult certCheck = responseElement.getCertificateCheck(); - - ResponseBuilderUtils.addSignerInfo( - responseDoc, - responseElem, - signerInfo.getSignerCertificate(), - signerInfo.isQualifiedCertificate(), - signerInfo.isPublicAuthority(), - signerInfo.getPublicAuhtorityID()); - - ResponseBuilderUtils.addCodeInfoElement( - responseDoc, - responseElem, - "SignatureCheck", - signatureCheck.getCode(), - signatureCheck.getInfo()); - - ResponseBuilderUtils.addCodeInfoElement( - responseDoc, - responseElem, - "CertificateCheck", - certCheck.getCode(), - certCheck.getInfo()); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureRequestParser.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureRequestParser.java deleted file mode 100644 index e736af522..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureRequestParser.java +++ /dev/null @@ -1,275 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; -import java.util.Map; - -import org.w3c.dom.Element; -import org.w3c.dom.traversal.NodeIterator; - -import at.gv.egovernment.moa.util.BoolUtils; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.SignatureManifestCheckParams; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; - -/** - * @author Patrick Peck - * @version $Id$ - */ -public class VerifyXMLSignatureRequestParser { - - // - // XPath expressions for parsing parts of the request - // - private static final String MOA = Constants.MOA_PREFIX + ":"; - private static final String DATE_TIME_XPATH = MOA + "DateTime"; - private static final String RETURN_HASH_INPUT_DATA_XPATH = - MOA + "ReturnHashInputData"; - private static final String TRUST_PROFILE_ID_XPATH = MOA + "TrustProfileID"; - private static final String VERIFY_SIGNATURE_ENVIRONMENT_XPATH = - MOA + "VerifySignatureInfo/" + MOA + "VerifySignatureEnvironment"; - private static final String VERIFY_SIGNATURE_LOCATION_XPATH = - MOA + "VerifySignatureInfo/" + MOA + "VerifySignatureLocation"; - private static final String SUPPLEMENT_PROFILE_XPATH = - MOA + "SupplementProfile | " + MOA + "SupplementProfileID"; - private static final String SIGNATURE_MANIFEST_CHECK_PARAMS_XPATH = - MOA + "SignatureManifestCheckParams"; - private static final String VERIFY_TRANSFORMS_INFO_PROFILE_XPATH = - (MOA + "VerifyTransformsInfoProfile | ") - + (MOA + "VerifyTransformsInfoProfileID"); - private static final String REFERENCE_INFO_XPATH = MOA + "ReferenceInfo"; - - /** The SPSSFactory for creating new API objects. */ - private SPSSFactory factory = SPSSFactory.getInstance(); - - - /** - * Parse a VerifyXMLSignatureRequest DOM element, as defined - * by the MOA schema. - * - * @param requestElem The VerifyXMLSignatureRequest to parse. The - * request must have been successfully parsed against the schema for this - * method to succeed. - * @return A VerifyXMLSignatureRequest API object containing - * the data from the DOM element. - * @throws MOAApplicationException An error occurred parsing the request. - */ - public VerifyXMLSignatureRequest parse(Element requestElem) - throws MOAApplicationException { - - Date dateTime = - RequestParserUtils.parseDateTime(requestElem, DATE_TIME_XPATH); - VerifySignatureInfo verifySignatureInfo = - parseVerifySignatureInfo(requestElem); - List supplementProfiles = parseSupplementProfiles(requestElem); - SignatureManifestCheckParams signatureManifestCheckParams = - parseSignatureManifestCheckParams(requestElem); - boolean returnHashInputData = - XPathUtils.selectSingleNode(requestElem, RETURN_HASH_INPUT_DATA_XPATH) - != null; - String trustProfileID = - XPathUtils.getElementValue(requestElem, TRUST_PROFILE_ID_XPATH, null); - - return factory.createVerifyXMLSignatureRequest( - dateTime, - verifySignatureInfo, - supplementProfiles, - signatureManifestCheckParams, - returnHashInputData, - trustProfileID); - } - - /** - * Parse the VerifySignatureInfo DOM element contained in - * the VerifyXMLSignatureRequest DOM element. - * - * @param requestElem The VerifyXMLSignatureRequest DOM element - * containing the VerifySignatureInfo DOM element. - * @return The VerifySignatureInfo API object containing the - * data from the DOM element. - */ - private VerifySignatureInfo parseVerifySignatureInfo(Element requestElem) { - Element verifySignatureEnvironmentElem = - (Element) XPathUtils.selectSingleNode( - requestElem, - VERIFY_SIGNATURE_ENVIRONMENT_XPATH); - Content verifySignatureEnvironment = - RequestParserUtils.parseContent(verifySignatureEnvironmentElem); - VerifySignatureLocation verifySignatureLocation = - parseVerifySignatureLocation(requestElem); - - return factory.createVerifySignatureInfo( - verifySignatureEnvironment, - verifySignatureLocation); - } - - /** - * Parse the VerifySignatureLocation DOM element contained - * in the given VerifyXMLSignatureRequest DOM element. - * - * @param requestElem The VerifyXMLSignatureRequst DOM element. - * @return The VerifySignatureLocation API object containing the - * data from the DOM element. - */ - private VerifySignatureLocation parseVerifySignatureLocation(Element requestElem) { - Element locationElem = - (Element) XPathUtils.selectSingleNode( - requestElem, - VERIFY_SIGNATURE_LOCATION_XPATH); - String xPathExpression = DOMUtils.getText(locationElem); - Map namespaceDeclarations = DOMUtils.getNamespaceDeclarations(locationElem); - - return factory.createVerifySignatureLocation( - xPathExpression, - namespaceDeclarations); - } - - /** - * Parse the supplement profiles contained in the given - * VerifyXMLSignatureRequest DOM element. - * - * @param requestElem The VerifyXMLSignatureRequest DOM element. - * @return A List of SupplementProfile API objects - * containing the data from the SupplementProfile DOM elements. - */ - private List parseSupplementProfiles(Element requestElem) { - List supplementProfiles = new ArrayList(); - NodeIterator profileElems = - XPathUtils.selectNodeIterator(requestElem, SUPPLEMENT_PROFILE_XPATH); - Element profileElem; - - while ((profileElem = (Element) profileElems.nextNode()) != null) { - SupplementProfile profile; - - if ("SupplementProfile".equals(profileElem.getLocalName())) { - ProfileParser profileParser = new ProfileParser(); - profile = profileParser.parseSupplementProfile(profileElem); - } else { - String profileID = DOMUtils.getText(profileElem); - profile = factory.createSupplementProfile(profileID); - } - supplementProfiles.add(profile); - } - return supplementProfiles; - } - - /** - * Parse the SignatureManifestCheckParams DOM element contained - * in the given VerifyXMLSignatureRequest DOM element. - * @param requestElem The VerifyXMLSignatureRequest DOM element. - * @return The SignatureManifestCheckParams API object containing - * the data from the SignatureManifestCheckParams DOM element. - * @throws MOAApplicationException An error occurred parsing the - * SignatureManifestCheckParams DOM element. - */ - private SignatureManifestCheckParams parseSignatureManifestCheckParams(Element requestElem) - throws MOAApplicationException { - Element paramsElem = - (Element) XPathUtils.selectSingleNode( - requestElem, - SIGNATURE_MANIFEST_CHECK_PARAMS_XPATH); - - if (paramsElem != null) { - String returnReferenceInputDataStr = - paramsElem.getAttribute("ReturnReferenceInputData"); - boolean returnReferencInputData = - BoolUtils.valueOf(returnReferenceInputDataStr); - List referenceInfos = parseReferenceInfos(paramsElem); - - return factory.createSignatureManifestCheckParams( - referenceInfos, - returnReferencInputData); - } else { - return null; - } - } - - /** - * Parse the ReferenceInfo DOM elements contained in a - * SignatureManifestCheckParams DOM element. - * - * @param paramsElem The SignatureManifestCheckParams DOM element - * containing the ReferenceInfo DOM elements. - * @return A List of RefernceInfo API objects - * containing the data from the ReferenceInfo DOM elements. - * @throws MOAApplicationException An error occurred parsing the - * ReferenceInfo DOM elements. - */ - private List parseReferenceInfos(Element paramsElem) - throws MOAApplicationException { - - List referenceInfos = new ArrayList(); - NodeIterator refInfoElems = - XPathUtils.selectNodeIterator(paramsElem, REFERENCE_INFO_XPATH); - Element refInfoElem; - - while ((refInfoElem = (Element) refInfoElems.nextNode()) != null) { - ReferenceInfo referenceInfo = parseReferenceInfo(refInfoElem); - - referenceInfos.add(referenceInfo); - } - - return referenceInfos; - } - - /** - * Parse a ReferenceInfo DOM element. - * - * @param refInfoElem The ReferenceInfo DOM element to parse. - * @return The ReferenceInfo API object containing the data - * from the given ReferenceInfo DOM element. - * @throws MOAApplicationException An error occurred parsing the - * ReferenceInfo DOM element. - */ - private ReferenceInfo parseReferenceInfo(Element refInfoElem) - throws MOAApplicationException { - List profiles = parseVerifyTransformsInfoProfiles(refInfoElem); - return factory.createReferenceInfo(profiles); - } - - /** - * Parse the VerifyTransformsInfoProfile DOM elements contained - * in a ReferenceInfo DOM element. - * - * @param refInfoElem ReferenceInfo DOM element containing - * the VerifyTransformsInfoProfile DOM elements. - * @return A List of VerifyTransformsInfoProfile - * API objects containing the profile data. - * @throws MOAApplicationException An error occurred building the - * VerifyTransformsInfoProfiles. - */ - private List parseVerifyTransformsInfoProfiles(Element refInfoElem) - throws MOAApplicationException { - - List profiles = new ArrayList(); - NodeIterator profileElems = - XPathUtils.selectNodeIterator( - refInfoElem, - VERIFY_TRANSFORMS_INFO_PROFILE_XPATH); - Element profileElem; - - while ((profileElem = (Element) profileElems.nextNode()) != null) { - if ("VerifyTransformsInfoProfile".equals(profileElem.getLocalName())) { - ProfileParser profileParser = new ProfileParser(); - profiles.add( - profileParser.parseVerifyTransformsInfoProfile(profileElem)); - } else { - String profileID = DOMUtils.getText(profileElem); - profiles.add(factory.createVerifyTransformsInfoProfile(profileID)); - } - } - return profiles; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java deleted file mode 100644 index 56bcf63fa..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureResponseBuilder.java +++ /dev/null @@ -1,300 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlbind; - -import java.io.IOException; -import java.util.Iterator; -import java.util.List; - -import org.w3c.dom.Document; -import org.w3c.dom.DocumentFragment; -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.util.Base64Utils; -import at.gv.egovernment.moa.util.Constants; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.common.ContentBinary; -import at.gv.egovernment.moa.spss.api.common.ContentXML; -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; - -/** - * Convert a VerifyXMLSignatureResponse API object into its - * XML representation, according to the MOA XML schema. - * - * @author Patrick Peck - * @version $Id$ - */ -public class VerifyXMLSignatureResponseBuilder { - private static final String MOA_NS_URI = Constants.MOA_NS_URI; - - /** The XML document containing the response element. */ - private Document responseDoc; - /** The response VerifyXMLSignatureResponse DOM element. */ - private Element responseElem; - - /** - * Create a new VerifyXMLSignatureResponseBuilder: - * - * @throws MOASystemException An error occurred setting up the resulting - * XML document. - */ - public VerifyXMLSignatureResponseBuilder() throws MOASystemException { - responseDoc = - ResponseBuilderUtils.createResponse("VerifyXMLSignatureResponse"); - responseElem = responseDoc.getDocumentElement(); - } - - /** - * Build a document containing a VerifyXMLSignatureResponse - * DOM element being the XML representation of the given - * VerifyXMLSignatureResponse API object. - * - * @param response The VerifyXMLSignatureResponse to convert - * to XML. - * @return A document containing the VerifyXMLSignatureResponse - * DOM element. - * @throws MOAApplicationException An error occurred building the response. - */ - public Document build(VerifyXMLSignatureResponse response) - throws MOAApplicationException { - - Iterator iter; - List responseData; - - // add the SignerInfo - ResponseBuilderUtils.addSignerInfo( - responseDoc, - responseElem, - response.getSignerInfo().getSignerCertificate(), - response.getSignerInfo().isQualifiedCertificate(), - response.getSignerInfo().isPublicAuthority(), - response.getSignerInfo().getPublicAuhtorityID()); - - // add HashInputData elements - responseData = response.getHashInputDatas(); - if (responseData != null && !responseData.isEmpty()) { - for (iter = responseData.iterator(); iter.hasNext();) { - Content content = (Content) iter.next(); - addContent("HashInputData", content); - } - } - - // add ReferenceInputData elements - responseData = response.getReferenceInputDatas(); - if (responseData != null && !responseData.isEmpty()) { - for (iter = responseData.iterator(); iter.hasNext();) { - Content content = (Content) iter.next(); - addContent("ReferenceInputData", content); - } - } - - // add the SignatureCheck - addReferencesCheckResult("SignatureCheck", response.getSignatureCheck()); - - // add the SignatureManifestCheck - if (response.getSignatureManifestCheck() != null) { - addReferencesCheckResult( - "SignatureManifestCheck", - response.getSignatureManifestCheck()); - } - - // add the XMLDsigManifestChecks - responseData = response.getXMLDsigManifestChecks(); - if (responseData != null && !responseData.isEmpty()) { - for (iter = responseData.iterator(); iter.hasNext();) { - ManifestRefsCheckResult checkResult = - (ManifestRefsCheckResult) iter.next(); - addManifestRefsCheckResult("XMLDSIGManifestCheck", checkResult); - } - } - - // add the CertificateCheck - ResponseBuilderUtils.addCodeInfoElement( - responseDoc, - responseElem, - "CertificateCheck", - response.getCertificateCheck().getCode(), - response.getCertificateCheck().getInfo()); - - return responseDoc; - } - - /** - * Add an element of type ContentBaseType to the response. - * - * @param elementName The name of the element. - * @param content The Content to add. Based on the type of - * the Content, either a Base64Content element - * or a XMLContent subelement will be added. A - * ContentBinary of type BinaryDataObject will be - * added as a Base64Content child element. - * ContentXML will be added as XMLContent child - * element. - * @throws MOAApplicationException An error occurred adding the content. - */ - private void addContent(String elementName, Content content) - throws MOAApplicationException { - - Element contentElem = responseDoc.createElementNS(MOA_NS_URI, elementName); - - switch (content.getContentType()) { - case Content.XML_CONTENT : - ContentXML contentXml = (ContentXML) content; - NodeList nodes = contentXml.getXMLContent(); - Element xmlElem; - int i; - - xmlElem = responseDoc.createElementNS(MOA_NS_URI, "XMLContent"); - //xmlElem.setAttributeNS(XML_NS_URI, "xml:space", "preserve"); - xmlElem.setAttribute("xml:space", "preserve"); - - for (i = 0; i < nodes.getLength(); i++) { - xmlElem.appendChild(responseDoc.importNode(nodes.item(i), true)); - } - contentElem.appendChild(xmlElem); - responseElem.appendChild(contentElem); - break; - case Content.BINARY_CONTENT : - Element binaryElem = - responseDoc.createElementNS(MOA_NS_URI, "Base64Content"); - ContentBinary contentBinary = (ContentBinary) content; - String base64Str; - - try { - base64Str = Base64Utils.encode(contentBinary.getBinaryContent()); - } catch (IOException e) { - throw new MOAApplicationException("2200", null, e); - } - binaryElem.appendChild(responseDoc.createTextNode(base64Str)); - contentElem.appendChild(binaryElem); - responseElem.appendChild(contentElem); - break; - } - } - - /** - * Add a ReferencesCheckResult to the response. - * - * @param elementName The DOM element name to use. - * @param checkResult The ReferencesCheckResult to add. - */ - private void addReferencesCheckResult( - String elementName, - ReferencesCheckResult checkResult) { - - NodeList info = null; - - if (checkResult.getInfo() != null) { - DocumentFragment fragment = responseDoc.createDocumentFragment(); - NodeList anyOtherInfo = checkResult.getInfo().getAnyOtherInfo(); - int[] failedReferences = checkResult.getInfo().getFailedReferences(); - - if (anyOtherInfo != null) { - addAnyOtherInfo(fragment, checkResult.getInfo().getAnyOtherInfo()); - } - - if (failedReferences != null) { - addFailedReferences(fragment, failedReferences); - } - - info = fragment.getChildNodes(); - } - - ResponseBuilderUtils.addCodeInfoElement( - responseDoc, - responseElem, - elementName, - checkResult.getCode(), - info); - } - - - /** - * Add a ManifestRefsCheckResult to the response. - * - * @param elementName The DOM element name to use. - * @param checkResult The ManifestRefsCheckResult to add. - */ - private void addManifestRefsCheckResult( - String elementName, - ManifestRefsCheckResult checkResult) { - - DocumentFragment fragment = responseDoc.createDocumentFragment(); - NodeList anyOtherInfo = checkResult.getInfo().getAnyOtherInfo(); - int[] failedReferences = checkResult.getInfo().getFailedReferences(); - Element referringSigRefElem; - String referringSigRefStr; - - // add any other elements - if (anyOtherInfo != null) { - addAnyOtherInfo(fragment, checkResult.getInfo().getAnyOtherInfo()); - } - - // add the failed references - if (failedReferences != null) { - addFailedReferences(fragment, failedReferences); - } - - // add the ReferringSigReference - referringSigRefElem = - responseDoc.createElementNS(MOA_NS_URI, "ReferringSigReference"); - referringSigRefStr = - Integer.toString(checkResult.getInfo().getReferringSignatureReference()); - referringSigRefElem.appendChild( - responseDoc.createTextNode(referringSigRefStr)); - fragment.appendChild(referringSigRefElem); - - // add XMLDSIGManifestCheckResult to the response - ResponseBuilderUtils.addCodeInfoElement( - responseDoc, - responseElem, - elementName, - checkResult.getCode(), - fragment.getChildNodes()); - } - - /** - * Add arbitrary XML content to a DOM DocumentFragment. - * - * @param fragment The fragment to add the XML content to. - * @param anyOtherInfo The XML content to add. - */ - private void addAnyOtherInfo( - DocumentFragment fragment, - NodeList anyOtherInfo) { - - int i; - - for (i = 0; i < anyOtherInfo.getLength(); i++) { - fragment.appendChild(responseDoc.importNode(anyOtherInfo.item(i), true)); - } - } - - /** - * Add the failed references as FailedReference DOM elements to - * the fragment. - * - * @param fragment The DOM document fragment to add the - * FailedReference elements to. - * @param failedReferences The indexes of the failed references. - */ - private void addFailedReferences( - DocumentFragment fragment, - int[] failedReferences) { - Element failedReferenceElem; - int i; - - for (i = 0; i < failedReferences.length; i++) { - failedReferenceElem = - responseDoc.createElementNS(MOA_NS_URI, "FailedReference"); - failedReferenceElem.appendChild( - responseDoc.createTextNode(Integer.toString(failedReferences[i]))); - fragment.appendChild(failedReferenceElem); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfile.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfile.java deleted file mode 100644 index 425c410ad..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfile.java +++ /dev/null @@ -1,30 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -/** - * Base class for signature environment profile data used in XML signature - * creation. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface CreateSignatureEnvironmentProfile { - /** - * Indicates that the profile data is given explicitly. - */ - public static int EXPLICIT_CREATESIGNATUREENVIRONMENTPROFILE = 0; - /** - * Indicates that the profile data is stored in the configuration and resolved - * using an ID. - */ - public static int ID_CREATESIGNATUREENVIRONMENTPROFILE = 1; - - /** - * Gets the type of this object. - * - * @return The type of CreateSignatureEnvironmentProfile denoted - * by this object. Either - * EXPLICIT_CREATESIGNATUREENVIRONMENTPROFILE or - * ID_CREATESIGNATUREENVIRONMENTPROFILE. - */ - public int getCreateSignatureEnvironmentProfileType(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfileExplicit.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfileExplicit.java deleted file mode 100644 index 6aebd102b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfileExplicit.java +++ /dev/null @@ -1,30 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import java.util.List; - -/** - * A CreateSignatureEnvironmentProfile containing the profile - * data explicitly. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface CreateSignatureEnvironmentProfileExplicit - extends CreateSignatureEnvironmentProfile { - - /** - * Gets the location and index of where to insert the signature into the - * signature environment. - * - * @return The location and index of the signature in the signature - * environment. - */ - public CreateSignatureLocation getCreateSignatureLocation(); - /** - * Gets the supplemental information. - * - * @return The supplemental information. - */ - public List getSupplements(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfileID.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfileID.java deleted file mode 100644 index 1c0d87adc..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureEnvironmentProfileID.java +++ /dev/null @@ -1,20 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -/** - * A CreateSignatureEnvironmentProfile containing a profile ID - * pointing to locally stored profile data. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface CreateSignatureEnvironmentProfileID - extends CreateSignatureEnvironmentProfile { - - /** - * Gets the profile ID. - * - * @return The profile ID. - */ - public String getCreateSignatureEnvironmentProfileID(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureInfo.java deleted file mode 100644 index 5ceae4d0a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureInfo.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import at.gv.egovernment.moa.spss.api.common.Content; - -/** - * Encapsulates a signature object used during signature creation. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CreateSignatureInfo { - /** - * Gets the XML structure where the signature will be inserted. - * - * @return The XML structure where the signature will be inserted. - */ - public Content getCreateSignatureEnvironment(); - /** - * Gets the supplemental data for the signature environment. - * - * @return The supplemental data for the signature envoronment. - */ - public CreateSignatureEnvironmentProfile getCreateSignatureEnvironmentProfile(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureLocation.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureLocation.java deleted file mode 100644 index 81374ceaa..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateSignatureLocation.java +++ /dev/null @@ -1,23 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import at.gv.egovernment.moa.spss.api.common.ElementSelector; - -/** - * Specifies where to insert the newly created signature. - * - * An XPath expression is used to select the signature parent element. An - * additional index specifies the node index after which to insert the - * signature into the parent element. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface CreateSignatureLocation extends ElementSelector { - /** - * Gets the node index, after which the signature will be inserted into the - * parent elemen. - * - * @return The index of the node after which the signature will be inserted. - */ - public int getIndex(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfo.java deleted file mode 100644 index 94152434e..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfo.java +++ /dev/null @@ -1,27 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import java.util.List; - -import at.gv.egovernment.moa.spss.api.common.MetaInfo; - -/** - * Encapsulates information used for the transformation of the data object. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CreateTransformsInfo { - /** - * Gets the XMLDSig transforms. - * - * @return A List of Transform objects. - */ - public List getTransforms(); - /** - * Gets meta information about the data resulting from the transformation. - * - * @return Meta information about the resulting data. - */ - public MetaInfo getFinalDataMetaInfo(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfile.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfile.java deleted file mode 100644 index 40acfd317..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfile.java +++ /dev/null @@ -1,28 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -/** - * Base class for transformation informations used in signature creation. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CreateTransformsInfoProfile { - /** - * Indicates transformation information given explicitly. - */ - public static final int EXPLICIT_CREATETRANSFORMSINFOPROFILE = 0; - /** - * Indicates transformation information given as an ID. - */ - public static final int ID_CREATETRANSFORMSINFOPROFILE = 1; - - /** - * Gets the type of profile information this object contains. - * - * @return The type of transformation information, either - * EXPLICIT_CREATETRANSFORMSINFOPROFILE or - * ID_CREATETRANSFORMSINFOPROFILE. - */ - public int getCreateTransformsInfoProfileType(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfileExplicit.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfileExplicit.java deleted file mode 100644 index aeb74445f..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfileExplicit.java +++ /dev/null @@ -1,26 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import java.util.List; - -/** - * Encapsulates explicit transformation informations. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CreateTransformsInfoProfileExplicit - extends CreateTransformsInfoProfile { - /** - * Gets the transformation information of the data object. - * - * @return Transformation information of the data object. - */ - public CreateTransformsInfo getCreateTransformsInfo(); - /** - * Gets the supplemental information. - * - * @return The supplemental information. - */ - public List getSupplements(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfileID.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfileID.java deleted file mode 100644 index 3631ead29..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateTransformsInfoProfileID.java +++ /dev/null @@ -1,18 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -/** - * Encapsulates transformation information given via an identifier. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CreateTransformsInfoProfileID - extends CreateTransformsInfoProfile { - /** - * Gets the ID of the transformation. - * - * @return The transformation profile ID. - */ - public String getCreateTransformsInfoProfileID(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureRequest.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureRequest.java deleted file mode 100644 index b8157fdfb..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureRequest.java +++ /dev/null @@ -1,26 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import java.util.List; - - -/** - * Object that encapsulates a request to create an XML Signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CreateXMLSignatureRequest { - /** - * Gets the identifier for the keys to be used for the signature. - * - * @return The identifier for the keys to be used. - */ - public String getKeyIdentifier(); - /** - * Gets the information of the singleSignatureInfo elements. - * - * @return The information of singleSignatureInfo elements. - */ - public List getSingleSignatureInfos(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureResponse.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureResponse.java deleted file mode 100644 index 6bf54e6a5..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureResponse.java +++ /dev/null @@ -1,20 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import java.util.List; - -/** - * Object that encapsulates the response on to a - * CreateXMLSignatureRequest to create an XML signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CreateXMLSignatureResponse { - /** - * Gets the response elements. - * - * @return The response elements. - */ - public List getResponseElements(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureResponseElement.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureResponseElement.java deleted file mode 100644 index 2162d82fd..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/CreateXMLSignatureResponseElement.java +++ /dev/null @@ -1,29 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -/** - * Base class for SignatureEnvironmentResponse and - * ErrorResponse elements in a - * CreateXMLSignatureResponse. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface CreateXMLSignatureResponseElement { - /** - * Indicates that this object contains a SignatureEnvironment. - */ - public static final int SIGNATURE_ENVIRONMENT_RESPONSE = 0; - /** - * Indicates that this objet contains an ErrorResponse. - */ - public static final int ERROR_RESPONSE = 1; - - /** - * Gets the type of response object. - * - * @return The type of response object, either - * SIGNATURE_ENVIRONMENT_RESPONSE or ERROR_RESPONSE. - */ - public int getResponseType(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/DataObjectInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/DataObjectInfo.java deleted file mode 100644 index 43d49c587..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/DataObjectInfo.java +++ /dev/null @@ -1,48 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import at.gv.egovernment.moa.spss.api.common.Content; - -/** - * Encapsulates information required to create a single signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface DataObjectInfo { - /** - * Indicates that a detached signature will be created. - */ - public static final String STRUCTURE_DETACHED = "detached"; - /** - * Indicates that an enveloping signature will be created. - */ - public static final String STRUCTURE_ENVELOPING = "enveloping"; - - /** - * Gets the structure of the signature. - * - * @return The structure of the signature. - */ - public String getStructure(); - /** - * Checks whether a refercence will be placed in the signature itself or - * in the manifest. - * - * @return true if a reference will be placed in the manifest, - * false if it will be placed in the signature. - */ - public boolean isChildOfManifest(); - /** - * Gets information related to a single data object. - * - * @return Information related to a single data object. - */ - public Content getDataObject(); - /** - * Gets information for the transformation of the data object. - * - * @return The transformation information. - */ - public CreateTransformsInfoProfile getCreateTransformsInfoProfile(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/ErrorResponse.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/ErrorResponse.java deleted file mode 100644 index 30fa4fb52..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/ErrorResponse.java +++ /dev/null @@ -1,24 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - - -/** - * Object containing detailed error information. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface ErrorResponse extends CreateXMLSignatureResponseElement { - /** - * Gets the error code. - * - * @return The error code. - */ - public int getErrorCode(); - /** - * Gets verbose error information. - * - * @return Verbose error information. - */ - public String getInfo(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/SignatureEnvironmentResponse.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/SignatureEnvironmentResponse.java deleted file mode 100644 index 449349a68..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/SignatureEnvironmentResponse.java +++ /dev/null @@ -1,20 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import org.w3c.dom.Element; - -/** - * Contains the signature if the signature creation was successful. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface SignatureEnvironmentResponse - extends CreateXMLSignatureResponseElement { - /** - * Gets the XML structure which contains the signature. - * - * @return A general XML structure containing the signature. - */ - public Element getSignatureEnvironment(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/SingleSignatureInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/SingleSignatureInfo.java deleted file mode 100644 index 9c74c5157..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlsign/SingleSignatureInfo.java +++ /dev/null @@ -1,32 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlsign; - -import java.util.List; - -/** - * Encapsulates data to create a single signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface SingleSignatureInfo { - /** - * Gets the dataObjectInfo information. - * - * @return The dataObjectInfo information. - */ - public List getDataObjectInfos(); - /** - * Gets the signature object. - * - * @return The signature object used during signature creation. - */ - public CreateSignatureInfo getCreateSignatureInfo(); - /** - * Check whether a Security Layer conform signature manifest will be created. - * - * @return true, if a Security Layer conform signature manifest - * will be created, false otherwise. - */ - public boolean isSecurityLayerConform(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ManifestRefsCheckResult.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ManifestRefsCheckResult.java deleted file mode 100644 index 1984ba349..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ManifestRefsCheckResult.java +++ /dev/null @@ -1,24 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - - -/** - * Contains the results of manifest checks according to XMLDsig. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface ManifestRefsCheckResult { - /** - * Gets the check code. - * - * @return A numerical representation of the result of the manifest check. - */ - public int getCode(); - /** - * Gets the reference to the manifest. - * - * @return The reference to the manifest. - */ - public ManifestRefsCheckResultInfo getInfo(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ManifestRefsCheckResultInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ManifestRefsCheckResultInfo.java deleted file mode 100644 index 258840162..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ManifestRefsCheckResultInfo.java +++ /dev/null @@ -1,19 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - - -/** - * Encapsulates information referring to the manifest of the check. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface ManifestRefsCheckResultInfo extends ReferencesCheckResultInfo { - /** - * Gets the position of the signature reference containing the - * reference to the manifest being described by this object. - * - * @return The position of the signature reference. - */ - public int getReferringSignatureReference(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferenceInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferenceInfo.java deleted file mode 100644 index 4c644583b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferenceInfo.java +++ /dev/null @@ -1,19 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import java.util.List; - -/** - * Contains transformation parameters which are locally available. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface ReferenceInfo { - /** - * Gets the transformation info. - * - * @return The transformation info. - */ - public List getVerifyTransformsInfoProfiles(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferencesCheckResult.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferencesCheckResult.java deleted file mode 100644 index 7b5488613..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferencesCheckResult.java +++ /dev/null @@ -1,23 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -/** - * Contains information about the verification status of references contained - * in the signature. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface ReferencesCheckResult { - /** - * Gets the check code. - * - * @return A numerical representation of the result of the reference check. - */ - public int getCode(); - /** - * Gets the additional information about the result. - * - * @return Additional information about the result. - */ - public ReferencesCheckResultInfo getInfo(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferencesCheckResultInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferencesCheckResultInfo.java deleted file mode 100644 index be21b61c2..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/ReferencesCheckResultInfo.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import org.w3c.dom.NodeList; - -/** - * Additional information contained in a ReferencesCheckResult. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface ReferencesCheckResultInfo { - /** - * Gets the additional info of the failed dsig:reference element. - * - * @return The info elements. - */ - public NodeList getAnyOtherInfo(); - /** - * Gets the positions of the failed signature references containing the - * references to the manifests being described by this object. - * - * @return The positions of the failed signature references. - */ - public int[] getFailedReferences(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SignatureManifestCheckParams.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SignatureManifestCheckParams.java deleted file mode 100644 index 8f0efacf3..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SignatureManifestCheckParams.java +++ /dev/null @@ -1,26 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import java.util.List; - -/** - * Contains parameters used to check the signature manifest. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface SignatureManifestCheckParams { - /** - * Gets the referential information. - * - * @return The referential information. - */ - public List getReferenceInfos(); - /** - * Gets information on whether signature source data should be returned. - * - * @return true, if signature source data should be returned, - * otherwise false. - */ - public boolean getReturnReferenceInputData(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfile.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfile.java deleted file mode 100644 index 569e691ca..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfile.java +++ /dev/null @@ -1,28 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -/** - * Base class for supplementary information. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface SupplementProfile { - /** - * Indicates that this object contains explicit supplementary information. - */ - public static final int EXPLICIT_SUPPLEMENTPROFILE = 0; - /** - * Indicates that this object contains a profile id where supplementary - * information can be found. - */ - public static final int ID_SUPPLEMENTPROFILE = 1; - - /** - * Gets the type of supplementary information contained in this object. - * - * @return The type of supplementary information contained in this object, - * either EXPLICIT_SUPPLEMENT or ID_SUPPLEMENT. - */ - public int getSupplementProfileType(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfileExplicit.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfileExplicit.java deleted file mode 100644 index 7dd37a2d1..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfileExplicit.java +++ /dev/null @@ -1,19 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; - -/** - * Encapsulates explicit supplementary information. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface SupplementProfileExplicit extends SupplementProfile { - /** - * Gets the supplemental object. - * - * @return The supplemental object. - */ - public XMLDataObjectAssociation getSupplementProfile(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfileID.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfileID.java deleted file mode 100644 index 5b5083be9..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/SupplementProfileID.java +++ /dev/null @@ -1,18 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -/** - * Encapsulates supplementary information stored in a profile. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface SupplementProfileID extends SupplementProfile { - /** - * Gets the id of the profile where the supplementary information can be - * found. - * - * @return The profile id. - */ - public String getSupplementProfileID(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameter.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameter.java deleted file mode 100644 index 3e173e0cd..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameter.java +++ /dev/null @@ -1,40 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -/** - * Object encapsulating transform parameters either as a URI, binary or - * hashed. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface TransformParameter { - /** - * Indicates that this object contains a transform parameter given as - * a URI. - */ - public static final int URI_TRANSFORMPARAMETER = 0; - /** - * Indicates that this object contains binary transform parameter. - */ - public static final int BINARY_TRANSFORMPARAMETER = 1; - /** - * Indicatest that this object contains a binary hash of the transform - * parameter. - */ - public static final int HASH_TRANSFORMPARAMETER = 2; - - /** - * Gets the type of transform parameter contained in this object. - * - * @return The type of transform parameter, being one of - * URI_TRANSFORMPARAMETER, BINARY_TRANSFORMPARAMETER - * or HASH_TRANSFORMPARAMETER. - */ - public int getTransformParameterType(); - /** - * Gets the transform parameter URI. - * - * @return The transform parameter URI. - */ - public String getURI();} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterBinary.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterBinary.java deleted file mode 100644 index 600227dfd..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterBinary.java +++ /dev/null @@ -1,21 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import java.io.InputStream; - -/** - * Encapsulates a binary transform parameter. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface TransformParameterBinary extends TransformParameter { - /** - * Gets the binary transform parameter. - * - * @return An InputStream from which the binary content can - * be read. - */ - public InputStream getBinaryContent(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterHash.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterHash.java deleted file mode 100644 index ec45ea4f4..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterHash.java +++ /dev/null @@ -1,26 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - - -/** - * Contains a hash of the transform parameter. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface TransformParameterHash extends TransformParameter { - /** - * Gets the method used for calculating the digest value. - * - * @return The digest method. - */ - public String getDigestMethod(); - /** - * Gets the binary hash of the transform parameter. - * - * @return A binary representation of the hash. - */ - public byte[] getDigestValue(); - - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterURI.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterURI.java deleted file mode 100644 index 4a6f0a58f..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/TransformParameterURI.java +++ /dev/null @@ -1,12 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -/** - * Encapsulates a transform parameter given as a URI. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface TransformParameterURI extends TransformParameter { - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifySignatureInfo.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifySignatureInfo.java deleted file mode 100644 index 386651c47..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifySignatureInfo.java +++ /dev/null @@ -1,27 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import at.gv.egovernment.moa.spss.api.common.Content; - -/** - * Encapsulates a signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifySignatureInfo { - /** - * Gets the content of the VerifySignatureEnvironment element. - * - * @return A MOAElement containing the - * VerifySignatureEnvironment in a DOM-like structure. - */ - public Content getVerifySignatureEnvironment(); - /** - * Gets the location of the signature. - * - * @return The location of the signature within the signature environment. - */ - public VerifySignatureLocation getVerifySignatureLocation(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifySignatureLocation.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifySignatureLocation.java deleted file mode 100644 index f05e3e889..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifySignatureLocation.java +++ /dev/null @@ -1,13 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import at.gv.egovernment.moa.spss.api.common.ElementSelector; - -/** - * Specifies where to find the signature to be verified. - * - * @author Patrick Peck - * @version $Id$ - */ -public interface VerifySignatureLocation extends ElementSelector { - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfile.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfile.java deleted file mode 100644 index 909fc58a2..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfile.java +++ /dev/null @@ -1,28 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -/** - * Object for explicitly specifying a transformation path. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifyTransformsInfoProfile { - /** - * Indicates that this object contains the transformation path explicitly. - */ - public static final int EXPLICIT_VERIFYTRANSFORMSINFOPROFILE = 0; - /** - * Indicatest that this object contains a transformation info id. - */ - public static final int ID_VERIFYTRANSFORMSINFOPROFILE = 1; - - /** - * Gets the type of transformation information contained in this object. - * - * @return The type of transformation information, either - * EXPLICIT_VERIFYTRANSFORMSINFOPROFILE or - * ID_VERIFYTRANSFORMSINFOPROFILE. - */ - public int getVerifyTransformsInfoProfileType(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfileExplicit.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfileExplicit.java deleted file mode 100644 index ff19683da..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfileExplicit.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import java.util.List; - -/** - * Encapsulates explicit transformation information. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifyTransformsInfoProfileExplicit extends VerifyTransformsInfoProfile { - /** - * Gets the XMLDSig transforms element. - * - * @return The List of Transforms. - */ - public List getTransforms(); - /** - * Gets the transformation parameters. - * - * @return The transformation parameters. - */ - public List getTransformParameters(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfileID.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfileID.java deleted file mode 100644 index 0df3664da..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyTransformsInfoProfileID.java +++ /dev/null @@ -1,18 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -/** - * Encapsulates transformation info id for signature verification. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifyTransformsInfoProfileID extends VerifyTransformsInfoProfile { - /** - * Gets the identifier referencing the transformation info. - * - * @return The identifier referencing the transformation info. - */ - public String getVerifyTransformsInfoProfileID(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyXMLSignatureRequest.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyXMLSignatureRequest.java deleted file mode 100644 index eb71f500b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyXMLSignatureRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import java.util.Date; -import java.util.List; - - -/** - * Object that encapsulates a request to verify an XML signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifyXMLSignatureRequest { - /** - * Gets the date and time for which the signature verification has to - * be performed. - * - * @return Date and time for which the signature verification has - * to be performed. - */ - public Date getDateTime(); - /** - * Gets the signature to be verified. - * - * @return The signature to be verified. - */ - public VerifySignatureInfo getSignatureInfo(); - /** - * Gets the supplemental information. - * - * @return The supplemental information. - */ - public List getSupplementProfiles(); - /** - * Gets parameters for Security Layer signature verification. - * - * @return Parameters for Security Layer signature verification. - */ - public SignatureManifestCheckParams getSignatureManifestCheckParams(); - /** - * Checks, whether actually signed data shall be returned. - * - * @return true, if signed data will be returned, - * otherwise false. - */ - public boolean getReturnHashInputData(); - /** - * Gets the profile id of the set of trusted certificates to be used for - * signature verification. - * - * @return The id of the trusted certificates. - */ - public String getTrustProfileId(); -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyXMLSignatureResponse.java b/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyXMLSignatureResponse.java deleted file mode 100644 index 14ac71e67..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/api/xmlverify/VerifyXMLSignatureResponse.java +++ /dev/null @@ -1,60 +0,0 @@ -package at.gv.egovernment.moa.spss.api.xmlverify; - -import java.util.List; - -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; - -/** - * Object that encapsulates the response on a request to verify an XML - * signature. - * - * @author Patrick Peck - * @author Stephan Grill - * @version $Id$ - */ -public interface VerifyXMLSignatureResponse { - /** - * Gets a SignerInfo element according to XMLDSig. - * - * @return A SignerInfo element according to XMLDSig. - */ - public SignerInfo getSignerInfo(); - /** - * Gets datas signed by the signatory. - * - * @return The signed datas. - */ - public List getHashInputDatas(); - /** - * Gets source datas elements. - * - * @return The source datas elements. - */ - public List getReferenceInputDatas(); - /** - * Gets the result of the signature verification. - * - * @return The result of the signature verification. - */ - public ReferencesCheckResult getSignatureCheck(); - /** - * Gets the result of the signature manifest verification. - * - * @return The result of the signature manifest verification. - */ - public ReferencesCheckResult getSignatureManifestCheck(); - /** - * Gets XMLDSigManifestCheck elements. - * - * @return The XMLDSigManifestCheck elements. - */ - public List getXMLDsigManifestChecks(); - /** - * Gets the result of the certification verification. - * - * @return The result of the certificate verification. - */ - public CheckResult getCertificateCheck(); - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/overview.htm b/spss.server/src/at/gv/egovernment/moa/spss/overview.htm deleted file mode 100644 index 9b17bbf91..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/overview.htm +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -MOA SP/SS API documentation overview. - - -

    Using the MOA SP/SS API

    - -

    Invoking the services

    -In general, invoking the MOA SP/SS API involves the following steps: -
      -
    1. Set the moa.spss.server.configuration system property to point -to the main MOA SP/SS configuration file. This needs to be done only once per -JVM instance. You may also call -{@link at.gv.egovernment.moa.spss.api.Configurator#init} at this point to -pre-initialize MOA SP/SS (if not, it is done automatically upon service -invocation).
    2. -
    3. Create an instance of the service to be used -({@link at.gv.egovernment.moa.spss.api.SignatureCreationService} or -{@link at.gv.egovernment.moa.spss.api.SignatureVerificationService}), -via its getInstance() method.
    4. -
    5. Create an instance of the -{@link at.gv.egovernment.moa.spss.api.SPSSFactory}, via its -{@link at.gv.egovernment.moa.spss.api.SPSSFactory#getInstance} method.
    6. -
    7. Use the create... methods of the SPSSFactory to -create the desired {@link at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest}, -{@link at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest} or -{@link at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest} object. -
    8. -
    9. Call one of the service methods: -{@link at.gv.egovernment.moa.spss.api.SignatureCreationService#createXMLSignature(at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest) createXMLSignature()}, -{@link at.gv.egovernment.moa.spss.api.SignatureVerificationService#verifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest) verifyCMSSignature()} or -{@link at.gv.egovernment.moa.spss.api.SignatureVerificationService#verifyXMLSignature(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest) verifyXMLSignature()}. -
    10. -
    11. Analyze the result of the service call, given as a -{@link at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse}, -{@link at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse} or -{@link at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse}. -In case of an error, a {@link at.gv.egovernment.moa.spss.MOAException} -is thrown by the service. Please be aware that errors during signature creation -are reported as part of a CreateXMLSignatureResponse. -
    - -

    Creating MOA SP/SS API objects

    -

    -Invoking the MOA SP/SS API Service classes involves creating -a Request object using the {@link at.gv.egovernment.moa.spss.api.SPSSFactory SPSSFactory}. -Object creation using the SPSSFactory is always bottom-up, meaning -that in order to create an object all of its components must have been created -before. -

    -

    -The names of the MOA SP/SS API classes have been chosen to correspond to the -MOA SP/SS schema elements. The structure of the classes (i.e., their fields) -also corresponds to the structure of the respective MOA SP/SS schema elements. -However, a few classes escape this naming convention, mainly because the -corresponding schema elements contain xsd:choice components: -

      -
    • The various Profile classes have subclasses called -ProfileID and ProfileExplicit -(e.g., {@link at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileID} and -{@link at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicit}), -so that the profile can be given either as an ID (which is to be resolved from the -MOA SP/SS configuration) or explicitly.
    • -
    • The classes {@link at.gv.egovernment.moa.spss.api.common.Content}, -{@link at.gv.egovernment.moa.spss.api.cmsverify.CMSContent} and -{@link at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter} have -subclasses specifying the type of content they actually contain. E.g., -{@link at.gv.egovernment.moa.spss.api.common.ContentBinary} will contain -a byte stream.
    • -
    - -

    -

    -For clarity, the MOA SP/SS API classes have been organized in several packages -listed in the following table: -

    - - - - - - - - - - - - - - - - - - - - - -
    PackagePurpose
    {@link at.gv.egovernment.moa.spss.api.xmlsign}Components of the {@link at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest} and - {@link at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse}
    {@link at.gv.egovernment.moa.spss.api.cmsverify}Components of the - {@link at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest} and - {@link at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse}
    {@link at.gv.egovernment.moa.spss.api.xmlverify}Components of the - {@link at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest} and - {@link at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse}
    {@link at.gv.egovernment.moa.spss.api.common}Common components used across the classes of the above packages
    - -

    Converting MOA SP/SS API objects to and from DOM trees

    -The package {@link at.gv.egovernment.moa.spss.api.xmlbind} contains helper -classes to: -
      -
    • Parse a DOM tree containing a CreateXMLSignatureRequest, -VerifyCMSSignatureRequest or -VerifyCMSSignatureRequest into its respective MOA SP/SS API object -representation. For example, to parse a CreateXMLSignatureRequest -DOM tree, the {@link at.gv.egovernment.moa.spss.api.xmlbind.CreateXMLSignatureRequestParser#parse(org.w3c.dom.Element) CreateXMLSignatureRequestParser.parse()} -method can be used.
      -Note: The DOM tree of the request must be derived from a schema valid -XML document. Otherwise, unexpected behaviour will almost certainly result.
    • -
    • Build a CreateXMLSignatureResponse, -VerifyCMSSignatureResponse or a -VerifyXMLSignatureResponse DOM tree from the respective MOA SP/SS -API object. For example, to build a VerifyXMLSignatureResponse -DOM tree, the {@link at.gv.egovernment.moa.spss.api.xmlbind.VerifyXMLSignatureResponseBuilder#build(at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse) VerifyXMLSignatureResponseBuilder.build()} -can be used.
      -Note:The serialized DOM tree will be schema valid. -
    • -
    -The DOM trees can easily be read from and written to XML byte streams using -the methods in the {@link at.gv.egovernment.moa.util.DOMUtils} class. -
    - -

    Utilities and Logging

    -

    The packages {@link at.gv.egovernment.moa.util} and -{@link at.gv.egovernment.moa.spss.util} contain utility classes developed for -the MOA SP/SS implementation. Since the classes contained in these packages are -tailored towards the MOA SP/SS implementation, they are far from being complete -in the sense of providing a utility class library. Therefore, they may or may -not prove useful in the context of your application. Their interfaces may also -change in future releases. -

    - -

    The package {@link at.gv.egovernment.moa.logging} contains classes for -logging messages to the MOA SP/SS log hierarchy via the -{@link at.gv.egovernment.moa.logging.Logger} class. -

    - -

    Related Documentation

    - -See also the API example in the -MOA SP/SS documentation. - - - \ No newline at end of file diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationException.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationException.java deleted file mode 100644 index f2b847053..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationException.java +++ /dev/null @@ -1,34 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -import at.gv.egovernment.moa.spss.MOASystemException; - -/** - * Exception signalling an error in the configuration. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ConfigurationException extends MOASystemException { - - /** - * Create a ConfigurationException. - * - * @see at.gv.egovernment.moa.spss.server.MOAException#MOAException(String, Object[]) - */ - public ConfigurationException(String messageId, Object[] parameters) { - super(messageId, parameters); - } - - /** - * Create a ConfigurationException. - * @see at.gv.egovernment.moa.spss.server.MOAException#MOAException(String, Object[], Throwable) - */ - public ConfigurationException( - String messageId, - Object[] parameters, - Throwable wrapped) { - - super(messageId, parameters, wrapped); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java deleted file mode 100644 index 1e966911b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java +++ /dev/null @@ -1,956 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.io.InputStream; -import java.math.BigInteger; -import java.net.MalformedURLException; -import java.security.Principal; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import javax.xml.parsers.ParserConfigurationException; - -import org.w3c.dom.Attr; -import org.w3c.dom.Element; -import org.w3c.dom.traversal.NodeIterator; - -import org.xml.sax.SAXException; - -import iaik.ixsil.exceptions.URIException; -import iaik.ixsil.util.URI; -import iaik.pki.pathvalidation.ChainingModes; -import iaik.utils.RFC2253NameParser; -import iaik.utils.RFC2253NameParserException; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.XPathUtils; - -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A class that builds configuration data from a DOM based representation. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ConfigurationPartsBuilder { - - // - // XPath namespace prefix shortcuts - // - - private static final String CONF = Constants.MOA_CONFIG_PREFIX + ":"; - private static final String DSIG = Constants.DSIG_PREFIX + ":"; - - // - // chaining mode constants appearing in the configuration file - // - - private static final String CM_CHAINING = "chaining"; - private static final String CM_PKIX = "pkix"; - - // - // XPath expressions to select certain parts of the configuration - // - - private static final String ROOT = "/" + CONF + "MOAConfiguration/"; - private static final String DIGEST_METHOD_XPATH = - ROOT + CONF + "DigestMethodAlgorithm/@name"; - private static final String C14N_ALGORITHM_XPATH = - ROOT + CONF + "CanonicalizationAlgorithm/@name"; - private static final String HARDWARE_CRYPTO_MODULE_XPATH = - ROOT + CONF + "HardwareCryptoModule"; - private static final String HARDWARE_KEY_XPATH = - ROOT + CONF + "HardwareKeyModule"; - private static final String SOFTWARE_KEY_XPATH = - ROOT + CONF + "SoftwareKeyModule"; - private static final String KEYGROUP_XPATH = ROOT + CONF + "KeyGroup"; - private static final String KEY_XPATH = CONF + "Key"; - private static final String KEY_MODULE_ID_XPATH = CONF + "KeyModuleID"; - private static final String KEY_CERT_XPATH = CONF + "KeyCertIssuerSerial"; - private static final String KEYGROUP_MAPPING_XPATH = - ROOT + CONF + "KeyGroupMapping"; - private static final String KEYGROUP_MAPPING_KEYGROUP_XPATH = - CONF + "KeyGroup"; - private static final String ISSUER_SERIAL_XPATH = CONF + "X509IssuerSerial"; - private static final String ISSUER_XPATH = DSIG + "X509IssuerName"; - private static final String SERIAL_XPATH = DSIG + "X509SerialNumber"; - private static final String CHAINING_MODES_XPATH = - ROOT + CONF + "ChainingModes"; - private static final String CHAINING_MODES_DEFAULT_XPATH = - CHAINING_MODES_XPATH + "/@systemDefaultMode"; - private static final String TRUST_ANCHOR_XPATH = - ROOT + CONF + "ChainingModes/" + CONF + "TrustAnchor"; - private static final String CRL_DISTRIBUTION_POINT_XPATH = - ROOT + CONF + "CRLDistributionPoint"; - private static final String CA_ISSUER_DN_XPATH = CONF + "CAIssuerDN"; - private static final String DISTRIBUTION_POINT_XPATH = - CONF + "DistributionPoint"; - private static final String CRL_ARCHIVE_XPATH = ROOT + CONF + "CRLArchive"; - private static final String GENERIC_CONFIGURATION_XPATH = - ROOT + CONF + "GenericConfiguration"; - private static final String CREATE_TRANSFORMS_INFO_PROFILE_XPATH = - ROOT + CONF + "CreateTransformsInfoProfile"; - private static final String CREATE_SIGNATURE_ENVIRONMENT_PROFILE_XPATH = - ROOT + CONF + "CreateSignatureEnvironmentProfile"; - private static final String VERIFY_TRANSFORMS_INFO_PROFILE_XPATH = - ROOT + CONF + "VerifyTransformsInfoProfile"; - private static final String SUPPLEMENT_PROFILE_XPATH = - ROOT + CONF + "SupplementProfile"; - private static final String TRUST_PROFILE_XPATH = - ROOT + CONF + "TrustProfile"; - - // - // default values for configuration parameters - // - - /** The accepted canonicalization algorithm URIs, as an array */ - private static final String[] ACCEPTED_C14N_ALGORITHMS_ARRAY = - { - Constants.C14N_URI, - Constants.C14N_WITH_COMMENTS_URI, - Constants.EXC_C14N_URI, - Constants.EXC_C14N_WITH_COMMENTS_URI }; - - /** The accepted canonicalization algorithm URIs, as a Set */ - private static final Set ACCEPTED_C14N_ALGORITHMS = - new HashSet(Arrays.asList(ACCEPTED_C14N_ALGORITHMS_ARRAY)); - - /** Default canonicalization algorithm, if none/illegal has been configured */ - private static final String C14N_ALGORITHM_DEFAULT = Constants.C14N_URI; - - /** The accepted digest method algorithm URIs, as an array */ - private static final String[] ACCEPTED_DIGEST_ALGORITHMS_ARRAY = - { Constants.SHA1_URI }; - - /** The accepted digest method algorithm URIs, as a Set */ - private static final Set ACCEPTED_DIGEST_ALGORITHMS = - new HashSet(Arrays.asList(ACCEPTED_DIGEST_ALGORITHMS_ARRAY)); - - /** Default digest algorithm URI, if none/illegal has been configured */ - private static final String DIGEST_ALGORITHM_DEFAULT = Constants.SHA1_URI; - - /** The root element of the MOA configuration */ - private Element configElem; - - /** Whether any warnings were encountered building the configuration. */ - private List warnings = new ArrayList(); - - /** - * Create a new ConfigurationPartsBuilder. - * - * @param configElem The root element of the MOA configuration. - */ - public ConfigurationPartsBuilder(Element configElem) { - this.configElem = configElem; - } - - /** - * Returns the root element of the MOA configuration. - * - * @return The root element of the MOA configuration. - */ - public Element getConfigElem() { - return configElem; - } - - /** - * Returns the warnings encountered during building the configuration. - * - * @return A List of Strings, containing the - * warning messages. - */ - public List getWarnings() { - return warnings; - } - - /** - * Returns the digest method algorithm name. - * - * @return The digest method algorithm name from the configuration. - */ - public String getDigestMethodAlgorithmName() { - String digestMethod = - getAttributeValue(getConfigElem(), DIGEST_METHOD_XPATH, null); - - if (digestMethod == null - || !ACCEPTED_DIGEST_ALGORITHMS.contains(digestMethod)) { - warn( - "config.23", - new Object[] { "DigestMethodAlgorithm", DIGEST_ALGORITHM_DEFAULT }); - digestMethod = DIGEST_ALGORITHM_DEFAULT; - } - - return digestMethod; - } - - /** - * Returns the canonicalization algorithm name. - * - * @return The canonicalization algorithm name from the configuration. - */ - public String getCanonicalizationAlgorithmName() { - String c14nAlgorithm = - getAttributeValue(getConfigElem(), C14N_ALGORITHM_XPATH, null); - - if (c14nAlgorithm == null - || !ACCEPTED_C14N_ALGORITHMS.contains(c14nAlgorithm)) { - warn( - "config.23", - new Object[] { "CanonicalizationAlgorithm", C14N_ALGORITHM_DEFAULT }); - c14nAlgorithm = C14N_ALGORITHM_DEFAULT; - } - - return c14nAlgorithm; - } - - /** - * Build the mapping of generic configuration properties. - * - * @return The mapping of generic configuration properties (a name to value - * mapping) from the configuration. - */ - public Map buildGenericConfiguration() { - Map genericConfiguration = new HashMap(); - NodeIterator gcIter = - XPathUtils.selectNodeIterator( - getConfigElem(), - GENERIC_CONFIGURATION_XPATH); - Element gcElem; - - while ((gcElem = (Element) gcIter.nextNode()) != null) { - String gcName = gcElem.getAttribute("name"); - String gcValue = gcElem.getAttribute("value"); - - if (genericConfiguration.containsKey(gcName)) { - warn("config.24", new Object[] { gcName }); - } else { - genericConfiguration.put(gcName, gcValue); - } - } - - return genericConfiguration; - } - - /** - * Build the configured hardware crypto modules. - * - * @return The hardware crypto modules from the configuration. - */ - public List buildHardwareCryptoModules() { - List modules = new ArrayList(); - NodeIterator modIter = - XPathUtils.selectNodeIterator( - getConfigElem(), - HARDWARE_CRYPTO_MODULE_XPATH); - Element modElem; - - while ((modElem = (Element) modIter.nextNode()) != null) { - String name = modElem.getAttribute("name"); - String slotID = modElem.getAttribute("slotID"); - String userPIN = modElem.getAttribute("userPIN"); - HardwareCryptoModule module = - new HardwareCryptoModule(name, slotID, userPIN); - modules.add(module); - } - - return modules; - } - - /** - * Build the configured hardware keys. - * - * @param The keyModules that the configuration already knows about. To - * prevent multiple key modules with the same ID. - * @return The hardware keys contained in the configuration. - */ - public List buildHardwareKeyModules(List keyModules) { - Set existingIds = toIdSet(keyModules); - List hardwareKeys = new ArrayList(); - NodeIterator hkIter = - XPathUtils.selectNodeIterator(getConfigElem(), HARDWARE_KEY_XPATH); - Element keyElem; - - while ((keyElem = (Element) hkIter.nextNode()) != null) { - String id = keyElem.getAttribute("id"); - String name = keyElem.getAttribute("name"); - String slotID = keyElem.getAttribute("slotID"); - String userPIN = keyElem.getAttribute("userPIN"); - - if (existingIds.contains(id)) { - warn( - "config.04", - new Object[] { "Hardware- oder SoftwareKeyModule", id }); - } else { - KeyModule key = new HardwareKeyModule(id, name, slotID, userPIN); - hardwareKeys.add(key); - existingIds.add(id); - } - - } - - return hardwareKeys; - } - - /** - * Build the configured software keys. - * - * @param The keyModules that the configuration already knows about. To - * prevent multiple key modules with the same ID. - * @param configRoot The directory containing the main configuration file. - * Used to resolve keystore files configured using a relative URI. - * @return The software keys contained in the configuration. - */ - public List buildSoftwareKeyModules(List keyModules, File configRoot) { - Set existingIds = toIdSet(keyModules); - List softwareKeys = new ArrayList(); - NodeIterator skIter = - XPathUtils.selectNodeIterator(getConfigElem(), SOFTWARE_KEY_XPATH); - - Element keyElem; - - while ((keyElem = (Element) skIter.nextNode()) != null) { - String id = keyElem.getAttribute("id"); - String fileName = keyElem.getAttribute("filename"); - String passWord = keyElem.getAttribute("password"); - - if (existingIds.contains(id)) { - warn( - "config.04", - new Object[] { "Hardware- oder SoftwareKeyModule", id }); - } else { - File keyFile; - KeyModule key; - - // make keyFile absolute - keyFile = new File(fileName); - if (!keyFile.isAbsolute()) { - keyFile = new File(configRoot, fileName); - } - - // check for existence - if (!keyFile.exists() || keyFile.isDirectory()) { - warn("config.25", new Object[] { id, keyFile.getAbsolutePath()}); - } else { - // create a new key module - key = new SoftwareKeyModule(id, keyFile.getAbsolutePath(), passWord); - softwareKeys.add(key); - existingIds.add(id); - } - } - - } - - return softwareKeys; - } - - /** - * Build the key group configuration. - * - * @param keyModules The KeyModules that the configuration - * knows about. Used to check for errors in the configuration. - * @return The mapping between key group IDs and key groups. - */ - public Map buildKeyGroups(List keyModules) { - Set keyModuleIds = toIdSet(keyModules); - Map keyGroups = new HashMap(); - NodeIterator kgIter; - Element keyGroupElem; - - // select all KeyGroup elements and build the KeyGroup objects from them - kgIter = XPathUtils.selectNodeIterator(getConfigElem(), KEYGROUP_XPATH); - while ((keyGroupElem = (Element) kgIter.nextNode()) != null) { - String keyGroupId = keyGroupElem.getAttribute("id"); - Set keyGroupEntries = - buildKeyGroupEntries(keyGroupId, keyModuleIds, keyGroupElem); - KeyGroup keyGroup = new KeyGroup(keyGroupId, keyGroupEntries); - - if (keyGroups.containsKey(keyGroupId)) { - warn("config.04", new Object[] { "KeyGroup", keyGroupId }); - } else { - keyGroups.put(keyGroup.getId(), keyGroup); - } - } - - return keyGroups; - } - - /** - * Return the set of IDs contained in the given KeyModules. - * - * @param keyModules The KeyModules from which to extract the - * IDs. - * @return The IDs from the given KeyModules. - */ - private Set toIdSet(List keyModules) { - Set ids = new HashSet(); - Iterator iter; - - for (iter = keyModules.iterator(); iter.hasNext();) { - KeyModule keyModule = (KeyModule) iter.next(); - ids.add(keyModule.getId()); - } - - return ids; - } - - /** - * Build the key entries belonging to a key group. - * - * @param keyGroupId The ID of the key group we are building here. Passed - * for logging purposes. - * @param keyModuleIds The IDs of the HardwareKeyModules and - * SoftwareKeyModules that exist in the configuration. - * @param keyGroupElem The KeyGroup DOM element to parse. - * @return A Set of KeyGroupEntry objects. - */ - private Set buildKeyGroupEntries( - String keyGroupId, - Set keyModuleIds, - Element keyGroupElem) { - - Set entries = new HashSet(); - NodeIterator keyEntryIter; - Element keyEntryElem; - - // select all Key elements and put them into the Map - keyEntryIter = XPathUtils.selectNodeIterator(keyGroupElem, KEY_XPATH); - while ((keyEntryElem = (Element) keyEntryIter.nextNode()) != null) { - String keyModuleId = - getElementValue(keyEntryElem, KEY_MODULE_ID_XPATH, ""); - Element keyCertElem = - (Element) XPathUtils.selectSingleNode(keyEntryElem, KEY_CERT_XPATH); - IssuerAndSerial issuerSerial = buildIssuerAndSerial(keyCertElem); - - if (!keyModuleIds.contains(keyModuleId)) { - warn("config.26", new Object[] { keyGroupId, keyModuleId }); - } else if (issuerSerial != null) { - KeyGroupEntry entry = new KeyGroupEntry(keyModuleId, issuerSerial); - entries.add(entry); - } - } - return entries; - } - - /** - * Build the key group mapping. - * - * @param keyGroups The available key groups. - * @param anonymous The IssuerAndSerial to be used for key group - * mappings not protected by a certificate. - * @return The key group mapping. - */ - public Map buildKeyGroupMappings(Map keyGroups, IssuerAndSerial anonymous) { - Map mappings = new HashMap(); - NodeIterator mappingIter; - Element mappingElem; - - // select all KeyGroupMapping elements - mappingIter = - XPathUtils.selectNodeIterator(getConfigElem(), KEYGROUP_MAPPING_XPATH); - - // build the mapping for each KeyGroupMapping element - while ((mappingElem = (Element) mappingIter.nextNode()) != null) { - Element issuerSerialElem = - (Element) XPathUtils.selectSingleNode(mappingElem, ISSUER_SERIAL_XPATH); - IssuerAndSerial issuerAndSerial; - - // build the IssuerAndSerial who has access to the key groups - if (issuerSerialElem != null) { - issuerAndSerial = buildIssuerAndSerial(issuerSerialElem); - } else { - // IssuerSerial element: the keygroup is generally available - issuerAndSerial = anonymous; - } - - // add the key groups to the mappings - if (issuerAndSerial != null) { - Map groups = (Map) mappings.get(issuerAndSerial); - NodeIterator keyGroupIter; - Element keyGroupElem; - - if (groups == null) { - // no mapping exist -> build one - groups = new HashMap(); - mappings.put(issuerAndSerial, groups); - } - - // select the available key groups and add them to the mapping - keyGroupIter = - XPathUtils.selectNodeIterator( - mappingElem, - KEYGROUP_MAPPING_KEYGROUP_XPATH); - while ((keyGroupElem = (Element) keyGroupIter.nextNode()) != null) { - String keyGroupId = keyGroupElem.getAttribute("id"); - KeyGroup keyGroup = (KeyGroup) keyGroups.get(keyGroupId); - - if (keyGroup != null) { - groups.put(keyGroupId, keyGroup); - } else { - warn("config.00", new Object[] { keyGroupId }); - } - } - } - } - - return mappings; - } - - /** - * Returns the default chaining mode from the configuration. - * - * @return The default chaining mode. - */ - public String getDefaultChainingMode() { - String defaultChaining = - getAttributeValue( - getConfigElem(), - CHAINING_MODES_DEFAULT_XPATH, - CM_CHAINING); - - return translateChainingMode(defaultChaining); - - } - - /** - * Build the chaining modes for all configured trust anchors. - * - * @return The mapping from trust anchors to chaining modes. - */ - public Map buildChainingModes() { - Map chainingModes = new HashMap(); - NodeIterator trustIter = - XPathUtils.selectNodeIterator(getConfigElem(), TRUST_ANCHOR_XPATH); - Element trustAnchorElem; - - while ((trustAnchorElem = (Element) trustIter.nextNode()) != null) { - IssuerAndSerial issuerAndSerial = buildIssuerAndSerial(trustAnchorElem); - String mode = trustAnchorElem.getAttribute("mode"); - - if (issuerAndSerial != null) { - chainingModes.put(issuerAndSerial, translateChainingMode(mode)); - } - } - - return chainingModes; - } - - /** - * Build an IssuerAndSerial from the DOM representation. - * - * @param root The root element (being of type dsig: - * X509IssuerSerialType. - * @return The issuer and serial number contained in the root - * element or null if could not be built for any reason. - */ - private IssuerAndSerial buildIssuerAndSerial(Element root) { - String issuer = getElementValue(root, ISSUER_XPATH, null); - String serial = getElementValue(root, SERIAL_XPATH, null); - - if (issuer != null && serial != null) { - try { - RFC2253NameParser nameParser = new RFC2253NameParser(issuer); - Principal issuerDN = nameParser.parse(); - - return new IssuerAndSerial(issuerDN, new BigInteger(serial)); - } catch (RFC2253NameParserException e) { - warn("config.16", new Object[] { issuer, serial }, e); - return null; - } catch (NumberFormatException e) { - warn("config.16", new Object[] { issuer, serial }, e); - return null; - } - } - return null; - } - - /** - * Translate the chaining mode from the configuration file to one used in the - * IAIK MOA API. - * - * @param chainingMode The chaining mode from the configuration. - * @return The chaining mode as provided by the ChainingModes - * interface. - * @see iaik.pki.pathvalidation.ChainingModes - */ - private String translateChainingMode(String chainingMode) { - if (chainingMode.equals(CM_CHAINING)) { - return ChainingModes.CHAIN_MODE; - } else if (chainingMode.equals(CM_PKIX)) { - return ChainingModes.PKIX_MODE; - } else { - return ChainingModes.CHAIN_MODE; - } - } - - /** - * Build the CRL distribution points mapping. - * - * @return The mapping from certificate authorities to distribution points. - */ - public Map buildCRLDistributionPoints() { - Map crlDps = new HashMap(); - NodeIterator crlDpIter; - Element crlDpElem; - - // select all CRLDistributionPoint elements and build the - // CRLDistributionPoints - crlDpIter = - XPathUtils.selectNodeIterator( - getConfigElem(), - CRL_DISTRIBUTION_POINT_XPATH); - - // build the mapping of CA name to distribution points - while ((crlDpElem = (Element) crlDpIter.nextNode()) != null) { - String caIssuerDNText = - getElementValue(crlDpElem, CA_ISSUER_DN_XPATH, ""); - RFC2253NameParser nameParser = new RFC2253NameParser(caIssuerDNText); - NodeIterator dpIter = - XPathUtils.selectNodeIterator(crlDpElem, DISTRIBUTION_POINT_XPATH); - String caIssuerDN; - Set dps; - Element dpElem; - - try { - caIssuerDN = nameParser.parse().getName(); - - // check, if a mapping exists or make a new mapping - dps = (Set) crlDps.get(caIssuerDN); - if (dps == null) { - dps = new HashSet(); - crlDps.put(caIssuerDN, dps); - } - - // add the distribution points of this CA to the set - while ((dpElem = (Element) dpIter.nextNode()) != null) { - DistributionPoint dp = buildDistributionPoint(dpElem); - dps.add(dp); - } - } catch (RFC2253NameParserException e) { - warn("config.13", new Object[] { caIssuerDNText }, e); - } - - } - - return crlDps; - } - - /** - * Build a distribution point from the DOM representation. - * - * @param dpElem The root element of the distribution point. - * @return The distribution point. - */ - private DistributionPoint buildDistributionPoint(Element dpElem) { - String uri = dpElem.getAttribute("uri"); - String reasonCodes = dpElem.getAttribute("reasonCodes"); - - return new DistributionPoint(uri, reasonCodes != null ? reasonCodes : ""); - } - - /** - * Return the CRL archive duration. - * - * @return The value of the CRL archive duration setting from the - * configuration. - */ - public int getCRLArchiveDuration() { - Element crlArchiveElem = - (Element) XPathUtils.selectSingleNode(getConfigElem(), CRL_ARCHIVE_XPATH); - String crlArchiveDuration; - - if (crlArchiveElem == null) { - return 0; - } - - try { - crlArchiveDuration = crlArchiveElem.getAttribute("duration"); - return Integer.parseInt(crlArchiveDuration); - } catch (NumberFormatException e) { - warn("config.01", null); - return 0; - } - } - - /** - * Build the CreateTransformsInfoProfiles. - * - * @param configRoot The directory of the main configuration file. Used for - * lookup of profiles with relative file names. - * @return The mapping from profile ID to profile. - */ - public Map buildCreateTransformsInfoProfiles(File configRoot) { - return loadProfiles( - configRoot, - CREATE_TRANSFORMS_INFO_PROFILE_XPATH, - "CreateTransformsInfoProfile"); - } - - /** - * Build the CreateSignatureEnvironmentProfiles. - * - * @param configRoot The directory of the main configuration file. Used for - * lookup of profiles with relative file names. - * @return The mapping from profile ID to profile. - */ - public Map buildCreateSignatureEnvironmentProfiles(File configRoot) { - return loadProfiles( - configRoot, - CREATE_SIGNATURE_ENVIRONMENT_PROFILE_XPATH, - "CreateSignatureEnvironmentProfile"); - } - - /** - * Build the VerifyTransformsInfoProfiles. - * - * @param configRoot The directory of the main configuration file. Used for - * lookup of profiles with relative file names. - * @return The mapping from profile ID to profile. - */ - public Map buildVerifyTransformsInfoProfiles(File configRoot) { - return loadProfiles( - configRoot, - VERIFY_TRANSFORMS_INFO_PROFILE_XPATH, - "VerifyTransformsInfoProfile"); - } - - /** - * Build the SupplementProfiles. - * - * @param configRoot The directory of the main configuration file. Used for - * lookup of profiles with relative file names. - * @return The mapping from profile ID to profile. - */ - public Map buildSupplementProfiles(File configRoot) { - return loadProfiles( - configRoot, - SUPPLEMENT_PROFILE_XPATH, - "SupplementProfile"); - } - - /** - * Load a profile mapping. - * - * @param root The absolute directory path of the main configuration file. - * @param xpath The XPath to select the profiles from the configuration. - * @param profileRoot The name of the profile root element. - * @return Map The profile ID to profile mapping. - */ - private Map loadProfiles(File root, String xpath, String profileRoot) { - Map profiles = new HashMap(); - NodeIterator profileIter = - XPathUtils.selectNodeIterator(getConfigElem(), xpath); - Element profileElem; - - while ((profileElem = (Element) profileIter.nextNode()) != null) { - String id = profileElem.getAttribute("id"); - String fileName = profileElem.getAttribute("filename"); - - if (profiles.containsKey(id)) { - warn("config.04", new Object[] { profileRoot, id }); - } else { - Element profile; - - try { - File profileFile = new File(fileName); - - // make profileFile absolute - if (!profileFile.isAbsolute()) { - profileFile = new File(root, fileName); - } - - // load the profile - info( - "config.22", - new Object[] { profileRoot, id, profileFile.getAbsoluteFile()}); - profile = loadProfile(profileFile); - - if (profile.getTagName().equals(profileRoot)) { - profiles.put(id, profile); - } else { - warn("config.02", new Object[] { profileRoot, id, fileName }); - } - } catch (ConfigurationException e) { - warn("config.03", new Object[] { profileRoot, id }); - } - } - - } - - return profiles; - } - - /** - * Load a profile from a file. - * - * @param root The absolute directory path of the main configuration file. - * @param profileFile The file containing the profile. - * @return The profile in its DOM representation. - * @throws ConfigurationException An error occurred loading the profile. - */ - private Element loadProfile(File profileFile) throws ConfigurationException { - - Element profile; - - try { - profile = parseXml(new FileInputStream(profileFile)); - } catch (Exception e) { - throw new ConfigurationException("config.12", null, e); - } - - return profile; - } - - /** - * Bulid the trust profile mapping. - * - * @param configRoot The absolute path to the main configuration file. - * @return The profile ID to profile mapping. - */ - public Map buildTrustProfiles(File configRoot) { - Map trustProfiles = new HashMap(); - NodeIterator profileIter = - XPathUtils.selectNodeIterator(getConfigElem(), TRUST_PROFILE_XPATH); - Element profileElem; - - while ((profileElem = (Element) profileIter.nextNode()) != null) { - String id = profileElem.getAttribute("id"); - String uriStr = profileElem.getAttribute("uri"); - - try { - URI uri = new URI(uriStr); - TrustProfile profile; - File profileDir; - - if (!uri.isAbsolute()) { // make it absolute to the config file - uri = new URI(configRoot.toURL() + uriStr); - } - - profileDir = new File(uri.getPath()); - if (!profileDir.exists() || !profileDir.isDirectory()) { - warn("config.27", new Object[] { id }); - } - - if (trustProfiles.containsKey(id)) { - warn("config.04", new Object[] { "TrustProfile", id }); - } else { - profile = new TrustProfile(id, uri.toString()); - trustProfiles.put(id, profile); - } - - } catch (URIException e) { - warn("config.14", new Object[] { id, uriStr }, e); - } catch (MalformedURLException e) { - warn("config.15", null, e); - } - } - - return trustProfiles; - } - - // - // various utility methods - // - - /** - * Parse a configuration XML file. - * - * @param inputStream The stream from which to read the XML data. - * @return The DOM representation of the XML data. - * @throws ParserConfigurationException XML parser not configured properly. - * @throws SAXException An error parsing the XML file. - * @throws IOException An error reading the stream. - */ - private static Element parseXml(InputStream inputStream) - throws ParserConfigurationException, SAXException, IOException { - return DOMUtils - .parseDocument(inputStream, true, Constants.ALL_SCHEMA_LOCATIONS, null) - .getDocumentElement(); - } - - /** - * Return the value of an element located by an XPath. - * - * @param root The root element from which to evaluate the xpath. - * @param xpath The XPath pointing to the element. - * @param def The default value, if no element can be found with the given - * xpath. - * @return The element value or def, if the element cannot be - * found. - */ - private String getElementValue(Element root, String xpath, String def) { - - Element elem = (Element) XPathUtils.selectSingleNode(root, xpath); - return elem != null ? DOMUtils.getText(elem) : def; - } - - /** - * Return the value of an attribute located by an XPath. - * - * @param root The root element from which to evaluate the xpath. - * @param xpath The XPath pointing to the attribute. - * @param def The default value, if no attribute can be found with the given - * xpath. - * @return The element value or def, if the attribute cannot be - * found. - */ - private String getAttributeValue(Element root, String xpath, String def) { - Attr attr = (Attr) XPathUtils.selectSingleNode(root, xpath); - return attr != null ? attr.getValue() : def; - } - - /** - * Log an info message. - * - * @param messageId The message ID. - * @param parameters Additional parameters for the message. - * @see at.gv.egovernment.moa.spss.server.util.MessageProvider - */ - private static void info(String messageId, Object[] parameters) { - MessageProvider msg = MessageProvider.getInstance(); - Logger.info(new LogMsg(msg.getMessage(messageId, parameters))); - } - - /** - * Log a warning. - * - * @param messageId The message ID. - * @param args Additional parameters for the message. - * @see at.gv.egovernment.moa.spss.server.util.MessageProvider - */ - private void warn(String messageId, Object[] args) { - MessageProvider msg = MessageProvider.getInstance(); - String txt = msg.getMessage(messageId, args); - - Logger.warn(new LogMsg(txt)); - warnings.add(txt); - } - - /** - * Log a warning. - * - * @param messageId The message ID. - * @param args Additional parameters for the message. - * @param t An exception being the cause of the warning. - * @see at.gv.egovernment.moa.spss.server.util.MessageProvider - */ - private void warn(String messageId, Object[] args, Throwable t) { - MessageProvider msg = MessageProvider.getInstance(); - String txt = msg.getMessage(messageId, args); - - Logger.warn(new LogMsg(txt), t); - warnings.add(txt); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java deleted file mode 100644 index c3ba9fe23..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationProvider.java +++ /dev/null @@ -1,673 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.math.BigInteger; -import java.net.URL; -import java.security.Principal; -import java.security.cert.X509Certificate; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.w3c.dom.Element; - -import iaik.asn1.structures.Name; -import iaik.utils.RFC2253NameParser; -import iaik.utils.RFC2253NameParserException; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.DOMUtils; - -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A class providing access to the MOA configuration data. - * - *

    Configuration data is read from an XML file, whose location is given by - * the moa.spss.server.configuration system property.

    - *

    This class implements the Singleton pattern. The reload() - * method can be used to update the configuration data. Therefore, it is not - * guaranteed that consecutive calls to getInstance() will return - * the same ConfigurationProvider all the time. During the - * processing of a web service request, the current - * TransactionContext should be used to obtain the - * ConfigurationProvider local to that request.

    - * - * @author Patrick Peck - * @author Sven Aigner - * @version $Id$ - */ -public class ConfigurationProvider { - - /** - * The name of the system property which contains the file name of the - * configuration file. - */ - public static final String CONFIG_PROPERTY_NAME = - "moa.spss.server.configuration"; - - /** - * The name of the generic configuration property giving the root directory of - * a directory based cert store. - */ - public static final String DIRECTORY_CERTSTORE_PARAMETER_PROPERTY = - "DirectoryCertStoreParameters.RootDir"; - - /** The name of the generic configuration property which determines if - * certificates should be added to the cert store automatically. */ - public static final String AUTO_ADD_CERTIFICATES_PROPERTY = - "autoAddCertificates"; - - /** The name of the generic configuration property whether the authority - * info access should be used. */ - public static final String USE_AUTHORITY_INFO_ACCESS_PROPERTY = - "useAuthorityInfoAccess"; - - /** The name of the generic configuration property determining the maximum - * age of CRL entries. */ - public static final String MAX_REVOCATION_AGE_PROPERTY = "maxRevocationAge"; - - /** - * The name of the generic configuration property giving the database URL of - * the CRL archive. - */ - public static final String DATABASE_ARCHIVE_PARAMETER_URL_PROPERTY = - "DataBaseArchiveParameter.JDBCUrl"; - - /** - * The name of the generic configuration property giving the JDBC driver - * class name for accessing the database used for the the CRL archive. - */ - public static final String DATABASE_ARCHIVE_PARAMETER_DRIVERCLASS_PROPERTY = - "DataBaseArchiveParameter.JDBCDriverClass"; - - /** The name of the generic configuration property determining whether - * to check the revocation status of signer certificates. */ - public static final String REVOCATION_CHECKING_PROPERTY = "checkRevocation"; - - /** The name of the generic configuration property determining whether to - * archive revocation information. */ - public static final String ARCHIVE_REVOCATION_INFO_PROPERTY = - "archiveRevocationInfo"; - - /** The name of the generic configuration property used for setting the - * signing time to a predefined value. (Use for testing purposes only). */ - public static final String TEST_SIGNING_TIME_PROPERTY = "test.SigningTime"; - - /** - * A fake IssuerAndSerial object for storing KeyGroup information - * accessible by all clients. - */ - private static final IssuerAndSerial ANONYMOUS_ISSUER_SERIAL = - new IssuerAndSerial(new Name(), new BigInteger("0")); - - /** Singleton instance. null, if none has been created. */ - private static ConfigurationProvider instance; - - // - // configuration data - // - - /** The warnings generated when building the configuration. */ - private List warnings = new ArrayList(); - - /** The default digest method algorithm name */ - private String digestMethodAlgorithmName; - - /** The default canonicalization algorithm name */ - private String canonicalizationAlgorithmName; - - /** - * A Map which contains generic configuration information. Maps a - * configuration name (a String) to a configuration value (also a - * String). - */ - private Map genericConfiguration; - - /** - * A List of HardwareCryptoModule objects for - * configuring hardware modules. - */ - private List hardwareCryptoModules; - - /** - * A List of HardwareKey objects containing the - * configuration data for hardware keys. - */ - private List hardwareKeyModules; - - /** - * A List of SoftwareKey objects containing the - * configuration data for software keys. - */ - private List softwareKeyModules; - - /** - * A Map which contains a KeyGroupId (a String) to - * KeyGroup mapping. - */ - private Map keyGroups; - - /** - * A Map which contains the IssuerAndSerial to - * KeyGroup mapping. - */ - private Map keyGroupMappings; - - /** The default chaining mode. */ - private String defaultChainingMode; - - /** - * A Map which contains the IssuerAndSerial to - * chaining mode (a String) mapping. - */ - private Map chainingModes; - - /** - * A Map which contains the CAIssuerDN (a String) - * to distribution points (a Set of - * DistributionPoints) mapping. - */ - private Map crlDistributionPoints; - - /** The CRL archive duration. */ - private int cRLArchiveDuration; - - /** - * A Map which contains a mapping from - * CreateSignatureEnvironmentProfile Ids (String) to - * CreateSignatureEnvironmentProfile elements (an Element). - */ - private Map createSignatureEnvironmentProfiles; - - /** - * A Map which contains a mapping from - * CreateTransformsInfoProfile Ids (String) to - * CreateTransformsInfoProfile elements (an Element). - */ - private Map createTransformsInfoProfiles; - - /** - * A Map which contains a mapping from - * VerifyTransformsInfoProfile Ids (String) to - * VerifyTransformsInfoProfile elements (an Element). - */ - private Map verifyTransformsInfoProfiles; - - /** - * A Map which contains a mapping from - * SupplementProfile Ids (String) to SupplementProfile elements - * (an Element). - */ - private Map supplementProfiles; - - /** - * A Map which contains a TrustProfile Id (a String - * to trust profile (a TrustProfile) mapping. - */ - private Map trustProfiles; - - /** - * Return the single instance of configuration data. - * - * @return MOAConfigurationProvider The current configuration data. - * @throws ConfigurationException Failure to load the configuration data. - */ - public static synchronized ConfigurationProvider getInstance() - throws ConfigurationException { - - if (instance == null) { - reload(); - } - return instance; - } - - /** - * Reload the configuration data and set it if successful. - * - * @return MOAConfigurationProvider The loaded configuration data. - * @throws ConfigurationException Failure to load the configuration data. - */ - public static synchronized ConfigurationProvider reload() - throws ConfigurationException { - String fileName = System.getProperty(CONFIG_PROPERTY_NAME); - - if (fileName == null) { - // find out where we are running and use the configuration provided - // under WEB-INF/conf/moa-spss/MOA-SPSSConfiguration - URL url = ConfigurationProvider.class.getResource("/"); - fileName = - new File(url.getPath()).getParent() - + "/conf/moa-spss/MOA-SPSSConfiguration.xml"; - info("config.05", new Object[] { CONFIG_PROPERTY_NAME }); - } - - instance = new ConfigurationProvider(fileName); - return instance; - } - - /** - * Constructor for ConfigurationProvider. - * - * @param fileName The name of the configuration file. - * @throws ConfigurationException An error occurred loading the configuration. - */ - public ConfigurationProvider(String fileName) throws ConfigurationException { - load(fileName); - } - - /** - * Load the configuration data from XML file with the given name and build - * the internal data structures representing the MOA configuration. - * - * @param fileName The name of the XML file to load. - * @throws ConfigurationException The MOA configuration could not be - * read/built. - */ - private void load(String fileName) throws ConfigurationException { - FileInputStream stream = null; - File configFile; - File configRoot; - Element configElem; - ConfigurationPartsBuilder builder; - List allKeyModules; - - - // load the main config file - try { - configFile = new File(fileName); - configRoot = new File(configFile.getParent()); - info("config.21", new Object[] { configFile.getAbsoluteFile()}); - stream = new FileInputStream(fileName); - configElem = DOMUtils.parseXmlValidating(new FileInputStream(fileName)); - } catch (Throwable t) { - throw new ConfigurationException("config.10", null, t); - } - - // build the internal datastructures - try { - builder = new ConfigurationPartsBuilder(configElem); - digestMethodAlgorithmName = builder.getDigestMethodAlgorithmName(); - canonicalizationAlgorithmName = - builder.getCanonicalizationAlgorithmName(); - hardwareCryptoModules = builder.buildHardwareCryptoModules(); - hardwareKeyModules = - builder.buildHardwareKeyModules(Collections.EMPTY_LIST); - softwareKeyModules = - builder.buildSoftwareKeyModules(hardwareKeyModules, configRoot); - allKeyModules = new ArrayList(hardwareKeyModules); - allKeyModules.addAll(softwareKeyModules); - keyGroups = builder.buildKeyGroups(allKeyModules); - keyGroupMappings = - builder.buildKeyGroupMappings(keyGroups, ANONYMOUS_ISSUER_SERIAL); - defaultChainingMode = builder.getDefaultChainingMode(); - chainingModes = builder.buildChainingModes(); - crlDistributionPoints = builder.buildCRLDistributionPoints(); - cRLArchiveDuration = builder.getCRLArchiveDuration(); - genericConfiguration = builder.buildGenericConfiguration(); - absolutizeCertStoreRoot(configRoot); - createTransformsInfoProfiles = - builder.buildCreateTransformsInfoProfiles(configRoot); - createSignatureEnvironmentProfiles = - builder.buildCreateSignatureEnvironmentProfiles(configRoot); - verifyTransformsInfoProfiles = - builder.buildVerifyTransformsInfoProfiles(configRoot); - supplementProfiles = builder.buildSupplementProfiles(configRoot); - trustProfiles = builder.buildTrustProfiles(configRoot); - warnings = new ArrayList(builder.getWarnings()); - checkConsistency(); - } catch (Throwable t) { - throw new ConfigurationException("config.11", null, t); - } finally { - try { - if (stream != null) { - stream.close(); - } - } catch (IOException e) { - // don't complain about this - } - } - } - - /** - * Returns the warnings encountered during building the configuration. - * - * @return A List of Strings, containing the - * warning messages. - */ - public List getWarnings() { - return warnings; - } - - /** - * Make the DIRECTORY_CERTSTORE_PARAMETER_PROPERTY generic - * configuration value an absolute file name. - * - * @param configRoot The root directory of the main configuration file. - */ - private void absolutizeCertStoreRoot(File configRoot) { - String certStoreRoot = - getGenericConfiguration(DIRECTORY_CERTSTORE_PARAMETER_PROPERTY); - - if (certStoreRoot != null) { - if (!new File(certStoreRoot).isAbsolute()) { - // make the cert store absolute - File absCertStore = new File(configRoot, certStoreRoot); - - setGenericConfiguration( - DIRECTORY_CERTSTORE_PARAMETER_PROPERTY, - absCertStore.getAbsolutePath()); - } - } else { - // no value given: set it to a reasonable (absolute) default - File absCertStore = new File(configRoot, "certstore"); - - setGenericConfiguration( - DIRECTORY_CERTSTORE_PARAMETER_PROPERTY, - absCertStore.getAbsolutePath()); - } - } - - /** - * Do some additional consistency checks on the configuration. - */ - private void checkConsistency() { - // check for valid DirectoryCertStoreParameters.RootDir - String certStoreRoot = - getGenericConfiguration(DIRECTORY_CERTSTORE_PARAMETER_PROPERTY); - - if (certStoreRoot != null) { - File certStore = new File(certStoreRoot); - - if (!certStore.exists() && !certStore.isDirectory()) { - boolean created = false; - - try { - created = certStore.mkdirs(); - } finally { - if (!created) { - warn( - "config.30", - new Object[] { DIRECTORY_CERTSTORE_PARAMETER_PROPERTY }); - } - } - } - } - - } - - /** - * Return the name of the digest algorithm used during signature creation. - * - * @return The digest method algorithm name, or an empty String, - * if none has been configured. - */ - public String getDigestMethodAlgorithmName() { - return digestMethodAlgorithmName; - } - - /** - * Return the name of the canonicalization algorithm used during signature - * creation. - * - * @return The canonicalization algorithm name, or an empty - * String if none has been configured. - */ - public String getCanonicalizationAlgorithmName() { - return canonicalizationAlgorithmName; - } - - /** - * Return the configured hardware crypto modules. - * - * @return A List of HardwareCryptoModule objects - * containing the hardware crypto module configurations. - */ - public List getHardwareCryptoModules() { - return hardwareCryptoModules; - } - - /** - * Return the hardware key modules configuration. - * - * @return A List of HardwareKeyModule objects - * containing the configuration of the hardware key modules. - */ - public List getHardwareKeyModules() { - return hardwareKeyModules; - } - - /** - * Return the software key module configuration. - * - * @return A List of SoftwareKeyModule objects - * containing the configuration of the software key modules. - */ - public List getSoftwareKeyModules() { - return softwareKeyModules; - } - - /** - * Return the key group mapping. - * - * @return A mapping from key group ID (a String) to - * KeyGroup mapping. - */ - public Map getKeyGroups() { - return keyGroups; - } - - /** - * Return the set of KeyGroupEntrys of a given key group, which a - * client (identified by an issuer/serial pair) may access. - * - * @param issuer The issuer of the client certificate. - * @param serial The serial number of the client certificate. - * @param keyGroupId The ID of the key group. - * @return A Set of all the KeyGroupEntrys in the - * given key group, if the user may access them. Returns null, if - * the user may not access the given key group or if the key group does not - * exist. - */ - public Set getKeyGroupEntries( - Principal issuer, - BigInteger serial, - String keyGroupId) { - - IssuerAndSerial issuerAndSerial; - Map mapping; - - if (issuer == null && serial == null) { - issuerAndSerial = ANONYMOUS_ISSUER_SERIAL; - } else { - issuerAndSerial = new IssuerAndSerial(issuer, serial); - } - - mapping = (Map) keyGroupMappings.get(issuerAndSerial); - if (mapping != null) { - KeyGroup keyGroup = (KeyGroup) mapping.get(keyGroupId); - - if (keyGroup != null) { - return keyGroup.getKeyGroupEntries(); - } - } - return null; - } - - /** - * Return the chaining mode for a given trust anchor. - * - * @param trustAnchor The trust anchor for which the chaining mode should be - * returned. - * @return The chaining mode for the given trust anchor. If the trust anchor - * has not been configured separately, the system default will be returned. - */ - public String getChainingMode(X509Certificate trustAnchor) { - Principal issuer = trustAnchor.getIssuerDN(); - BigInteger serial = trustAnchor.getSerialNumber(); - IssuerAndSerial issuerAndSerial = new IssuerAndSerial(issuer, serial); - - String mode = (String) chainingModes.get(issuerAndSerial); - return mode != null ? mode : defaultChainingMode; - } - - /** - * Return the CRL distribution points for a given CA. - * - * @param cert The certificate for which the CRL distribution points should be - * looked up. The issuer information is used to perform the lookup. - * @return A Set of DistributionPoint objects. The - * set will be empty, if no distribution points have been configured for this - * certificate. - */ - public Set getCRLDP(X509Certificate cert) { - try { - RFC2253NameParser nameParser = - new RFC2253NameParser(cert.getIssuerDN().toString()); - String caIssuerDN = nameParser.parse().getName(); - Set dps = (Set) crlDistributionPoints.get(caIssuerDN); - - if (dps == null) { - return Collections.EMPTY_SET; - } - return dps; - } catch (RFC2253NameParserException e) { - return Collections.EMPTY_SET; - } - } - - /** - * Return the CRL archive duration. - * - * @return The duration of how long to keep CRL archive entries (measured in - * days). - */ - public int getCRLArchiveDuration() { - return cRLArchiveDuration; - } - - /** - * Sets a generic configuration value. - * - * Existing values are overridden. - * - * @param name The name of the generic configuration. - * @param value The new value of the generic configuration. - */ - private void setGenericConfiguration(String name, String value) { - genericConfiguration.put(name, value); - } - - /** - * Return the value of a generic configuration. - * - * @param name The name of the generic configuration. - * @return The value of the generic configuration with the given name, or - * null, if none can be found. - */ - public String getGenericConfiguration(String name) { - return (String) genericConfiguration.get(name); - } - - /** - * Return the value of a generic configuration, or a given default value. - * - * @param name The name of the generic configuration. - * @param defaultValue A default value to be returned in case that the generic - * configuration with the given name does not exist. - * @return The value of the generic configuration with the given name, or the - * defaultValue, if none can be found. - */ - public String getGenericConfiguration(String name, String defaultValue) { - String value = (String) genericConfiguration.get(name); - return value != null ? value : defaultValue; - } - - /** - * Return a CreateTransformsInfoProfile with the given ID. - * - * @param id The CreateTransformsInfoProfile ID. - * @return The CreateTransformsInfoProfile with the given - * ID or null, if none exists. - */ - public Element getCreateTransformsInfoProfile(String id) { - return (Element) createTransformsInfoProfiles.get(id); - } - - /** - * Return a CreateSignatureEnvironmentProfile with the given ID. - * - * @param id The CreateSignatureEnvironmentProfile ID. - * @return The CreateSignatureEnvironmentProfile with the given - * ID or null, if none exists. - */ - public Element getCreateSignatureEnvironmentProfile(String id) { - return (Element) createSignatureEnvironmentProfiles.get(id); - } - - /** - * Return a VerifyTransformsInfoProfile with the given ID. - * - * @param id The VerifyTransformsInfoProfile ID. - * @return The VerifyTransformsInfoProfile with the given ID or - * null, if none exists. - */ - public Element getVerifyTransformsInfoProfile(String id) { - return (Element) verifyTransformsInfoProfiles.get(id); - } - - /** - * Return a SupplementProfile with the given ID. - * - * @param id The SupplementProfile ID. - * @return The SupplementProfile with the given ID or - * null, if none exists. - */ - public Element getSupplementProfile(String id) { - return (Element) supplementProfiles.get(id); - } - - /** - * Return a TrustProfile with the given ID. - * - * @param id The TrustProfile ID. - * @return The TrustProfile with the given ID or - * null, if none exists. - */ - public TrustProfile getTrustProfile(String id) { - return (TrustProfile) trustProfiles.get(id); - } - - /** - * Log a warning. - * - * @param messageId The message ID. - * @param parameters Additional parameters for the message. - * @see at.gv.egovernment.moa.spss.server.util.MessageProvider - */ - private static void info(String messageId, Object[] parameters) { - MessageProvider msg = MessageProvider.getInstance(); - Logger.info(new LogMsg(msg.getMessage(messageId, parameters))); - } - - /** - * Log a warning. - * - * @param messageId The message ID. - * @param args Additional parameters for the message. - * @see at.gv.egovernment.moa.spss.server.util.MessageProvider - */ - private void warn(String messageId, Object[] args) { - MessageProvider msg = MessageProvider.getInstance(); - String txt = msg.getMessage(messageId, args); - - Logger.warn(new LogMsg(txt)); - warnings.add(txt); - } - -} \ No newline at end of file diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/DistributionPoint.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/DistributionPoint.java deleted file mode 100644 index ce9588c87..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/DistributionPoint.java +++ /dev/null @@ -1,134 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -import java.util.HashMap; -import java.util.Map; -import java.util.StringTokenizer; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; - -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A class containing information about a CRL distribution point. - * - * @author Sven Aigner - * @author Patrick Peck - * @version $Id$ - */ -public class DistributionPoint { - - private static Map RC_MAPPING = new HashMap(); - - static { - - // create the mapping between reason code strings and their integer values - RC_MAPPING.put( - "unused", - new Integer(iaik.asn1.structures.DistributionPoint.unused)); - RC_MAPPING.put( - "keyCompromise", - new Integer(iaik.asn1.structures.DistributionPoint.keyCompromise)); - RC_MAPPING.put( - "cACompromise", - new Integer(iaik.asn1.structures.DistributionPoint.cACompromise)); - RC_MAPPING.put( - "affiliationChanged", - new Integer(iaik.asn1.structures.DistributionPoint.affiliationChanged)); - RC_MAPPING.put( - "superseded", - new Integer(iaik.asn1.structures.DistributionPoint.superseded)); - RC_MAPPING.put( - "cessationOfOperation", - new Integer(iaik.asn1.structures.DistributionPoint.cessationOfOperation)); - RC_MAPPING.put( - "certificateHold", - new Integer(iaik.asn1.structures.DistributionPoint.certificateHold)); - RC_MAPPING.put( - "privilegeWithdrawn", - new Integer(iaik.asn1.structures.DistributionPoint.privilegeWithdrawn)); - RC_MAPPING.put( - "aACompromise", - new Integer(iaik.asn1.structures.DistributionPoint.aACompromise)); - } - - /** The distribution point URI. */ - private String uri; - /** The reason codes applicable for the distribution point. */ - private int reasonCodes; - - /** - * Create a DistributionPoint with a URI and a list of reason - * codes. - * - * @param uri The URI of the distribution point. - * @param reasonCodeStr A list of reason codes (a space-separated - * enumeration). - */ - public DistributionPoint(String uri, String reasonCodeStr) { - this.uri = uri; - this.reasonCodes = extractReasonCodes(reasonCodeStr); - } - - /** - * Convert a list of reason codes provided as a String to a - * binary representation. - * - * @param reasonCodeStr A String containing a blank-separated, - * textual representation of reason codes. - * @return int A binary representation of reason codes. - * @see iaik.asn1.structures.DistributionPoint - */ - private int extractReasonCodes(String reasonCodeStr) { - int codes = 0; - StringTokenizer tokenizer = new StringTokenizer(reasonCodeStr); - String token; - Integer reasonCode; - - while (tokenizer.hasMoreTokens()) { - token = tokenizer.nextToken(); - reasonCode = (Integer) RC_MAPPING.get(token); - if (reasonCode != null) { - codes |= reasonCode.intValue(); - } else { - MessageProvider msg = MessageProvider.getInstance(); - Logger.warn( - new LogMsg(msg.getMessage("config.07", new Object[] { token }))); - } - } - - return codes; - } - - /** - * Return the URI of the distribution point. - * - * @return The URI of the distribution point. - */ - public String getUri() { - return uri; - } - - /** - * Return a binary representation of the reason codes of this distribution - * point. - * - * @return The binary representation of the reason codes. - */ - public int getReasonCodes() { - return reasonCodes; - } - - /** - * Return a String representation of this distribution point. - * - * @return The String representation of this distribution point. - * @see java.lang.Object#toString() - */ - public String toString() { - return "(DistributionPoint - " - + ("URI<" + getUri()) - + ("> REASONCODES<" + getReasonCodes() + ">)"); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/HardwareCryptoModule.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/HardwareCryptoModule.java deleted file mode 100644 index 62e8d63a6..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/HardwareCryptoModule.java +++ /dev/null @@ -1,60 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -/** - * Contains configuration data for a hardware crypto module. - * - * @author Patrick Peck - * @version $Id$ - */ -public class HardwareCryptoModule { - /** The name of the module. */ - private String name; - /** The slod ID of the module. */ - private String slotID; - /** The user PIN of the module. */ - private String userPIN; - - /** - * Create a new HardwareCryptoModule. - * - * @param name The name of this HardwareCryptoModule. - * @param slotID The slot ID of this HardwareCryptoModule. - * @param userPIN The user PIN to access this - * HardwareCryptoModule. - */ - public HardwareCryptoModule(String name, String slotID, String userPIN) { - this.name = name; - this.slotID = slotID; - this.userPIN = userPIN; - } - - /** - * Returns the name of this HardwareCryptoModule. - * - * @return The name of this HardwareCryptoModule. - */ - public String getName() { - return name; - } - - /** - * Returns the slot ID of this HardwareCryptoModule. - * - * @return The slot ID. - */ - public String getSlotID() { - return slotID; - } - - - /** - * Returns the user PIN of this HardwareCryptoModule. - * - * @return The user PIN used to access the module. - */ - public String getUserPIN() { - return userPIN; - } - - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/HardwareKeyModule.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/HardwareKeyModule.java deleted file mode 100644 index 622c8d110..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/HardwareKeyModule.java +++ /dev/null @@ -1,59 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -/** - * A class that contains information about a hardware key module. - * - * @author Patrick Peck - * @version $Id$ - */ -public class HardwareKeyModule extends KeyModule { - /** The name of the module. */ - private String name; - /** The slod ID of the module. */ - private String slotID; - /** The user PIN of the module. */ - private String userPIN; - - /** - * Create a new HardwareKey. - * - * @param id The key module ID. - * @param name The name of the key. - * @param slotID The slot ID of the key within the hardware module. May be - * null. - * @param userPIN The user PIN to access the key. - */ - public HardwareKeyModule(String id, String name, String slotID, String userPIN) { - super(id); - this.name = name; - this.slotID = slotID; - this.userPIN = userPIN; - } - - /** - * Return the name of this HardwareKey. - * - * @return The name of this HardwareKey. - */ - public String getName() { - return name; - } - - /** - * Return the slot ID of this HardwareKey. - * - * @return The slot ID of this HardwareKey. - */ - public String getSlotID() { - return slotID; - } - - /** - * Return the user PIN to access this HardwareKey. - * - * @return The user PIN to access this HardwareKey. - */ - public String getUserPIN() { - return userPIN; - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/IssuerAndSerial.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/IssuerAndSerial.java deleted file mode 100644 index 9d9262785..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/IssuerAndSerial.java +++ /dev/null @@ -1,115 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -import java.math.BigInteger; -import java.security.Principal; - -import iaik.asn1.structures.Name; -import iaik.utils.RFC2253NameParser; -import iaik.utils.RFC2253NameParserException; - -/** - * A class containing the issuer and serial number of a certificate, which can - * be used to uniquely identify the certificate. - * - * The issuer is contained as an RFC2253 encoded String. - * - * @author Patrick Peck - * @version $Id$ - */ -public class IssuerAndSerial { - - /** The issuer distinguished name. */ - private String issuerDN; - /** The certificate serial number. */ - private BigInteger serial; - - /** - * Create an IssuerAndSerial object. - * - * The name of the issuer is converted to RFC2253. If it cannot be parsed, the - * DN contained in the issuer is set. - * - * @param issuer The isser of a certificate. - * @param serial The serial number of the certificate. - */ - public IssuerAndSerial(Principal issuer, BigInteger serial) { - RFC2253NameParser parser = new RFC2253NameParser(issuer.getName()); - - try { - this.issuerDN = ((Name) parser.parse()).getRFC2253String(); - } catch (RFC2253NameParserException e) { - this.issuerDN = issuer.getName(); - } - this.serial = serial; - } - - /** - * Create an IssuerAndSerial object. - * - * @param issuerDN The issuer distinguished name. Should be an RFC2253 name. - * @param serial The serial number of the certificate. - */ - public IssuerAndSerial(String issuerDN, BigInteger serial) { - this.issuerDN = issuerDN; - this.serial = serial; - } - - /** - * Return the issuer DN in RFC2253 format. - * - * @return The issuer part of this object. - */ - public String getIssuerDN() { - return issuerDN; - } - - /** - * Return the serial number. - * - * @return The serial number of this object. - */ - public BigInteger getSerial() { - return serial; - } - - /** - * Compare this IssuerAndSerial to another object. - * - * @param other The object to compare this IssuerAndSerial to. - * @return true, if other is an - * IssuerAndSerial object and the issuer and - * serial fields are both equal. false otherwise. - * @see java.lang.Object#equals(java.lang.Object) - */ - public boolean equals(Object other) { - if (other instanceof IssuerAndSerial) { - IssuerAndSerial ias = (IssuerAndSerial) other; - return getIssuerDN().equals(ias.getIssuerDN()) - && getSerial().equals(ias.getSerial()); - } - return false; - } - - /** - * Return the hash code of this IssuerAndSerial. - * - * @return The hash code of this IssuerAndSerial. - * @see java.lang.Object#hashCode() - */ - public int hashCode() { - return issuerDN.hashCode() ^ serial.hashCode(); - } - - /** - * Return a String representation of this - * IssuerAndSerial object. - * - * @return The String representation. - * @see java.lang.Object#toString() - */ - public String toString() { - return ("(IssuerAndSerial - Issuer<" + getIssuerDN()) - + ("> Serial<" + serial.toString() + ">)"); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyGroup.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyGroup.java deleted file mode 100644 index 5fd108e1a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyGroup.java +++ /dev/null @@ -1,69 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -import java.util.Iterator; -import java.util.Set; - -/** - * A collection of KeyGroupEntrys with its own ID. - * - * @author Sven Aigner - * @author Patrick Peck - * @version $Id$ - */ -public class KeyGroup { - - /** The keys belonging to this key group. */ - private Set keyGroupEntries; - /** The key group ID. */ - private String id; - - /** - * Create a KeyGroup. - * - * @param id The ID of this KeyGroup. - * @param keyGroupEntries The keys belonging to this KeyGroup. - */ - public KeyGroup(String id, Set keyGroupEntries) { - this.id = id; - this.keyGroupEntries = keyGroupEntries; - } - - /** - * Return the KeyEntrys contained in this KeyGroup. - * - * @return The KeyEntrys contained in this KeyGroup. - */ - public Set getKeyGroupEntries() { - return keyGroupEntries; - } - - /** - * Return the ID of this KeyGroup. - * - * @return The KeyGroup ID. - */ - public String getId() { - return id; - } - - /** - * Return a String representation of this KeyGroup. - * - * @return The String representation. - * @see java.lang.Object#toString() - */ - public String toString() { - StringBuffer sb = new StringBuffer(); - Iterator i; - - if (getKeyGroupEntries() != null) { - i = getKeyGroupEntries().iterator(); - - while (i.hasNext()) { - sb.append(" " + i.next()); - } - } - return "(KeyGroup - ID:" + id + " " + sb.toString() + ")"; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyGroupEntry.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyGroupEntry.java deleted file mode 100644 index 2e39d6aa3..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyGroupEntry.java +++ /dev/null @@ -1,106 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -import java.math.BigInteger; - -/** - * A class containing information about an entry in a key group. - * - * @author Patrick Peck - * @version $Id$ - */ -public class KeyGroupEntry { - /** The module ID of the key. */ - private String moduleID; - /** The issuer DN of the certificate identifying the key. */ - private String issuerDN; - /** The serial number of the certificate identifying the key. */ - private BigInteger serialNumber; - - /** - * Create a new KeyGroupEntry. - * - * @param moduleID The key module ID to which this entry belongs to. - * @param issuerAndSerial The issuer and serial number which uniquely - * identifies a certificate within the key module. - */ - public KeyGroupEntry(String moduleID, IssuerAndSerial issuerAndSerial) { - this.moduleID = moduleID; - this.issuerDN = issuerAndSerial.getIssuerDN(); - this.serialNumber = issuerAndSerial.getSerial(); - } - - /** - * Create a new KeyGroupEntry. - * - * @param moduleID The key module ID to which this entry belongs to. - * @param issuerDN The isser DN of the certificate within the key module. - * @param serialNumber The serial number of the certificate within the key - * module. - */ - public KeyGroupEntry( - String moduleID, - String issuerDN, - BigInteger serialNumber) { - this.moduleID = moduleID; - this.issuerDN = issuerDN; - this.serialNumber = serialNumber; - } - - /** - * Return the key module ID to which this KeyGroupEntry belongs - * to. - * - * @return The key module ID. - */ - public String getModuleID() { - return moduleID; - } - - /** - * Return the issuer DN of this KeyGroupEntry for identifying the - * certificate within the key module. - * - * @return The issuer DN of the certificate. - */ - public String getIssuerDN() { - return issuerDN; - } - - /** - * Return the serial number of this KeyGroupEntry for identifying - * the certificate within the key module. - * - * @return The serial number of the certificate. - */ - public BigInteger getSerialNumber() { - return serialNumber; - } - - /** - * Compare this KeyGroupEntry to another. - * - * @param other The KeyGroupEntry to compare to. - * @return true, if module ID, isser DN and serial number of - * other match the ones contained in this object, otherwise - * false. - * @see java.lang.Object#equals(Object) - */ - public boolean equals(Object other) { - if (other instanceof KeyGroupEntry) { - KeyGroupEntry entry = (KeyGroupEntry) other; - return getModuleID().equals(entry.getModuleID()) - && getIssuerDN().equals(entry.getIssuerDN()) - && getSerialNumber().equals(entry.getSerialNumber()); - } - return false; - } - - /** - * @see java.lang.Object#hashCode() - */ - public int hashCode() { - return getModuleID().hashCode() - ^ getIssuerDN().hashCode() - ^ getSerialNumber().hashCode(); - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyModule.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyModule.java deleted file mode 100644 index 412516d82..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/KeyModule.java +++ /dev/null @@ -1,41 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -/** - * A class that contains information about a key module. - * - * @author Patrick Peck - * @version $Id$ - */ -public class KeyModule { - - /** The key module ID. */ - private String id; - - /** - * Create a Key object. - * - * @param id The key module ID. - */ - public KeyModule(String id) { - this.id = id; - } - - /** - * Return the key ID. - * - * @return The key ID. - */ - public String getId() { - return id; - } - - /** - * Return a String representation of this Key. - * - * @return The String representation. - * @see java.lang.Object#toString() - */ - public String toString() { - return "(Key - Id<" + id + ">)"; - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/SoftwareKeyModule.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/SoftwareKeyModule.java deleted file mode 100644 index 479e98ca5..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/SoftwareKeyModule.java +++ /dev/null @@ -1,48 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -/** - * A class containing information about a software key, stored in PKCS12 format. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SoftwareKeyModule extends KeyModule { - /** The name of the file containing the keys. */ - private String fileName; - /** The password for accessing the file. */ - private String passWord; - - /** - * Create a new SoftwareKey. - * - * @param id The key ID. - * @param fileName The name of the PKCS12 keystore file containing the key. - * @param passWord The password to access the keystore file. - */ - public SoftwareKeyModule(String id, String fileName, String passWord) { - super(id); - this.fileName = fileName; - this.passWord = passWord; - } - - /** - * Return the name of the PKCS12 keystore file containing this - * SoftwareKey. - * - * @return The name of the PKCS12 keystore file. - */ - public String getFileName() { - return fileName; - } - - /** - * Return the password to access the keystore file. - * - * @return The password to access the keystore file. - */ - public String getPassWord() { - return passWord; - } - - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java deleted file mode 100644 index 6ba33be63..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java +++ /dev/null @@ -1,43 +0,0 @@ -package at.gv.egovernment.moa.spss.server.config; - -/** - * Information about a trust profile. - * - * @author Patrick Peck - * @version $Id$ - */ -public class TrustProfile { - /** The ID of the trust profile. */ - private String id; - /** The URI giving the location of the trust profile. */ - private String uri; - - /** - * Create a TrustProfile. - * - * @param id The ID of the TrustProfile to create. - * @param uri The URI of the TrustProfile to create. - */ - public TrustProfile(String id, String uri) { - this.id = id; - this.uri = uri; - } - - /** - * Return the ID of this TrustProfile. - * - * @return The TrustProfile ID. - */ - public String getId() { - return id; - } - - /** - * Return the URI of this TrustProfile. - * - * @return The URI of TrustProfile. - */ - public String getUri() { - return uri; - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/cmsverify/CMSSignatureVerificationProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/cmsverify/CMSSignatureVerificationProfileImpl.java deleted file mode 100644 index eaee58d3f..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/cmsverify/CMSSignatureVerificationProfileImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.cmsverify; - -import iaik.pki.PKIProfile; -import iaik.server.modules.cmsverify.CMSSignatureVerificationProfile; - -/** - * An implementation of the CMSSignatureVerificationProfile - * interface. - * - * @see iaik.server.modules.cmsverify.CMSSignatureVerificationProfile - * @author Patrick Peck - * @version $Id$ - */ -public class CMSSignatureVerificationProfileImpl - implements CMSSignatureVerificationProfile { - - /** The profile for validating the certificate. */ - private PKIProfile certificateValidationProfile; - - /** - * @see iaik.server.modules.cmsverify.CMSSignatureVerificationProfile#getCertificateValidationProfile() - */ - public PKIProfile getCertificateValidationProfile() { - return certificateValidationProfile; - } - - /** - * Sets the profile for validating the signer certificate. - * - * @param certificateValidationProfile The certificate validation profile to - * set. - */ - public void setCertificateValidationProfile(PKIProfile certificateValidationProfile) { - this.certificateValidationProfile = certificateValidationProfile; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/AbstractKeyModuleConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/AbstractKeyModuleConfigurationImpl.java deleted file mode 100644 index 713891714..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/AbstractKeyModuleConfigurationImpl.java +++ /dev/null @@ -1,36 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.server.modules.keys.KeyModuleConfiguration; - -/** - * Base implementation class for the KeyModuleConfiguration - * interface and the interfaces derived from it. - * - * @see iaik.server.modules.keys.KeyModuleConfiguration - * @author Patrick Peck - * @version $Id$ - */ -public abstract class AbstractKeyModuleConfigurationImpl - implements KeyModuleConfiguration { - - /** The module ID. */ - private String moduleID; - - /** - * Creata new AbstractKeyModuleConfigurationImpl. - * - * @param moduleID The key module ID of this - * KeyModuleConfiguration. - */ - public AbstractKeyModuleConfigurationImpl(String moduleID) { - this.moduleID = moduleID; - } - - /** - * @see iaik.server.modules.keys.KeyModuleConfiguration#getModuleID() - */ - public String getModuleID() { - return moduleID; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/AbstractObservableConfiguration.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/AbstractObservableConfiguration.java deleted file mode 100644 index ac4286701..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/AbstractObservableConfiguration.java +++ /dev/null @@ -1,48 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import iaik.servertools.observer.NotificationData; -import iaik.servertools.observer.Observable; -import iaik.servertools.observer.Observer; - -/** - * A base class for observable configuration data. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class AbstractObservableConfiguration implements Observable { - - /** The observers registered with this Observable. */ - private List observers = new ArrayList(); - - /** - * @see iaik.utils.observer.Observable#addObserver(iaik.utils.observer.Observer) - */ - public void addObserver(Observer observer) { - observers.add(observer); - } - - /** - * @see iaik.utils.observer.Observable#removeObserver(iaik.utils.observer.Observer) - */ - public boolean removeObserver(Observer observer) { - return observers.remove(observer); - } - - /** - * @see iaik.utils.observer.Observable#notify(iaik.utils.observer.NotificationData) - */ - public void notify(NotificationData data) { - Iterator iter = observers.iterator(); - - for (iter = observers.iterator(); iter.hasNext();) { - Observer observer = (Observer) iter.next(); - observer.notify(data); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ArchiveConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ArchiveConfigurationImpl.java deleted file mode 100644 index daff07bd2..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ArchiveConfigurationImpl.java +++ /dev/null @@ -1,103 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.pki.store.revocation.archive.ArchiveConfiguration; -import iaik.pki.store.revocation.archive.ArchiveParameter; -import iaik.pki.store.revocation.archive.ArchiveTypes; - -import java.sql.Driver; -import java.sql.DriverManager; -import java.util.Enumeration; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -/** - * An implementation of the ArchiveConfiguration interface - * using configuration data provided by the MOA configuration file. - * - * @see iaik.pki.store.revocation.archive.ArchiveConfiguration - * @author Patrick Peck - * @version $Id$ - */ -public class ArchiveConfigurationImpl - extends AbstractObservableConfiguration - implements ArchiveConfiguration { - - /** The configuration parameters of the archive. */ - private ArchiveParameter archiveParameters; - - /** - * Create a new ArchiveConfigurationImpl. - * - * @param config The MOA configuration from which the configuration data is - * being read. - */ - public ArchiveConfigurationImpl(ConfigurationProvider config) { - String jdbcUrl = - config.getGenericConfiguration( - ConfigurationProvider.DATABASE_ARCHIVE_PARAMETER_URL_PROPERTY); - - if (jdbcUrl != null) { - this.archiveParameters = new DataBaseArchiveParameterImpl(jdbcUrl); - } - - // Register JDBC driver class specified in generic configuration parameters - String jdbcDriverClass = config.getGenericConfiguration( - ConfigurationProvider.DATABASE_ARCHIVE_PARAMETER_DRIVERCLASS_PROPERTY); - if (jdbcDriverClass != null) - { - try - { - Class.forName(jdbcDriverClass); - } - catch (ClassNotFoundException e) - { - // TODO 20030709 GK Improve exception handling - throw new RuntimeException("JDBC driver class \"" + jdbcDriverClass + " could not be found."); - } - - Enumeration regDrivers = DriverManager.getDrivers(); - boolean isRegistered = false; - while (regDrivers.hasMoreElements()) - { - Object currentDriver = regDrivers.nextElement(); - if (jdbcDriverClass.equals(currentDriver.getClass().getName())) isRegistered = true; - } - if (!isRegistered) - { - // Workaround for a driver which does not register itselve at invocation of Class.forName(drvname) - try - { - DriverManager.registerDriver((Driver)Class.forName(jdbcDriverClass).newInstance()); - } - catch (Exception e) - { - // TODO 20030709 GK Improve exception handling - throw new RuntimeException("Registering JDBC driver \"" + jdbcDriverClass + " failed."); - } - } - } - } - - /** - * Return the type of archive. - * - * This will always return ArchiveTypes.DATABASE. - * @return ArchiveTypes.DATABASE. - * @see iaik.pki.store.revocation.archive.ArchiveConfiguration#getType() - */ - public String getType() { - return ArchiveTypes.DATABASE; - } - - /** - * Return the ArchiveParameters describing this - * ArchiveConfiguration. - * - * @return The archive parameters. - * @see iaik.pki.store.revocation.archive.ArchiveConfiguration#getArchiveParameters() - */ - public ArchiveParameter getArchiveParameters() { - return archiveParameters; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLDistributionPointAdapter.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLDistributionPointAdapter.java deleted file mode 100644 index 1c2df80a5..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLDistributionPointAdapter.java +++ /dev/null @@ -1,54 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.pki.revocation.CRLDistributionPoint; -import iaik.pki.revocation.RevocationSourceTypes; - -import at.gv.egovernment.moa.spss.server.config.DistributionPoint; - -/** - * A class that wraps an - * at.gv.egovernment.moa.spss.server.config.DistributionPoint as a - * iaik.pki.revocation.CRLDistributionPoint. - * - * @see iaik.pki.revocation.CRLDistributionPoint - * @author Patrick Peck - * @version $Id$ - */ -public class CRLDistributionPointAdapter implements CRLDistributionPoint { - - /** The wrapped DistributionPoint. */ - private DistributionPoint distributionPoint; - - /** - * Create a new CRLDistributionPointAdapter. - * - * @param distributionPoint The DistributionPoint to wrap. It - * contains the data configured in the MOA configuration. - */ - public CRLDistributionPointAdapter(DistributionPoint distributionPoint) { - this.distributionPoint = distributionPoint; - } - - /** - * @see iaik.pki.revocation.CRLDistributionPoint#getReasonCodes() - */ - public int getReasonCodes() { - return distributionPoint.getReasonCodes(); - } - - /** - * @return RevocationSourceTypes.CRL - * @see iaik.pki.revocation.DistributionPoint#getType() - */ - public String getType() { - return RevocationSourceTypes.CRL; - } - - /** - * @see iaik.pki.revocation.DistributionPoint#getUri() - */ - public String getUri() { - return distributionPoint.getUri(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java deleted file mode 100644 index c8a454e9f..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CRLRetriever.java +++ /dev/null @@ -1,67 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.logging.TransactionId; -import iaik.pki.revocation.RevocationSourceTypes; -import iaik.pki.store.revocation.RevocationInfoRetriever; -import iaik.pki.store.revocation.RevocationSource; -import iaik.pki.store.revocation.RevocationStoreException; -import iaik.servertools.ldap.Handler; - -import java.io.InputStream; -import java.net.MalformedURLException; -import java.net.URL; -import java.net.URLStreamHandler; -import java.util.Collection; - -import at.gv.egovernment.moa.logging.Logger; - -/** - * A customized implementation of {@link iaik.pki.store.revocation.RevocationInfoRetriever}. Will be used - * instead of the default implementation {@link iaik.pki.store.revocation.CRLRetriever} to overcome a - * classloader problem in connection with the {@link java.net.URL} class in a Tomcat deployment environment. - * - * @author Gregor Karlinger - * @version $$ - */ -public class CRLRetriever implements RevocationInfoRetriever -{ - public void update(RevocationSource source, Collection supplementalRequestData, TransactionId tid) - throws RevocationStoreException - { - if (source == null) - { - throw new NullPointerException("RevocationSource parameter mustn't be null."); - } - Logger.info("Downloading crl from " + source.getUri()); - if (!source.getType().equals(RevocationSourceTypes.CRL)) - { - throw new RevocationStoreException( - source.getType() + " not supported", - null, - getClass().getName() + ":1"); - } - try - { - URL crlUrl; - try - { - crlUrl = new URL(source.getUri()); - } - catch (MalformedURLException e) - { - // Workaround for classloader problem with deployment in Tomcat 4.1 - URLStreamHandler handler = new Handler(); - crlUrl = new URL(null, source.getUri(), handler); - } - - InputStream crlInputStream = crlUrl.openStream(); - source.readFrom(crlInputStream, tid); - crlInputStream.close(); - } - catch (Exception iox) - { - Logger.warn("Cannot retrieve crl", iox); - throw new RevocationStoreException("Cannot retrieve CRL", iox, getClass().getName() + ":1"); - } - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CertStoreConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CertStoreConfigurationImpl.java deleted file mode 100644 index c9be3fc2b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/CertStoreConfigurationImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.pki.store.certstore.CertStoreConfiguration; -import iaik.pki.store.certstore.CertStoreParameters; -import iaik.pki.store.certstore.directory.DirectoryCertStoreParameters; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -/** - * An implementation of the CertStoreConfiguration interface based - * on MOA configuration data. - * - * @see iaik.pki.store.certstore.CertStoreConfiguration - * @author Patrick Peck - * @version $Id$ - */ -public class CertStoreConfigurationImpl - extends AbstractObservableConfiguration - implements CertStoreConfiguration { - - /** The configuration parameters of the CertStore. */ - private CertStoreParameters[] parameters; - - /** - * Create a new CertStoreConfigurationImpl. - * - * @param config The MOA configuration from which the configuration data is - * being read. - */ - public CertStoreConfigurationImpl(ConfigurationProvider config) { - String certStoreRoot = - config.getGenericConfiguration( - ConfigurationProvider.DIRECTORY_CERTSTORE_PARAMETER_PROPERTY, - "certstore"); - - if (certStoreRoot != null) { - DirectoryCertStoreParameters dirParameters = - new DirectoryCertStoreParametersImpl( - "MOA Directory CertStore", - certStoreRoot, - true, - false); - parameters = new CertStoreParameters[] { dirParameters }; - } - } - - /** - * @see iaik.pki.store.certstore.CertStoreConfiguration#getParameters() - */ - public CertStoreParameters[] getParameters() { - return parameters; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImpl.java deleted file mode 100644 index 7aa4cbe4b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImpl.java +++ /dev/null @@ -1,121 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import iaik.logging.LoggerConfig; -import iaik.pki.PKIConfiguration; -import iaik.server.ConfigurationData; - -import at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule; -import at.gv.egovernment.moa.spss.server.config.HardwareKeyModule; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule; - -/** - * An implementation of the ConfigurationData interface using - * MOA configuration data. - * - * @see iaik.server.ConfigurationData - * @author Patrick Peck - * @version $Id$ - */ -public class ConfigurationDataImpl implements ConfigurationData { - /** PKI configuration data. */ - private PKIConfiguration pkiConfiguration; - /** Crypto modules configuration data. */ - private List cryptoModuleConfigurations; - /** Key modules configuration data. */ - private List keyModuleConfigurations; - /** Logging configuration data. */ - private LoggerConfig loggerConfig; - - /** - * Create a new ConfigurationDataImpl. - * - * @param config The underlying MOA configuration data. - */ - public ConfigurationDataImpl(ConfigurationProvider config) { - this.pkiConfiguration = new PKIConfigurationImpl(config); - this.cryptoModuleConfigurations = buildCryptoModuleConfigurations(config); - this.keyModuleConfigurations = buildKeyModuleConfigurations(config); - this.loggerConfig = new LoggerConfigImpl(); - } - - /** - * Build the list of CryptoModuleConfigurations. - * - * @param config The underlying MOA configuration data. - * @return The list of CryptoModuleConfigurations configured in - * the MOA configuration. - */ - private List buildCryptoModuleConfigurations(ConfigurationProvider config) { - List modules = new ArrayList(); - Iterator iter = config.getHardwareCryptoModules().iterator(); - - while (iter.hasNext()) { - HardwareCryptoModule module = (HardwareCryptoModule) iter.next(); - modules.add(new HardwareCryptoModuleConfigurationImpl(module)); - } - - return modules; - } - - /** - * Build the list of KeyModuleConfigurations. - * - * @param config The underlying MOA configuration data. - * @return The list of KeyModuleConfigurations configured in the - * MOA configuration. - */ - private List buildKeyModuleConfigurations(ConfigurationProvider config) { - List keys = new ArrayList(); - Iterator iter; - - // add the hardware keys - iter = config.getHardwareKeyModules().iterator(); - while (iter.hasNext()) { - HardwareKeyModule key = (HardwareKeyModule) iter.next(); - keys.add(new HardwareKeyModuleConfigurationImpl(key)); - } - - // add the software keys - iter = config.getSoftwareKeyModules().iterator(); - while (iter.hasNext()) { - SoftwareKeyModule key = (SoftwareKeyModule) iter.next(); - keys.add(new SoftwareKeyModuleConfigurationImpl(key)); - } - - return keys; - } - - /** - * @see iaik.server.ConfigurationData#getPKIConfiguration() - */ - public PKIConfiguration getPKIConfiguration() { - return pkiConfiguration; - } - - /** - * @see iaik.server.ConfigurationData#getCryptoModuleConfigurations() - */ - public List getCryptoModuleConfigurations() { - return cryptoModuleConfigurations; - } - - /** - * @see iaik.server.ConfigurationData#getKeyModuleConfigurations() - */ - public List getKeyModuleConfigurations() { - return keyModuleConfigurations; - } - - /** - * @see iaik.server.ConfigurationData#getLoggerConfig() - */ - public LoggerConfig getLoggerConfig() { - return loggerConfig; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/DataBaseArchiveParameterImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/DataBaseArchiveParameterImpl.java deleted file mode 100644 index d67523944..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/DataBaseArchiveParameterImpl.java +++ /dev/null @@ -1,33 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.pki.store.revocation.archive.db.DataBaseArchiveParameter; - -/** - * An implementation of the DataBaseArchiveParameter interface. - * - * @see iaik.pki.store.revocation.archive.db.DataBaseArchiveParameter - * @author Patrick Peck - * @version $Id$ - */ -public class DataBaseArchiveParameterImpl implements DataBaseArchiveParameter { - - /** The JDBC URL for accessing the archive. */ - private String jDBCUrl; - - /** - * Create a new DataBaseArchiveParameterImpl. - * - * @param jDBCUrl The JDBC URL of the archive. - */ - public DataBaseArchiveParameterImpl(String jDBCUrl) { - this.jDBCUrl = jDBCUrl; - } - - /** - * @see iaik.pki.store.revocation.archive.db.DataBaseArchiveParameter#getJDBCUrl() - */ - public String getJDBCUrl() { - return jDBCUrl; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/DirectoryCertStoreParametersImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/DirectoryCertStoreParametersImpl.java deleted file mode 100644 index 2b00d6766..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/DirectoryCertStoreParametersImpl.java +++ /dev/null @@ -1,81 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.pki.store.certstore.CertStoreTypes; -import iaik.pki.store.certstore.directory.DirectoryCertStoreParameters; - -/** - * An implementation of the DirectoryCertStoreParameters interface. - * - * @see iaik.pki.store.certstore.directory.DirectoryCertStoreParameters - * @author Patrick Peck - * @version $Id$ - */ -public class DirectoryCertStoreParametersImpl - implements DirectoryCertStoreParameters { - - /** The root directory of the CertStore. */ - private String rootDirectory; - /** Whether a new directory may be created. */ - private boolean createNew; - /** The CertStore ID. */ - private String id; - /** Whether the CertStore is read-only. */ - private boolean readOnly; - - /** - * Create a new DirectoryCertStoreParameterImpl. - * - * @param id The CertStore ID. - * @param rootDirectory The root directory of the CertStore. - * @param createNew Whether a new directory may be created. - * @param readOnly Whether the CertStore is read-only. - */ - public DirectoryCertStoreParametersImpl( - String id, - String rootDirectory, - boolean createNew, - boolean readOnly) { - - this.id = id; - this.rootDirectory = rootDirectory; - this.createNew = createNew; - this.readOnly = readOnly; - } - - /** - * @see iaik.pki.store.certstore.directory.DirectoryCertStoreParameters#getRootDirectory() - */ - public String getRootDirectory() { - return rootDirectory; - } - - /** - * @see iaik.pki.store.certstore.directory.DirectoryCertStoreParameters#createNew() - */ - public boolean createNew() { - return createNew; - } - - /** - * @see iaik.pki.store.certstore.CertStoreParameters#getId() - */ - public String getId() { - return id; - } - - /** - * @see iaik.pki.store.certstore.CertStoreParameters#isReadOnly() - */ - public boolean isReadOnly() { - return readOnly; - } - - /** - * @return CertStoreTypes.DIRECTORY - * @see iaik.pki.store.certstore.CertStoreParameters#getType() - */ - public String getType() { - return CertStoreTypes.DIRECTORY; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/HardwareCryptoModuleConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/HardwareCryptoModuleConfigurationImpl.java deleted file mode 100644 index 3c8f4c002..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/HardwareCryptoModuleConfigurationImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.server.modules.crypto.HardwareCryptoModuleConfiguration; - -import at.gv.egovernment.moa.spss.server.config.HardwareCryptoModule; - -/** - * An implementation of the HardwareCryptoModuleConfiguration - * wrapping a HardwareCryptoModule from the MOA configuration. - * - * @author Patrick Peck - * @version $Id$ - */ -public class HardwareCryptoModuleConfigurationImpl - implements HardwareCryptoModuleConfiguration { - - /** The wrapped HardwareCryptoModule. */ - private HardwareCryptoModule module; - - /** - * Create a new HardwareCryptoModuleConfigurationImpl. - * - * @param module The HardwareCryptoModule from the underlying MOA - * configuration. - */ - public HardwareCryptoModuleConfigurationImpl(HardwareCryptoModule module) { - this.module = module; - } - - /** - * @see iaik.server.modules.crypto.HardwareCryptoModuleConfiguration#getModuleName() - */ - public String getModuleName() { - return module.getName(); - } - - /** - * @see iaik.server.modules.crypto.HardwareCryptoModuleConfiguration#getSlotID() - */ - public String getSlotID() { - return module.getSlotID(); - } - - /** - * @see iaik.server.modules.crypto.HardwareCryptoModuleConfiguration#getUserPIN() - */ - public char[] getUserPIN() { - return module.getUserPIN().toCharArray(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/HardwareKeyModuleConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/HardwareKeyModuleConfigurationImpl.java deleted file mode 100644 index d905588c6..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/HardwareKeyModuleConfigurationImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.server.modules.keys.HardwareKeyModuleConfiguration; - -import at.gv.egovernment.moa.spss.server.config.HardwareKeyModule; - -/** - * An implementation of the HardwareKeyModuleConfiguration - * interface wrapping a HardwareKeyModule from the MOA - * configuration. - * - * @see iaik.server.modules.keys.HardwareKeyModuleConfiguration - * @author Patrick Peck - * @version $Id$ - */ -public class HardwareKeyModuleConfigurationImpl - extends AbstractKeyModuleConfigurationImpl - implements HardwareKeyModuleConfiguration { - - /** The wrapped HardwareKeyModule. */ - private HardwareKeyModule keyModule; - - /** - * Create a new HardwareKeyModuleConfigurationImpl. - * - * @param keyModule The HardwareKeyModule from the underlying - * MOA configuration. - */ - public HardwareKeyModuleConfigurationImpl(HardwareKeyModule keyModule) { - super(keyModule.getId()); - this.keyModule = keyModule; - } - - /** - * @see iaik.server.modules.keys.HardwareKeyModuleConfiguration#getModuleName() - */ - public String getModuleName() { - return keyModule.getName(); - } - - /** - * @see iaik.server.modules.keys.HardwareKeyModuleConfiguration#getSlotID() - */ - public String getSlotID() { - return keyModule.getSlotID(); - } - - /** - * @see iaik.server.modules.keys.HardwareKeyModuleConfiguration#getUserPIN() - */ - public char[] getUserPIN() { - return keyModule.getUserPIN().toCharArray(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.java deleted file mode 100644 index 6562ef1f4..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.java +++ /dev/null @@ -1,172 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import iaik.pki.revocation.RevocationSourceTypes; -import iaik.pki.store.revocation.RevocationFactory; -import iaik.pki.store.revocation.RevocationSourceStore; -import iaik.pki.store.truststore.TrustStoreFactory; -import iaik.server.ConfigurationData; -import iaik.server.Configurator; -import iaik.server.modules.keys.KeyEntryID; -import iaik.server.modules.keys.KeyModule; -import iaik.server.modules.keys.KeyModuleFactory; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationException; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.config.KeyGroup; -import at.gv.egovernment.moa.spss.server.config.KeyGroupEntry; -import at.gv.egovernment.moa.spss.server.logging.TransactionId; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A class responsible for configuring the IAIK MOA modules. - * - * @author Patrick Peck - * @version $Id$ - */ -public class IaikConfigurator { - - /** The warnings encountered during configuration. */ - private List warnings = new ArrayList(); - - /** - * Configure the IAIK MOA subsystem. - * - * - * @param moaConfig The underlying MOA configuration. - * @throws ConfigurationException An error occurred configuring the IAIK - * MOA subsystem. - */ - public void configure(ConfigurationProvider moaConfig) - throws ConfigurationException { - ConfigurationData configData = new ConfigurationDataImpl(moaConfig); - - warnings = new ArrayList(); - - try { - TransactionId transId = new TransactionId("IaikConfigurator"); - Configurator.init(configData, transId); - - // Set customized CRL retriever to overcome a classloader problem when MOA is deployed in Tomcat - RevocationSourceStore rss = RevocationFactory.getInstance(transId).getRevocationSourceStore(); - rss.setRetriever(new CRLRetriever(), RevocationSourceTypes.CRL); - - dumpKeyEntryIDs(); - checkKeyGroupConfig(moaConfig); - TrustStoreFactory.reset(); - } catch (iaik.server.ConfigurationException e) { - throw new ConfigurationException("config.08", null, e); - } catch (Throwable t) { - throw new ConfigurationException("config.08", null, t); - } - } - - /** - * Return the warnings encountered during configuration. - * - * @return The warnings. - */ - public List getWarnings() { - return warnings; - } - - /** - * Dump all KeyEntryIDs contained in the configured - * KeyModules to the log file. - */ - private void dumpKeyEntryIDs() { - MessageProvider msg = MessageProvider.getInstance(); - KeyModule module = KeyModuleFactory.getInstance(new TransactionId("dump")); - Set keyEntryIds = module.getPrivateKeyEntryIDs(); - Iterator iter; - - for (iter = keyEntryIds.iterator(); iter.hasNext();) { - KeyEntryID keyEntryId = (KeyEntryID) iter.next(); - Logger.info( - new LogMsg(msg.getMessage("config.19", new Object[] { keyEntryId }))); - } - } - - /** - * Check that each key group entry in each key group can be resolved to a - * KeyEntryID. - * - * Logs a warning for each key group entry that cannot be resolved. - * - * @param moaConfig The MOA configuration to check. - */ - private void checkKeyGroupConfig(ConfigurationProvider moaConfig) { - Map keyGroups = moaConfig.getKeyGroups(); - Iterator iter; - - for (iter = keyGroups.values().iterator(); iter.hasNext();) { - KeyGroup keyGroup = (KeyGroup) iter.next(); - Set keyGroupEntries = keyGroup.getKeyGroupEntries(); - Iterator kgIter; - - for (kgIter = keyGroupEntries.iterator(); kgIter.hasNext();) { - KeyGroupEntry entry = (KeyGroupEntry) kgIter.next(); - - if (!findKeyEntryID(entry)) { - warn( - "config.31", - new Object[] { - keyGroup.getId(), - entry.getModuleID(), - entry.getIssuerDN(), - entry.getSerialNumber()}); - } - } - } - } - - /** - * Find out that a certain KeyGroupEntry could be resolved to a KeyEntryID - * by the Configurator. - * - * @param keyGroupEntry The key group entry to find. - * @return true, if the keyGroupEntry could be - * resolved to a KeyEntryID; otherwise false. - */ - private boolean findKeyEntryID(KeyGroupEntry keyGroupEntry) { - KeyModule module = KeyModuleFactory.getInstance(new TransactionId("check")); - Set keyEntryIDs = module.getPrivateKeyEntryIDs(); - Iterator iter; - - for (iter = keyEntryIDs.iterator(); iter.hasNext();) { - KeyEntryID entry = (KeyEntryID) iter.next(); - - if (entry.getCertificateIssuer().equals(keyGroupEntry.getIssuerDN()) - && entry.getCertificateSerialNumber().equals( - keyGroupEntry.getSerialNumber()) - && entry.getModuleID().equals(keyGroupEntry.getModuleID())) { - return true; - } - } - - return false; - } - - /** - * Log a warning. - * - * @param messageId The message ID. - * @param args Additional parameters for the message. - * @see at.gv.egovernment.moa.spss.server.util.MessageProvider - */ - private void warn(String messageId, Object[] args) { - MessageProvider msg = MessageProvider.getInstance(); - String txt = msg.getMessage(messageId, args); - - Logger.warn(new LogMsg(txt)); - warnings.add(txt); - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/LoggerConfigImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/LoggerConfigImpl.java deleted file mode 100644 index 9679e8d18..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/LoggerConfigImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import java.util.Properties; - -import iaik.logging.LogConfigurationException; -import iaik.logging.LoggerConfig; - -import at.gv.egovernment.moa.logging.LoggingContextManager; - -/** - * Default implementation of the LoggerConfig interface. - * - * @author Patrick Peck - * @version $Id$ - */ -public class LoggerConfigImpl implements LoggerConfig { - - /** The implementation of iaik.logging.LogFactory. */ - private static final String DEFAULT_IMPLEMENTATION = - "at.gv.egovernment.moa.spss.server.logging.IaikLogFactory"; - - public String getFactory() { - return DEFAULT_IMPLEMENTATION; - } - - public Properties getProperties() throws LogConfigurationException { - return new Properties(); - } - - public String getNodeId() { - return LoggingContextManager.getInstance().getLoggingContext().getNodeID(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/PKIConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/PKIConfigurationImpl.java deleted file mode 100644 index 0703cd326..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/PKIConfigurationImpl.java +++ /dev/null @@ -1,85 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import iaik.pki.PKIConfiguration; -import iaik.pki.pathvalidation.ValidationConfiguration; -import iaik.pki.revocation.RevocationConfiguration; -import iaik.pki.store.certstore.CertStoreConfiguration; -import iaik.pki.store.revocation.archive.ArchiveConfiguration; - -import at.gv.egovernment.moa.util.BoolUtils; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -/** - * An implementation of the PKIConfiguration interface using data - * from the MOA configuration. - * - * @see iaik.pki.PKIConfiguration - * @author Patrick Peck - * @version $Id$ - */ -public class PKIConfigurationImpl implements PKIConfiguration { - /** The CertStore configuration. */ - private CertStoreConfiguration certStoreConfiguration; - /** The revocation checking configuration. */ - private RevocationConfiguration revocationConfiguration; - /** The revocation archive configuration. */ - private ArchiveConfiguration archiveConfiguration; - /** The certificate validation configuration. */ - private ValidationConfiguration validationConfiguration; - - /** - * Create a new PKIConfigurationImpl. - * - * @param config The underlying MOA configuration which will be used to build - * the configuration data contained in this object. - */ - public PKIConfigurationImpl(ConfigurationProvider config) { - String archiveInfo; - - this.certStoreConfiguration = new CertStoreConfigurationImpl(config); - - this.revocationConfiguration = new RevocationConfigurationImpl(config); - - archiveInfo = - config.getGenericConfiguration( - ConfigurationProvider.ARCHIVE_REVOCATION_INFO_PROPERTY, - "false"); - if (archiveInfo != null && BoolUtils.valueOf(archiveInfo)) { - this.archiveConfiguration = new ArchiveConfigurationImpl(config); - } else { - this.archiveConfiguration = null; - } - - this.validationConfiguration = new ValidationConfigurationImpl(config); - } - - /** - * @see iaik.pki.PKIConfiguration#getCertStoreConfiguration() - */ - public CertStoreConfiguration getCertStoreConfiguration() { - return certStoreConfiguration; - } - - /** - * @see iaik.pki.PKIConfiguration#getRevocationConfiguration() - */ - public RevocationConfiguration getRevocationConfiguration() { - return revocationConfiguration; - } - - /** - * @see iaik.pki.PKIConfiguration#getArchiveConfiguration() - */ - public ArchiveConfiguration getArchiveConfiguration() { - return archiveConfiguration; - } - - /** - * @see iaik.pki.PKIConfiguration#getValidationConfiguration() - */ - public ValidationConfiguration getValidationConfiguration() { - return validationConfiguration; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/RevocationConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/RevocationConfigurationImpl.java deleted file mode 100644 index 466234a11..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/RevocationConfigurationImpl.java +++ /dev/null @@ -1,73 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import java.security.cert.X509Certificate; -import java.util.Date; -import java.util.HashSet; -import java.util.Iterator; -import java.util.Set; - -import iaik.pki.revocation.RevocationConfiguration; - -import at.gv.egovernment.moa.util.BoolUtils; - -import at.gv.egovernment.moa.spss.server.config.DistributionPoint; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -/** - * An implementation of the RevocationConfiguration interface using - * MOA configuration data. - * - * @see iaik.pki.revocation.RevocationConfiguration - * @author Patrick Peck - * @version $Id$ - */ -public class RevocationConfigurationImpl - extends AbstractObservableConfiguration - implements RevocationConfiguration { - - /** The ConfigurationProvider to read the configuration data - * from. */ - private ConfigurationProvider config; - - /** - * Create a new RevocationConfigurationImpl. - * - * @param config The underlying MOA configuration containing the configuration - * data. - */ - public RevocationConfigurationImpl(ConfigurationProvider config) { - this.config = config; - } - - /** - * @see iaik.pki.revocation.RevocationConfiguration#getAlternativeDistributionPoints(java.security.cert.X509Certificate, java.util.Date) - */ - public Set getAlternativeDistributionPoints( - X509Certificate cert, - Date date) { - - Set configuredPoints = config.getCRLDP(cert); - Set distributionPoints = new HashSet(); - Iterator iter; - - for (iter = configuredPoints.iterator(); iter.hasNext();) { - DistributionPoint dp = (DistributionPoint) iter.next(); - distributionPoints.add(new CRLDistributionPointAdapter(dp)); - } - - return distributionPoints; - } - - /** - * @see iaik.pki.revocation.RevocationConfiguration#archiveRevocationInfo(java.lang.String, java.lang.String) - */ - public boolean archiveRevocationInfo(String type, String uri) { - String info = - config.getGenericConfiguration( - ConfigurationProvider.ARCHIVE_REVOCATION_INFO_PROPERTY, - "false"); - - return info != null ? BoolUtils.valueOf(info) : false; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/SoftwareKeyModuleConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/SoftwareKeyModuleConfigurationImpl.java deleted file mode 100644 index 343f096ef..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/SoftwareKeyModuleConfigurationImpl.java +++ /dev/null @@ -1,75 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.InputStream; - -import iaik.server.modules.keys.ConfigurationException; -import iaik.server.modules.keys.SoftwareKeyModuleConfiguration; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; - -import at.gv.egovernment.moa.spss.server.config.SoftwareKeyModule; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * An implementation of the SoftwareKeyModuleConfiguration wrapping - * a SoftwareKeyModule from the MOA configuration. - * - * @see iaik.server.modules.keys.SoftwareKeyModuleConfiguration - * @author Patrick Peck - * @version $Id$ - */ -public class SoftwareKeyModuleConfigurationImpl - extends AbstractKeyModuleConfigurationImpl - implements SoftwareKeyModuleConfiguration { - - /** The wrapped SoftwareKeyModule. */ - private SoftwareKeyModule keyModule; - - /** - * Create a new SoftwareKeyModuleConfigurationImpl. - * - * @param keyModule The SoftwareKeyModule from the underlying MOA - * configuration. - */ - public SoftwareKeyModuleConfigurationImpl(SoftwareKeyModule keyModule) { - super(keyModule.getId()); - this.keyModule = keyModule; - } - - /** - * @see iaik.server.modules.keys.SoftwareKeyModuleConfiguration#getKeyStoreTypeName() - */ - public String getKeyStoreTypeName() { - return KEY_STORE_TYPE_NAME_PKCS12; - } - - /** - * @see iaik.server.modules.keys.SoftwareKeyModuleConfiguration#getKeyStoreAsStream() - */ - public InputStream getKeyStoreAsStream() { - MessageProvider msg = MessageProvider.getInstance(); - - try { - String message = - msg.getMessage("config.18", new Object[] { keyModule.getFileName()}); - Logger.info(new LogMsg(message)); - return new FileInputStream(keyModule.getFileName()); - } catch (FileNotFoundException e) { - String message = - msg.getMessage("config.09", new Object[] { keyModule.getFileName()}); - - throw new ConfigurationException(message, e, null); - } - } - - /** - * @see iaik.server.modules.keys.SoftwareKeyModuleConfiguration#getKeyStoreAuthenticationData() - */ - public char[] getKeyStoreAuthenticationData() { - return keyModule.getPassWord().toCharArray(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ValidationConfigurationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ValidationConfigurationImpl.java deleted file mode 100644 index f6fbad215..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/config/ValidationConfigurationImpl.java +++ /dev/null @@ -1,56 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.config; - -import java.security.cert.X509Certificate; -import java.security.spec.AlgorithmParameterSpec; - -import iaik.pki.pathvalidation.ValidationConfiguration; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -/** - * An implementation of the ValidationConfiguration interface using - * MOA configuration data. - * - * @see iaik.pki.pathvalidation.ValidationConfiguration - * @author Patrick Peck - * @version $Id$ - */ -public class ValidationConfigurationImpl - extends AbstractObservableConfiguration - implements ValidationConfiguration { - - /** The ConfigurationProvider to read the configuration data - * from. */ - private ConfigurationProvider config; - - /** - * Create a new ValidationConfigurationImpl. - * - * @param config The underlying MOA configuration data. - */ - public ValidationConfigurationImpl(ConfigurationProvider config) { - this.config = config; - } - - /** - * @see iaik.pki.pathvalidation.ValidationConfiguration#getChainingMode(java.security.cert.X509Certificate) - */ - public String getChainingMode(X509Certificate cert) { - return config.getChainingMode(cert); - } - - /** - * @see iaik.pki.pathvalidation.ValidationConfiguration#getPublicKeyParamsAsSpec(java.security.cert.X509Certificate) - */ - public AlgorithmParameterSpec getPublicKeyParamsAsSpec(X509Certificate cert) { - return null; - } - - /** - * @see iaik.pki.pathvalidation.ValidationConfiguration#getPublicKeyParamsAsCert(java.security.cert.X509Certificate) - */ - public X509Certificate getPublicKeyParamsAsCert(X509Certificate cert) { - return null; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/PKIProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/PKIProfileImpl.java deleted file mode 100644 index c204eface..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/PKIProfileImpl.java +++ /dev/null @@ -1,127 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.pki; - -import iaik.pki.PKIProfile; -import iaik.pki.pathvalidation.ValidationProfile; -import iaik.pki.revocation.RevocationProfile; -import iaik.pki.store.truststore.TrustStoreProfile; - -import at.gv.egovernment.moa.util.BoolUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation.ValidationProfileImpl; -import at.gv.egovernment.moa.spss.server.iaik.pki.revocation.RevocationProfileImpl; -import at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore.TrustStoreProfileImpl; - -/** - * Implementation of the PKIProfile interface containing - * information needed for certificate path validation. It uses configuration - * data from the MOA configuration. - * - * @author Patrick Peck - * @version $Id$ - */ -public class PKIProfileImpl implements PKIProfile { - - /** Profile information for revocation checking. */ - private RevocationProfile revocationProfile; - /** Profile information about the trust profile to use. */ - private TrustStoreProfile trustStoreProfile; - /** Profile information about the certificate validation. */ - private ValidationProfile validationProfile; - /** The ConfigurationProvider to read the MOA configuration data - * from. */ - private ConfigurationProvider config; - - /** - * Create a new PKIProfileImpl. - * - * @param config The MOA configuration providing configuration data about - * certificate path validation. - * @param trustProfileID The trust profile ID denoting the location of the - * trust store. - * @throws MOAApplicationException An error occurred building the profile. - */ - public PKIProfileImpl(ConfigurationProvider config, String trustProfileID) - throws MOAApplicationException { - - this.config = config; - setRevocationProfile(new RevocationProfileImpl(config)); - setTrustStoreProfile(new TrustStoreProfileImpl(config, trustProfileID)); - setValidationProfile(new ValidationProfileImpl(config)); - } - - /** - * @see iaik.pki.PKIProfile#autoAddCertificates() - */ - public boolean autoAddCertificates() { - String boolStr = - config.getGenericConfiguration( - ConfigurationProvider.AUTO_ADD_CERTIFICATES_PROPERTY, - "true"); - boolean boolValue = BoolUtils.valueOf(boolStr); - - return useAuthorityInfoAccess() ? true : boolValue; - } - - /** - * @see iaik.pki.PKIProfile#getRevocationProfile() - */ - public RevocationProfile getRevocationProfile() { - return revocationProfile; - } - - /** - * Sets the RevocationProfile. - * - * @param revocationProfile The RevocationProfile used for - * revocation checking. - */ - protected void setRevocationProfile(RevocationProfile revocationProfile) { - this.revocationProfile = revocationProfile; - } - - /** - * @see iaik.pki.PKIProfile#getTrustStoreProfile() - */ - public TrustStoreProfile getTrustStoreProfile() { - return trustStoreProfile; - } - - /** - * Sets the TrustStoreProfile. - * - * @param trustStoreProfile The TrustStoreProfile. - */ - protected void setTrustStoreProfile(TrustStoreProfile trustStoreProfile) { - this.trustStoreProfile = trustStoreProfile; - } - - /** - * @see iaik.pki.PKIProfile#getValidationProfile() - */ - public ValidationProfile getValidationProfile() { - return validationProfile; - } - - /** - * Sets the ValidationProfile. - * - * @param validationProfile The ValidationProfile to set. - */ - protected void setValidationProfile(ValidationProfile validationProfile) { - this.validationProfile = validationProfile; - } - - /** - * @see iaik.pki.PKIProfile#useAuthorityInfoAccess() - */ - public boolean useAuthorityInfoAccess() { - String boolStr = - config.getGenericConfiguration( - ConfigurationProvider.USE_AUTHORITY_INFO_ACCESS_PROPERTY, - "true"); - return BoolUtils.valueOf(boolStr); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/ValidationProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/ValidationProfileImpl.java deleted file mode 100644 index a2e3d6766..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/pathvalidation/ValidationProfileImpl.java +++ /dev/null @@ -1,113 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.pki.pathvalidation; - -import iaik.pki.pathvalidation.ValidationProfile; - -import at.gv.egovernment.moa.util.BoolUtils; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -import java.util.Collections; -import java.util.Set; - -/** - * An implementation of the ValidationProfile interface providing - * information about certificat path validation. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ValidationProfileImpl implements ValidationProfile { - - /** The ConfigurationProvider to read the configuration data - * from. */ - private ConfigurationProvider config; - private boolean initialAnyPolicyInhibit; - private boolean initialExplicitPolicy; - private boolean initialPolicyMappingInhibit; - private Set initialPolicySet; - private boolean nameConstraintsProcessing; - private boolean policyProcessing; - - /** - * Create a new ValidationProfileImpl object. - * - * This objects's fields are preset to the following values: - * - *
      - *
    • initialAnyPolicyInhibit = true
    • - *
    • initialExplicitPoliy = true
    • - *
    • initialPolicyMappingInhibit = true
    • - *
    • initialPolicySet = empty
    • - *
    • policyProcessing = false
    • - *
    • nameConstraintsProcessing = false
    • - *
    • revocationChecking = false
    • - *
    - * - * @param config MOA configuration data for additional configuration - * information (currently unused). - */ - public ValidationProfileImpl(ConfigurationProvider config) { - this.config = config; - initialAnyPolicyInhibit = true; - initialExplicitPolicy = true; - initialPolicyMappingInhibit = true; - initialPolicySet = Collections.EMPTY_SET; - policyProcessing = false; - nameConstraintsProcessing = false; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getInitialAnyPolicyInhibit() - */ - public boolean getInitialAnyPolicyInhibit() { - return initialAnyPolicyInhibit; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getInitialExplicitPolicy() - */ - public boolean getInitialExplicitPolicy() { - return initialExplicitPolicy; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getInitialPolicyMappingInhibit() - */ - public boolean getInitialPolicyMappingInhibit() { - return initialPolicyMappingInhibit; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getInitialPolicySet() - */ - public Set getInitialPolicySet() { - return initialPolicySet; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getPolicyProcessing() - */ - public boolean getPolicyProcessing() { - return policyProcessing; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getNameConstraintsProcessing() - */ - public boolean getNameConstraintsProcessing() { - return nameConstraintsProcessing; - } - - /** - * @see iaik.pki.pathvalidation.ValidationProfile#getRevocationChecking() - */ - public boolean getRevocationChecking() { - String checkingStr = - config.getGenericConfiguration( - ConfigurationProvider.REVOCATION_CHECKING_PROPERTY, - "true"); - - return BoolUtils.valueOf(checkingStr); - } - -} \ No newline at end of file diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java deleted file mode 100644 index 186d24934..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/revocation/RevocationProfileImpl.java +++ /dev/null @@ -1,65 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.pki.revocation; - -import java.security.cert.X509Certificate; - -import iaik.pki.revocation.RevocationProfile; -import iaik.pki.revocation.RevocationSourceTypes; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -/** - * An implementation of the RevocationProfile interface providing - * information about revocation status checking, based on MOA configuration - * data. - * - * @author Patrick Peck - * @version $Id$ - */ -public class RevocationProfileImpl implements RevocationProfile { - /** The default service order. */ - private static final String[] DEFAULT_SERVICE_ORDER = - { RevocationSourceTypes.CRL }; - /** The ConfigurationProvider to read the MOA configuration data - * from. */ - private ConfigurationProvider config; - /** The OCSP request hash algorithm. */ - private String oCSPRequestHashAlgorithm; - - /** - * Create a new RevocationProfileImpl. - * - * @param config The MOA configuration data. - */ - public RevocationProfileImpl(ConfigurationProvider config) { - this.config = config; - this.oCSPRequestHashAlgorithm = ""; - } - - /** - * @see iaik.pki.revocation.RevocationProfile#getMaxRevocationAge(String) - */ - public long getMaxRevocationAge(String distributionPointUri) { - String maxRevocationAgeStr = - config.getGenericConfiguration( - ConfigurationProvider.MAX_REVOCATION_AGE_PROPERTY, - "0"); - long revocationAge = Long.parseLong(maxRevocationAgeStr); - - return revocationAge; - } - - /** - * @see iaik.pki.revocation.RevocationProfile#getOCSPRequestHashAlgorithm() - */ - public String getOCSPRequestHashAlgorithm() { - return oCSPRequestHashAlgorithm; - } - - /** - * @see iaik.pki.revocation.RevocationProfile#getPreferredServiceOrder(java.security.cert.X509Certificate) - */ - public String[] getPreferredServiceOrder(X509Certificate cert) { - return DEFAULT_SERVICE_ORDER; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/TrustStoreProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/TrustStoreProfileImpl.java deleted file mode 100644 index 8a1161b95..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/pki/store/truststore/TrustStoreProfileImpl.java +++ /dev/null @@ -1,119 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.pki.store.truststore; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import iaik.pki.store.truststore.TrustStoreProfile; -import iaik.pki.store.truststore.TrustStoreTypes; -import iaik.servertools.observer.NotificationData; -import iaik.servertools.observer.Observer; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.config.TrustProfile; - -/** - * An implementation of the TrustStoreProfile interface, using data - * from the MOA configuration. - * - * @see iaik.pki.store.truststore.TrustStoreProfile - * @author Patrick Peck - * @version $Id$ - */ -public class TrustStoreProfileImpl implements TrustStoreProfile { - - /** The observers of this profile. */ - private List observers = new ArrayList(); - /** The type of the trust profile. */ - private String type; - /** The URI of the trust profile.*/ - private String URI; - - /** - * Create a new TrustStoreProfileImpl. - * - * @param config The MOA configuration data, from which trust store - * configuration data is read. - * @param trustProfileId The trust profile id on which this - * TrustStoreProfile is based. - * @throws MOAApplicationException The trustProfileId could not - * be found in the MOA configuration. - */ - public TrustStoreProfileImpl( - ConfigurationProvider config, - String trustProfileId) - throws MOAApplicationException { - - TrustProfile tp = (TrustProfile) config.getTrustProfile(trustProfileId); - if (tp != null) { - setURI(tp.getUri()); - setType(TrustStoreTypes.DIRECTORY); - } else { - throw new MOAApplicationException( - "2203", - new Object[] { trustProfileId }); - } - } - - /** - * @see iaik.pki.store.truststore.TrustStoreProfile#getType() - */ - public String getType() { - return type; - } - - /** - * Sets the the trust store type. - * - * @param type The trust store type to set. - */ - protected void setType(String type) { - this.type = type; - } - - /** - * @see iaik.pki.store.truststore.TrustStoreProfile#getURI() - */ - public String getURI() { - return URI; - } - - /** - * Sets the trust store URI. - * - * @param URI The trust store URI to set. - */ - protected void setURI(String URI) { - this.URI = URI; - } - - // - // Methods of iaik.utils.observer.Observable interface - // - - /** - * @see iaik.utils.observer.Observable#addObserver(Observer) - */ - public void addObserver(Observer observer) { - observers.add(observer); - } - - /** - * @see iaik.utils.observer.Observable#removeObserver(Observer) - */ - public boolean removeObserver(Observer observer) { - return observers.remove(observer); - } - - /** - * @see iaik.utils.observer.Observable#notify(NotificationData) - */ - public void notify(NotificationData notificationData) { - for (Iterator iter = observers.iterator(); iter.hasNext();) { - Observer observer = (Observer) iter.next(); - observer.notify(notificationData); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/Base64TransformationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/Base64TransformationImpl.java deleted file mode 100644 index e076fe1eb..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/Base64TransformationImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import iaik.server.modules.xml.Base64Transformation; - -/** - * An implementation of the Base64Transformation - * Transformation type. - * - * @author Patrick Peck - * @version $Id$ - */ -public class Base64TransformationImpl - extends TransformationImpl - implements Base64Transformation { - - /** - * Create a new Base64TransformationImpl. - * - * @see java.lang.Object#Object() - */ - public Base64TransformationImpl() { - setAlgorithmURI(Base64Transformation.BASE64_DECODING); - } - - /** - * Compare this Base64Transformation to another. - * - * @param other The object to compare thisBase64Transformation - * to. - * @return true, if other is a - * Base64Transformation and the algorithm URIs match, otherwise - * false. - * @see java.lang.Object#equals(Object) - */ - public boolean equals(Object other) { - if (other instanceof Base64Transformation) { - Base64Transformation transform = (Base64Transformation) other; - return getAlgorithmURI().equals(transform.getAlgorithmURI()); - } - return false; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ByteArrayDataObjectImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ByteArrayDataObjectImpl.java deleted file mode 100644 index 921b10cb6..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ByteArrayDataObjectImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; - -import iaik.server.modules.xml.BinaryDataObject; - -/** - * A BinaryDataObject encapsulating Base64 data. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ByteArrayDataObjectImpl - extends DataObjectImpl - implements BinaryDataObject { - - /** The binary data contained in this BinaryDataObject. */ - private byte[] bytes; - - /** - * Create a new ByteArrayDataObjectImpl. - * - * @param bytes The binary data contained in this - * BinaryDataObject. - */ - public ByteArrayDataObjectImpl(byte[] bytes) { - setBytes(bytes); - } - - /** - * Set the Base64 data. - * - * @param bytes The binary data contained in this - * BinaryDataObject. - */ - public void setBytes(byte[] bytes) { - this.bytes = bytes; - } - - /** - * Return the binary data encoded in the Base64 String as a - * stream. - * - * @return The binary data contained in this object, as a - * InputStream. Repeated calls to this function will return a - * new stream to the Base64 data. - * @see iaik.server.modules.xml.BinaryDataObject#getInputStream() - */ - public InputStream getInputStream() { - return new ByteArrayInputStream(bytes); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ByteStreamDataObjectImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ByteStreamDataObjectImpl.java deleted file mode 100644 index ce400e61a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ByteStreamDataObjectImpl.java +++ /dev/null @@ -1,49 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import java.io.InputStream; - -import iaik.server.modules.xml.BinaryDataObject; - -/** - * A BinaryDataObject encapsulating binary data from a stream. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ByteStreamDataObjectImpl - extends DataObjectImpl - implements BinaryDataObject { - - /** The InputStream containing the binary data. */ - private InputStream inputStream; - - /** - * Create a new ByteStreamDataObjectImpl. - * - * @param inputStream The stream from which to read the binary data. - */ - public ByteStreamDataObjectImpl(InputStream inputStream) { - setInputStream(inputStream); - } - - /** - * Set the input stream from which to read the binary data. - * - * @param inputStream The input stream from which to read the binary data. - */ - public void setInputStream(InputStream inputStream) { - this.inputStream = inputStream; - } - - /** - * Return the binary data from this object as a stream. - * - * @return The stream containing the binary data. Calling this function - * repeatedly will always return the same InputStream. - * @see iaik.server.modules.xml.BinaryDataObject#getInputStream() - */ - public InputStream getInputStream() { - return inputStream; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/CanonicalizationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/CanonicalizationImpl.java deleted file mode 100644 index a597b214d..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/CanonicalizationImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import iaik.server.modules.xml.Canonicalization; - -/** - * An implementation of the CanonicalizationTransform - * Transformation type. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CanonicalizationImpl - extends TransformationImpl - implements Canonicalization { - - /** - * Create a new CanonicalizationTransformImpl object. - * - * @param algorithmURI The canonicalization algorithm URI. - */ - public CanonicalizationImpl(String algorithmURI) { - setAlgorithmURI(algorithmURI); - } - - /** - * Compare this object to another Canonicalization. - * - * @param other The object to compare this - * Canonicalization to. - * @return true, if other is a - * Canonicalization and the algorithm URIs match, otherwise - * false. - * @see java.lang.Object#equals(Object) - */ - public boolean equals(Object other) { - if (other instanceof Canonicalization) { - Canonicalization c14n = (Canonicalization) other; - return getAlgorithmURI().equals(c14n.getAlgorithmURI()); - } - return false; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/DataObjectImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/DataObjectImpl.java deleted file mode 100644 index 875d82613..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/DataObjectImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import iaik.server.modules.xml.DataObject; - -/** - * Abstract base implementation for the classes derived from - * DataObject. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class DataObjectImpl implements DataObject { - - /** The MIME type of the data object. */ - private String mimeType; - /** The refernce ID. */ - private String referenceID; - /** The URI of the type. */ - private String typeURI; - /** The URI identifying the data. */ - private String URI; - - /** - * @see iaik.server.modules.xml.DataObject#getMimeType() - */ - public String getMimeType() { - return mimeType; - } - - /** - * Set the mime type. - * - * @param mimeType The mime type to set. - */ - public void setMimeType(String mimeType) { - this.mimeType = mimeType; - } - - /** - * @see iaik.server.modules.xml.DataObject#getReferenceID() - */ - public String getReferenceID() { - return referenceID; - } - - /** - * Set the reference ID. - * - * @param referenceID The reference ID. - */ - public void setReferenceID(String referenceID) { - this.referenceID = referenceID; - } - - /** - * @see iaik.server.modules.xml.DataObject#getTypeURI() - */ - public String getTypeURI() { - return typeURI; - } - - /** - * Set the type URI. - * - * @param typeURI The type URI. - */ - public void setTypeURI(String typeURI) { - this.typeURI = typeURI; - } - - /** - * @see iaik.server.modules.xml.DataObject#getURI() - */ - public String getURI() { - return URI; - } - - /** - * Set the URI. - * - * @param URI The URI. - */ - public void setURI(String URI) { - this.URI = URI; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/EnvelopedSignatureTransformationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/EnvelopedSignatureTransformationImpl.java deleted file mode 100644 index 41a47d0a1..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/EnvelopedSignatureTransformationImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import iaik.server.modules.xml.EnvelopedSignatureTransformation; - -/** - * An implementation of the EnvelopedSignatureTransformation - * Transformation type. - * - * @author Patrick Peck - * @version $Id$ - */ -public class EnvelopedSignatureTransformationImpl - extends TransformationImpl - implements EnvelopedSignatureTransformation { - - /** - * Create a new EnvelopedSignatureTransformationImpl. - */ - public EnvelopedSignatureTransformationImpl() { - setAlgorithmURI(EnvelopedSignatureTransformation.ENVELOPED_SIGNATURE); - } - - /** - * Compare this object to another EnvelopedSignatureTransformation. - * - * @param other The object to compare this - * EnvelopedSignatureTransformation to. - * @return true, if other is a - * EnvelopedSignatureTransformation, otherwise - * false. - * @see java.lang.Object#equals(Object) - */ - public boolean equals(Object other) { - if (other instanceof EnvelopedSignatureTransformation) { - EnvelopedSignatureTransformation transform = - (EnvelopedSignatureTransformation) other; - return getAlgorithmURI().equals(transform.getAlgorithmURI()); - } - return false; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ExclusiveCanonicalizationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ExclusiveCanonicalizationImpl.java deleted file mode 100644 index f50d0d9b1..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/ExclusiveCanonicalizationImpl.java +++ /dev/null @@ -1,71 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import java.util.List; - -import iaik.server.modules.xml.ExclusiveCanonicalization; - -/** - * An implementation of the ExclusiveCanonicalization type - * of Transformation. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ExclusiveCanonicalizationImpl - extends TransformationImpl - implements ExclusiveCanonicalization { - - /** The prefixes of the namespaces to treat according to canonical XML. */ - private List inclusiveNamespacePrefixes; - - /** - * Create a new ExclusiveCanonicalizationImpl object. - * - * @param algorithmURI The exclusive canonicalization algorithm URI. - * @param inclusiveNamespacePrefixes The namespace prefixes to be processed - * according to canonical XML. - */ - public ExclusiveCanonicalizationImpl( - String algorithmURI, - List inclusiveNamespacePrefixes) { - setAlgorithmURI(algorithmURI); - setInclusiveNamespacePrefixes(inclusiveNamespacePrefixes); - } - - /** - * Sets the namespace prefixes to be processed according to canonical XML. - * - * @param inclusiveNamespacePrefixes The prefixes of the namespaces to treat - * according to canonical XML. - */ - protected void setInclusiveNamespacePrefixes(List inclusiveNamespacePrefixes) { - this.inclusiveNamespacePrefixes = inclusiveNamespacePrefixes; - } - - /** - * @see iaik.server.modules.xml.ExclusiveCanonicalization#getInclusiveNamespacePrefixes() - */ - public List getInclusiveNamespacePrefixes() { - return inclusiveNamespacePrefixes; - } - - /** - * Compare this object to another CanonicalizationTransform. - * - * @param other The object to compare this - * ExclusiveCanonicalization to. - * @return true, if other is a - * ExclusiveCanonicalization and the algorithm URIs match, - * otherwise false. - * @see java.lang.Object#equals(Object) - */ - public boolean equals(Object other) { - if (other instanceof ExclusiveCanonicalizationImpl) { - ExclusiveCanonicalizationImpl c14n = - (ExclusiveCanonicalizationImpl) other; - return getAlgorithmURI().equals(c14n.getAlgorithmURI()); - } - return false; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/SigningTimeImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/SigningTimeImpl.java deleted file mode 100644 index 19ca3dadf..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/SigningTimeImpl.java +++ /dev/null @@ -1,34 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import java.util.Date; - -import iaik.server.modules.xml.SigningTime; - -/** - * An implementation of the SigningTime Property. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SigningTimeImpl implements SigningTime { - - /** The signing time. */ - private Date signingTime; - - /** - * Create a new SigningTimeImpl. - * - * @param signingTime The signing time. - */ - public SigningTimeImpl(Date signingTime) { - this.signingTime = signingTime; - } - - /** - * @see iaik.server.modules.xml.SigningTime#getSigningTime() - */ - public Date getSigningTime() { - return signingTime; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/TransformationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/TransformationImpl.java deleted file mode 100644 index 59a414b69..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/TransformationImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import iaik.server.modules.xml.Transformation; - -/** - * Base implementation class for Transformation derived classes. - * - * @author Patrick Peck - * @version $Id$ - */ -public abstract class TransformationImpl implements Transformation { - - /** The algorithm URI identifying the transformation algorithm. */ - private String algorithmURI; - - /** - * @see iaik.server.modules.xml.Transformation#getAlgorithmURI() - */ - public String getAlgorithmURI() { - return algorithmURI; - } - - /** - * Sets the algorithm URI. - * - * @param algorithmURI The algorithm URI to set. - */ - protected void setAlgorithmURI(String algorithmURI) { - this.algorithmURI = algorithmURI; - } - - /** - * Returns the hash code of the algorithm URI. Should be overridden if a - * transformation distinguishes itself from others by more than just the - * algorithm URI. - * - * @see java.lang.Object#hashCode() - */ - public int hashCode() { - return getAlgorithmURI().hashCode(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLDataObjectImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLDataObjectImpl.java deleted file mode 100644 index bc31d694e..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLDataObjectImpl.java +++ /dev/null @@ -1,46 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import org.w3c.dom.Element; - -import iaik.server.modules.xml.XMLDataObject; - -/** - * A DataObject containing a single DOM element. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLDataObjectImpl - extends DataObjectImpl - implements XMLDataObject { - - /** The XML data contained in this XMLDataObject. */ - private Element element; - - /** - * Create a new XMLDataObjectImpl. - * - * @param element The DOM element contained in this - * XMLDataObject. - */ - public XMLDataObjectImpl(Element element) { - setElement(element); - } - - /** - * @see iaik.server.modules.xml.XMLDataObject#getElement() - */ - public Element getElement() { - return element; - } - - /** - * Set the DOM element contained in this XMLDataObject. - * - * @param element The DOM element to set. - */ - public void setElement(Element element) { - this.element = element; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLNodeListDataObjectImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLNodeListDataObjectImpl.java deleted file mode 100644 index c855a922a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLNodeListDataObjectImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import org.w3c.dom.NodeList; - -import iaik.server.modules.xml.XMLNodeListDataObject; - -/** - * A DataObject containing a list of DOM nodes. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLNodeListDataObjectImpl - extends DataObjectImpl - implements XMLNodeListDataObject { - - /** The nodes contained in this XMLNodeListDataObject. */ - private NodeList nodeList; - - /** - * Create a new XMLNodeListDataObjectImpl. - * - * @param nodeList The list of DOM nodes contained in this - * XMLNodeListDataObject. - */ - public XMLNodeListDataObjectImpl(NodeList nodeList) { - setNodeList(nodeList); - } - - /** - * Set the list of DOM nodes contained in this - * XMLNodeListDataObject. - * - * @param nodeList The list of DOM nodes to set. - */ - public void setNodeList(NodeList nodeList) { - this.nodeList = nodeList; - } - - /** - * @see iaik.server.modules.xml.XMLNodeListDataObject#getNodeList() - */ - public NodeList getNodeList() { - return nodeList; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLSignatureImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLSignatureImpl.java deleted file mode 100644 index 4fca907f3..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XMLSignatureImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import org.w3c.dom.Element; - -import iaik.server.modules.xml.XMLSignature; - -/** - * An object containing an XMLDsig signature in the form of a - * dsig:Signature DOM element. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureImpl implements XMLSignature { - /** The signature DOM element. */ - private Element element; - - /** - * Create a new XMLSignatureImpl. - * - * @param element The dsig:Signature DOM element. - */ - public XMLSignatureImpl(Element element) { - setElement(element); - } - - /** - * Set the dsig:Signature DOM element. - * - * @param element The dsig:Signature element to set. - */ - public void setElement(Element element) { - this.element = element; - } - - /** - * @see iaik.server.modules.xml.XMLSignature#getElement() - */ - public Element getElement() { - return element; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2FilterImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2FilterImpl.java deleted file mode 100644 index 034d4b653..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2FilterImpl.java +++ /dev/null @@ -1,116 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import java.util.Map; - -import iaik.server.modules.xml.XPath2Transformation; -import iaik.server.modules.xml.XPath2Transformation.XPath2Filter; - -/** - * An object encapsulating an XPath-Filter2 expression. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XPath2FilterImpl implements XPath2Filter { - - /** The type of this filter. */ - private String filterType; - /** The XPath expression of this filter. */ - private String xPathExpression; - /** The namespace prefix to URI mapping to use for evaluating the XPath. */ - private Map namespaceDeclarations; - - /** - * Create a new XPath2FilterImpl object. - * - * @param filterType The type of filter. Must be one of the filter type - * constants declared in iaik.server.modules.xml.XPath2Transformation.XPath2Filter - * @param xPathExpression The XPath expression belonging to this filter. - * @param namespaceDeclarations The namespace declarations visible for this - * XPath2Filter. - */ - public XPath2FilterImpl( - String filterType, - String xPathExpression, - Map namespaceDeclarations) { - - setFilterType(filterType); - setXPathExpression(xPathExpression); - setNamespaceDeclarations(namespaceDeclarations); - } - - /** - * @see iaik.server.modules.xml.XPath2Transformation.XPath2Filter#getFilterType() - */ - public String getFilterType() { - return filterType; - } - - /** - * Set the filter type. - * - * @param filterType The filter type to set. - */ - protected void setFilterType(String filterType) { - this.filterType = filterType; - } - - /** - * @see iaik.server.modules.xml.XPath2Transformation.XPath2Filter#getXPathExpression() - */ - public String getXPathExpression() { - return xPathExpression; - } - - /** - * Set the XPath expression. - * - * @param xPathExpression The XPath expression to set. - */ - protected void setXPathExpression(String xPathExpression) { - this.xPathExpression = xPathExpression; - } - - /** - * @see iaik.server.modules.xml.XPath2Transformation.XPath2Filter#getNamespaceDeclarations() - */ - public Map getNamespaceDeclarations() { - return namespaceDeclarations; - } - - /** - * Set the namespace declarations. - * - * @param namespaceDeclarations The mapping between namespace prefixes and - * their associated URI. - */ - protected void setNamespaceDeclarations(Map namespaceDeclarations) { - this.namespaceDeclarations = namespaceDeclarations; - } - - /** - * Compare this object to another. - * - * @param other The object to compare this XPath2Filter to. - * @return true, if other is a - * XPath2Filter and the filter types match and the XPath - * expressions match. Otherwise false is returned. - * @see java.lang.Object#equals(java.lang.Object) - */ - public boolean equals(Object other) { - if (other instanceof XPath2Transformation.XPath2Filter) { - XPath2Filter filter = (XPath2Transformation.XPath2Filter) other; - return getFilterType().equals(filter.getFilterType()) - && getXPathExpression().equals(filter.getXPathExpression()); - } - return false; - } - - /** - * @see java.lang.Object#hashCode() - */ - public int hashCode() { - return getXPathExpression().hashCode() * 31 + getFilterType().hashCode(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2TransformationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2TransformationImpl.java deleted file mode 100644 index c7496c2cd..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPath2TransformationImpl.java +++ /dev/null @@ -1,82 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import iaik.server.modules.xml.XPath2Transformation; - -/** - * An object encapsulating a Transformation containing several - * XPath-Filter2 expressions. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XPath2TransformationImpl - extends TransformationImpl - implements XPath2Transformation { - - /** The filters contained in this XPath2Transformation */ - private List xPathFilters = new ArrayList(); - - /** - * Create a new XPath2TransformationImpl. - * - * The list of XPath-Filter2 expression is initially empty. - */ - public XPath2TransformationImpl() { - setAlgorithmURI(XPath2Transformation.XPATH2); - } - - /** - * @see iaik.server.modules.xml.XPath2Transformation#getXPathFilters() - */ - public List getXPathFilters() { - return xPathFilters; - } - - /** - * Add an XPath-Filter2 expression to the list of filters. - * - * @param filter The filter to add. - */ - public void addXPathFilter(XPath2Filter filter) { - xPathFilters.add(filter); - } - - /** - * Compare this XPath2Transformation to another. - * - * @param other The object to compare this - * XPath2Transformation to. - * @return true, if other is an - * XPath2Transformation and getXPathFilters() equals - * other.getXPathFilters(). Otherwise false is - * returned. - * @see java.lang.Object#equals(Object) - */ - public boolean equals(Object other) { - if (other instanceof XPath2Transformation) { - XPath2Transformation transform = (XPath2Transformation) other; - - return getXPathFilters().equals(transform.getXPathFilters()); - } - return false; - } - - /** - * @see java.lang.Object#hashCode() - */ - public int hashCode() { - Iterator iter = getXPathFilters().iterator(); - int hashCode = 0; - - while (iter.hasNext()) { - hashCode ^= iter.next().hashCode(); - } - - return hashCode; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPathTransformationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPathTransformationImpl.java deleted file mode 100644 index ccedbadb2..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XPathTransformationImpl.java +++ /dev/null @@ -1,98 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import java.util.Map; - -import iaik.server.modules.xml.XPathTransformation; - -/** - * A Transformation containing an XPath expression. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XPathTransformationImpl - extends TransformationImpl - implements XPathTransformation { - - /** The XPath expression. */ - private String xPathExpression; - /** The namespace prefix to URI mapping to use for XPath evaluation. */ - private Map namespaceDeclarations; - - /** - * Create a new XPathTransformationImpl. - * - * The namespace declarations are initialized empty. - * - * @param xPathExpression The XPath expression this object will contain. - * @param namespaceDeclarations The namespace declarations visible for this - * XPath. - */ - public XPathTransformationImpl( - String xPathExpression, - Map namespaceDeclarations) { - - setAlgorithmURI(XPathTransformation.XPATH); - setXPathExpression(xPathExpression); - setNamespaceDeclarations(namespaceDeclarations); - } - - /** - * Set the XPath expression. - * - * @param xPathExpression The XPath expression. - */ - protected void setXPathExpression(String xPathExpression) { - this.xPathExpression = xPathExpression; - } - - /** - * @see iaik.server.modules.xml.XPathTransformation#getXPathExpression() - */ - public String getXPathExpression() { - return xPathExpression; - } - - /** - * @see iaik.server.modules.xml.XPathTransformation#getNamespaceDeclarations() - */ - public Map getNamespaceDeclarations() { - return namespaceDeclarations; - } - - /** - * Set the namespace declarations. - * - * @param namespaceDeclarations The mapping between namespace prefixes and - * their associated URI. - */ - protected void setNamespaceDeclarations(Map namespaceDeclarations) { - this.namespaceDeclarations = namespaceDeclarations; - } - - /** - * Compare this XPathTransformation to another. - * - * @param other The object to compare this - * XPathTransformation to. - * @return true, if other is an - * XPathTransformation and if this object contains the same XPath - * expression as other. Otherwise false is returned. - * @see java.lang.Object#equals(Object) - */ - public boolean equals(Object other) { - if (other instanceof XPathTransformation) { - XPathTransformation transform = (XPathTransformation) other; - return getXPathExpression().equals(transform.getXPathExpression()); - } - return false; - } - - /** - * @see java.lang.Object#hashCode() - */ - public int hashCode() { - return getXPathExpression().hashCode(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XSLTTransformationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XSLTTransformationImpl.java deleted file mode 100644 index d38da650b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xml/XSLTTransformationImpl.java +++ /dev/null @@ -1,168 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xml; - -import java.io.IOException; -import java.io.InputStream; -import java.util.Collections; - -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import iaik.ixsil.algorithms.CanonicalizationAlgorithm; -import iaik.ixsil.algorithms.CanonicalizationAlgorithmImplExclusiveCanonicalXML; -import iaik.ixsil.exceptions.AlgorithmException; -import iaik.server.modules.xml.XSLTTransformation; - -import at.gv.egovernment.moa.util.NodeListAdapter; -import at.gv.egovernment.moa.util.StreamUtils; -import at.gv.egovernment.moa.util.XPathException; -import at.gv.egovernment.moa.util.XPathUtils; - - -/** - * A Transformation containing an XSLT transformation. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XSLTTransformationImpl - extends TransformationImpl - implements XSLTTransformation { - - /** The XSLT stylesheet. */ - private Element styleSheetElement; - /** The hash code of the canonicalized stylesheet. If calculated, this value - * should be != 0. */ - private int hashCode; - - /** - * Create a new XSLTTransformationImpl object. - * - * @param styleSheetElement The XSLT stylesheet element. - */ - public XSLTTransformationImpl(Element styleSheetElement) { - setAlgorithmURI(XSLTTransformation.XSLT); - setStyleSheetElement(styleSheetElement); - } - - /** - * Set the XSLT stylesheet element. - * - * @param styleSheetElement The XSLT stylesheet element to set. - */ - protected void setStyleSheetElement(Element styleSheetElement) { - this.styleSheetElement = styleSheetElement; - this.hashCode = 0; - } - - /** - * @see iaik.server.modules.xml.XSLTTransformation#getStylesheetElement() - */ - public Element getStylesheetElement() { - return styleSheetElement; - } - - /** - * Compare this XSLTTransformation to another. - * - * @param other The object to compare this - * XSLTTransformation to. - * @return true, if other is an - * XSLTTransformation and if the canonicalized representations of - * the stylesheets contained in this and other - * match. Otherwise, false is returned. - * @see java.lang.Object#equals(Object) - */ - public boolean equals(Object other) { - if (other instanceof XSLTTransformation) { - XSLTTransformation xslt = (XSLTTransformation) other; - - return compareElements( - getStylesheetElement(), - xslt.getStylesheetElement()); - } - return false; - } - - /** - * @see java.lang.Object#hashCode() - */ - public int hashCode() { - if (hashCode == 0) { - hashCode = calculateHashCode(getStylesheetElement()); - } - return hashCode; - } - - /** - * Calculate the hash code for a DOM element by canonicalizing it. - * - * @param element The DOM element for which the hash code is to be calculated. - * @return int The hash code, or 0, if it could not be - * calculated. - */ - private static int calculateHashCode(Element element) { - try { - InputStream is = canonicalize(element); - byte[] buf = new byte[256]; - int hashCode = 1; - int length; - int i; - - while ((length = is.read(buf)) > 0) { - for (i = 0; i < length; i++) { - hashCode += buf[i] * 31 + i; - } - } - is.close(); - return hashCode; - } catch (AlgorithmException e) { - return 0; - } catch (IOException e) { - return 0; - } - } - - /** - * Compare two DOM elements by canonicalizing their contents and comparing the - * resulting byte stream. - * - * @param elem1 The 1st element to compare. - * @param elem2 The 2nd element to compare. - * @return boolean true, if the elements are considered equal - * after canonicalization. Otherwise false is returned. - */ - private static boolean compareElements(Element elem1, Element elem2) { - try { - InputStream is1 = canonicalize(elem1); - InputStream is2 = canonicalize(elem2); - return StreamUtils.compareStreams(is1, is2); - } catch (AlgorithmException e) { - return false; - } catch (IOException e) { - return false; - } - } - - /** - * Canonicalize a DOM element. - * - * @param element The element to canonicalize. - * @return InputStream A stream with the canonicalized data. - * @throws AlgorithmException An error occurred canonicalizing the element. - */ - private static InputStream canonicalize(Element element) - throws AlgorithmException { - CanonicalizationAlgorithm c14n = - new CanonicalizationAlgorithmImplExclusiveCanonicalXML(); - NodeList nodeList; - - try { - nodeList = XPathUtils.selectNodeList(element, XPathUtils.ALL_NODES_XPATH); - } catch (XPathException e) { - nodeList = new NodeListAdapter(Collections.EMPTY_LIST); - } - c14n.setInput(nodeList); - return c14n.canonicalize(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/DataObjectTreatmentImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/DataObjectTreatmentImpl.java deleted file mode 100644 index a14b83b7d..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/DataObjectTreatmentImpl.java +++ /dev/null @@ -1,150 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xmlsign; - -import java.util.List; - -import iaik.server.modules.xmlsign.DataObjectTreatment; - -import at.gv.egovernment.moa.spss.server.util.IdGenerator; - -/** - * An object encapsulating how to treat an associated DataObject - * when creating a signature. - * - * @author Patrick Peck - * @version $Id$ - */ -public class DataObjectTreatmentImpl implements DataObjectTreatment { - /** The final content MIME type. */ - private String finalContentType; - /** The name of the hash algorithm. */ - private String hashAlgorithmName; - /** This transformations to apply to the associated data object. */ - private List transformationList; - /** Supplemental information for the transformations. */ - private List transformationSupplements; - /** Whether to include the associated data object in the signature. */ - private boolean includedInSignature; - /** Whether to include the associated data object in the manifest. */ - private boolean referenceInManifest; - /** The object ID generator. */ - private IdGenerator objIdGen; - - /** - * Create a new DataObjectTreatmentImpl. - * - * @param objIdGen The IdGenerator for unique object IDs. - */ - public DataObjectTreatmentImpl(IdGenerator objIdGen) { - this.objIdGen = objIdGen; - } - - /** - * @see iaik.server.modules.xmlsign.DataObjectTreatment#getFinalContentType() - */ - public String getFinalContentType() { - return finalContentType; - } - - /** - * Sets the final content type. - * - * @param finalContentType The final content type to set (a MIME-type type of - * String). - */ - public void setFinalContentType(String finalContentType) { - this.finalContentType = finalContentType; - } - - /** - * @see iaik.server.modules.xmlsign.DataObjectTreatment#getHashAlgorithmName() - */ - public String getHashAlgorithmName() { - return hashAlgorithmName; - } - - /** - * Sets the hash algorithm name. - * - * @param hashAlgorithmName The hash algorithm name to set. - */ - public void setHashAlgorithmName(String hashAlgorithmName) { - this.hashAlgorithmName = hashAlgorithmName; - } - - /** - * @see iaik.server.modules.xmlsign.DataObjectTreatment#isIncludedInSignature() - */ - public boolean isIncludedInSignature() { - return includedInSignature; - } - - /** - * Sets whether the associated DataObject is to be included in - * the signature. - * - * @param includedInSignature If true, the associated - * DataObject will be included in the signature, otherwise not. - */ - public void setIncludedInSignature(boolean includedInSignature) { - this.includedInSignature = includedInSignature; - } - - /** - * @see iaik.server.modules.xmlsign.DataObjectTreatment#isReferenceInManifest() - */ - public boolean isReferenceInManifest() { - return referenceInManifest; - } - - /** - * Sets whether the associated DataObject is - * to be included in the dsig:Manifest. - * - * @param referenceInManifest If true, the associated - * DataObject will be included in the manifest, otherwise not. - */ - public void setReferenceInManifest(boolean referenceInManifest) { - this.referenceInManifest = referenceInManifest; - } - - /** - * @see iaik.server.modules.xmlsign.DataObjectTreatment#getTransformationList() - */ - public List getTransformationList() { - return transformationList; - } - - /** - * Set the list of transformations for the associated DataObject. - * - * @param transformationList The transformations to set. - */ - public void setTransformationList(List transformationList) { - this.transformationList = transformationList; - } - - /** - * @see iaik.server.modules.xmlsign.DataObjectTreatment#getTransformationSupplements() - */ - public List getTransformationSupplements() { - return transformationSupplements; - } - - /** - * Sets the transformation supplements for the associated - * DataObject. - * - * @param transformationSupplements The transformation supplements to set. - */ - public void setTransformationSupplements(List transformationSupplements) { - this.transformationSupplements = transformationSupplements; - } - - /** - * @see iaik.server.modules.xmlsign.DataObjectTreatment#getDsigDataObjectID() - */ - public String getDsigDataObjectID() { - return objIdGen.uniqueId(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java deleted file mode 100644 index 5ec0057fb..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java +++ /dev/null @@ -1,276 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xmlsign; - -import java.util.List; -import java.util.Set; - -import iaik.server.modules.algorithms.SignatureAlgorithms; -import iaik.server.modules.keys.AlgorithmUnavailableException; -import iaik.server.modules.keys.KeyEntryID; -import iaik.server.modules.keys.KeyModule; -import iaik.server.modules.keys.KeyModuleFactory; -import iaik.server.modules.keys.UnknownKeyException; -import iaik.server.modules.xml.Canonicalization; -import iaik.server.modules.xmlsign.XMLSignatureCreationProfile; -import iaik.server.modules.xmlsign.XMLSignatureInsertionLocation; - -import at.gv.egovernment.moa.spss.server.logging.TransactionId; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; -import at.gv.egovernment.moa.spss.server.util.IdGenerator; - -/** - * An object providing auxiliary information for creating an XML signature. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureCreationProfileImpl - implements XMLSignatureCreationProfile { - - /** The transformations to apply to a data object. */ - private List dataObjectTreatmentList; - /** The set of keys available to the signing process. */ - private Set keySet; - /** The type URI of the signature manifest. */ - private String securityLayerManifestTypeURI; - /** Whether the created signature is to be Security Layer conform. */ - private boolean securityLayerConform; - /** Where to insert the signature into the signature environment. */ - private XMLSignatureInsertionLocation signatureInsertionLocation; - /** The signature structur type. */ - private String signatureStructureType; - /** The type of Canonicalization to use for the signed info. */ - private Canonicalization signedInfoCanonicalization; - /** Properties to be signed during signature creation. */ - private List signedProperties; - /** The ID generator for signature IDs. */ - private IdGenerator signatureIDGenerator; - /** The ID generator for manifst IDs. */ - private IdGenerator manifestIDGenerator; - /** The ID generator for XMLDsig manifest IDs. */ - private IdGenerator dsigManifestIDGenerator; - /** The ID generator for signed property IDs. */ - private IdGenerator propertyIDGenerator; - - /** - * Create a new XMLSignatureCreationProfileImpl. - * - * @param createProfileCount Provides external information about the - * number of calls to the signature creation module, using the same request. - * @param reservedIDs The set of IDs that must not be used while generating - * new IDs. - */ - public XMLSignatureCreationProfileImpl( - int createProfileCount, - Set reservedIDs) { - signatureIDGenerator = - new IdGenerator("signature-" + createProfileCount, reservedIDs); - manifestIDGenerator = - new IdGenerator("manifest-" + createProfileCount, reservedIDs); - dsigManifestIDGenerator = - new IdGenerator("dsig-manifest-" + createProfileCount, reservedIDs); - propertyIDGenerator = - new IdGenerator("etsi-signed-" + createProfileCount, reservedIDs); - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getDataObjectTreatmentList() - */ - public List getDataObjectTreatmentList() { - return dataObjectTreatmentList; - } - - /** - * Sets the list of DataObjectTreatments. - * - * @param dataObjectTreatmentList The DataObjectTreatments to - * set. - */ - public void setDataObjectTreatmentList(List dataObjectTreatmentList) { - this.dataObjectTreatmentList = dataObjectTreatmentList; - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getKeySet() - */ - public Set getKeySet() { - return keySet; - } - - /** - * Set the set of KeyEntryIDs which may be used for signature - * creation. - * - * @param keySet The set of KeyEntryIDs to set. - */ - public void setKeySet(Set keySet) { - this.keySet = keySet; - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSecurityLayerManifestTypeURI() - */ - public String getSecurityLayerManifestTypeURI() { - return securityLayerManifestTypeURI; - } - - /** - * Set the SecurityLayerManifestTypeURI. - * - * @param securityLayerManifestTypeURI The SecurityLayerManifestTypeURI to - * set. - */ - public void setSecurityLayerManifestTypeURI(String securityLayerManifestTypeURI) { - this.securityLayerManifestTypeURI = securityLayerManifestTypeURI; - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSignatureAlgorithmName(KeyEntryID) - */ - public String getSignatureAlgorithmName(KeyEntryID selectedKeyID) - throws AlgorithmUnavailableException { - - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - TransactionId tid = new TransactionId(context.getTransactionID()); - KeyModule module = KeyModuleFactory.getInstance(tid); - Set algorithms; - - try { - algorithms = module.getSupportedSignatureAlgorithms(selectedKeyID); - } catch (UnknownKeyException e) { - throw new AlgorithmUnavailableException( - "Unknown key entry: " + selectedKeyID, - e, - null); - } - - if (algorithms.contains(SignatureAlgorithms.MD2_WITH_RSA) - || algorithms.contains(SignatureAlgorithms.MD5_WITH_RSA) - || algorithms.contains(SignatureAlgorithms.RIPEMD128_WITH_RSA) - || algorithms.contains(SignatureAlgorithms.RIPEMD160_WITH_RSA) - || algorithms.contains(SignatureAlgorithms.SHA1_WITH_RSA) - || algorithms.contains(SignatureAlgorithms.SHA256_WITH_RSA)) { - - return SignatureAlgorithms.SHA1_WITH_RSA; - } else if ( - algorithms.contains(SignatureAlgorithms.ECDSA_X962_C2TNB191V1)) { - return SignatureAlgorithms.ECDSA_X962_C2TNB191V1; - } else { - throw new AlgorithmUnavailableException( - "No algorithm for key entry: " + selectedKeyID, - null, - null); - } - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSignatureInsertionLocation() - */ - public XMLSignatureInsertionLocation getSignatureInsertionLocation() { - return signatureInsertionLocation; - } - - /** - * Set the location where the signature is to be inserted into the signature - * parent. - * - * @param signatureInsertionLocation The location to set. - */ - public void setSignatureInsertionLocation(XMLSignatureInsertionLocation signatureInsertionLocation) { - this.signatureInsertionLocation = signatureInsertionLocation; - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSignatureStructureType() - */ - public String getSignatureStructureType() { - return signatureStructureType; - } - - /** - * Set the signature structure type. - * @param signatureStructureType The signature structure type to set. - */ - public void setSignatureStructureType(String signatureStructureType) { - this.signatureStructureType = signatureStructureType; - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSignedInfoCanonicalization() - */ - public Canonicalization getSignedInfoCanonicalization() { - return signedInfoCanonicalization; - } - - /** - * Sets the canonicalization method to use for the SignedInfo object. - * - * @param signedInfoCanonicalization The canonicalization method to set. - */ - public void setSignedInfoCanonicalization(Canonicalization signedInfoCanonicalization) { - this.signedInfoCanonicalization = signedInfoCanonicalization; - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSignedProperties() - */ - public List getSignedProperties() { - return signedProperties; - } - - /** - * Set the signed properties. - * - * @param signedProperties The signed properties to set. - */ - public void setSignedProperties(List signedProperties) { - this.signedProperties = signedProperties; - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#isSecurityLayerConform() - */ - public boolean isSecurityLayerConform() { - return securityLayerConform; - } - - /** - * Sets the security layer conformity. - * - * @param securityLayerConform true, if the created signature - * is to be conform to the Security Layer specification. - */ - public void setSecurityLayerConform(boolean securityLayerConform) { - this.securityLayerConform = securityLayerConform; - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSignatureID() - */ - public String getSignatureID() { - return signatureIDGenerator.uniqueId(); - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSecurityLayerManifestID() - */ - public String getSecurityLayerManifestID() { - return manifestIDGenerator.uniqueId(); - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getDsigManifestID() - */ - public String getDsigManifestID() { - return dsigManifestIDGenerator.uniqueId(); - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureCreationProfile#getSignedPropertiesID() - */ - public String getSignedPropertiesID() { - return propertyIDGenerator.uniqueId(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureInsertionLocationImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureInsertionLocationImpl.java deleted file mode 100644 index d55f61303..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureInsertionLocationImpl.java +++ /dev/null @@ -1,45 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xmlsign; - -import iaik.server.modules.xmlsign.XMLSignatureInsertionLocation; - -/** - * An object giving the location of where the signature will be - * inserted into the parent element. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureInsertionLocationImpl - implements XMLSignatureInsertionLocation { - - /** Where to put the signature into the signature parent element. */ - private int signatureChildIndex; - - /** - * Create a new XMLSignatureInsertLocationImpl. - * - * @param signatureChildIndex The position index at which to append the - * signature to the parent element. - */ - public XMLSignatureInsertionLocationImpl(int signatureChildIndex) { - setSignatureChildIndex(signatureChildIndex); - } - - /** - * @see iaik.server.modules.xmlsign.XMLSignatureInsertionLocation#getSignatureChildIndex() - */ - public int getSignatureChildIndex() { - return signatureChildIndex; - } - - /** - * Sets the position index at which to append the signature to the parent - * element. - * - * @param signatureChildIndex The position index to set. - */ - public void setSignatureChildIndex(int signatureChildIndex) { - this.signatureChildIndex = signatureChildIndex; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlverify/XMLSignatureVerificationProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlverify/XMLSignatureVerificationProfileImpl.java deleted file mode 100644 index 216596dc3..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlverify/XMLSignatureVerificationProfileImpl.java +++ /dev/null @@ -1,131 +0,0 @@ -package at.gv.egovernment.moa.spss.server.iaik.xmlverify; - -import java.util.List; - -import iaik.pki.PKIProfile; -import iaik.server.modules.xmlverify.XMLSignatureVerificationProfile; - -/** - * An object providing auxiliary information for verifying an XML signature. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureVerificationProfileImpl - implements XMLSignatureVerificationProfile { - - /** Whether to check the Security Layer manifest. */ - private boolean checkSecurityLayerManifest; - /** Whether to check the XMLDsig manifest. */ - private boolean checkXMLDsigManifests; - /** The profile for validating the signer certificate. */ - private PKIProfile certificateValidationProfile; - /** Supplements for the transformations. */ - private List transformationSupplements; - /** Whether to include hash input data in the response. */ - private boolean includeHashInputData; - /** Whether to include reference input data in the response. */ - private boolean includeReferenceInputData; - - /** - * @see iaik.server.modules.xmlverify.XMLSignatureVerificationProfile#checkSecurityLayerManifest() - */ - public boolean checkSecurityLayerManifest() { - return checkSecurityLayerManifest; - } - - /** - * Set whether to check the references in the Security Layer manifest. - * - * @param checkSecurityLayerManifest true, if the references - * in the Security Layer manifest must be checked. - */ - public void setCheckSecurityLayerManifest(boolean checkSecurityLayerManifest) { - this.checkSecurityLayerManifest = checkSecurityLayerManifest; - } - - /** - * @see iaik.server.modules.xmlverify.XMLSignatureVerificationProfile#checkXMLDsigManifests() - */ - public boolean checkXMLDsigManifests() { - return checkXMLDsigManifests; - } - - /** - * Sets whether to check the references of all XML Dsig manifests. - * - * @param checkXMLDSigManifests true, if the references in the - * XML Dsig manifest must be checked. - */ - public void setCheckXMLDsigManifests(boolean checkXMLDSigManifests) { - this.checkXMLDsigManifests = checkXMLDSigManifests; - } - - /** - * @see iaik.server.modules.xmlverify.XMLSignatureVerificationProfile#getCertificateValidationProfile() - */ - public PKIProfile getCertificateValidationProfile() { - return certificateValidationProfile; - } - - /** - * Sets the profile for validating the signer certificate. - * - * @param certificateValidationProfile The certificate validation profile to - * set. - */ - public void setCertificateValidationProfile(PKIProfile certificateValidationProfile) { - this.certificateValidationProfile = certificateValidationProfile; - } - - /** - * @see iaik.server.modules.xmlverify.XMLSignatureVerificationProfile#getTransformationSupplements() - */ - public List getTransformationSupplements() { - return transformationSupplements; - } - - /** - * Sets the transformation supplements. - * - * @param transformationSupplements The transformation supplements to set. - */ - public void setTransformationSupplements(List transformationSupplements) { - this.transformationSupplements = transformationSupplements; - } - - /** - * @see iaik.server.modules.xmlverify.XMLSignatureVerificationProfile#includeHashInputData() - */ - public boolean includeHashInputData() { - return includeHashInputData; - } - - /** - * Set whether to include the hash input data in the result. - * - * @param includeHashInputData If true, the hash input data - * will be returned in the result. - */ - public void setIncludeHashInputData(boolean includeHashInputData) { - this.includeHashInputData = includeHashInputData; - } - - /** - * @see iaik.server.modules.xmlverify.XMLSignatureVerificationProfile#includeReferenceInputData() - */ - public boolean includeReferenceInputData() { - return includeReferenceInputData; - } - - /** - * Set whether to include the reference input data in the result. - * - * @param includeReferenceInputData If true, the reference - * input data will be included in the result. - */ - public void setIncludeReferenceInputData(boolean includeReferenceInputData) { - this.includeReferenceInputData = includeReferenceInputData; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/init/ConfiguratorImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/init/ConfiguratorImpl.java deleted file mode 100644 index caf17db66..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/init/ConfiguratorImpl.java +++ /dev/null @@ -1,42 +0,0 @@ -package at.gv.egovernment.moa.spss.server.init; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.api.Configurator; -import at.gv.egovernment.moa.spss.server.config.ConfigurationException; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator; - -/** - * Default implementation of Configurator. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ConfiguratorImpl extends Configurator { - /** whether the configuration has been initialized */ - private boolean initialized = false; - - public void init() throws MOAException { - if (!initialized) { - SystemInitializer.init(); - initialized = true; - } - } - - public void update() throws MOAException { - if (!initialized) { - return; - } - - try { - // reconfigure the system - ConfigurationProvider config = ConfigurationProvider.reload(); - new IaikConfigurator().configure(config); - } catch (MOAException e) { - throw e; - } catch (Throwable t) { - throw new ConfigurationException("", null, t); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java b/spss.server/src/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java deleted file mode 100644 index f968778d7..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java +++ /dev/null @@ -1,122 +0,0 @@ -package at.gv.egovernment.moa.spss.server.init; - -import java.io.IOException; -import java.security.Security; - -import javax.net.ssl.SSLSocketFactory; - -import iaik.ixsil.init.IXSILInit; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator; -import at.gv.egovernment.moa.spss.server.logging.IaikLog; -import at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * MOA SP/SS web service initialization. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SystemInitializer { - /** Interval between archive cleanups in seconds */ - private static final long ARCHIVE_CLEANUP_INTERVAL = 60 * 60; // 1h - /** The MOA SP/SS logging hierarchy. */ - private static final String LOGGING_HIERARCHY = "moa.spss.server"; - /** Whether XML schema grammars have been initialized. */ - private static boolean grammarsInitialized = false; - - /** - * Initialize the MOA SP/SS webservice. - */ - public static void init() { - MessageProvider msg = MessageProvider.getInstance(); - ClassLoader cl = SystemInitializer.class.getClassLoader(); - Thread archiveCleaner; - - // set up the MOA SPSS logging hierarchy - Logger.setHierarchy(LOGGING_HIERARCHY); - - // set up a logging context for logging the startup - LoggingContextManager.getInstance().setLoggingContext( - new LoggingContext("startup")); - - // load some jsse classes so that the integrity of the jars can be verified - // before the iaik jce is installed as the security provider - // this workaround is only needed when sun jsse is used in conjunction with - // iaik-jce (on jdk1.3) - try { - cl.loadClass("javax.security.cert.Certificate"); // from jcert.jar - } catch (ClassNotFoundException e) { - Logger.warn(msg.getMessage("init.03", null), e); - } - - // set up SUN JSSE SSL - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - System.setProperty( - "java.protocol.handler.pkgs", - "com.sun.net.ssl.internal.www.protocol"); - SSLSocketFactory.getDefault(); - - // initialize preparsed Xerces grammar pool for faster XML - // parsing/validating - try { - if (!grammarsInitialized) { - Class clazz = SystemInitializer.class; - // preparse XML schema - DOMUtils.addSchemaToPool( - clazz.getResourceAsStream(Constants.XML_SCHEMA_LOCATION), - Constants.XML_NS_URI); - // preparse XMLDsig Filter2 schema - DOMUtils.addSchemaToPool( - clazz.getResourceAsStream(Constants.DSIG_FILTER2_SCHEMA_LOCATION), - Constants.DSIG_FILTER2_NS_URI); - // preparse XMLDsig schema - DOMUtils.addSchemaToPool( - clazz.getResourceAsStream(Constants.DSIG_SCHEMA_LOCATION), - Constants.DSIG_NS_URI); - // preparse MOA schema - DOMUtils.addSchemaToPool( - clazz.getResourceAsStream(Constants.MOA_SCHEMA_LOCATION), - Constants.MOA_NS_URI); - grammarsInitialized = true; - } - } catch (IOException e) { - Logger.warn(new LogMsg(msg.getMessage("init.04", null)), e); - } - - // initialize configuration - try { - ConfigurationProvider config = ConfigurationProvider.getInstance(); - new IaikConfigurator().configure(config); - Logger.info(new LogMsg(msg.getMessage("init.01", null))); - } catch (MOAException e) { - Logger.fatal(new LogMsg(msg.getMessage("init.00", null)), e); - } - - // set IXSIL debug output - IXSILInit.setPrintDebugLog( - Logger.isDebugEnabled(IaikLog.IAIK_LOG_HIERARCHY)); - - // start the archive cleanup thread - archiveCleaner = - new Thread(new RevocationArchiveCleaner(ARCHIVE_CLEANUP_INTERVAL)); - archiveCleaner.setName("RevocationArchiveCleaner"); - archiveCleaner.setDaemon(true); - archiveCleaner.setPriority(Thread.MIN_PRIORITY); - archiveCleaner.start(); - - // unset the startup logging context - LoggingContextManager.getInstance().setLoggingContext(null); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java deleted file mode 100644 index 33b924e2b..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvoker.java +++ /dev/null @@ -1,207 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.io.IOException; -import java.io.InputStream; -import java.util.Date; -import java.util.Iterator; -import java.util.List; - -import iaik.IAIKException; -import iaik.IAIKRuntimeException; -import iaik.server.modules.cmsverify.CMSSignatureVerificationModule; -import iaik.server.modules.cmsverify.CMSSignatureVerificationModuleFactory; -import iaik.server.modules.cmsverify.CMSSignatureVerificationProfile; -import iaik.server.modules.cmsverify.CMSSignatureVerificationResult; - -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContent; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContentExcplicit; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContentReference; -import at.gv.egovernment.moa.spss.api.cmsverify.CMSDataObject; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.server.logging.IaikLog; -import at.gv.egovernment.moa.spss.server.logging.TransactionId; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; - -/** - * A class providing an interface to the - * CMSSignatureVerificationModule. - * - * This class performs the invocation of the - * iaik.server.modules.cmsverify.CMSSignatureVerificationModule - * from a VerifyCMSSignatureRequest. The result of the invocation - * is integrated into a VerifyCMSSignatureResponse returned. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CMSSignatureVerificationInvoker { - - /** The single instance of this class. */ - private static CMSSignatureVerificationInvoker instance = null; - - /** - * Return the only instance of this class. - * - * @return The only instance of this class. - */ - public static synchronized CMSSignatureVerificationInvoker getInstance() { - if (instance == null) { - instance = new CMSSignatureVerificationInvoker(); - } - return instance; - } - - /** - * Create a new CMSSignatureVerificationInvoker. - * - * Protected to disallow multiple instances. - */ - protected CMSSignatureVerificationInvoker() { - } - - /** - * Verify a CMS signature. - * - * @param request The VerifyCMSSignatureRequest containing the - * CMS signature, as well as additional data needed for verification. - * @return Element A VerifyCMSSignatureResponse containing the - * answer to the VerifyCMSSignatureRequest. - * @throws MOAException An error occurred while processing the request. - */ - public VerifyCMSSignatureResponse verifyCMSSignature(VerifyCMSSignatureRequest request) - throws MOAException { - CMSSignatureVerificationProfileFactory profileFactory = - new CMSSignatureVerificationProfileFactory(request); - VerifyCMSSignatureResponseBuilder responseBuilder = - new VerifyCMSSignatureResponseBuilder(); - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - LoggingContext loggingCtx = - LoggingContextManager.getInstance().getLoggingContext(); - InputStream signature; - InputStream signedContent; - CMSSignatureVerificationProfile profile; - Date signingTime; - List results; - CMSSignatureVerificationResult result; - int[] signatories; - InputStream input; - byte[] buf = new byte[256]; - - // get the signature - signature = request.getCMSSignature(); - - // get the signed content - signedContent = getSignedContent(request); - - // build the profile - profile = profileFactory.createProfile(); - - // get the signing time - signingTime = request.getDateTime(); - - // verify the signature - try { - CMSSignatureVerificationModule module = - CMSSignatureVerificationModuleFactory.getInstance(); - - module.setLog(new IaikLog(loggingCtx.getNodeID())); - - module.init( - signature, - signedContent, - profile, - new TransactionId(context.getTransactionID())); - input = module.getInputStream(); - - while (input.read(buf) > 0); - results = module.verifySignature(signingTime); - } catch (IAIKException e) { - MOAException moaException = IaikExceptionMapper.getInstance().map(e); - throw moaException; - } catch (IAIKRuntimeException e) { - MOAException moaException = IaikExceptionMapper.getInstance().map(e); - throw moaException; - } catch (IOException e) { - throw new MOAApplicationException("2244", null, e); - } - - // build the response: for each signatory add the result to the response - signatories = request.getSignatories(); - if (signatories == VerifyCMSSignatureRequest.ALL_SIGNATORIES) { - Iterator resultIter; - - for (resultIter = results.iterator(); resultIter.hasNext();) { - result = (CMSSignatureVerificationResult) resultIter.next(); - responseBuilder.addResult(result); - } - } else { - int i; - - for (i = 0; i < signatories.length; i++) { - int sigIndex = signatories[i] - 1; - - try { - result = - (CMSSignatureVerificationResult) results.get(signatories[i] - 1); - responseBuilder.addResult(result); - } catch (IndexOutOfBoundsException e) { - throw new MOAApplicationException( - "2249", - new Object[] { new Integer(sigIndex)}); - } - } - } - - return responseBuilder.getResponse(); - } - - /** - * Get the signed content contained either in the request itself or given as a - * reference to external data. - * - * @param request The VerifyCMSSignatureRequest containing the - * signed content (or the reference to the signed content). - * @return InputStream A stream providing the signed content data, or - * null if no signed content was provided with the request. - * @throws MOAApplicationException An error occurred building the stream. - */ - private InputStream getSignedContent(VerifyCMSSignatureRequest request) - throws MOAApplicationException { - - CMSDataObject dataObj; - CMSContent content; - - // select the Content element - dataObj = request.getDataObject(); - if (dataObj == null) { - return null; - } - content = dataObj.getContent(); - - // build the content data - switch (content.getContentType()) { - case CMSContent.EXPLICIT_CONTENT : - return ((CMSContentExcplicit) content).getBinaryContent(); - case CMSContent.REFERENCE_CONTENT : - String reference = ((CMSContentReference) content).getReference(); - if (!"".equals(reference)) { - ExternalURIResolver resolver = new ExternalURIResolver(); - return resolver.resolve(reference); - } else { - return null; - } - default : - return null; - } - - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationProfileFactory.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationProfileFactory.java deleted file mode 100644 index 442921850..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationProfileFactory.java +++ /dev/null @@ -1,61 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import iaik.server.modules.cmsverify.CMSSignatureVerificationProfile; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.cmsverify.CMSSignatureVerificationProfileImpl; -import at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; - -/** - * A factory to create a CMSSignatureVerificationProfile from a - * VerifyCMSSignatureRequest and the current MOA configuration - * data. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CMSSignatureVerificationProfileFactory { - - /** The VerifyCMSSignatureRequest to draw profile data from. */ - private VerifyCMSSignatureRequest request; - - /** - * Create a new CMSSignatureVerificationProfileFactory. - * - * @param request The VerifyCMSSignatureRequest to draw profile - * data from. - */ - public CMSSignatureVerificationProfileFactory(VerifyCMSSignatureRequest request) { - this.request = request; - } - - /** - * Create a CMSSignatureVerificationProfile from the given - * request and the current MOA configuration. - * - * @return The CMSSignatureVerificationProfile for the - * request, based on the current configuration. - * @throws MOAException An error occurred creating the profile. - */ - public CMSSignatureVerificationProfile createProfile() - throws MOAException { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - CMSSignatureVerificationProfileImpl profile = - new CMSSignatureVerificationProfileImpl(); - String trustProfileID; - - // set the certificate validation profile - trustProfileID = request.getTrustProfileId(); - profile.setCertificateValidationProfile( - new PKIProfileImpl(config, trustProfileID)); - - return profile; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CreateXMLSignatureResponseBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CreateXMLSignatureResponseBuilder.java deleted file mode 100644 index 6302cadfd..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/CreateXMLSignatureResponseBuilder.java +++ /dev/null @@ -1,71 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.util.ArrayList; -import java.util.List; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.ErrorResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.SignatureEnvironmentResponse; - -/** - * A class to build a CreateXMLSignatureResponse. - * - *

    The methods addSignature() and addError() may be - * called in any combination to add SignatureEnvironment and - * ErrorResponse elements to the response. One of these functions - * must be called at least once to produce a - * CreateXMLSignatureResponse.

    - * - *

    The getResponseElement() method then returns the - * CreateXMLSignatureResponse built so far.

    - * - * @author Patrick Peck - * @version $Id$ - */ -public class CreateXMLSignatureResponseBuilder { - - /** The SPSSFactory for creating API objects. */ - private SPSSFactory factory = SPSSFactory.getInstance(); - /** The elements to add to the response. */ - private List responseElements = new ArrayList(); - - /** - * Get the CreateXMLSignatureResponse built so far. - * - * @return The CreateXMLSignatureResponse built so far. - */ - public CreateXMLSignatureResponse getResponse() { - return factory.createCreateXMLSignatureResponse(responseElements); - } - - /** - * Add a SignatureEnvironment element to the response. - * - * @param signatureEnvironment The content to put under the - * SignatureEnvironment element. This should either be a - * dsig:Signature element (in case of a detached signature) or - * the signature environment containing the signature (in case of - * an enveloping signature). - */ - public void addSignatureEnvironment(Element signatureEnvironment) { - SignatureEnvironmentResponse responseElement = - factory.createSignatureEnvironmentResponse(signatureEnvironment); - responseElements.add(responseElement); - } - - /** - * Add a ErrorResponse element to the response. - * - * @param errorCode The error code. - * @param info Additional information about the error. - */ - public void addError(String errorCode, String info) { - ErrorResponse errorResponse = - factory.createErrorResponse(Integer.parseInt(errorCode), info); - responseElements.add(errorResponse); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactory.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactory.java deleted file mode 100644 index 32c81dc07..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactory.java +++ /dev/null @@ -1,717 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.io.ByteArrayInputStream; -import java.io.IOException; -import java.io.InputStream; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; - -import javax.xml.parsers.ParserConfigurationException; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - -import org.xml.sax.EntityResolver; -import org.xml.sax.SAXException; - -import iaik.ixsil.util.URI; -import iaik.ixsil.util.XPointerReferenceResolver; -import iaik.server.modules.xml.DataObject; -import iaik.server.modules.xml.XMLDataObject; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.EntityResolverChain; -import at.gv.egovernment.moa.util.MOAEntityResolver; -import at.gv.egovernment.moa.util.MOAErrorHandler; -import at.gv.egovernment.moa.util.StreamEntityResolver; -import at.gv.egovernment.moa.util.StreamUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.common.ContentBinary; -import at.gv.egovernment.moa.spss.api.common.ContentXML; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter; -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameterBinary; -import at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.DataObjectImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A class to create DataObjects contained in different - * locations of the MOA XML request format. - * - * @author Patrick Peck - * @version $Id$ - */ -public class DataObjectFactory { - - /** The single instance of this class. */ - private static DataObjectFactory instance = null; - - /** - * Return the only instance of this class. - * - * @return The only instance of this class. - */ - public static synchronized DataObjectFactory getInstance() { - if (instance == null) { - instance = new DataObjectFactory(); - } - return instance; - } - - /** - * Create a new DataObjectFactory. - * - * Protected to disallow multiple instances. - */ - protected DataObjectFactory() { - } - - /** - * Return the signature environment, i.e., the root element of the - * document, into which the signature will be inserted (if created) or which - * contains the signature (if verified). - * - * @param content The Content object containing the signature - * environment. - * @param supplements Additional schema or DTD information. - * @return The signature environment or null, if no - * signature environment exists. - * @throws MOASystemException A system error occurred building the signature - * environment (see message for details). - * @throws MOAApplicationException An error occurred building the signature - * environment (see message for details). - */ - public XMLDataObject createSignatureEnvironment( - Content content, - List supplements) - throws MOASystemException, MOAApplicationException { - - String reference = content.getReference(); - EntityResolver entityResolver; - byte[] contentBytes; - - // check for content and reference not being set at the same time - checkAllowContentAndReference(content, false); - - // build the EntityResolver for validating parsing - if (supplements == null || supplements.isEmpty()) { - entityResolver = new MOAEntityResolver(); - } else { - EntityResolverChain chain = new EntityResolverChain(); - - chain.addEntityResolver(buildSupplementEntityResolver(supplements)); - chain.addEntityResolver(new MOAEntityResolver()); - entityResolver = chain; - } - - // convert the content into a byte array - try { - switch (content.getContentType()) { - case Content.BINARY_CONTENT : - { - InputStream is = ((ContentBinary) content).getBinaryContent(); - contentBytes = StreamUtils.readStream(is); - break; - } - case Content.REFERENCE_CONTENT : - { - ExternalURIResolver uriResolver = new ExternalURIResolver(); - InputStream is = uriResolver.resolve(reference); - contentBytes = StreamUtils.readStream(is); - break; - } - case Content.XML_CONTENT : - { - Element element = - checkForSingleElement(((ContentXML) content).getXMLContent()); - contentBytes = DOMUtils.serializeNode(element, "UTF-8"); - break; - } - default : - contentBytes = null; // this will not happen - } - } catch (MOAApplicationException e) { - throw e; - } catch (Exception e) { - throw new MOAApplicationException("2219", null); - } - - // try to parse validating - try { - ByteArrayInputStream is = new ByteArrayInputStream(contentBytes); - Document doc = - DOMUtils.parseDocument( - is, - true, - Constants.ALL_SCHEMA_LOCATIONS, - null, - entityResolver, - new MOAErrorHandler()); - - return new XMLDataObjectImpl(doc.getDocumentElement()); - } catch (Exception e) { - // never mind, we'll try non-validating - MessageProvider msg = MessageProvider.getInstance(); - Logger.info(new LogMsg(msg.getMessage("invoker.00", null))); - } - - // try to parse non-validating - try { - ByteArrayInputStream is = new ByteArrayInputStream(contentBytes); - Document doc = DOMUtils.parseDocument(is, false, null, null); - return new XMLDataObjectImpl(doc.getDocumentElement()); - } catch (Exception e) { - throw new MOAApplicationException("2218", null); - } - } - - /** - * Create an XMLDataObject from the given signature environment. - * - * @param signatureEnvironment The signature environment contained in the - * result. - * @param uri The URI identifying the data. This must be either the empty - * URI, an URI starting with "#xpointer", "#xmlns" - * or "#element"; or an URI starting with "#" and - * followed by an element ID. - * @param referenceID The reference ID to set for the data object. - * @return A data object containing the signature environment. - */ - public DataObject createFromSignatureEnvironment( - Element signatureEnvironment, - String uri, - String referenceID) - throws MOAApplicationException { - - DataObjectImpl dataObject = null; - - if ("".equals(uri)) { - dataObject = new XMLDataObjectImpl(signatureEnvironment); - } else if ( - uri.startsWith("#xpointer") - || uri.startsWith("#xmlns") - || uri.startsWith("#element")) { - try { - XPointerReferenceResolver resolver = new XPointerReferenceResolver(); - URI uriObj = new URI(uri); - NodeList nodes = - resolver.resolveForest( - uriObj, - signatureEnvironment.getOwnerDocument(), - null); - dataObject = new XMLNodeListDataObjectImpl(nodes); - } catch (Exception e) { - throw new MOAApplicationException("2237", new Object[] { uri }); - } - } else if (uri.startsWith("#")) { - String id = uri.substring(1); - Element refElem = - signatureEnvironment.getOwnerDocument().getElementById(id); - - if (refElem == null) { - throw new MOAApplicationException("2237", new Object[] { id }); - } - dataObject = new XMLDataObjectImpl(refElem); - } - - dataObject.setReferenceID(referenceID); - dataObject.setURI(uri); - - return dataObject; - } - - /** - * Build a StreamEntityResolver from a List of - * supplements. - * - * @param supplements The supplements, given as - * XMLDataObjectAssociations. - * @return A StreamEntityResolver mapping the supplements by - * their reference URI to an InputStream of their respective - * content. - */ - private static StreamEntityResolver buildSupplementEntityResolver(List supplements) { - Map entities = new HashMap(); - Iterator iter; - - for (iter = supplements.iterator(); iter.hasNext();) { - XMLDataObjectAssociation supplement = - (XMLDataObjectAssociation) iter.next(); - Content content = supplement.getContent(); - String reference = content.getReference(); - - switch (content.getContentType()) { - case Content.BINARY_CONTENT : - entities.put(reference, ((ContentBinary) content).getBinaryContent()); - break; - case Content.XML_CONTENT : - // serialize the first element node that is found in the supplement - // and make it available as a stream - NodeList nodes = ((ContentXML) content).getXMLContent(); - int i = 0; - - // find the first element node - while (i < nodes.getLength() - && nodes.item(i).getNodeType() != Node.ELEMENT_NODE) - i++; - - // serialize the node - if (i < nodes.getLength()) { - try { - byte[] serialized = - DOMUtils.serializeNode(nodes.item(i), "UTF-8"); - entities.put(reference, new ByteArrayInputStream(serialized)); - } catch (Exception e) { - // serializing the element failed - just don't put it in the map - } - } - - break; - } - } - - return new StreamEntityResolver(entities); - } - - /** - * Create a DataObject from a Content object. - * - * @param content The Content object containing the data. - * @param referenceID The reference ID to set in the resulting - * DataObject. May be null. - * @param allowContentAndReference If true, then - * content is allowed to contain both a Reference - * attribute and content. Otherwise, either a Reference - * attribute or content must be set. - * @param binaryAsXml If true, a content child given as - * Base64Content must contain XML data. - * @param xmlAsNodeList If true, the children of a - * XMLContent child element are returned as a - * XMLNodeListDataObject. Otherwise, XMLContent may - * only contain a single child node, which must be an element and which is - * returned as an XMLDataObject. - * @param referenceAsXml If true, then content loaded from the - * URI given as the Reference attribute must be XML data. - * If false, an attempt is made to parse the data as XML and - * return an XMLDataObject but if this fails, a - * BinaryDataObject is returned containing a byte stream to the - * data. - * @return A DataObject representing the data in - * content. If base64AsXml==true and - * xmlAsNodeList==false and referenceAsXml==true, - * then the result can safely be cast to an XMLDataObject. - * @throws MOASystemException An error indicating an internal problem. See the - * wrapped exception for details. - * @throws MOAApplicationException An error occurred handling the content - * (probably while opening a reference or parsing the data). See the wrapped - * exception for details. - */ - public DataObject createFromContentOptionalRefType( - Content content, - String referenceID, - boolean allowContentAndReference, - boolean binaryAsXml, - boolean xmlAsNodeList, - boolean referenceAsXml) - throws MOASystemException, MOAApplicationException { - - String reference = content.getReference(); - DataObjectImpl dataObject = null; - - checkAllowContentAndReference(content, allowContentAndReference); - - // ok, build the data object; use content first, if available - switch (content.getContentType()) { - case Content.XML_CONTENT : - ContentXML contentXml = (ContentXML) content; - dataObject = createFromXmlContent(contentXml, xmlAsNodeList); - break; - case Content.BINARY_CONTENT : - ContentBinary contentBinary = (ContentBinary) content; - dataObject = createFromBinaryContent(contentBinary, binaryAsXml, false); - break; - case Content.REFERENCE_CONTENT : - dataObject = createFromURIImpl(reference, referenceAsXml); - break; - } - - // set URI and reference ID - dataObject.setURI(content.getReference()); - dataObject.setReferenceID(referenceID); - - return dataObject; - } - - /** - * Check, if content and reference URIs are allowed in the content an throw - * an exception if an illegal combination of the two occurs. - * - * @param content The Content to check. - * @param allowContentAndReference Whether explicit content and a reference - * are allowed at the same time. - * @throws MOAApplicationException If allowContentAndRefernece - * is false and both explicit content and reference are set, - * an exception is thrown. - */ - private static void checkAllowContentAndReference( - Content content, - boolean allowContentAndReference) - throws MOAApplicationException { - String reference = content.getReference(); - - // check for content and reference not being set - if (content.getContentType() == Content.REFERENCE_CONTENT - && reference == null) { - String errorCode = allowContentAndReference ? "1111" : "1110"; - throw new MOAApplicationException(errorCode, null); - } - - // if we only allow either content or reference being set at once, check - if (!allowContentAndReference - && (content.getContentType() != Content.REFERENCE_CONTENT) - && (reference != null)) { - throw new MOAApplicationException("1110", null); - } - } - - /** - * Create a DataObject from a - * XMLDataObjectAssociation object. - * - * @param xmlDataObjAssoc The XMLDataObjectAssociation object. - * @param xmlContentAllowed Whether the content contained in the - * xmlDataObjAssoc is allowed to be of type - * XML_CONTENT. - * @param binaryContentRepeatable If binary content must be provided as a - * DataObject that can be read multiple times. - * @return A DataObject representing the data in - * xmlDataObjAssoc. - * @throws MOASystemException An error indicating an internal problem. See the - * wrapped exception for details. - * @throws MOAApplicationException An error occurred handling the content - * (probably while parsing the data). See the wrapped exception for details. - */ - public DataObject createFromXmlDataObjectAssociation( - XMLDataObjectAssociation xmlDataObjAssoc, - boolean xmlContentAllowed, - boolean binaryContentRepeatable) - throws MOASystemException, MOAApplicationException { - - Content content = xmlDataObjAssoc.getContent(); - MetaInfo metaInfo = xmlDataObjAssoc.getMetaInfo(); - String mimeType = metaInfo != null ? metaInfo.getMimeType() : null; - DataObjectImpl dataObject = null; - - switch (content.getContentType()) { - case Content.XML_CONTENT : - if (xmlContentAllowed) { - dataObject = createFromXmlContent((ContentXML) content, true); - } else { - throw new MOAApplicationException("2280", null); - } - break; - case Content.BINARY_CONTENT : - dataObject = - createFromBinaryContent( - (ContentBinary) content, - false, - binaryContentRepeatable); - break; - } - - dataObject.setURI(content.getReference()); - dataObject.setMimeType(mimeType); - return dataObject; - } - - /** - * Create a DataObject from a TransformParameter - * object. - * - * @param transformParameter The TransformParameter object - * containing the data. - * @return A DataObject representing the data in - * root. - * @throws MOASystemException An error indicating an internal problem. See the - * wrapped exception for details. - * @throws MOAApplicationException An error occurred handling the content - * (probably while opening a reference or parsing the data). See the wrapped - * exception for details. - */ - public DataObject createFromTransformParameter(TransformParameter transformParameter) - throws MOASystemException, MOAApplicationException { - - DataObjectImpl dataObject; - - switch (transformParameter.getTransformParameterType()) { - case TransformParameter.BINARY_TRANSFORMPARAMETER : - TransformParameterBinary tpBinary = - (TransformParameterBinary) transformParameter; - - try { - //dataObject = new ByteArrayDataObjectImpl(Base64Utils.encode(tpBinary.getBinaryContent())); - dataObject = - new ByteArrayDataObjectImpl( - StreamUtils.readStream(tpBinary.getBinaryContent())); - } catch (Exception e) { - return null; - } - //dataObject = new ByteStreamDataObjectImpl(tpBinary.getBinaryContent()); - break; - default : - // resolve uri and build the content - ExternalURIResolver resolver = new ExternalURIResolver(); - InputStream is = resolver.resolve(transformParameter.getURI()); - String contentType = resolver.getContentType(); - dataObject = new ByteStreamDataObjectImpl(is); - dataObject.setMimeType(contentType); - break; - } - - dataObject.setURI(transformParameter.getURI()); - - return dataObject; - } - - /** - * Create a DataObject from data located at the given URI. - * - * @param uri The URI where the data is located. This method uses - * an ExternalURIResolver to resolve URIs. - * @param asXml If true, a DataObject is only - * returned, if the content consists of XML data. If it does not consist of - * XML data, an MOAApplicationException will be thrown. If this - * parameter is false and the content consists of XML data, this - * method will still attempt to parse it. - * @return The DataObject contained at the URI. - * @throws MOASystemException A system error parsing the XML content. - * @throws MOAApplicationException An error occurred on opening, reading or - * parsing the data behind the URI. - */ - public DataObject createFromURI(String uri, boolean asXml) - throws MOASystemException, MOAApplicationException { - return createFromURIImpl(uri, asXml); - } - - /** - * Create a DataObject from data located at the given URI. - * - * @param uri The URI where the data is located. This method uses - * an ExternalURIResolver to resolve URIs. - * @param asXml If true, a DataObject is only - * returned, if the content consists of XML data. If it does not consist of - * XML data, an MOAApplicationException will be thrown. If this - * parameter is false and the content type is detected as being - * XML data, this method will still attemt to parse it. - * @return The DataObject contained at the URI. - * @throws MOASystemException A system error parsing the XML content. - * @throws MOAApplicationException An error occurred on opening, reading or - * parsing the data behind the URI. - */ - private DataObjectImpl createFromURIImpl(String uri, boolean asXml) - throws MOASystemException, MOAApplicationException { - - ExternalURIResolver resolver = new ExternalURIResolver(); - InputStream is = resolver.resolve(uri); - String contentType = resolver.getContentType(); - DataObjectImpl dataObject; - - // read the content - if (contentType != null && contentTypeIsXml(contentType)) { - Document doc; - - if (asXml) { - try { - // try parsing non-validating: this has to succeed or we - // bail out by throwing an exception - is = resolver.resolve(uri); - doc = DOMUtils.parseDocument(is, false, null, null); - dataObject = new XMLDataObjectImpl(doc.getDocumentElement()); - } catch (ParserConfigurationException e) { - throw new MOASystemException("1106", null, e); - } catch (SAXException e) { - throw new MOAApplicationException("2209", null, e); - } catch (IOException e) { - throw new MOAApplicationException("2210", null, e); - } - } else { - try { - // try parsing non-validating: need not succeed - is = resolver.resolve(uri); - doc = DOMUtils.parseDocument(is, false, null, null); - dataObject = new XMLDataObjectImpl(doc.getDocumentElement()); - } catch (Exception e) { - // this is the last chance: return the data as a byte stream - is = resolver.resolve(uri); - dataObject = new ByteStreamDataObjectImpl(is); - } - } - } else if (asXml) { - // if we need XML data, we're in the wrong place here - throw new MOAApplicationException("2211", new Object[] { uri }); - } else { - // content is binary: make it available as a binary input stream - dataObject = new ByteStreamDataObjectImpl(is); - } - - dataObject.setMimeType(contentType); - dataObject.setURI(uri); - - return dataObject; - } - - /** - * Determine whether the content type is XML. - * - * Content types recognized as XML start with text/xml and - * application/xml. - * - * @param contentType The content MIME type. - * @return boolean If true, the content type is XML, otherwise - * not. - */ - private static boolean contentTypeIsXml(String contentType) { - return contentType.startsWith("text/xml") - || (contentType.startsWith("application/xml")); - } - - /** - * Create a DataObject from a ContentXML object. - * - * @param xmlContent The ContentXML object from - * which the DataObject is to be built. - * @param xmlAsNodeList If true, the children of - * xmlContent are returned as a - * XMLNodeListDataObject. Otherwise, - * xmlContent may only contain a single child node, which must be - * an element and which is returned as an XMLDataObject. - * @return A DataObject representing the XML content in - * xmlContent. - * @throws MOAApplicationException If xmlAsNodeList is - * false and xmlContent does not have a single child - * element. - */ - private DataObjectImpl createFromXmlContent( - ContentXML xmlContent, - boolean xmlAsNodeList) - throws MOAApplicationException { - - DataObjectImpl dataObject; - - if (xmlAsNodeList) { - dataObject = new XMLNodeListDataObjectImpl(xmlContent.getXMLContent()); - } else { - NodeList nodes = xmlContent.getXMLContent(); - Element element = checkForSingleElement(nodes); - - // build the XMLDataObject - dataObject = new XMLDataObjectImpl(element); - } - return dataObject; - } - - /** - * Check, that the given NodeList contains a single DOM element - * node and return it, otherwise throw an exception. - * - * @param nodes The NodeList to check for a single element. - * @return The single element contained in nodes. - * @throws MOAApplicationException Thrown, if nodes does not - * contain exactly 1 element node. - */ - private Element checkForSingleElement(NodeList nodes) - throws MOAApplicationException { - - Element element = null; - int i; - - // check for a single element node - for (i = 0; i < nodes.getLength(); i++) { - if (nodes.item(i).getNodeType() == Node.ELEMENT_NODE) { - if (element == null) { - element = (Element) nodes.item(i); - } else { - throw new MOAApplicationException("1109", null); - } - } - } - - // return the element node - if (element == null) { - throw new MOAApplicationException("1107", null); - } else { - return element; - } - } - - /** - * Create a DataObject from a ContentBinary object. - * - * @param binaryContent The ContentBinary object containing the - * data. - * @param asXml If true, binaryContent must - * contain XML data. Otherwise, a BinaryDataObject will be - * returned containing a byte stream to the decoded Base64 data. - * @param repeatable If multiple calls to getInputStream() must - * repeatedly return the content of the data object. - * @return A DataObject representing the content contained in - * binaryContent. - * @throws MOASystemException An error indicating an internal problem. See the - * wrapped exception for details. - * @throws MOAApplicationException An error occurred handling the content - * (probably while parsing the data). See the wrapped exception for details. - */ - private DataObjectImpl createFromBinaryContent( - ContentBinary binaryContent, - boolean asXml, - boolean repeatable) - throws MOASystemException, MOAApplicationException { - - InputStream byteStream = binaryContent.getBinaryContent(); - DataObjectImpl dataObject; - - if (asXml) { - Document doc; - - try { - doc = DOMUtils.parseDocument(byteStream, false, null, null); - dataObject = new XMLDataObjectImpl(doc.getDocumentElement()); - } catch (ParserConfigurationException e) { - throw new MOASystemException("1106", null, e); - } catch (SAXException e) { - throw new MOAApplicationException("2209", null, e); - } catch (IOException e) { - throw new MOAApplicationException("2210", null, e); - } - } else { - if (repeatable) { - try { - dataObject = - new ByteArrayDataObjectImpl(StreamUtils.readStream(byteStream)); - } catch (IOException e) { - throw new MOAApplicationException("2210", null); - } - } else { - dataObject = new ByteStreamDataObjectImpl(byteStream); - } - } - - return dataObject; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.java deleted file mode 100644 index 806b76409..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ExternalURIResolver.java +++ /dev/null @@ -1,127 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.io.IOException; -import java.io.InputStream; -import java.net.HttpURLConnection; -import java.net.MalformedURLException; -import java.net.URL; -import java.net.URLConnection; - -import iaik.ixsil.exceptions.URIException; -import iaik.ixsil.util.URI; - -import at.gv.egovernment.moa.spss.MOAApplicationException; - -/** - * Resolve external URIs and provide them as a stream. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ExternalURIResolver { - - /** The MIME type of the content currently resolved. */ - private String contentType; - - /** - * Return a stream to data at the given URI. - * - * This method will try to open an URLConnection to the given - * URI. Access to the file system is disallowed. - * - * @param uriStr The URI to resolve. - * @return InputStream The data contained at the URI. - * @throws MOAApplicationException An error occurred resolving the URI (e.g., - * the URI is syntactically incorrect or the stream could not be opened). - */ - public InputStream resolve(String uriStr) throws MOAApplicationException { - URI uri; - URL url; - URLConnection connection; - InputStream is; - - // build the URI - try { - uri = new URI(uriStr); - } catch (URIException e) { - throw new MOAApplicationException("2207", new Object[] { uriStr }); - } - - // disallow access to local file system - if ("".equals(uri.getScheme()) || "file".equals(uri.getScheme())) { - throw new MOAApplicationException("2213", new Object[] { uriStr }); - } - - // convert URI to URL - try { - // create the URL - url = new URL(uriStr); - } catch (MalformedURLException e) { - throw new MOAApplicationException("2214", new Object[] { uriStr }); - } - - // build the URLConnection - try { - connection = url.openConnection(); - if ("http".equals(url.getProtocol())) { - HttpURLConnection httpConnection = (HttpURLConnection) connection; - - httpConnection.connect(); - if (httpConnection.getResponseCode() != HttpURLConnection.HTTP_OK) { - throw new MOAApplicationException("2208", new Object[] { uri }); - } - } else if ("https".equals(url.getProtocol())) { - /* - * this doesn't work because of some interaction between the IAIK - * JCE and Sun JSSE that results in an "Invalid AVA format" exception - */ - - /* - HttpsURLConnection httpsConnection = (HttpsURLConnection) connection; - InputStream trustStore = - getClass().getResourceAsStream(DEFAULT_TRUST_STORE); - SSLSocketFactory factory = - SSLUtils.getSSLSocketFactory("jks", trustStore, "changeit"); - httpsConnection.setSSLSocketFactory(factory); - httpsConnection.connect(); - if (httpConnection.getResponseCode() != HttpURLConnection.HTTP_OK) { - throw new MOAApplicationException("2208", new Object[] { uri }); - } - */ - connection.connect(); - } else { - connection.connect(); - } - is = connection.getInputStream(); - } catch (IOException e) { - throw new MOAApplicationException("2208", new Object[] { uri }, e); - } /*catch (GeneralSecurityException e) { - throw new MOAApplicationException("2208", new Object[] { uri }, e); - }*/ - - // set the content type - setContentType(connection.getContentType()); - - return is; - } - - /** - * Set the content type of the data at the URI. - * - * @param contentType The content type to set. - */ - protected void setContentType(String contentType) { - this.contentType = contentType; - } - - /** - * Return the content type of the data detected at the URI from the previous - * call of resolve(). - * - * @return String The content type. - */ - public String getContentType() { - return contentType; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/IaikExceptionMapper.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/IaikExceptionMapper.java deleted file mode 100644 index 60f573e5a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/IaikExceptionMapper.java +++ /dev/null @@ -1,267 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.lang.reflect.Constructor; -import java.util.HashMap; -import java.util.Map; - -import iaik.IAIKException; -import iaik.IAIKRuntimeException; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.MOASystemException; - - -/** - * Map an exception from the iaik namespace to a - * MOAException. - * - * @author Patrick Peck - * @version $Id$ - */ -public class IaikExceptionMapper { - - /** The argument classes for MOAExceptions. */ - private static final Class[] CONSTRUCTOR_ARGS = - new Class[] { String.class, Object[].class, Throwable.class }; - /** The exception mapping, as an array. */ - private static final Object[][] MESSAGES = - { - { iaik.IAIKException.class, "9900", MOASystemException.class }, - { iaik.IAIKRuntimeException.class, "9901", MOASystemException.class }, - { iaik.server.modules.xmlsign.XMLSignatureCreationException.class, "2220", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.XMLSignatureCreationRuntimeException.class, "2220", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.InvalidKeyException.class, "2221", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.ManifestException.class, "2222", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.ReferenceException.class, "2223", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.HashUnavailableException.class, "2224", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.SignatureAlgorithmException.class, "2225", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.SignatureEmbeddingException.class, "2226", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.SignatureValueException.class, "2227", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.SignedPropertyException.class, "2228", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.SignerCertificateUnavailableException.class, "2229", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.SupplementException.class, "2230", MOAApplicationException.class }, - { iaik.server.modules.xmlsign.TransformationException.class, "2233", MOAApplicationException.class }, - { iaik.server.modules.cmsverify.CMSSignatureVerificationException.class, "2240", MOAApplicationException.class }, - { iaik.server.modules.cmsverify.CMSSignatureVerificationRuntimeException.class, "2240", MOAApplicationException.class }, - { iaik.server.modules.cmsverify.AlgorithmNotSupportedException.class, "2241", MOAApplicationException.class }, - { iaik.server.modules.cmsverify.CMSSignatureParsingException.class, "2242", MOAApplicationException.class }, - { iaik.server.modules.cmsverify.SignerCertificateUnavailableException.class, "2243", MOAApplicationException.class }, - { iaik.server.modules.cmsverify.CMSSignatureVerificationRuntimeException.class, "2247", MOAApplicationException.class }, - { iaik.server.modules.cmsverify.InitException.class, "2248", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.XMLSignatureVerificationException.class, "2240", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.XMLSignatureVerificationRuntimeException.class, "2240", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.AlgorithmNotSupportedException.class, "2241", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.ManifestException.class, "2262", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.PropertiesException.class, "2263", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.ReferenceException.class, "2264", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.HashUnavailableException.class, "2224", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.SignerCertificateUnavailableException.class, "2243", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.SupplementException.class, "2230", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.TransformationException.class, "2265", MOAApplicationException.class }, - { iaik.server.modules.xmlverify.TransformationParsingException.class, "2269", MOAApplicationException.class } - }; - - /** The single instance of this class. */ - private static IaikExceptionMapper instance; - /** The exception mapping, as a Map for fast lookup. */ - private Map messages = new HashMap(); - - /** - * Get the single instance of this class. - * - * @return The single instance of this class. - */ - public static synchronized IaikExceptionMapper getInstance() { - if (instance == null) { - instance = new IaikExceptionMapper(); - } - return instance; - } - - /** - * Create a new IaikExceptionMapper. - * - * Protected to disallow multple instances. - */ - protected IaikExceptionMapper() { - registerMessages(); - } - - /** - * Build the complete IAIKException to message code mapping. - */ - protected void registerMessages() { - int i; - - for (i = 0; i < MESSAGES.length; i++) { - registerMessage( - (Class) MESSAGES[i][0], - (String) MESSAGES[i][1], - (Class) MESSAGES[i][2]); - } - } - - /** - * Register a single IAIKException to message mapping. - * - * @param iaikExceptionClass An exception from the iaik package. - * @param messageId The corresponding error message id. - * @param moaExceptionClass The type of MOAException that the - * IAIKException is mapped to (usually - * MOAApplicationException or MOASystemException). - */ - protected void registerMessage( - Class iaikExceptionClass, - String messageId, - Class moaExceptionClass) { - - messages.put( - iaikExceptionClass, - new ExceptionMappingInfo(messageId, moaExceptionClass)); - } - - /** - * Map an IAIKException to a MOAException. - * - * @param iaikException The IAIKException to map. - * @return A MOAException containing the message for the - * given IAIKException. - */ - public MOAException map(IAIKException iaikException) { - return mapImpl(iaikException); - } - - /** - * Map an IAIKRuntimeException to a MOAException. - * - * @param iaikException The IAIKException to map. - * @return A MOAException containing the message for the - * given IAIKRuntimeException. - */ - public MOAException map(IAIKRuntimeException iaikException) { - return mapImpl(iaikException); - } - - /** - * Map an IAIKException or IAIKRuntimeException to a - * MOAException. - * - * @param iaikException The IAIKException or - * IAIKRuntimeException to map. - * @return A MOAException containing the message for the - * given IAIKRuntimeException. - */ - private MOAException mapImpl(Exception iaikException) { - MOAException moaException = createMoaException(iaikException); - - if (moaException == null) { - return new MOASystemException("9999", null, iaikException); - } - return moaException; - } - - /** - * Create a MOAException from a given IAIKException - * by looking it up in the mapping. - * - * @param iaikException The IAIKException to map. - * @return A MOAException with an error code corresponding to - * the given IAIKException. Returns null, if no - * mapping could be found. - */ - protected MOAException createMoaException(Exception iaikException) { - ExceptionMappingInfo info = lookupMessage(iaikException.getClass()); - Constructor constructor; - - if (info == null) { - return null; - } - - // instantiate the proper MOAException and return it - try { - constructor = - info.getMoaExceptionClass().getConstructor(CONSTRUCTOR_ARGS); - return (MOAException) constructor.newInstance( - new Object[] { - info.getMessageId(), - new Object[] { iaikException.getMessage()}, - iaikException }); - } catch (Exception e) { - return null; - } - } - - /** - * Recursively look up the message associated with an - * IAIKException. - * - * This method walks up the exception inheritance hierarchy until it finds a - * mapping. - * - * @param iaikExceptionClass The IAIKException to look up. - * @return Information about the message id and - * MOAException class that the iaikExceptionClass - * maps to. If no mapping could be found, null is returned. - */ - protected ExceptionMappingInfo lookupMessage(Class iaikExceptionClass) { - ExceptionMappingInfo info; - - // break if - if (iaikExceptionClass.equals(Exception.class)) { - return null; - } - - // look up the exception class - info = (ExceptionMappingInfo) messages.get(iaikExceptionClass); - if (info == null) { - return lookupMessage(iaikExceptionClass.getSuperclass()); - } - return info; - } - -} - -/** - * A class containing a mapping from an error message ID to a - * MOAException class. - * - * @author Patrick Peck - * @version $Id$ - */ -class ExceptionMappingInfo { - /** The message ID. */ - private String messageId; - /** The MOAException class. */ - private Class moaExceptionClass; - - /** - * Create a new ExceptionMappingInfo. - * - * @param messageId The message ID. - * @param moaExceptionClass The MOAException class. - */ - public ExceptionMappingInfo(String messageId, Class moaExceptionClass) { - this.messageId = messageId; - this.moaExceptionClass = moaExceptionClass; - } - - /** - * Return the message ID. - * - * @return The message ID. - */ - public String getMessageId() { - return messageId; - } - - /** - * Returns the MOAException class that the message ID maps to. - * - * @return The MOAException class. - */ - public Class getMoaExceptionClass() { - return moaExceptionClass; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/InvokerUtils.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/InvokerUtils.java deleted file mode 100644 index 0c3b45539..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/InvokerUtils.java +++ /dev/null @@ -1,63 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - -import at.gv.egovernment.moa.util.XPathException; -import at.gv.egovernment.moa.util.XPathUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.common.ElementSelector; - -/** - * Utility methods for invoking the IAIK MOA modules. - * - * @author Patrick Peck - * @version $Id$ - */ -public class InvokerUtils { - - /** - * Select the signature parent element. - * - * @param root The root DOM element which contains the signature parent - * element somewhere in its subtree. - * @param location The ElementSelector containing the XPath - * expression to select the signature parent element from the document. - * It is also contains the namespace prefix to URI mapping. - * @return Element The signature parent element. - * @throws MOAApplicationException An error occurred evaluating the - * location. - */ - public static Element evaluateSignatureLocation( - Element root, - ElementSelector location) - throws MOAApplicationException { - - NodeList nodes; - - try { - nodes = - XPathUtils.selectNodeList( - root, - location.getNamespaceDeclarations(), - location.getXPathExpression()); - } catch (XPathException e) { - throw new MOAApplicationException( - "2212", - new Object[] { location.getXPathExpression()}, - e); - } - - if (nodes.getLength() != 1 - || !(nodes.item(0).getNodeType() == Node.ELEMENT_NODE)) { - throw new MOAApplicationException( - "2212", - new Object[] { location.getXPathExpression()}); - } - return (Element) nodes.item(0); - } - - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ProfileMapper.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ProfileMapper.java deleted file mode 100644 index 158a3ddb5..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ProfileMapper.java +++ /dev/null @@ -1,249 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.xmlbind.ProfileParser; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileID; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileID; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileID; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfile; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileID; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -/** - * Map ProfileID objects to their explicit represantation. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ProfileMapper { - - /** The parser to parse the profiles. */ - private static ProfileParser profileParser = new ProfileParser(); - - /** - * Map a CreateTransformsInfoProfile to a - * CreateTransformsInfoProfileExplicit. - * - * @param profile The profile object to map. - * @param config The MOA configuration to use for looking up the profile. - * @return profile, if the given profile is of type - * EXPLICIT_CREATETRANSFORMSINFOPROFILE, otherwise the profile - * that is looked up and parsed from the configuration. - * @throws MOAApplicationException An error occurred parsing the profile. - */ - public static CreateTransformsInfoProfileExplicit mapCreateTransformsInfoProfile( - CreateTransformsInfoProfile profile, - ConfigurationProvider config) - throws MOAApplicationException { - - switch (profile.getCreateTransformsInfoProfileType()) { - case CreateTransformsInfoProfile.EXPLICIT_CREATETRANSFORMSINFOPROFILE : - return (CreateTransformsInfoProfileExplicit) profile; - - case CreateTransformsInfoProfile.ID_CREATETRANSFORMSINFOPROFILE : - CreateTransformsInfoProfileID profileIdObj = - (CreateTransformsInfoProfileID) profile; - String profileID = profileIdObj.getCreateTransformsInfoProfileID(); - Element profileElem = config.getCreateTransformsInfoProfile(profileID); - - if (profileElem == null) { - throw new MOAApplicationException("2234", new Object[] { profileID }); - } - - return ( - CreateTransformsInfoProfileExplicit) profileParser - .parseCreateTransformsInfoProfile( - profileElem); - } - return null; // this will not happen - } - - /** - * Map a CreateSignatureEnvironmentProfile to a - * CreateSignatureEnvironmentProfileExplicit. - * - * @param profile The profile object to map. - * @param config The MOA configuration to use for looking up the profile. - * @return profile, if the given profile is of type - * EXPLICIT_CREATESIGNATUREENVIRONMENTPROFILE, otherwise the - * profile that is looked up and parsed from the configuration. - * @throws MOAApplicationException An error occurred parsing the profile. - */ - public static CreateSignatureEnvironmentProfileExplicit mapCreateSignatureEnvironmentProfile( - CreateSignatureEnvironmentProfile profile, - ConfigurationProvider config) - throws MOAApplicationException { - - switch (profile.getCreateSignatureEnvironmentProfileType()) { - case CreateSignatureEnvironmentProfile - .EXPLICIT_CREATESIGNATUREENVIRONMENTPROFILE : - - return (CreateSignatureEnvironmentProfileExplicit) profile; - - case CreateSignatureEnvironmentProfile - .ID_CREATESIGNATUREENVIRONMENTPROFILE : - - CreateSignatureEnvironmentProfileID profileIdObj = - (CreateSignatureEnvironmentProfileID) profile; - String profileID = - profileIdObj.getCreateSignatureEnvironmentProfileID(); - Element profileElem = - config.getCreateSignatureEnvironmentProfile(profileID); - - if (profileElem == null) { - throw new MOAApplicationException("2236", new Object[] { profileID }); - } - - return ( - CreateSignatureEnvironmentProfileExplicit) profileParser - .parseCreateSignatureEnvironmentProfile( - profileElem); - - } - return null; - - } - - /** - * Map a List of SupplementProfiles to their - * explicit representation. - * - * @param profiles The profiles to map. - * @param config The MOA configuration to use for looking up profiles. - * @return The mapped profiles. - * @throws MOAApplicationException An error occurred mapping one of the - * profiles. - */ - public static List mapSupplementProfiles( - List profiles, - ConfigurationProvider config) - throws MOAApplicationException { - - List mappedProfiles = new ArrayList(); - Iterator iter; - - for (iter = profiles.iterator(); iter.hasNext();) { - SupplementProfile profile = (SupplementProfile) iter.next(); - mappedProfiles.add(mapSupplementProfile(profile, config)); - } - - return mappedProfiles; - } - - /** - * Map a SupplementProfile to a - * SupplementProfileExplicit. - * - * @param profile The profile object to map. - * @param config The MOA configuration to use for looking up the profile. - * @return profile, if the given profile is of type - * EXPLICIT_SUPPLEMENTPROFILE, otherwise the - * profile that is looked up and parsed from the configuration. - * @throws MOAApplicationException An error occurred parsing the profile. - */ - public static SupplementProfileExplicit mapSupplementProfile( - SupplementProfile profile, - ConfigurationProvider config) - throws MOAApplicationException { - - switch (profile.getSupplementProfileType()) { - case SupplementProfile.EXPLICIT_SUPPLEMENTPROFILE : - return (SupplementProfileExplicit) profile; - - case SupplementProfile.ID_SUPPLEMENTPROFILE : - SupplementProfileID profileIdObj = (SupplementProfileID) profile; - String profileID = profileIdObj.getSupplementProfileID(); - Element profileElem = config.getSupplementProfile(profileID); - - if (profileElem == null) { - throw new MOAApplicationException("2267", new Object[] { profileID }); - } - - return ( - SupplementProfileExplicit) profileParser.parseSupplementProfile( - profileElem); - } - - return null; - } - - /** - * Map a List of VerifyTransformsInfoProfiles to - * their explicit representation. - * - * @param profiles The profiles to map. - * @param config The MOA configuration to use for looking up profiles. - * @return The mapped profiles. - * @throws MOAApplicationException An error occurred mapping one of the - * profiles. - */ - public static List mapVerifyTransformsInfoProfiles( - List profiles, - ConfigurationProvider config) - throws MOAApplicationException { - - List mappedProfiles = new ArrayList(); - Iterator iter; - - for (iter = profiles.iterator(); iter.hasNext();) { - VerifyTransformsInfoProfile profile = - (VerifyTransformsInfoProfile) iter.next(); - mappedProfiles.add(mapVerifyTransformsInfoProfile(profile, config)); - } - - return mappedProfiles; - } - - /** - * Map a VerifyTransformsInfoProfile to a - * VerifyTransformsInfoProfileExplicit. - * - * @param profile The profile object to map. - * @param config The MOA configuration to use for looking up the profile. - * @return profile, if the given profile is of type - * EXPLICIT_VERIFYTRANSFORMSINFOPROFILE, otherwise the - * profile that is looked up and parsed from the configuration. - * @throws MOAApplicationException An error occurred parsing the profile. - */ - public static VerifyTransformsInfoProfileExplicit mapVerifyTransformsInfoProfile( - VerifyTransformsInfoProfile profile, - ConfigurationProvider config) - throws MOAApplicationException { - - switch (profile.getVerifyTransformsInfoProfileType()) { - case VerifyTransformsInfoProfile.EXPLICIT_VERIFYTRANSFORMSINFOPROFILE : - return (VerifyTransformsInfoProfileExplicit) profile; - - case VerifyTransformsInfoProfile.ID_VERIFYTRANSFORMSINFOPROFILE : - VerifyTransformsInfoProfileID profileIdObj = - (VerifyTransformsInfoProfileID) profile; - String profileID = profileIdObj.getVerifyTransformsInfoProfileID(); - Element profileElem = - config.getVerifyTransformsInfoProfile(profileID); - - if (profileElem == null) { - throw new MOAApplicationException("2268", new Object[] { profileID }); - } - - return ( - VerifyTransformsInfoProfileExplicit) profileParser - .parseVerifyTransformsInfoProfile( - profileElem); - } - - return null; - } -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ServiceContextUtils.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ServiceContextUtils.java deleted file mode 100644 index 11f05a2f1..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/ServiceContextUtils.java +++ /dev/null @@ -1,51 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationException; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; - -/** - * A utility class for setting up and tearing down thread-local context - * information needed for calling the Invoker classes. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ServiceContextUtils { - - /** - * Set up the thread-local context information needed for calling the various - * Invoker classes. - * - * @throws ConfigurationException An error occurred setting up the - * configuration in the TransactionContext. - */ - public static void setUpContexts() throws ConfigurationException { - TransactionContextManager txMgr = TransactionContextManager.getInstance(); - LoggingContextManager logMgr = LoggingContextManager.getInstance(); - String transactionID = Thread.currentThread().getName(); - - if (txMgr.getTransactionContext() == null) { - TransactionContext ctx = new TransactionContext(transactionID, null, ConfigurationProvider.getInstance()); - txMgr.setTransactionContext(ctx); - } - - if (logMgr.getLoggingContext() == null) { - LoggingContext ctx = new LoggingContext(transactionID); - logMgr.setLoggingContext(ctx); - } - } - - /** - * Tear down thread-local context information. - */ - public static void tearDownContexts() { - TransactionContextManager.getInstance().setTransactionContext(null); - LoggingContextManager.getInstance().setLoggingContext(null); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/SignatureCreationServiceImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/SignatureCreationServiceImpl.java deleted file mode 100644 index dc5ceb21e..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/SignatureCreationServiceImpl.java +++ /dev/null @@ -1,45 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.util.Collections; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.api.Configurator; -import at.gv.egovernment.moa.spss.api.SignatureCreationService; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; - -/** - * An implementation of the SignatureCreationService, using - * the XMLSignatureCreationInvoker. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SignatureCreationServiceImpl extends SignatureCreationService { - - /** - * Create an XML signature. - * - * @param request The CreateXMLSignatureRequest containing - * information about the signature(s) to create. - * @return The created signature(s). - * @throws MOAException An error occurred creating the signature(s). - */ - public CreateXMLSignatureResponse createXMLSignature(CreateXMLSignatureRequest request) - throws MOAException { - - XMLSignatureCreationInvoker invoker = - XMLSignatureCreationInvoker.getInstance(); - CreateXMLSignatureResponse response; - - try { - Configurator.getInstance().init(); - ServiceContextUtils.setUpContexts(); - response = invoker.createXMLSignature(request, Collections.EMPTY_SET); - return response; - } finally { - ServiceContextUtils.tearDownContexts(); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/SignatureVerificationServiceImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/SignatureVerificationServiceImpl.java deleted file mode 100644 index 94cdea5d9..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/SignatureVerificationServiceImpl.java +++ /dev/null @@ -1,72 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.api.Configurator; -import at.gv.egovernment.moa.spss.api.SignatureVerificationService; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; - -/** - * An implementation of the SignatureVerificationService using - * the XMLSignatureVerificationInvoker and the - * CMSSignatureVerificationInvoker. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SignatureVerificationServiceImpl - extends SignatureVerificationService { - - /** - * Verify a CMS signature. - * - * @param request The VerifyCMSSignatureRequest containing - * information about the signature verification. - * @return The result of the signature verification. - * @throws MOAException An error occurred during signature verification. - */ - public VerifyCMSSignatureResponse verifyCMSSignature(VerifyCMSSignatureRequest request) - throws MOAException { - - CMSSignatureVerificationInvoker invoker = - CMSSignatureVerificationInvoker.getInstance(); - VerifyCMSSignatureResponse response; - - try { - Configurator.getInstance().init(); - ServiceContextUtils.setUpContexts(); - response = invoker.verifyCMSSignature(request); - return response; - } finally { - ServiceContextUtils.tearDownContexts(); - } - } - - /** - * Verify an XML signature. - * - * @param request The VerifyXMLSignatureRequest containinig - * information about the signature verification. - * @return The result of the signature verification. - * @throws MOAException An error occurred during signature verification. - */ - public VerifyXMLSignatureResponse verifyXMLSignature(VerifyXMLSignatureRequest request) - throws MOAException { - - XMLSignatureVerificationInvoker invoker = - XMLSignatureVerificationInvoker.getInstance(); - VerifyXMLSignatureResponse response; - - try { - Configurator.getInstance().init(); - ServiceContextUtils.setUpContexts(); - response = invoker.verifyXMLSignature(request); - return response; - } finally { - ServiceContextUtils.tearDownContexts(); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/TransformationFactory.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/TransformationFactory.java deleted file mode 100644 index 9984a95a5..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/TransformationFactory.java +++ /dev/null @@ -1,258 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.Iterator; -import java.util.List; -import java.util.Map; - -import iaik.server.modules.xml.Base64Transformation; -import iaik.server.modules.xml.Canonicalization; -import iaik.server.modules.xml.EnvelopedSignatureTransformation; -import iaik.server.modules.xml.Transformation; -import iaik.server.modules.xml.XPath2Transformation; -import iaik.server.modules.xml.XPathTransformation; -import iaik.server.modules.xml.XSLTTransformation; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.common.ExclusiveCanonicalizationTransform; -import at.gv.egovernment.moa.spss.api.common.Transform; -import at.gv.egovernment.moa.spss.api.common.XPathFilter; -import at.gv.egovernment.moa.spss.api.common.XPathFilter2Transform; -import at.gv.egovernment.moa.spss.api.common.XPathTransform; -import at.gv.egovernment.moa.spss.api.common.XSLTTransform; -import at.gv.egovernment.moa.spss.server.iaik.xml.Base64TransformationImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.EnvelopedSignatureTransformationImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.ExclusiveCanonicalizationImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XPath2FilterImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XPath2TransformationImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XPathTransformationImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XSLTTransformationImpl; - -/** - * A factory to create Transformation objects from - * Transform objects. - * - * @author Patrick Peck - * @version $Id$ - */ -public class TransformationFactory { - - - /** The single instance of this class. */ - private static TransformationFactory instance = null; - - /** Maps XPathFilter filter types to - * XPath2Transformation filter types. */ - private static Map FILTER_TYPE_MAPPING; - - static { - FILTER_TYPE_MAPPING = new HashMap(); - - FILTER_TYPE_MAPPING.put( - XPathFilter.INTERSECT_TYPE, - XPath2Transformation.XPath2Filter.INTERSECTION); - FILTER_TYPE_MAPPING.put( - XPathFilter.SUBTRACT_TYPE, - XPath2Transformation.XPath2Filter.SUBTRACTION); - FILTER_TYPE_MAPPING.put( - XPathFilter.UNION_TYPE, - XPath2Transformation.XPath2Filter.UNION); - } - - /** - * Get the single instance of the factory. - * - * @return TransformationFactory The single instance. - */ - public static synchronized TransformationFactory getInstance() { - if (instance == null) { - instance = new TransformationFactory(); - } - return instance; - } - - /** - * Create a new TransformationFactory. - * - * Protected to disallow multiple instances. - */ - protected TransformationFactory() { - } - - /** - * Create a Transformation based on a - * Transform object. - * - * @param transform The Transform object to extract - * transformation data from. - * @return The transformation contained in the transform - * object. - * @throws MOAApplicationException An error occured creating the - * Transformation. See exception message for details. - */ - public Transformation createTransformation(Transform transform) - throws MOAApplicationException { - String algorithmUri = transform.getAlgorithmURI(); - - if (Canonicalization.CANONICAL_XML.equals(algorithmUri) - || Canonicalization.CANONICAL_XML_WITH_COMMENTS.equals(algorithmUri)) { - return createC14nTransformation(algorithmUri); - } else if ( - Canonicalization.EXCLUSIVE_CANONICAL_XML.equals(algorithmUri) - || Canonicalization.EXCLUSIVE_CANONICAL_XML_WITH_COMMENTS.equals( - algorithmUri)) { - - return createExclusiveC14nTransformation( - (ExclusiveCanonicalizationTransform) transform); - - } else if (Base64Transformation.ALL.contains(algorithmUri)) { - return createBase64Transformation(); - } else if (EnvelopedSignatureTransformation.ALL.contains(algorithmUri)) { - return createEnvelopedSignatureTransformation(); - } else if (XPathTransformation.ALL.contains(algorithmUri)) { - return createXPathTransformation((XPathTransform) transform); - } else if (XPath2Transformation.ALL.contains(algorithmUri)) { - return createXPath2Transformation((XPathFilter2Transform) transform); - } else if (XSLTTransformation.ALL.contains(algorithmUri)) { - return createXSLTTransformation((XSLTTransform) transform); - } else { - throw new MOAApplicationException("1108", new Object[] { algorithmUri }); - } - } - - /** - * Create a List of Transformations from a - * List of Transforms. - * - * @param transforms The List containing the - * Transforms. - * @return The List of Transformations corresponding - * to the transforms. - * @throws MOAApplicationException An error occurred building one of the - * transformations. See exception message for details. - */ - public List createTransformationList(List transforms) - throws MOAApplicationException { - List transformationList = new ArrayList(); - Iterator trIter; - - for (trIter = transforms.iterator(); trIter.hasNext();) { - Transform transform = (Transform) trIter.next(); - transformationList.add(createTransformation(transform)); - } - - return transformationList; - } - - /** - * Create a Canonicalization. - * - * @param algorithmUri The algorithm URI of the canonicalization. - * @return The Canonicalization. - */ - private Transformation createC14nTransformation(String algorithmUri) { - return new CanonicalizationImpl(algorithmUri); - } - - /** - * Create a ExclusiveCanonicalization. - * - * @param transform The ExclusiveCanonicalizationTransform - * containing the transformation data. - * @return The ExclusiveCanonicalization. - */ - private Transformation createExclusiveC14nTransformation(ExclusiveCanonicalizationTransform transform) { - return new ExclusiveCanonicalizationImpl( - transform.getAlgorithmURI(), - transform.getInclusiveNamespacePrefixes()); - } - - /** - * Create a Base64Transformation. - * - * @return The - */ - private Transformation createBase64Transformation() { - return new Base64TransformationImpl(); - } - - /** - * Create an EnvelopedSignatureTransformation. - * - * @return An EnvelopedSignatureTransformation. - */ - private Transformation createEnvelopedSignatureTransformation() { - return new EnvelopedSignatureTransformationImpl(); - } - - /** - * Create an XPathTransformation. - * - * @param transform The Transform object containing the - * XPath transformation. - * @return An XPathTransformation corresponding the - * transformation given in transform. - * @throws MOAApplicationException An error occurred creating the - * Transformation. - */ - private Transformation createXPathTransformation(XPathTransform transform) - throws MOAApplicationException { - - return new XPathTransformationImpl( - transform.getXPathExpression(), - transform.getNamespaceDeclarations()); - } - - /** - * Create an XPath2Transformation. - * - * @param transform The Transform object containing the - * XPath filter transformation. - * @return An XPath2Transformation corresponding the - * transformation given in transform. - * @throws MOAApplicationException An error occurred creating the - * Transformation. - */ - private Transformation createXPath2Transformation(XPathFilter2Transform transform) - throws MOAApplicationException { - - XPath2TransformationImpl xpath2 = new XPath2TransformationImpl(); - Iterator iter; - - for (iter = transform.getFilters().iterator(); iter.hasNext();) { - XPathFilter filter = (XPathFilter) iter.next(); - String mappedFilterType = - (String) FILTER_TYPE_MAPPING.get(filter.getFilterType()); - XPath2FilterImpl mappedFilter = - new XPath2FilterImpl( - mappedFilterType, - filter.getXPathExpression(), - filter.getNamespaceDeclarations()); - xpath2.addXPathFilter(mappedFilter); - } - - if (xpath2.getXPathFilters().size() == 0) { - throw new MOAApplicationException("2216", null); - } - - return xpath2; - } - - /** - * Create an XSLTTransformation. - * - * @param transform The Transform containing the XSLT stylesheet. - * @return An XSLTTransformation corresponding the transformation - * given in transform. - * @throws MOAApplicationException An error occurred creating the - * Transformation. - */ - private Transformation createXSLTTransformation(XSLTTransform transform) - throws MOAApplicationException { - - return new XSLTTransformationImpl(transform.getStylesheet()); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/VerifyCMSSignatureResponseBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/VerifyCMSSignatureResponseBuilder.java deleted file mode 100644 index 55e2e1505..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/VerifyCMSSignatureResponseBuilder.java +++ /dev/null @@ -1,86 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.security.cert.X509Certificate; -import java.util.ArrayList; -import java.util.List; - -import iaik.server.modules.cmsverify.CMSSignatureVerificationResult; -import iaik.server.modules.cmsverify.CertificateValidationResult; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponseElement; -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; - -/** - * A class to build a VerifyCMSSignatureResponse object. - * - *

    Via subsequent calls to addResult() a number of results from - * a CMS signature verification can be added to the response.

    - * - *

    The getResponseElement() method then returns the - * VerifyCMSSignatureResponse built so far.

    - * - * @author Patrick Peck - * @version $Id$ - */ -public class VerifyCMSSignatureResponseBuilder { - /** The SPSSFactory for creating API objects. */ - private SPSSFactory factory = SPSSFactory.getInstance(); - /** The elements making up the response. */ - private List responseElements = new ArrayList(); - - /** - * Get the VerifyCMSSignatureResponse built so far. - * - * @return The VerifyCMSSignatureResponse built so far. - */ - public VerifyCMSSignatureResponse getResponse() { - return factory.createVerifyCMSSignatureResponse(responseElements); - } - - /** - * Add a verification result to the response. - * - * @param result The result to add. - * @throws MOAApplicationException An error occurred adding the result. - */ - public void addResult(CMSSignatureVerificationResult result) - throws MOAApplicationException { - - CertificateValidationResult certResult = - result.getCertificateValidationResult(); - int signatureCheckCode = - result.getSignatureValueVerificationCode().intValue(); - int certificateCheckCode = certResult.getValidationResultCode().intValue(); - VerifyCMSSignatureResponseElement responseElement; - SignerInfo signerInfo; - CheckResult signatureCheck; - CheckResult certificateCheck; - - // add SignerInfo element - signerInfo = - factory.createSignerInfo( - (X509Certificate) certResult.getCertificateChain().get(0), - certResult.isQualifiedCertificate(), - certResult.isPublicAuthorityCertificate(), - certResult.getPublicAuthorityID()); - - // add SignatureCheck element - signatureCheck = factory.createCheckResult(signatureCheckCode, null); - - // add CertificateCheck element - certificateCheck = factory.createCheckResult(certificateCheckCode, null); - - // build the response element - responseElement = - factory.createVerifyCMSSignatureResponseElement( - signerInfo, - signatureCheck, - certificateCheck); - responseElements.add(responseElement); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.java deleted file mode 100644 index 543fa3b01..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/VerifyXMLSignatureResponseBuilder.java +++ /dev/null @@ -1,331 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.io.InputStream; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import org.w3c.dom.DocumentFragment; -import org.w3c.dom.NodeList; - -import iaik.ixsil.algorithms.CanonicalizationAlgorithm; -import iaik.ixsil.algorithms.CanonicalizationAlgorithmImplExclusiveCanonicalXMLWithComments; -import iaik.server.modules.xml.BinaryDataObject; -import iaik.server.modules.xml.DataObject; -import iaik.server.modules.xml.XMLDataObject; -import iaik.server.modules.xml.XMLNodeListDataObject; -import iaik.server.modules.xmlverify.CertificateValidationResult; -import iaik.server.modules.xmlverify.DsigManifest; -import iaik.server.modules.xmlverify.HashUnavailableException; -import iaik.server.modules.xmlverify.ReferenceData; -import iaik.server.modules.xmlverify.ReferenceInfo; -import iaik.server.modules.xmlverify.SecurityLayerManifest; -import iaik.server.modules.xmlverify.XMLSignatureVerificationProfile; -import iaik.server.modules.xmlverify.XMLSignatureVerificationResult; -import iaik.x509.X509Certificate; - -import at.gv.egovernment.moa.util.CollectionUtils; -import at.gv.egovernment.moa.util.DOMUtils; -import at.gv.egovernment.moa.util.NodeListAdapter; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.common.CheckResult; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.common.SignerInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ManifestRefsCheckResultInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResultInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; - -/** - * A class to build a VerifyXMLSignatureResponse object. - * - *

    Via a call to addResult() the only result of the - * signature verification must be added.

    - * - *

    The getResponseElement() method then returns the - * VerifyXMLSignatureResponse built so far.

    - * - * @author Patrick Peck - * @version $Id$ - */ -public class VerifyXMLSignatureResponseBuilder { - - /** The SPSSFactory for creating API objects. */ - private SPSSFactory factory = SPSSFactory.getInstance(); - - /** Information about the signer certificate. */ - private SignerInfo signerInfo; - /** The hash input data. */ - private List hashInputDatas; - /** The reference input data. */ - private List referenceInputDatas; - /** The result of the signature check. */ - private ReferencesCheckResult signatureCheck; - /** The result of the signature manifest check. */ - private ReferencesCheckResult signatureManifestCheck; - /** The result of the XMLDsig manifest check. */ - private List xmlDsigManifestChecks; - /** The result of the certificate check. */ - private CheckResult certificateCheck; - - /** - * Get the VerifyMLSignatureResponse built so far. - * - * @return The VerifyXMLSignatureResponse built so far. - */ - public VerifyXMLSignatureResponse getResponse() { - return factory.createVerifyXMLSignatureResponse( - signerInfo, - hashInputDatas, - referenceInputDatas, - signatureCheck, - signatureManifestCheck, - xmlDsigManifestChecks, - certificateCheck); - } - - /** - * Sets the verification result to the response. - * - * This method must be called exactly once to ensure a valid - * VerifyXMLSignatureResponse. - * - * @param result The result to set for the response. - * @param profile The profile used for verifying the signature. - * @throws MOAApplicationException An error occurred adding the result. - */ - public void setResult( - XMLSignatureVerificationResult result, - XMLSignatureVerificationProfile profile, - ReferencesCheckResult transformsSignatureManifestCheck) - throws MOAApplicationException { - - CertificateValidationResult certResult = - result.getCertificateValidationResult(); - List referenceDataList; - ReferenceData referenceData; - List dsigManifestList; - ReferencesCheckResultInfo checkResultInfo; - int[] failedReferences; - Iterator iter; - - // create the SignerInfo; - signerInfo = - factory.createSignerInfo( - (X509Certificate) certResult.getCertificateChain().get(0), - certResult.isQualifiedCertificate(), - certResult.isPublicAuthorityCertificate(), - certResult.getPublicAuthorityID()); - - // add HashInputData Content objects - referenceDataList = result.getReferenceDataList(); - if (profile.includeHashInputData()) { - hashInputDatas = new ArrayList(); - for (iter = referenceDataList.iterator(); iter.hasNext();) { - referenceData = (ReferenceData) iter.next(); - hashInputDatas.add(buildContent(referenceData.getHashInputData())); - } - } - - // create the ReferenceInputData Content objects - if (profile.includeReferenceInputData()) { - referenceInputDatas = new ArrayList(); - for (iter = referenceDataList.iterator(); iter.hasNext();) { - referenceData = (ReferenceData) iter.next(); - referenceInputDatas.add( - buildContent(referenceData.getReferenceInputData())); - } - } - - // create the signature check - failedReferences = buildFailedReferences(result.getReferenceDataList()); - checkResultInfo = - failedReferences != null - ? factory.createReferencesCheckResultInfo(null, failedReferences) - : null; - signatureCheck = - factory.createReferencesCheckResult( - result.getSignatureValueVerificationCode().intValue(), - checkResultInfo); - - // create the signature manifest check - if (profile.checkSecurityLayerManifest()) - { - if (transformsSignatureManifestCheck.getCode() == 1) - { - // checking the transforms failed - signatureManifestCheck = transformsSignatureManifestCheck; - } - else if (result.isSecurityLayerManifestRequired()) - { - if (!result.containsSecurityLayerManifest()) - { - // required security layer manifest is missing in signature - signatureManifestCheck = factory.createReferencesCheckResult(2, null); - } - else - { - // security layer manifest exists, so we have to check its validity - SecurityLayerManifest slManifest = result.getSecurityLayerManifest(); - int verificationResult = slManifest.getManifestVerificationResult().intValue(); - - if (SecurityLayerManifest.CODE_MANIFEST_VALID.intValue() == verificationResult) - { - // security layer manifest exists and is free of errors - signatureManifestCheck = factory.createReferencesCheckResult(0, null); - } - else - { - // security layer manifest exists, but has errors - failedReferences = buildFailedReferences(slManifest.getReferenceInfoList()); - checkResultInfo = (failedReferences != null) - ? factory.createReferencesCheckResultInfo(null, failedReferences) - : null; - if (SecurityLayerManifest.CODE_MANIFEST_INCOMPLETE.intValue() == verificationResult) - { - signatureManifestCheck = factory.createReferencesCheckResult(3, checkResultInfo); - } - else if (SecurityLayerManifest.CODE_REFERENCE_HASH_INVALID.intValue() == verificationResult) - { - signatureManifestCheck = factory.createReferencesCheckResult(4, checkResultInfo); - } - else - { - // Should not happen - throw new RuntimeException("Unexpected result from security layer manifest verification."); - } - } - } - } - else - { - // no security layer manifest is required, so the signature manifest check is ok - signatureManifestCheck = factory.createReferencesCheckResult(0, null); - } - } - - // create the xmlDsigManifestCheck - if (profile.checkXMLDsigManifests()) { - xmlDsigManifestChecks = new ArrayList(); - dsigManifestList = result.getDsigManifestList(); - for (iter = dsigManifestList.iterator(); iter.hasNext();) { - DsigManifest dsigManifest = (DsigManifest) iter.next(); - int refIndex = - dsigManifest.getReferringReferenceInfo().getReferenceIndex(); - ManifestRefsCheckResultInfo manifestCheckResultInfo; - - failedReferences = - buildFailedReferences(dsigManifest.getReferenceInfoList()); - manifestCheckResultInfo = - factory.createManifestRefsCheckResultInfo( - null, - failedReferences, - refIndex); - xmlDsigManifestChecks.add( - factory.createManifestRefsCheckResult( - dsigManifest.getManifestVerificationResult().intValue(), - manifestCheckResultInfo)); - } - } - - // create the certificate check - certificateCheck = - factory.createCheckResult( - certResult.getValidationResultCode().intValue(), - null); - } - - /** - * Build a Content object from the given DataObject. - * - * @param dataObject The DataObject from which to build the - * Content. Based on the type of this parameter, the type of - * Content will either be XML_CONTENT or - * BINARY_CONTENT. - * @return The Content object containing the data. - * @throws MOAApplicationException An error occurred adding the content. - */ - private Content buildContent(DataObject dataObject) - throws MOAApplicationException { - - if (dataObject instanceof BinaryDataObject) { - BinaryDataObject binaryData = (BinaryDataObject) dataObject; - return factory.createContent(binaryData.getInputStream(), null); - } else if (dataObject instanceof XMLDataObject) { - XMLDataObject xmlData = (XMLDataObject) dataObject; - List nodes = new ArrayList(); - - nodes.add(xmlData.getElement()); - return factory.createContent(new NodeListAdapter(nodes), null); - } else { // dataObject instanceof XMLNodeListDataObject - // if the data in the NodeList can be converted back to valid XML, - // write it as XMLContent; otherwise, write it as Base64Content - XMLNodeListDataObject nodeData = (XMLNodeListDataObject) dataObject; - NodeList nodes = nodeData.getNodeList(); - - if (DOMUtils.checkAttributeParentsInNodeList(nodes)) { - // insert as XMLContent - try { - DocumentFragment fragment = DOMUtils.nodeList2DocumentFragment(nodes); - - return factory.createContent(fragment.getChildNodes(), null); - } catch (Exception e) { - // not successful -> fall through to the Base64Content - } - } - - // insert canonicalized NodeList as binary content - try { - CanonicalizationAlgorithm c14n = - new CanonicalizationAlgorithmImplExclusiveCanonicalXMLWithComments(); - InputStream is; - - c14n.setInput(nodes); - is = c14n.canonicalize(); - return factory.createContent(is, null); - } catch (Exception e) { - throw new MOAApplicationException("2200", null); - } - } - } - - /** - * Build the failed references. - * - * Failed references are references for which the isHashValid() - * method returns false. - * - * @param refInfos A List containing the - * ReferenceInfo objects to be checked. - * @return The indexes of the failed references. - */ - private int[] buildFailedReferences(List refInfos) { - List failedReferencesList = new ArrayList(); - int i; - - // find out the failed references - for (i = 0; i < refInfos.size(); i++) { - ReferenceInfo refInfo = (ReferenceInfo) refInfos.get(i); - - try { - if (refInfo.isHashCalculated() && !refInfo.isHashValid()) { - failedReferencesList.add(new Integer(i + 1)); - } - } catch (HashUnavailableException e) { - // nothing to do here because we called refInfo.isHashCalculated first - } - } - - // convert to an int array - if (failedReferencesList.isEmpty()) { - return null; - } else { - int[] failedReferences = CollectionUtils.toIntArray(failedReferencesList); - - return failedReferences; - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvoker.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvoker.java deleted file mode 100644 index c3b788716..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvoker.java +++ /dev/null @@ -1,522 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.text.ParseException; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Set; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; - -import iaik.IAIKException; -import iaik.IAIKRuntimeException; -import iaik.server.modules.xml.DataObject; -import iaik.server.modules.xml.XMLDataObject; -import iaik.server.modules.xml.XMLSignature; -import iaik.server.modules.xmlsign.XMLSignatureCreationModule; -import iaik.server.modules.xmlsign.XMLSignatureCreationModuleFactory; -import iaik.server.modules.xmlsign.XMLSignatureCreationProfile; - -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; -import at.gv.egovernment.moa.util.DateTimeUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.xml.SigningTimeImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl; -import at.gv.egovernment.moa.spss.server.logging.IaikLog; -import at.gv.egovernment.moa.spss.server.logging.TransactionId; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; -import at.gv.egovernment.moa.spss.server.util.IdGenerator; - -/** - * A class providing an API based interface to the - * XMLSignatureCreationModule. - * - * This class performs the invocation of the - * iaik.server.modules.xmlsign.XMLSignatureCreationModule from a - * CreateXMLSignatureRequest given as an API object. The result of - * the invocation is integrated into a CreateXMLSignatureResponse - * and returned. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureCreationInvoker { - - /** The single instance of this class. */ - private static XMLSignatureCreationInvoker instance = null; - - /** - * Get the only instance of this class. - * - * @return The only instance of this class. - */ - public static synchronized XMLSignatureCreationInvoker getInstance() { - if (instance == null) { - instance = new XMLSignatureCreationInvoker(); - } - return instance; - } - - /** - * Create a new XMLSignatureCreationInvoker. - * - * Protected to disallow multiple instances. - */ - protected XMLSignatureCreationInvoker() { - } - - /** - * Process the CreateXMLSignatureRequest message and invoke the - * XMLSignatureCreationModule for every - * SingleSignatureInfo contained in the request. - * - * @param request A CreateXMLSignatureRequest API object - * containing the information for creating the signature(s). - * @param reserved A Set of reserved object IDs. - * - * @return A CreateXMLSignatureResponse API object containing - * the created signature(s). The response contains either a - * SignatureEnvironment or a ErrorResponse - * for each SingleSignatureInfo in the request. - * @throws MOAException An error occurred during signature creation. - */ - public CreateXMLSignatureResponse createXMLSignature( - CreateXMLSignatureRequest request, - Set reserved) - throws MOAException { - - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - LoggingContext loggingCtx = - LoggingContextManager.getInstance().getLoggingContext(); - Set reservedIDs = new HashSet(reserved); - XMLSignatureCreationProfileFactory profileFactory = - new XMLSignatureCreationProfileFactory(request, reservedIDs); - CreateXMLSignatureResponseBuilder responseBuilder = - new CreateXMLSignatureResponseBuilder(); - int createCount = 1; - IdGenerator refIdGen; - XMLSignatureCreationModule module; - Iterator singleSignatureInfoIter; - - // create the XMLSignatureCreationModule and configure it - module = XMLSignatureCreationModuleFactory.getInstance(); - module.setLog(new IaikLog(loggingCtx.getNodeID())); - - // select the SingleSignatureInfo elements - singleSignatureInfoIter = request.getSingleSignatureInfos().iterator(); - - // iterate over all the SingleSignatureInfo elements in the request - while (singleSignatureInfoIter.hasNext()) { - SingleSignatureInfo singleSignatureInfo = - (SingleSignatureInfo) singleSignatureInfoIter.next(); - CreateSignatureInfo createSignatureInfo; - List dataObjectList; - XMLSignatureCreationProfile profile; - XMLDataObject signatureEnvironment; - XMLDataObject signatureParent; - XMLSignature signature; - List additionalSignedProperties; - Node signatureEnvironmentParent = null; - Element requestElement = null; - - try { - // create the reference id generator - refIdGen = new IdGenerator("reference-" + createCount++, reservedIDs); - - // build the signature environment - createSignatureInfo = singleSignatureInfo.getCreateSignatureInfo(); - if (createSignatureInfo != null) { - DataObjectFactory dataObjFactory = DataObjectFactory.getInstance(); - - signatureEnvironment = - dataObjFactory.createSignatureEnvironment( - createSignatureInfo.getCreateSignatureEnvironment(), - getCreateSignatureEnvironmentProfileSupplements(singleSignatureInfo)); - } else { - signatureEnvironment = null; - } - - // build the list of DataObjects - dataObjectList = - buildDataObjectList( - singleSignatureInfo, - signatureEnvironment, - refIdGen); - - // build the XMLSignatureCreationProfile - profile = profileFactory.createProfile(singleSignatureInfo); - - // build the additionalSignedProperties - additionalSignedProperties = buildAdditionalSignedProperties(); - - // build the signatureParentElement - if (signatureEnvironment != null) { - signatureParent = - buildSignatureParentElement( - signatureEnvironment.getElement(), - singleSignatureInfo); - } else { - signatureParent = null; - } - - // make the signature environment the root of the document, if it is - // not a separate document anyway; this is done to assure that - // canonicalization of the signature environment contains the correct - // namespace declarations - if (signatureEnvironment != null) { - Document requestDoc = - signatureEnvironment.getElement().getOwnerDocument(); - requestElement = requestDoc.getDocumentElement(); - if (requestElement != signatureEnvironment.getElement()) { - signatureEnvironmentParent = - signatureEnvironment.getElement().getParentNode(); - requestElement.getOwnerDocument().replaceChild( - signatureEnvironment.getElement(), - requestElement); - } - } - - try { - // create the signature - signature = - module.createSignature( - dataObjectList, - profile, - additionalSignedProperties, - signatureParent, - new TransactionId(context.getTransactionID())); - - // insert the result into the response - if (signatureParent != null) { - responseBuilder.addSignatureEnvironment( - signatureEnvironment.getElement()); - } else { - responseBuilder.addSignatureEnvironment(signature.getElement()); - } - - } catch (IAIKException e) { - MOAException moaException = IaikExceptionMapper.getInstance().map(e); - - responseBuilder.addError( - moaException.getMessageId(), - moaException.getMessage()); - Logger.warn(moaException.getMessage(), e); - } catch (IAIKRuntimeException e) { - MOAException moaException = IaikExceptionMapper.getInstance().map(e); - - responseBuilder.addError( - moaException.getMessageId(), - moaException.getMessage()); - Logger.warn(moaException.getMessage(), e); - } - - // swap back in the request as root document - if (signatureEnvironment != null) { - if (requestElement != signatureEnvironment.getElement()) { - requestElement.getOwnerDocument().replaceChild( - requestElement, - signatureEnvironment.getElement()); - signatureEnvironmentParent.appendChild( - signatureEnvironment.getElement()); - } - } - - } catch (MOAException e) { - responseBuilder.addError(e.getMessageId(), e.getMessage()); - Logger.warn(e.getMessage(), e); - } - - } - - return responseBuilder.getResponse(); - } - - /** - * Build the list of DataObjects from the given - * SingleSignatureInfo object. - * - *

    - * Only the following cases of DataObjects are - * valid in case of an enveloping signature: - * - *

      - *
    • Reference == null && Content != null: The - * Content will be used in the DataObject.
    • - *
    • Reference != null && Content == null: Resolve the - * Reference and use it as DataObject. - * Set the Reference in the DataObject as well.
    • - *
    - *

    - * - *

    - * Only the following cases of DataObjects are valid in case - * of a detached signature: - * - *

      - *
    • Reference != null && Content == null: Resolve the - * Reference and use it as DataObject. - * Set the Reference in the DataObject as well.
    • - *
    • Reference != null && Content != null: The - * Content will be used in the DataObject. - * Set the Reference in the DataObject as well.
    • - *
    - *

    - * - *

    - * All other cases will lead to an error. - *

    - * - * @param singleSignatureInfo The SingleSignatureInfo object - * containing the DataObjectInfo objects. - * @param signatureEnvironment The - * @param idGen The ID generator for DataObject references. - * @return The List of DataObjects contained in the - * given singleSignatureInfo. - * @throws MOASystemException A system error occurred building the data - * objects. - * @throws MOAApplicationException An error occurred building the data - * objects. - */ - private List buildDataObjectList( - SingleSignatureInfo singleSignatureInfo, - XMLDataObject signatureEnvironment, - IdGenerator idGen) - throws MOASystemException, MOAApplicationException { - - List dataObjInfos = singleSignatureInfo.getDataObjectInfos(); - List dataObjects = new ArrayList(); - //Document requestDoc = singleSignatureInfo.getOwnerDocument(); - Iterator dtIter; - - for (dtIter = dataObjInfos.iterator(); dtIter.hasNext();) { - DataObjectInfo dataObjInfo = (DataObjectInfo) dtIter.next(); - String structure = dataObjInfo.getStructure(); - - if (DataObjectInfo.STRUCTURE_ENVELOPING.equals(structure)) { - dataObjects.add( - buildEnvelopingDataObject( - dataObjInfo.getDataObject(), - idGen.nextId())); - } else if (DataObjectInfo.STRUCTURE_DETACHED.equals(structure)) { - dataObjects.add( - buildDetachedDataObject( - dataObjInfo.getDataObject(), - signatureEnvironment, - idGen.nextId())); - } else { - throw new MOAApplicationException("1103", new Object[] { structure }); - } - } - - return dataObjects; - - } - - /** - * Build a DataObject to be used in an enveloping - * signature. - * - * @param content The Content object containing the data object. - * ContentOptionalRefType. - * @param referenceID The reference ID to use in the signature for the - * DataObject created. - * @return The DataObject representing the data contained in - * dataObjectElem. - * @throws MOAApplicationException An error occurred during the creation of - * the DataObject. - * @throws MOASystemException A system error occurred during the creation of - * the DataObject. - */ - private DataObject buildEnvelopingDataObject( - Content content, - String referenceID) - throws MOASystemException, MOAApplicationException { - - DataObjectFactory factory = DataObjectFactory.getInstance(); - DataObject dataObject; - - dataObject = - factory.createFromContentOptionalRefType( - content, - referenceID, - false, - false, - true, - false); - - return dataObject; - } - - /** - * Build a DataObject to be used in a detached signature. - * - * @param content The Content object containing an the data. - * @param signatureEnvironment The signature environment where the signature - * will be inserted. - * @param referenceID The reference ID to use in the signature for the - * DataObject created. - * @return The DataObject representing the data contained in - * dataObjectElem. - * @throws MOAApplicationException An error occurred during the creation of - * the DataObject. - * @throws MOASystemException A system error occurred during the creation of - * the DataObject. - */ - private DataObject buildDetachedDataObject( - Content content, - XMLDataObject signatureEnvironment, - String referenceID) - throws MOASystemException, MOAApplicationException { - - String reference = content.getReference(); - DataObjectFactory factory = DataObjectFactory.getInstance(); - DataObject dataObject; - - if (reference == null) { - throw new MOAApplicationException("1102", null); - } else if ("".equals(reference) || reference.startsWith("#")) { - dataObject = - factory.createFromSignatureEnvironment( - signatureEnvironment.getElement(), - reference, - referenceID); - } else { - dataObject = - factory.createFromContentOptionalRefType( - content, - referenceID, - true, - false, - true, - false); - } - return dataObject; - } - - /** - * Build the signature parent element. - * - * @param signatureEnvironment The signature environment containing the - * document in which to insert the signature. - * @param singleSignatureInfo The SingleSignatureInfo - * containing the signature parent element. - * @return An XMLDataObject containing the signature parent - * element or null, if the CreateSignatureInfo is - * null. - * @throws MOAApplicationException An error occurred during the creation of - * the signature parent. - */ - private XMLDataObject buildSignatureParentElement( - Element signatureEnvironment, - SingleSignatureInfo singleSignatureInfo) - throws MOAApplicationException { - - CreateSignatureInfo createInfo = - singleSignatureInfo.getCreateSignatureInfo(); - - // evaluate the CreateSignatureLocation - if (createInfo != null) { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - CreateSignatureEnvironmentProfileExplicit createProfile = - ProfileMapper.mapCreateSignatureEnvironmentProfile( - createInfo.getCreateSignatureEnvironmentProfile(), - config); - CreateSignatureLocation location = - createProfile.getCreateSignatureLocation(); - Element signatureParent = - InvokerUtils.evaluateSignatureLocation(signatureEnvironment, location); - - return new XMLDataObjectImpl(signatureParent); - } else { - return null; - } - } - - /** - * Get the supplements contained in the - * CreateSignatureEnvironmentProfile of the given - * SingleSignatureInfo. - * - * @param singleSigInfo The SingleSignatureInfo from which - * to extract the supplements. - * @return A List of XMLDataObjectAssociations - * or null, if the singleSigInfo does not contain - * supplements. - * @throws MOAApplicationException An error occurred parsing the - * CreateSignatureEnvironmentProfile. - */ - private List getCreateSignatureEnvironmentProfileSupplements(SingleSignatureInfo singleSigInfo) - throws MOAApplicationException { - CreateSignatureInfo sigInfo = singleSigInfo.getCreateSignatureInfo(); - - if (sigInfo != null) { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - CreateSignatureEnvironmentProfileExplicit profile = - ProfileMapper.mapCreateSignatureEnvironmentProfile( - sigInfo.getCreateSignatureEnvironmentProfile(), - config); - List supplements = profile.getSupplements(); - - return supplements; - } - return null; - } - - /** - * Build the list of additional signed properties. - * - * Based on the generic configuration setting - * ConfigurationProvider.TEST_SIGNING_TIME_PROPERTY, a - * constant SigningTime will be added to the properties. - * - * @return The List of additional signed properties. - */ - private List buildAdditionalSignedProperties() { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - List additionalSignedProperties = Collections.EMPTY_LIST; - String testSigningTime = - config.getGenericConfiguration( - ConfigurationProvider.TEST_SIGNING_TIME_PROPERTY); - - if (testSigningTime != null) { - try { - SigningTimeImpl signingTime = - new SigningTimeImpl(DateTimeUtils.parseDateTime(testSigningTime)); - additionalSignedProperties = new ArrayList(); - additionalSignedProperties.add(signingTime); - } catch (ParseException e) { - // if we fail here, the signing time will simply not be added to - // the list of signed properties - } - } - - return additionalSignedProperties; - } - -} \ No newline at end of file diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationProfileFactory.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationProfileFactory.java deleted file mode 100644 index c9bb12f75..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationProfileFactory.java +++ /dev/null @@ -1,448 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.math.BigInteger; -import java.security.Principal; -import java.security.cert.X509Certificate; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import iaik.server.modules.algorithms.HashAlgorithms; -import iaik.server.modules.keys.KeyEntryID; -import iaik.server.modules.keys.KeyModule; -import iaik.server.modules.keys.KeyModuleFactory; -import iaik.server.modules.xmlsign.SignatureStructureTypes; -import iaik.server.modules.xmlsign.XMLSignatureCreationProfile; -import iaik.server.modules.xmlsign.XMLSignatureInsertionLocation; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.Constants; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.config.KeyGroupEntry; -import at.gv.egovernment.moa.spss.server.iaik.xml.CanonicalizationImpl; -import at.gv.egovernment.moa.spss.server.iaik.xmlsign.DataObjectTreatmentImpl; -import at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureCreationProfileImpl; -import at.gv.egovernment.moa.spss.server.iaik.xmlsign.XMLSignatureInsertionLocationImpl; -import at.gv.egovernment.moa.spss.server.logging.TransactionId; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; -import at.gv.egovernment.moa.spss.server.util.IdGenerator; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A factory to create XMLSignatureCreationProfiles from a - * CreateXMLSignatureRequest, based on the current MOA - * configuration. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureCreationProfileFactory { - - private static Map HASH_ALGORITHM_MAPPING; - - static { - HASH_ALGORITHM_MAPPING = new HashMap(); - HASH_ALGORITHM_MAPPING.put(Constants.SHA1_URI, HashAlgorithms.SHA1); - } - - /** The CreateXMLSignatureRequest for which to create the - * profile.*/ - private CreateXMLSignatureRequest request; - /** How many profiles have been created based on the same request. */ - private int createProfileCount; - /** The Set of reserved object IDs.*/ - private Set reserved; - - /** - * Create a new XMLSignatureCreationProfileFactory. - * - * @param request The request for which to create profiles. - * @param reserved The Set of reserved object IDs. IDs will - * be added during signature creation. - */ - public XMLSignatureCreationProfileFactory( - CreateXMLSignatureRequest request, - Set reserved) { - this.request = request; - this.reserved = reserved; - createProfileCount = 1; - } - - /** - * Create a XMLSignatureCreationProfile for the given - * SingleSignatureInfo object.. - * - * @param singleSignatureInfo The SingleSignatureInfo object - * containing information about the creation of a signature. - * @return The XMLSignatureCreationProfile containing additional - * information for creating an XML signature. - * @throws MOASystemException A system error occurred during creation of the - * profile. See message for details - * @throws MOAApplicationException An application error occurred during - * creation of the profile. See message for details. - */ - public XMLSignatureCreationProfile createProfile(SingleSignatureInfo singleSignatureInfo) - throws MOASystemException, MOAApplicationException { - - XMLSignatureCreationProfileImpl profile = - new XMLSignatureCreationProfileImpl(createProfileCount, reserved); - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - CanonicalizationImpl canonicalization; - List dataObjectTreatmentList; - String keyGroupID; - Set keySet; - List transformationSupplements; - List createTransformsProfiles; - - // build the transformation supplements - createTransformsProfiles = - getCreateTransformsInfoProfiles(singleSignatureInfo); - transformationSupplements = - buildTransformationSupplements(createTransformsProfiles); - - // build and set the data object treatment list - dataObjectTreatmentList = - buildDataObjectTreatmentList( - singleSignatureInfo, - createTransformsProfiles, - transformationSupplements); - profile.setDataObjectTreatmentList(dataObjectTreatmentList); - - // set the key set - keyGroupID = request.getKeyIdentifier(); - keySet = buildKeySet(keyGroupID); - if (keySet == null) { - throw new MOAApplicationException("2231", null); - } else if (keySet.size() == 0) { - throw new MOAApplicationException("2232", null); - } - profile.setKeySet(keySet); - - // set the Security Layer manifest algorithm name - profile.setSecurityLayerManifestTypeURI(Constants.SL_MANIFEST_TYPE_URI); - - // set the structure type - if (singleSignatureInfo.getCreateSignatureInfo() != null) { - profile.setSignatureStructureType(SignatureStructureTypes.ENVELOPED); - } else { - profile.setSignatureStructureType(SignatureStructureTypes.DETACHED); - } - - // set insertion location - profile.setSignatureInsertionLocation( - getSignatureInsertionLocationIndex(singleSignatureInfo)); - - // set the canonicalization algorithm - canonicalization = - new CanonicalizationImpl(config.getCanonicalizationAlgorithmName()); - profile.setSignedInfoCanonicalization(canonicalization); - - // set the signed properties - profile.setSignedProperties(Collections.EMPTY_LIST); - - // set security layer conformity - profile.setSecurityLayerConform( - singleSignatureInfo.isSecurityLayerConform()); - - // update the createProfileCount - createProfileCount++; - - return profile; - } - - /** - * Get the List of all CreateTransformsInfoProfiles - * contained in all the DataObjectInfos of the given - * SingleSignatureInfo. - * - * @param singleSignatureInfo The SingleSignatureInfo object from - * which to extract the CreateTransformsInfoProfiles. - * @return All CreateTransformsInfoProfiles of all - * DataObjectInfos of singleSignatureInfo. - * @throws MOAApplicationException An error occurred creating one of the - * profiles. - */ - private List getCreateTransformsInfoProfiles(SingleSignatureInfo singleSignatureInfo) - throws MOAApplicationException { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - List dataObjInfos = singleSignatureInfo.getDataObjectInfos(); - List profiles = new ArrayList(); - Iterator dtIter; - - for (dtIter = dataObjInfos.iterator(); dtIter.hasNext();) { - DataObjectInfo dataObjInfo = (DataObjectInfo) dtIter.next(); - CreateTransformsInfoProfileExplicit profile = - ProfileMapper.mapCreateTransformsInfoProfile( - dataObjInfo.getCreateTransformsInfoProfile(), - config); - profiles.add(profile); - } - - return profiles; - } - - /** - * Build the List of transformation supplements contained in a - * SingleSignatureInfo object. - * - * @param createTransformsInfoProfiles The - * CreateTransformsInfoProfile object from which to extract the - * transformation supplements. - * @return A List of DataObjects containing the - * transformation supplements. - * @throws MOASystemException A system error occurred creating one of the - * transformation supplements. - * @throws MOAApplicationException An error occurred creating one of the - * transformation supplements. - */ - private List buildTransformationSupplements(List createTransformsInfoProfiles) - throws MOASystemException, MOAApplicationException { - - List transformationSupplements = new ArrayList(); - DataObjectFactory factory = DataObjectFactory.getInstance(); - Iterator iter; - - for (iter = createTransformsInfoProfiles.iterator(); iter.hasNext();) { - CreateTransformsInfoProfileExplicit profile = - (CreateTransformsInfoProfileExplicit) iter.next(); - List supplements = profile.getSupplements(); - - if (supplements != null) { - Iterator supplIter; - - for (supplIter = supplements.iterator(); supplIter.hasNext();) { - XMLDataObjectAssociation supplement = - (XMLDataObjectAssociation) supplIter.next(); - - transformationSupplements.add( - factory.createFromXmlDataObjectAssociation( - supplement, - false, - true)); - } - } - } - - return transformationSupplements; - } - - /** - * Build the List of DataObjectTreatments for the - * given SingleSignatureInfo object.. - * - * @param singleSignatureInfo The SingleSignatureInfo object - * from which to exctract the CreateTransformsInfoProfiles - * containing the data for the DataObjectTreatments. - * @param createTransformsInfoProfiles The - * CreateTransformsInfoProfiles contained in the - * singleSignatureInfo. - * @param transformationSupplements Additional parameters for - * transformations contained in DataObjectTreatments. - * @return A List of DataObjectTreatment objects. - * @throws MOAApplicationException An error occurred building one of the - * DataObjectTreatments. - * @throws MOASystemException A system error occurred building one of the - * DataObjectTreatments. - */ - private List buildDataObjectTreatmentList( - SingleSignatureInfo singleSignatureInfo, - List createTransformsInfoProfiles, - List transformationSupplements) - throws MOASystemException, MOAApplicationException { - - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - List treatments = new ArrayList(); - List dataObjInfos = singleSignatureInfo.getDataObjectInfos(); - int dataObjectTreatmentCount = 1; - String hashAlgorithmName; - Iterator dtIter; - Iterator prIter; - - prIter = createTransformsInfoProfiles.iterator(); - for (dtIter = dataObjInfos.iterator(); dtIter.hasNext();) { - CreateTransformsInfoProfileExplicit profile = - (CreateTransformsInfoProfileExplicit) prIter.next(); - DataObjectInfo dataObjInfo = (DataObjectInfo) dtIter.next(); - IdGenerator objIdGen = - new IdGenerator( - ("signed-data-" + createProfileCount) - + ("-" + dataObjectTreatmentCount++), - reserved); - DataObjectTreatmentImpl treatment = new DataObjectTreatmentImpl(objIdGen); - - treatment.setFinalContentType( - profile.getCreateTransformsInfo().getFinalDataMetaInfo().getMimeType()); - treatment.setTransformationList(buildTransformationList(profile)); - treatment.setReferenceInManifest(dataObjInfo.isChildOfManifest()); - - hashAlgorithmName = - (String) HASH_ALGORITHM_MAPPING.get( - config.getDigestMethodAlgorithmName()); - if (hashAlgorithmName == null) { - error( - "config.17", - new Object[] { config.getDigestMethodAlgorithmName()}); - throw new MOASystemException("2900", null); - } - - treatment.setHashAlgorithmName(hashAlgorithmName); - treatment.setIncludedInSignature( - DataObjectInfo.STRUCTURE_ENVELOPING.equals(dataObjInfo.getStructure())); - treatment.setTransformationSupplements(transformationSupplements); - - treatments.add(treatment); - - } - - return treatments; - } - - /** - * Build the List of transformations contained in a - * CreateTransformsInfoProfile object. - * - * @param profile The CreateTransformsInfoProfile object - * from which to extract the Transforms. - * @return A List of Transformations contained in - * the given CreateTransformsInfoProfile. - * @throws MOAApplicationException An error occurred building one of the - * Transformations. - */ - private List buildTransformationList(CreateTransformsInfoProfileExplicit profile) - throws MOAApplicationException { - - TransformationFactory factory = TransformationFactory.getInstance(); - List transforms = profile.getCreateTransformsInfo().getTransforms(); - - return transforms != null - ? factory.createTransformationList(transforms) - : Collections.EMPTY_LIST; - } - - /** - * Build the set of KeyEntryIDs available to the given - * keyGroupID. - * - * @param keyGroupID The keygroup ID for which the available keys should be - * returned. - * @return The Set of KeyEntryIDs - * identifying the available keys. - */ - private Set buildKeySet(String keyGroupID) { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - Set keyGroupEntries; - - // get the KeyGroup entries from the configuration - if (context.getClientCertificate() != null) { - X509Certificate cert = context.getClientCertificate()[0]; - Principal issuer = cert.getIssuerDN(); - BigInteger serialNumber = cert.getSerialNumber(); - - keyGroupEntries = - config.getKeyGroupEntries(issuer, serialNumber, keyGroupID); - } else { - keyGroupEntries = config.getKeyGroupEntries(null, null, keyGroupID); - } - - // map the KeyGroup entries to a set of KeyEntryIDs - if (keyGroupEntries == null) { - return null; - } else if (keyGroupEntries.size() == 0) { - return Collections.EMPTY_SET; - } else { - KeyModule module = - KeyModuleFactory.getInstance( - new TransactionId(context.getTransactionID())); - Set keyEntryIDs = module.getPrivateKeyEntryIDs(); - Set keySet = new HashSet(); - Iterator iter; - - // filter out the keys that do not exist in the IAIK configuration - // by walking through the key entries and checking if the exist in the - // keyGroupEntries - for (iter = keyEntryIDs.iterator(); iter.hasNext();) { - KeyEntryID entryID = (KeyEntryID) iter.next(); - KeyGroupEntry entry = - new KeyGroupEntry( - entryID.getModuleID(), - entryID.getCertificateIssuer(), - entryID.getCertificateSerialNumber()); - if (keyGroupEntries.contains(entry)) { - keySet.add(entryID); - } - } - return keySet; - } - } - - /** - * Get the signature location index where the signature will be inserted into - * the signature parent element. - * - * @param singleSignatureInfo The SingleSignatureInfo object - * containing the CreateSignatureLocation. - * @return The index at which to insert the signature into the signature - * environment. - * @throws MOAApplicationException An error occurred parsing the - * CreateSignatureEnvironmentProfile. - */ - private XMLSignatureInsertionLocation getSignatureInsertionLocationIndex(SingleSignatureInfo singleSignatureInfo) - throws MOAApplicationException { - - CreateSignatureInfo createInfo = - singleSignatureInfo.getCreateSignatureInfo(); - - if (createInfo != null) { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - CreateSignatureEnvironmentProfileExplicit profile = - ProfileMapper.mapCreateSignatureEnvironmentProfile( - createInfo.getCreateSignatureEnvironmentProfile(), - config); - int index = profile.getCreateSignatureLocation().getIndex(); - - return new XMLSignatureInsertionLocationImpl(index); - } else { - return new XMLSignatureInsertionLocationImpl(0); - } - } - - /** - * Utility function to issue an error message to the log. - * - * @param messageId The ID of the message to log. - * @param parameters Additional message parameters. - */ - private static void error(String messageId, Object[] parameters) { - MessageProvider msg = MessageProvider.getInstance(); - - Logger.error(new LogMsg(msg.getMessage(messageId, parameters))); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.java deleted file mode 100644 index b8af3c02a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvoker.java +++ /dev/null @@ -1,580 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Date; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.w3c.dom.Element; -import org.w3c.dom.Node; - -import iaik.IAIKException; -import iaik.IAIKRuntimeException; -import iaik.server.modules.xml.DataObject; -import iaik.server.modules.xml.XMLDataObject; -import iaik.server.modules.xml.XMLSignature; -import iaik.server.modules.xmlsign.XMLConstants; -import iaik.server.modules.xmlverify.DsigManifest; -import iaik.server.modules.xmlverify.ReferenceData; -import iaik.server.modules.xmlverify.SecurityLayerManifest; -import iaik.server.modules.xmlverify.XMLSignatureVerificationModule; -import iaik.server.modules.xmlverify.XMLSignatureVerificationModuleFactory; -import iaik.server.modules.xmlverify.XMLSignatureVerificationProfile; -import iaik.server.modules.xmlverify.XMLSignatureVerificationResult; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; -import at.gv.egovernment.moa.util.CollectionUtils; -import at.gv.egovernment.moa.util.Constants; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.common.XMLDataObjectAssociation; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResultInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.SupplementProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter; -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameterHash; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.xml.XMLSignatureImpl; -import at.gv.egovernment.moa.spss.server.logging.IaikLog; -import at.gv.egovernment.moa.spss.server.logging.TransactionId; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A class providing a DOM based interface to the - * XMLSignatureVerificationModule. - * - * This class performs the invocation of the - * iaik.server.modules.xmlverify.XMLSignatureVerificationModule - * from a VerifyXMLSignatureRequest given as a DOM element. The - * result of the invocation is integrated into a - * VerifyXMLSignatureResponse and returned. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureVerificationInvoker { - - /** The single instance of this class. */ - private static XMLSignatureVerificationInvoker instance = null; - - private static Set FILTERED_REF_TYPES; - - static { - FILTERED_REF_TYPES = new HashSet(); - FILTERED_REF_TYPES.add(DsigManifest.XML_DSIG_MANIFEST_TYPE); - FILTERED_REF_TYPES.add(SecurityLayerManifest.SECURITY_LAYER_MANIFEST_TYPE); - FILTERED_REF_TYPES.add( - SecurityLayerManifest.SECURITY_LAYER_MANIFEST_TYPE_OLD); - FILTERED_REF_TYPES.add( - XMLConstants.NAMESPACE_ETSI_STRING + "SignedProperties"); - } - - /** - * Get the single instance of this class. - * - * @return The single instance of this class. - */ - public static synchronized XMLSignatureVerificationInvoker getInstance() { - if (instance == null) { - instance = new XMLSignatureVerificationInvoker(); - } - return instance; - } - - /** - * Create a new XMLSignatureCreationInvoker. - * - * Protected to disallow multiple instances. - */ - protected XMLSignatureVerificationInvoker() { - } - - /** - * Process the VerifyXMLSignatureRequest message and invoke the - * XMLSignatureVerificationModule. - * - * @param request A VerifyXMLSignatureRequest API object - * containing the data for verifying an XML signature. - * @return A VerifyXMLSignatureResponse containing the - * answert to the VerifyXMLSignatureRequest. - * MOA schema definition. - * @throws MOAException An error occurred during signature verification. - */ - public VerifyXMLSignatureResponse verifyXMLSignature(VerifyXMLSignatureRequest request) - throws MOAException { - - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - LoggingContext loggingCtx = - LoggingContextManager.getInstance().getLoggingContext(); - XMLSignatureVerificationProfileFactory profileFactory = - new XMLSignatureVerificationProfileFactory(request); - VerifyXMLSignatureResponseBuilder responseBuilder = - new VerifyXMLSignatureResponseBuilder(); - XMLSignatureVerificationResult result; - XMLSignatureVerificationProfile profile; - ReferencesCheckResult signatureManifestCheck; - DataObjectFactory dataObjFactory; - XMLDataObject signatureEnvironment; - Node signatureEnvironmentParent = null; - Element requestElement = null; - XMLSignature xmlSignature; - Date signingTime; - List supplements; - List dataObjectList; - - // get the supplements - supplements = getSupplements(request); - - // build XMLSignature - dataObjFactory = DataObjectFactory.getInstance(); - signatureEnvironment = - dataObjFactory.createSignatureEnvironment( - request.getSignatureInfo().getVerifySignatureEnvironment(), - supplements); - xmlSignature = buildXMLSignature(signatureEnvironment, request); - - // build the list of DataObjects - dataObjectList = buildDataObjectList(supplements); - - // build profile - profile = profileFactory.createProfile(); - - // get the signingTime - signingTime = request.getDateTime(); - - // make the signature environment the root of the document, if it is not a - // separate document anyway; this is done to assure that canonicalization - // of the signature environment contains the correct namespace declarations - requestElement = - signatureEnvironment.getElement().getOwnerDocument().getDocumentElement(); - if (requestElement != signatureEnvironment.getElement()) { - signatureEnvironmentParent = - signatureEnvironment.getElement().getParentNode(); - requestElement.getOwnerDocument().replaceChild( - signatureEnvironment.getElement(), - requestElement); - } - - // verify the signature - try { - XMLSignatureVerificationModule module = - XMLSignatureVerificationModuleFactory.getInstance(); - - module.setLog(new IaikLog(loggingCtx.getNodeID())); - - result = - module.verifySignature( - xmlSignature, - dataObjectList, - profile, - signingTime, - new TransactionId(context.getTransactionID())); - } catch (IAIKException e) { - MOAException moaException = IaikExceptionMapper.getInstance().map(e); - throw moaException; - } catch (IAIKRuntimeException e) { - MOAException moaException = IaikExceptionMapper.getInstance().map(e); - throw moaException; - } - - // swap back in the request as root document - if (requestElement != signatureEnvironment.getElement()) { - requestElement.getOwnerDocument().replaceChild( - requestElement, - signatureEnvironment.getElement()); - signatureEnvironmentParent.appendChild(signatureEnvironment.getElement()); - } - - // check the result - signatureManifestCheck = - validateSignatureManifest(request, result, profile); - - // build the response - responseBuilder.setResult(result, profile, signatureManifestCheck); - - return responseBuilder.getResponse(); - } - - /** - * Select the dsig:Signature DOM element within the signature - * environment. - * - * @param signatureEnvironment The signature environment containing the - * dsig:Signature. - * @param request The VerifyXMLSignatureRequest containing the - * signature environment. - * @return The dsig:Signature element wrapped in a - * XMLSignature object. - * @throws MOAApplicationException An error occurred locating the - * dsig:Signature. - */ - private XMLSignature buildXMLSignature( - XMLDataObject signatureEnvironment, - VerifyXMLSignatureRequest request) - throws MOAApplicationException { - - VerifySignatureLocation signatureLocation = - request.getSignatureInfo().getVerifySignatureLocation(); - Element signatureParent; - - // evaluate the VerifySignatureLocation to get the signature parent - signatureParent = - InvokerUtils.evaluateSignatureLocation( - signatureEnvironment.getElement(), - signatureLocation); - - // check for signatureParent to be a dsig:Signature element - if (!"Signature".equals(signatureParent.getLocalName()) - || !Constants.DSIG_NS_URI.equals(signatureParent.getNamespaceURI())) { - throw new MOAApplicationException("2266", null); - } - - return new XMLSignatureImpl(signatureParent); - } - - /** - * Build the supplemental data objects contained in the - * VerifyXMLSignatureRequest. - * - * @param supplements A List of - * XMLDataObjectAssociations containing the supplement data. - * @return A List of DataObjects representing the - * supplemental data objects. - * @throws MOASystemException A system error occurred building one of the data - * objects. - * @throws MOAApplicationException An error occurred building one of the data - * objects. - */ - private List buildDataObjectList(List supplements) - throws MOASystemException, MOAApplicationException { - List dataObjectList = new ArrayList(); - - DataObjectFactory factory = DataObjectFactory.getInstance(); - DataObject dataObject; - Iterator iter; - - for (iter = supplements.iterator(); iter.hasNext();) { - XMLDataObjectAssociation supplement = - (XMLDataObjectAssociation) iter.next(); - dataObject = - factory.createFromXmlDataObjectAssociation(supplement, true, false); - dataObjectList.add(dataObject); - } - - return dataObjectList; - } - - /** - * Get the supplemental data contained in the - * VerifyXMLSignatureRequest. - * - * @param request The VerifyXMLSignatureRequest containing the - * supplemental data. - * @return A List of XMLDataObjectAssociation - * objects containing the supplemental data. - * @throws MOAApplicationException An error occurred resolving one of the - * supplement profiles. - */ - private List getSupplements(VerifyXMLSignatureRequest request) - throws MOAApplicationException { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - List supplementProfiles = request.getSupplementProfiles(); - - if (supplementProfiles != null) { - List supplements = new ArrayList(); - List mappedProfiles = - ProfileMapper.mapSupplementProfiles(supplementProfiles, config); - Iterator iter; - - for (iter = mappedProfiles.iterator(); iter.hasNext();) { - SupplementProfileExplicit profile = - (SupplementProfileExplicit) iter.next(); - supplements.add(profile.getSupplementProfile()); - } - - return supplements; - } - - return null; - } - - /** - * Perform additional validations of the - * XMLSignatureVerificationResult. - * - *

    In particular, it is verified that: - *

      - *
    • Each ReferenceData object contains transformation - * chain that matches one of the Transforms given in the - * corresponding SignatureManifestCheckParams/ReferenceInfo
    • - *
    • The hash values of the TransformParameters are valid. - *
    • - *
    - *

    - * - * @param request The VerifyXMLSignatureRequest containing the - * signature to verify. - * @param result The result produced by - * XMLSignatureVerificationModule. - * @param profile The profile used for validating the request. - * @return The result of additional validations of the signature manifest. - * @throws MOAApplicationException Post-validation of the - * XMLSignatureVerificaitonResult failed. - */ - private ReferencesCheckResult validateSignatureManifest( - VerifyXMLSignatureRequest request, - XMLSignatureVerificationResult result, - XMLSignatureVerificationProfile profile) - throws MOAApplicationException { - - SPSSFactory factory = SPSSFactory.getInstance(); - MessageProvider msg = MessageProvider.getInstance(); - - // validate that each ReferenceData object contains transforms specified - // in the corresponding SignatureManifestCheckParams/ReferenceInfo - if (profile.checkSecurityLayerManifest()) { - List refInfos = - request.getSignatureManifestCheckParams().getReferenceInfos(); - List refDatas = filterReferenceInfos(result.getReferenceDataList()); - List failedReferencesList = new ArrayList(); - Iterator refInfoIter; - Iterator refDataIter; - - if (refInfos.size() != refDatas.size()) { - return factory.createReferencesCheckResult(1, null); - } - - refInfoIter = refInfos.iterator(); - refDataIter = - filterReferenceInfos(result.getReferenceDataList()).iterator(); - - while (refInfoIter.hasNext()) { - ReferenceInfo refInfo = (ReferenceInfo) refInfoIter.next(); - ReferenceData refData = (ReferenceData) refDataIter.next(); - List transforms = buildTransformsList(refInfo); - boolean found = false; - Iterator trIter; - - for (trIter = transforms.iterator(); trIter.hasNext() && !found;) { - found = trIter.next().equals(refData.getTransformationList()); - } - - if (!found) { - Integer refIndex = new Integer(refData.getReferenceIndex()); - String logMsg = - msg.getMessage("invoker.01", new Object[] { refIndex }); - - failedReferencesList.add(refIndex); - Logger.debug(new LogMsg(logMsg)); - } - } - - if (!failedReferencesList.isEmpty()) { - // at least one reference failed - return their indexes and check code 1 - int[] failedReferences = - CollectionUtils.toIntArray(failedReferencesList); - ReferencesCheckResultInfo checkInfo = - factory.createReferencesCheckResultInfo(null, failedReferences); - - return factory.createReferencesCheckResult(1, checkInfo); - } - } - - // validate the hashes contained in all the ReferenceInfo objects of the - // security layer manifest - if (profile.checkSecurityLayerManifest() - && result.containsSecurityLayerManifest()) { - Map hashValues = buildTransformParameterHashValues(request); - Set transformParameterURIs = - buildTransformParameterURIs(profile.getTransformationSupplements()); - List referenceInfoList = - result.getSecurityLayerManifest().getReferenceInfoList(); - Iterator refIter; - - for (refIter = referenceInfoList.iterator(); refIter.hasNext();) { - iaik.server.modules.xmlverify.ReferenceInfo ref = - (iaik.server.modules.xmlverify.ReferenceInfo) refIter.next(); - byte[] hash = (byte[]) hashValues.get(ref.getURI()); - - if (!transformParameterURIs.contains(ref.getURI()) - || (hash != null && !Arrays.equals(hash, ref.getHashValue()))) { - - // the transform parameter doesn't exist or the hashs do not match - // return the index of the failed reference and check code 1 - int[] failedReferences = new int[] { ref.getReferenceIndex()}; - ReferencesCheckResultInfo checkInfo = - factory.createReferencesCheckResultInfo(null, failedReferences); - String logMsg = - msg.getMessage( - "invoker.02", - new Object[] { new Integer(ref.getReferenceIndex())}); - - Logger.debug(new LogMsg(logMsg)); - - return factory.createReferencesCheckResult(1, checkInfo); - } - } - } - - return factory.createReferencesCheckResult(0, null); - } - - /** - * Get all Transforms contained in all the - * VerifyTransformsInfoProfiles of the given - * ReferenceInfo. - * - * @param refInfo The ReferenceInfo object containing - * the transformations. - * @return A List of Lists. Each of the - * Lists contains Transformation objects. - * @throws MOAApplicationException An error occurred building one of the - * Transformations. - */ - private List buildTransformsList(ReferenceInfo refInfo) - throws MOAApplicationException { - - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - List profiles = refInfo.getVerifyTransformsInfoProfiles(); - List mappedProfiles = - ProfileMapper.mapVerifyTransformsInfoProfiles(profiles, config); - List transformsList = new ArrayList(); - TransformationFactory factory = TransformationFactory.getInstance(); - Iterator iter; - - for (iter = mappedProfiles.iterator(); iter.hasNext();) { - VerifyTransformsInfoProfileExplicit profile = - (VerifyTransformsInfoProfileExplicit) iter.next(); - List transforms = profile.getTransforms(); - - if (transforms != null) { - transformsList.add(factory.createTransformationList(transforms)); - } - } - - return transformsList; - } - - /** - * Build the Set of all TransformParameter URIs. - * - * @param transformParameters The List of - * TransformParameters, as provided to the verification. - * @return The Set of all TransformParameter URIs. - */ - private Set buildTransformParameterURIs(List transformParameters) { - Set uris = new HashSet(); - Iterator iter; - - for (iter = transformParameters.iterator(); iter.hasNext();) { - DataObject transformParameter = (DataObject) iter.next(); - uris.add(transformParameter.getURI()); - } - - return uris; - } - - /** - * Build a mapping between TransformParameter URIs (a - * String and dsig:HashValue (a - * byte[]). - * - * @param request The VerifyXMLSignatureRequest. - * @return Map The resulting mapping. - * @throws MOAApplicationException An error occurred accessing one of - * the profiles. - */ - private Map buildTransformParameterHashValues(VerifyXMLSignatureRequest request) - throws MOAApplicationException { - - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - Map hashValues = new HashMap(); - List refInfos = - request.getSignatureManifestCheckParams().getReferenceInfos(); - Iterator refIter; - - for (refIter = refInfos.iterator(); refIter.hasNext();) { - ReferenceInfo refInfo = (ReferenceInfo) refIter.next(); - List profiles = refInfo.getVerifyTransformsInfoProfiles(); - List mappedProfiles = - ProfileMapper.mapVerifyTransformsInfoProfiles(profiles, config); - Iterator prIter; - - for (prIter = mappedProfiles.iterator(); prIter.hasNext();) { - VerifyTransformsInfoProfileExplicit profile = - (VerifyTransformsInfoProfileExplicit) prIter.next(); - List trParameters = profile.getTransformParameters(); - Iterator trIter; - - for (trIter = trParameters.iterator(); trIter.hasNext();) { - TransformParameter transformParameter = - (TransformParameter) trIter.next(); - String uri = transformParameter.getURI(); - - if (transformParameter.getTransformParameterType() - == TransformParameter.HASH_TRANSFORMPARAMETER) { - hashValues.put( - uri, - ((TransformParameterHash) transformParameter).getDigestValue()); - } - - } - } - } - return hashValues; - } - - /** - * Filter the ReferenceInfos returned by the - * VerifyXMLSignatureResult for comparison with the - * ReferenceInfo elements in the request. - * - * @param referenceInfos The ReferenceInfos from the - * VerifyXMLSignatureResult. - * @return A List of all ReferenceInfos whose type - * is not a XMLDsig manifest, Security Layer manifest, or ETSI signed - * property. - */ - private List filterReferenceInfos(List referenceInfos) { - List filtered = new ArrayList(); - Iterator iter; - - for (iter = referenceInfos.iterator(); iter.hasNext();) { - iaik.server.modules.xmlverify.ReferenceInfo refInfo = - (iaik.server.modules.xmlverify.ReferenceInfo) iter.next(); - String refType = refInfo.getReferenceType(); - - if (refType == null || !FILTERED_REF_TYPES.contains(refType)) { - filtered.add(refInfo); - } - } - - return filtered; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationProfileFactory.java b/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationProfileFactory.java deleted file mode 100644 index 858964c82..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationProfileFactory.java +++ /dev/null @@ -1,147 +0,0 @@ -package at.gv.egovernment.moa.spss.server.invoke; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Iterator; -import java.util.List; - -import iaik.server.modules.xmlverify.XMLSignatureVerificationProfile; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.SignatureManifestCheckParams; -import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameter; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.pki.PKIProfileImpl; -import at.gv.egovernment.moa.spss.server.iaik.xmlverify.XMLSignatureVerificationProfileImpl; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; - -/** - * A factory to create a XMLSignatureVerificationProfile from a - * VerifyXMLSignatureRequest, based on the current MOA - * configuration. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureVerificationProfileFactory { - - /** The VerifyXMLSignatureRequest for which to create profile - * information. */ - private VerifyXMLSignatureRequest request; - - /** - * Create a new XMLSignatureVerificationProfileFactory. - * - * @param request The VerifyXMLSignatureRequest to extract - * profile data from. - */ - public XMLSignatureVerificationProfileFactory(VerifyXMLSignatureRequest request) { - this.request = request; - } - - /** - * Create a XMLSignatureCreationProfile from the - * VerifyXMLSignaturesRequest and the current MOA configuration. - * - * @return The XMLSignatureVerificationProfile containing - * additional information for verifying an XML signature. - * @throws MOASystemException A system error occurred building the profile. - * @throws MOAApplicationException An error occurred building the profile. - */ - public XMLSignatureVerificationProfile createProfile() - throws MOASystemException, MOAApplicationException { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - XMLSignatureVerificationProfileImpl profile = - new XMLSignatureVerificationProfileImpl(); - SignatureManifestCheckParams checkParams; - String trustProfileID; - - // set whether to check XMLDsig manifests - profile.setCheckXMLDsigManifests(true); - - // set the certificate validation profile - trustProfileID = request.getTrustProfileId(); - profile.setCertificateValidationProfile( - new PKIProfileImpl(config, trustProfileID)); - - // set whether hash input data is to be included - profile.setIncludeHashInputData(request.getReturnHashInputData()); - - // set the security layer manifest check parameters - checkParams = request.getSignatureManifestCheckParams(); - if (checkParams != null) { - List transformationSupplements; - - profile.setCheckSecurityLayerManifest(true); - profile.setIncludeReferenceInputData( - checkParams.getReturnReferenceInputData()); - transformationSupplements = buildTransformationSupplements(); - profile.setTransformationSupplements(transformationSupplements); - } else { - profile.setCheckSecurityLayerManifest(false); - profile.setIncludeReferenceInputData(false); - profile.setTransformationSupplements(Collections.EMPTY_LIST); - } - - return profile; - } - - /** - * Build supplemental data objects used in the transformations. - * - * @return A List of DataObjects providing - * supplemental data to the transformations. - * @throws MOASystemException A system error occurred building one of the - * transformations. - * @throws MOAApplicationException An error occurred building one of the - * transformations. - */ - public List buildTransformationSupplements() - throws MOASystemException, MOAApplicationException { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ConfigurationProvider config = context.getConfiguration(); - SignatureManifestCheckParams checkParams = - request.getSignatureManifestCheckParams(); - List transformsProfiles = new ArrayList(); - List transformationSupplements = new ArrayList(); - DataObjectFactory factory = DataObjectFactory.getInstance(); - List refInfos = checkParams.getReferenceInfos(); - Iterator refIter; - Iterator prIter; - Iterator trIter; - - // build the list of all VerifyTransformsInfoProfiles in all ReferenceInfos - refInfos = checkParams.getReferenceInfos(); - for (refIter = refInfos.iterator(); refIter.hasNext();) { - ReferenceInfo refInfo = (ReferenceInfo) refIter.next(); - List profiles = refInfo.getVerifyTransformsInfoProfiles(); - - transformsProfiles.addAll( - ProfileMapper.mapVerifyTransformsInfoProfiles(profiles, config)); - } - - // build the DataObjects - for (prIter = transformsProfiles.iterator(); prIter.hasNext();) { - VerifyTransformsInfoProfileExplicit profile = - (VerifyTransformsInfoProfileExplicit) prIter.next(); - List transformParameters = profile.getTransformParameters(); - - for (trIter = transformParameters.iterator(); trIter.hasNext();) { - TransformParameter trParam = (TransformParameter) trIter.next(); - transformationSupplements.add( - factory.createFromTransformParameter(trParam)); - } - } - - return transformationSupplements; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLog.java b/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLog.java deleted file mode 100644 index 068fab5ca..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLog.java +++ /dev/null @@ -1,126 +0,0 @@ -package at.gv.egovernment.moa.spss.server.logging; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -import iaik.logging.TransactionId; - -/** - * An implementation of the iaik.logging.Log - * interface that is based on Jakarta Commons-Logging. - * - * @author Fatemeh Philippi - * @version $Id$ - */ -public class IaikLog implements iaik.logging.Log { - /** The hierarchy to log all IAIK output to. */ - public static final String IAIK_LOG_HIERARCHY = "iaik.server"; - /** The commons-loggin Log to use for logging the messages. */ - private static Log log = LogFactory.getLog(IAIK_LOG_HIERARCHY); - /** The node ID to use. */ - private String nodeId; - - /** - * Create a new IaikLog. - * - * @param nodeId The node ID for this Log object. - */ - public IaikLog(String nodeId) { - this.nodeId = nodeId; - } - - /** - * @see iaik.logging.Log#isDebugEnabled() - */ - public boolean isDebugEnabled() { - return log.isDebugEnabled(); - } - - /** - * @see iaik.logging.Log#debug(TransactionId, Object, Throwable) - */ - public void debug(TransactionId transactionId, Object message, Throwable t) { - IaikLogMsg msg = new IaikLogMsg(transactionId, nodeId, message); - - log.debug(msg, t); - } - - /** - * @see iaik.logging.Log#isInfoEnabled() - */ - public boolean isInfoEnabled() { - return log.isInfoEnabled(); - } - - /** - * @see iaik.logging.Log#info(TransactionId, Object, Throwable) - */ - public void info(TransactionId transactionId, Object message, Throwable t) { - IaikLogMsg msg = new IaikLogMsg(transactionId, nodeId, message); - - log.info(msg, t); - } - - /** - * @see iaik.logging.Log#isWarnEnabled() - */ - public boolean isWarnEnabled() { - return log.isWarnEnabled(); - } - - /** - * @see iaik.logging.Log#warn(TransactionId, Object, Throwable) - */ - public void warn(TransactionId transactionId, Object message, Throwable t) { - IaikLogMsg msg = new IaikLogMsg(transactionId, nodeId, message); - - log.warn(msg, t); - } - - /** - * @see iaik.logging.Log#isErrorEnabled() - */ - public boolean isErrorEnabled() { - return log.isErrorEnabled(); - } - - /** - * @see iaik.logging.Log#error(TransactionId, Object, Throwable) - */ - public void error(TransactionId transactionId, Object message, Throwable t) { - IaikLogMsg msg = new IaikLogMsg(transactionId, nodeId, message); - - log.error(msg, t); - } - - /** - * @see iaik.logging.Log#isFatalEnabled() - */ - public boolean isFatalEnabled() { - return log.isFatalEnabled(); - } - - /** - * @see iaik.logging.Log#fatal(TransactionId, Object, Throwable) - */ - public void fatal(TransactionId transactionId, Object message, Throwable t) { - IaikLogMsg msg = new IaikLogMsg(transactionId, nodeId, message); - - log.fatal(msg, t); - } - - /** - * @see iaik.logging.Log#setNodeId(String) - */ - public void setNodeId(String nodeId) { - this.nodeId = nodeId; - } - - /** - * @see iaik.logging.Log#getNodeId() - */ - public String getNodeId() { - return nodeId; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.java b/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.java deleted file mode 100644 index a0e4def86..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.java +++ /dev/null @@ -1,42 +0,0 @@ -package at.gv.egovernment.moa.spss.server.logging; - -import iaik.logging.Log; -import iaik.logging.LogConfigurationException; -import iaik.logging.LogFactory; - -import at.gv.egovernment.moa.logging.LoggingContextManager; - -/** - * An implementation of the iaik.logging.LogFactory abstract - * class to log messages to the MOA logging subsystem. - * - * @author Patrick Peck - * @version $Id$ - */ -public class IaikLogFactory extends LogFactory { - - public Log getInstance(Class clazz) throws LogConfigurationException { - return getInstanceImpl(); - } - - public Log getInstance(String name) throws LogConfigurationException { - return getInstanceImpl(); - } - - /** - * Return an instance of iaik.logging.Log. - * - * @return The iaik.logging.Log object to log messages to. - */ - private Log getInstanceImpl() { - String nodeID = - LoggingContextManager.getInstance().getLoggingContext().getNodeID(); - - return new IaikLog(nodeID); - } - - public void release() { - // we do not hold any resources - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLogMsg.java b/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLogMsg.java deleted file mode 100644 index 75fb388a9..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/logging/IaikLogMsg.java +++ /dev/null @@ -1,54 +0,0 @@ -package at.gv.egovernment.moa.spss.server.logging; - -import iaik.logging.TransactionId; - -/** - * A unified message type to log messages from the IAIK subsystem. - * - * @author Patrick Peck - * @version $Id$ - */ -public class IaikLogMsg { - - /** The transaction ID of this message. */ - private TransactionId transactionId; - /** The node ID of this message. */ - private String nodeId; - /** The message to log. */ - private Object message; - - /** - * Create a IaikLogMsg object. - * - * @param transactionId The transaction id of the transaction which - * generated this log message. May be null. - * @param nodeId The node id where this message was generated. May be - * null. - * @param message The actual message to log. May be null. - */ - public IaikLogMsg(TransactionId transactionId, String nodeId, Object message) { - this.transactionId = transactionId; - this.nodeId = nodeId; - this.message = message; - } - - - /** - * Convert this log message to a String. - * - * @return The String representation of this log message. - */ - public String toString() { - StringBuffer msg = new StringBuffer(); - - msg.append("TID="); - msg.append(transactionId != null ? transactionId.getLogID() : ""); - msg.append(" NID="); - msg.append(nodeId != null ? nodeId : ""); - msg.append(" MSG="); - msg.append(message != null ? message.toString() : ""); - - return msg.toString(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/logging/TransactionId.java b/spss.server/src/at/gv/egovernment/moa/spss/server/logging/TransactionId.java deleted file mode 100644 index 9e0239464..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/logging/TransactionId.java +++ /dev/null @@ -1,38 +0,0 @@ -package at.gv.egovernment.moa.spss.server.logging; - -/** - * An implementation of the iaik.logging.TransactionId interface. - * - * @author Patrick Peck - * @version $Id$ - */ -public class TransactionId implements iaik.logging.TransactionId { - - /** The String representation for logging the transaction ID. */ - private String logID; - - /** - * Create a TransactionId object. - * - * @param logID The transaction id as it should be presented to the logging - * subsystem. - */ - public TransactionId(String logID) { - this.logID = logID; - } - - /** - * @see iaik.logging.TransactionId#getLogID() - */ - public String getLogID() { - return logID; - } - - /** - * @see java.lang.Object#toString() - */ - public String toString() { - return getLogID(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java b/spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java deleted file mode 100644 index 19e5aa9fa..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/service/AxisHandler.java +++ /dev/null @@ -1,253 +0,0 @@ -package at.gv.egovernment.moa.spss.server.service; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.io.InputStream; -import java.security.cert.X509Certificate; - -import javax.servlet.http.HttpServletRequest; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import org.apache.axis.AxisFault; -import org.apache.axis.MessageContext; -import org.apache.axis.handlers.BasicHandler; -import org.apache.axis.transport.http.HTTPConstants; -import org.apache.axis.utils.Messages; -import org.apache.axis.utils.XMLUtils; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; - -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; -import at.gv.egovernment.moa.spss.server.transaction.TransactionIDGenerator; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * An handler that is invoked on each web service request and performs some - * central message handling. - * - * Mainly sets up the TransactionContext for the current - * transaction (i.e. web service request). - * - * @author Patrick Peck - * @author Stefan Knirsch - * @version $Id$ - */ -public class AxisHandler extends BasicHandler { - - /** The resource names of the messages to load. */ - private static final String MOA_SPSS_WSDL_RESOURCE_ = "/resources/wsdl/MOA-SPSS-1.1.wsdl"; - - /** The property name for accessing the HTTP request. */ - private static final String REQUEST_PROPERTY = HTTPConstants.MC_HTTP_SERVLETREQUEST; - - /** The property name for accessing the X509 client certificate chain. */ - private static final String X509_CERTIFICATE_PROPERTY = "javax.servlet.request.X509Certificate"; - - /** The property name for accessing the SOAP action header. */ - private static final String SOAP_ACTION_HEADER = "soapaction"; - - /** - * Handle an invocation of this handler. - * - * @param msgContext Information about this request/response. - * @throws AxisFault An error occurred during processing of the request. - * @see org.apache.axis.Handler#invoke(MessageContext) - */ - public void invoke(MessageContext msgContext) throws AxisFault { - if (!msgContext.getPastPivot()) { - handleRequest(msgContext); - } else { - handleResponse(msgContext); - } - } - - /** - * This method is called by invoke to handle incoming requests. - * - * @param msgContext The context as provided to invoke. - * @throws AxisFault An error occurred during processing of the request. - */ - private void handleRequest(MessageContext msgContext) throws AxisFault { - try { - // generate a unique transaction id and build the TransactionContext - // for this request - HttpServletRequest request = - (HttpServletRequest) msgContext.getProperty(REQUEST_PROPERTY); - - X509Certificate[] clientCert = - (X509Certificate[]) request.getAttribute(X509_CERTIFICATE_PROPERTY); - - ConfigurationProvider configuration = - ConfigurationProvider.getInstance(); - - TransactionContext context = - new TransactionContext( - TransactionIDGenerator.nextID(), - clientCert, - configuration); - - context.setRequestName((String) request.getHeader(SOAP_ACTION_HEADER)); - - setUpContexts(context); - - // log some information about the request - info( - "handler.00", - new Object[] { - context.getTransactionID(), - msgContext.getTargetService()}); - info("handler.01", new Object[] { request.getRemoteAddr()}); - if (clientCert != null) { - info( - "handler.02", - new Object[] { - clientCert[0].getSubjectDN(), - clientCert[0].getSerialNumber(), - clientCert[0].getIssuerDN()}); - - } else { - info("handler.03", null); - } - if (Logger.isDebugEnabled()) { - String msg = msgContext.getCurrentMessage().getSOAPPartAsString(); - Logger.debug(new LogMsg(msg)); - } - } catch (MOASystemException e) { - MOASystemException se = new MOASystemException("2900", null, e); - AxisFault fault = AxisFault.makeFault(se); - fault.setFaultDetail(new Element[] { se.toErrorResponse()}); - throw fault; - } catch (Throwable t) { - MOASystemException e = new MOASystemException("2900", null, t); - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } - } - - /** - * This method is called by invoke to handle outgoing - * responses. - * - * @param msgContext The context as provided to invoke. - * @throws AxisFault An error occurred during processing of the response. - */ - private void handleResponse(MessageContext msgContext) throws AxisFault { - info("handler.04", null); - if (Logger.isDebugEnabled()) { - String msg = msgContext.getCurrentMessage().getSOAPPartAsString(); - Logger.debug(new LogMsg(msg)); - } - tearDownContexts(); - } - - /** - * Called, when the processing of the web service fails. - * - * @param msgContext Information about the current request. - * @see org.apache.axis.Handler#onFault(org.apache.axis.MessageContext) - */ - public void onFault(MessageContext msgContext) { - info("handler.05", null); - tearDownContexts(); - } - - /** - * Set up the thread-local contexts (TransactionContext and - * LoggingContext). - * - * @param context The TransactionContext to set for the current - * request. - */ - private void setUpContexts(TransactionContext context) { - // set the transaction context in the TransactionContextManager - TransactionContextManager tcm = TransactionContextManager.getInstance(); - tcm.setTransactionContext(context); - - // set the logging context in the LoggingContextManager - LoggingContextManager lcm = LoggingContextManager.getInstance(); - LoggingContext lc = new LoggingContext(context.getTransactionID()); - lcm.setLoggingContext(lc); - } - - /** - * Tear down the thread-local contexts. - */ - private void tearDownContexts() { - // unset the transaction context - TransactionContextManager tcm = TransactionContextManager.getInstance(); - tcm.setTransactionContext(null); - - // unset the logging context - LoggingContextManager lcm = LoggingContextManager.getInstance(); - lcm.setLoggingContext(null); - } - - /** - * Generate the WSDL into the msgContext. - * - * The code of this method is more or less copied from the - * org.apache.axis.handlers.soap.SOAPService class contained in - * the 1.1 release of Axis to allow for a missing wsdlFile (so - * that a resource by the same name is searched for in the classpath). The - * implementation of this method should be obsolete if Axis 1.1 or higher is - * used. - * - * @param msgContext The MessageContext that will contain the - * WSDL description of the current web service. - * @throws AxisFault An error occurred producing the WSDL. - */ - public void generateWSDL(MessageContext msgContext) throws AxisFault { - InputStream instream = null; - - try { - String filename = MOA_SPSS_WSDL_RESOURCE_; - File file = new File(filename); - if (file.exists()) { - //if this resolves to a file, load it - instream = new FileInputStream(filename); - } else { - //else load a named resource in our classloader. - instream = this.getClass().getResourceAsStream(filename); - if (instream == null) { - String errorText = Messages.getMessage("wsdlFileMissing", filename); - throw new AxisFault(errorText); - } - } - Document doc = XMLUtils.newDocument(instream); - msgContext.setProperty("WSDL", doc); - } catch (Exception e) { - throw AxisFault.makeFault(e); - } finally { - if (instream != null) { - try { - instream.close(); - } catch (IOException e) { - // ok to do nothing here - } - } - } - } - - /** - * Utility function to issue an info message to the log. - * - * @param messageId The ID of the message to log. - * @param parameters Additional message parameters. - */ - private static void info(String messageId, Object[] parameters) { - MessageProvider msg = MessageProvider.getInstance(); - - Logger.info(new LogMsg(msg.getMessage(messageId, parameters))); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/service/ConfigurationServlet.java b/spss.server/src/at/gv/egovernment/moa/spss/server/service/ConfigurationServlet.java deleted file mode 100644 index 7783ed3f6..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/service/ConfigurationServlet.java +++ /dev/null @@ -1,120 +0,0 @@ -package at.gv.egovernment.moa.spss.server.service; - -import java.io.IOException; -import java.io.PrintWriter; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import javax.servlet.ServletException; -import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator; -import at.gv.egovernment.moa.spss.server.init.*; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A servlet to initialize and update the MOA configuration. - * - * @author Fatemeh Philippi - * @author Patrick Peck - * @version $Id$ - */ -public class ConfigurationServlet extends HttpServlet { - /** The document type of the HTML to generate. */ - private static final String DOC_TYPE = - "\n"; - - /** - * Handle a HTTP GET request, used to indicated that the MOA - * configuration needs to be updated (reloaded). - * - * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest, HttpServletResponse) - */ - public void doGet(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - - MessageProvider msg = MessageProvider.getInstance(); - PrintWriter out; - - // set up a logging context for logging the reconfiguration - LoggingContextManager.getInstance().setLoggingContext( - new LoggingContext("configuration update")); - - response.setContentType("text/html"); - out = response.getWriter(); - out.println(DOC_TYPE); - out.println("MOA configuration update"); - out.println(""); - try { - // reconfigure the system - ConfigurationProvider config = ConfigurationProvider.reload(); - IaikConfigurator iaikConfigurator = new IaikConfigurator(); - - iaikConfigurator.configure(config); - - // print a status message - out.println("

    " + msg.getMessage("config.06", null) + "

    "); - Logger.info(new LogMsg(msg.getMessage("config.06", null))); - - if (!config.getWarnings().isEmpty()) { - // print the warnings - List allWarnings = new ArrayList(); - Iterator iter; - - allWarnings.addAll(config.getWarnings()); - allWarnings.addAll(iaikConfigurator.getWarnings()); - - out.println("

    " + msg.getMessage("config.29", null) + "

    "); - for (iter = allWarnings.iterator(); iter.hasNext();) { - out.println(iter.next() + "
    "); - } - out.println("

    " + msg.getMessage("config.28", null) + "

    "); - } - - } catch (Throwable t) { - out.println("

    " + msg.getMessage("config.20", null) + "

    "); - out.println("

    " + msg.getMessage("config.28", null) + "

    "); - Logger.warn(new LogMsg(msg.getMessage("config.20", null)), t); - } - out.println(""); - - out.flush(); - out.close(); - - // tear down the logging context - LoggingContextManager.getInstance().setLoggingContext(null); - } - - /** - * Do the same as doGet. - * - * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest, HttpServletResponse) - */ - public void doPost(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - doGet(request, response); - } - - /** - * Perform some initial initialization tasks for the MOA web services - * application. - * - * Does an initial load of the MOA configuration to test if a working web - * service can be provided. - * - * @see javax.servlet.GenericServlet#init() - */ - public void init() throws ServletException { - SystemInitializer.init(); - } - -} \ No newline at end of file diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/service/RevocationArchiveCleaner.java b/spss.server/src/at/gv/egovernment/moa/spss/server/service/RevocationArchiveCleaner.java deleted file mode 100644 index 997375305..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/service/RevocationArchiveCleaner.java +++ /dev/null @@ -1,83 +0,0 @@ -package at.gv.egovernment.moa.spss.server.service; - -import java.util.Date; - -import iaik.pki.revocation.RevocationSourceTypes; -import iaik.pki.store.revocation.archive.Archive; -import iaik.pki.store.revocation.archive.ArchiveFactory; - -import at.gv.egovernment.moa.logging.LogMsg; -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.util.BoolUtils; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.logging.TransactionId; -import at.gv.egovernment.moa.spss.util.MessageProvider; - -/** - * A Runnable for periodically cleaning up the revocation archive. - * @author Patrick Peck - * @version $Id$ - */ -public class RevocationArchiveCleaner implements Runnable { - - /** The inverval between two clean-ups of the revocation archive. */ - private long archiveCleanupInterval; - - /** - * Create a new RevocationArchiveCleaner. - * - * @param archiveCleanupInterval The interval between two clean-ups of the - * revocation archive. - */ - public RevocationArchiveCleaner(long archiveCleanupInterval) { - this.archiveCleanupInterval = archiveCleanupInterval; - } - - /** - * Run the RevocationArchiveCleaner in its own - * Thread. - */ - public void run() { - while (true) { - try { - ConfigurationProvider config = - ConfigurationProvider.getInstance(); - String archiveInfo = - config.getGenericConfiguration( - ConfigurationProvider.ARCHIVE_REVOCATION_INFO_PROPERTY, - "false"); - - if (BoolUtils.valueOf(archiveInfo)) { - Archive archive = ArchiveFactory.getInstance().getArchive(); - long archiveDurationMillis = - (long) config.getCRLArchiveDuration() * 86400000; - - // delete old archive data - if (archiveDurationMillis > 0) { - Date olderThan = - new Date(System.currentTimeMillis() - archiveDurationMillis); - - archive.deleteOldArchiveEntries( - RevocationSourceTypes.CRL, - olderThan, - new TransactionId("RevocationArchiveCleaner")); - } - } - - } catch (Exception e) { - MessageProvider msg = MessageProvider.getInstance(); - Logger.error(new LogMsg(msg.getMessage("init.02", null)), e); - } - - // sleep - try { - Thread.sleep(archiveCleanupInterval * 1000); - } catch (InterruptedException e) { - // ok to do nothing here - } - - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/service/ServiceUtils.java b/spss.server/src/at/gv/egovernment/moa/spss/server/service/ServiceUtils.java deleted file mode 100644 index 4224f5665..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/service/ServiceUtils.java +++ /dev/null @@ -1,72 +0,0 @@ -package at.gv.egovernment.moa.spss.server.service; - -import java.io.ByteArrayInputStream; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.util.Constants; -import at.gv.egovernment.moa.util.DOMUtils; - -import at.gv.egovernment.moa.spss.MOAApplicationException; - -/** - * Helper methods for the Service classes. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ServiceUtils { - - /** - * Schema-validate a request. - * - * @param request The request to validate. - * @throws MOAApplicationException An error occurred validating the requst. - */ - public static void validateRequest(Element[] request) - throws MOAApplicationException { - - // validate the request - try { - DOMUtils.validateElement( - request[0], - Constants.ALL_SCHEMA_LOCATIONS, - null); - } catch (Exception e) { - throw new MOAApplicationException( - "1100", - new Object[] { e.getMessage()}, - e); - } - } - - /** - * Reparse the request with schema-validation turned on so that ID references - * are resolved. - * - * @param request The request to reparse. - * @return The reparsed request. - * @throws MOAApplicationException An error occurred parsing the request. - */ - public static Element reparseRequest(Element request) - throws MOAApplicationException { - - try { - byte[] requestBytes = DOMUtils.serializeNode(request, "UTF-8"); - Document validatedRequest = - DOMUtils.parseDocument( - new ByteArrayInputStream(requestBytes), - true, - Constants.ALL_SCHEMA_LOCATIONS, - null); - return validatedRequest.getDocumentElement(); - } catch (Exception e) { - throw new MOAApplicationException( - "1100", - new Object[] { e.getMessage()}, - e); - } - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/service/SignatureCreationService.java b/spss.server/src/at/gv/egovernment/moa/spss/server/service/SignatureCreationService.java deleted file mode 100644 index 271d85f6d..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/service/SignatureCreationService.java +++ /dev/null @@ -1,93 +0,0 @@ -package at.gv.egovernment.moa.spss.server.service; - -import java.util.Collections; - -import javax.xml.namespace.QName; - -import org.w3c.dom.Element; - -import org.apache.axis.AxisFault; -import org.apache.axis.i18n.Messages; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.xmlbind.CreateXMLSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlbind.CreateXMLSignatureResponseBuilder; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker; -import at.gv.egovernment.moa.util.Constants; - -/** - * The service endpoint for the SignatureCreation web service. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SignatureCreationService { - - /** - * Handle a CreateXMLSignatureRequest. - * - * @param request The CreateXMLSignatureRequest to work on - * (contained in the 0th element of the array). - * @return A CreateXMLSignatureResponse as the only element of - * the Element array. - * @throws AxisFault An error occurred during handling of the message. - */ - public Element[] CreateXMLSignatureRequest(Element[] request) - throws AxisFault { - XMLSignatureCreationInvoker invoker = - XMLSignatureCreationInvoker.getInstance(); - Element[] response = new Element[1]; - - // check that we have a CreateXMLSignatureRequest; if not, create an - // AxisFault, just like the org.apache.axis.providers.java.MsgProvider - if (!Constants.MOA_SPSS_CREATE_XML_REQUEST.equals(request[0].getLocalName()) || - !Constants.MOA_NS_URI.equals(request[0].getNamespaceURI())) - { - QName qname = - new QName(request[0].getNamespaceURI(), request[0].getLocalName()); - throw new AxisFault( - Messages.getMessage("noOperationForQName", qname.toString())); - } - - // handle the request - try { - // create a parser and builder for binding API objects to/from XML - CreateXMLSignatureRequestParser requestParser = - new CreateXMLSignatureRequestParser(); - CreateXMLSignatureResponseBuilder responseBuilder = - new CreateXMLSignatureResponseBuilder(); - Element reparsedReq; - CreateXMLSignatureRequest requestObj; - CreateXMLSignatureResponse responseObj; - - // validate the request - reparsedReq = ServiceUtils.reparseRequest(request[0]); - - // convert to API objects - requestObj = requestParser.parse(reparsedReq); - - // invoke the core logic - responseObj = - invoker.createXMLSignature(requestObj, Collections.EMPTY_SET); - - // map back to XML - response[0] = responseBuilder.build(responseObj).getDocumentElement(); - - } catch (MOAException e) { - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } catch (Throwable t) { - MOASystemException e = new MOASystemException("2900", null, t); - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } - - return response; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/service/SignatureVerificationService.java b/spss.server/src/at/gv/egovernment/moa/spss/server/service/SignatureVerificationService.java deleted file mode 100644 index adb09ca0a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/service/SignatureVerificationService.java +++ /dev/null @@ -1,130 +0,0 @@ -package at.gv.egovernment.moa.spss.server.service; - -import org.w3c.dom.Element; - -import org.apache.axis.AxisFault; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.MOASystemException; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyCMSSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyCMSSignatureResponseBuilder; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyXMLSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyXMLSignatureResponseBuilder; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; -import at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker; -import at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker; - -/** - * The service endpoint for the SignatureVerification web service. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SignatureVerificationService { - - /** - * Handle a VerifyCMSSignatureRequest. - * - * @param request The VerifyCMSSignatureRequest to work on - * (contained in the 0th element of the array). - * @return A VerifyCMSSignatureResponse as the only element of - * the Element array. - * @throws AxisFault An error occurred during handling of the message. - */ - public Element[] VerifyCMSSignatureRequest(Element[] request) - throws AxisFault { - CMSSignatureVerificationInvoker invoker = - CMSSignatureVerificationInvoker.getInstance(); - Element[] response = new Element[1]; - - try { - // create a parser and builder for binding API objects to/from XML - VerifyCMSSignatureRequestParser requestParser = - new VerifyCMSSignatureRequestParser(); - VerifyCMSSignatureResponseBuilder responseBuilder = - new VerifyCMSSignatureResponseBuilder(); - Element reparsedReq; - VerifyCMSSignatureRequest requestObj; - VerifyCMSSignatureResponse responseObj; - - // validate the request - reparsedReq = ServiceUtils.reparseRequest(request[0]); - - // convert to API objects - requestObj = requestParser.parse(reparsedReq); - - // invoke the core logic - responseObj = invoker.verifyCMSSignature(requestObj); - - // map back to XML - response[0] = responseBuilder.build(responseObj).getDocumentElement(); - - } catch (MOAException e) { - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } catch (Throwable t) { - MOASystemException e = new MOASystemException("2900", null, t); - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } - - return response; - } - - /** - * Handle a VerifyXMLSignatureRequest. - * - * @param request The VerifyXMLSignatureRequest to work on - * (contained in the 0th element of the array). - * @return A VerifyXMLSignatureResponse as the only element of - * the Element array. - * @throws AxisFault An error occurred during handling of the message. - */ - public Element[] VerifyXMLSignatureRequest(Element[] request) - throws AxisFault { - XMLSignatureVerificationInvoker invoker = - XMLSignatureVerificationInvoker.getInstance(); - Element[] response = new Element[1]; - - try { - // create a parser and builder for binding API objects to/from XML - VerifyXMLSignatureRequestParser requestParser = - new VerifyXMLSignatureRequestParser(); - VerifyXMLSignatureResponseBuilder responseBuilder = - new VerifyXMLSignatureResponseBuilder(); - Element reparsedReq; - VerifyXMLSignatureRequest requestObj; - VerifyXMLSignatureResponse responseObj; - - // validate the request - reparsedReq = ServiceUtils.reparseRequest(request[0]); - - // convert to API objects - requestObj = requestParser.parse(reparsedReq); - - // invoke the core logic - responseObj = invoker.verifyXMLSignature(requestObj); - - // map back to XML - response[0] = responseBuilder.build(responseObj).getDocumentElement(); - - } catch (MOAException e) { - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } catch (Throwable t) { - MOASystemException e = new MOASystemException("2900", null, t); - AxisFault fault = AxisFault.makeFault(e); - fault.setFaultDetail(new Element[] { e.toErrorResponse()}); - throw fault; - } - - return response; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/tools/CertTool.java b/spss.server/src/at/gv/egovernment/moa/spss/server/tools/CertTool.java deleted file mode 100644 index 9fe17eae2..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/tools/CertTool.java +++ /dev/null @@ -1,242 +0,0 @@ -package at.gv.egovernment.moa.spss.server.tools; - -import java.io.BufferedInputStream; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.io.InputStream; -import java.io.PrintStream; -import java.security.cert.CertificateException; - -import iaik.asn1.structures.Name; -import iaik.pki.store.certstore.CertStoreException; -import iaik.pki.store.certstore.CertStoreTypes; -import iaik.pki.store.certstore.directory.DirectoryCertStore; -import iaik.pki.store.certstore.directory.DirectoryCertStoreParameters; -import iaik.pki.store.certstore.directory.DirectoryStoreException; -import iaik.security.ecc.provider.ECCProvider; -import iaik.security.provider.IAIK; -import iaik.utils.RFC2253NameParserException; -import iaik.x509.X509Certificate; - -/** - * A tool to support X509 certificate handling for configuring the MOA SP/SS - * service. - * - * This class provides functions for: - *
      - *
    • printing certificate information
    • - *
    • adding certificates to the cert store
    • - *
    - * - * @author Patrick Peck - * @version $Id$ - */ -public class CertTool { - - /** Error message if the DN cannot be parsed according to RFC2253. */ - private static final String ILLEGAL_RFC2253_NAME = - "Kein gültiger RFC2253-Name"; - - /** - * Main entry point of the tool. - * - * @param args The command line arguments. A single argument is expected, - * which is the file name of the X509 certificate to inspect. - */ - public static void main(String args[]) { - CertTool certTool = new CertTool(); - - if (args.length == 2 && "-info".equals(args[0])) { - initProviders(); - certTool.printCertInfo(args[1], System.out); - } else if (args.length == 3 && "-add".equals(args[0])) { - initProviders(); - certTool.addCertToCertStore(args[1], args[2]); - } else { - certTool.printUsage(System.err); - } - } - - /** - * Init the JCE providers, depending on the JDK used. - * - * Adds the IAIK JCE and IAIK ECC providers. - */ - private static void initProviders() { - if (System.getProperty("java.version").startsWith("1.3")) { - IAIK.addAsProvider(); - } else { - IAIK.addAsJDK14Provider(); - } - ECCProvider.addAsProvider(); - } - - /** - * Print the information about the certificate. - * - * This method will output information about the Subject DN, the Issuer DN and - * the serial number of the certificate. - * - * @param certFile The name of the certificate file to inspect. - * @param out The stream to print the information to. - */ - public void printCertInfo(String certFile, PrintStream out) { - try { - InputStream is = new BufferedInputStream(new FileInputStream(certFile)); - X509Certificate cert = new X509Certificate(is); - String issuerDN; - String serial; - String subjectDN; - - try { - subjectDN = ((Name) (cert.getSubjectDN())).getRFC2253String(); - } catch (RFC2253NameParserException e) { - subjectDN = ILLEGAL_RFC2253_NAME; - } - - try { - issuerDN = ((Name) (cert.getIssuerDN())).getRFC2253String(); - } catch (RFC2253NameParserException e) { - issuerDN = ILLEGAL_RFC2253_NAME; - } - - serial = cert.getSerialNumber().toString(); - - out.println("SubjectDN (RFC2253): " + subjectDN); - out.println("IssuerDN (RFC2253) : " + issuerDN); - out.println("Serial Number : " + serial); - } catch (FileNotFoundException e) { - System.err.println("Zertifikat nicht gefunden: " + certFile); - } catch (IOException e) { - System.err.println( - "I/O Fehler beim Lesen des Zertifikats: " + e.getMessage()); - } catch (CertificateException e) { - System.err.println( - "Fehler beim Lesen des Zertifikats: " + e.getMessage()); - } catch (Throwable t) { - System.err.println("Allgemeiner Fehler: " + t.getMessage()); - } - } - - /** - * Add a certificate to a directory certificate store. - * - * @param certFile The certificate to add. - * @param certStoreRoot The root directory of the certificate store. - */ - public void addCertToCertStore(String certFile, String certStoreRoot) { - try { - // read the certificate - InputStream is = new BufferedInputStream(new FileInputStream(certFile)); - X509Certificate cert = new X509Certificate(is); - - // initialize the DirectoryCertStore - DirectoryCertStore certStore = - new DirectoryCertStore( - new SimpleDirectoryCertStoreParameters(certStoreRoot), - null); - - certStore.storeCertificate(cert, null); - - System.out.println("\nDas Zertifikat wurde erfolreich hinzugefügt.\n"); - - } catch (FileNotFoundException e) { - System.err.println("Zertifikat nicht gefunden: " + certFile); - } catch (IOException e) { - System.err.println( - "I/O Fehler beim Lesen des Zertifikats: " + e.getMessage()); - } catch (CertificateException e) { - System.err.println( - "Fehler beim Lesen des Zertifikats: " + e.getMessage()); - } catch (DirectoryStoreException e) { - System.err.println( - "Fehler beim Öffnen des Zertifikatsspeichers: " + e.getMessage()); - } catch (CertStoreException e) { - System.err.println( - "Fehler beim Hinzufügen des Zertifikats: " + e.getMessage()); - } catch (Throwable t) { - System.err.println("Allgemeiner Fehler: " + t.getMessage()); - t.printStackTrace(); - } - } - - /** - * Print tool usage. - * - * @param out The PrintStream to print to. - */ - private void printUsage(PrintStream out) { - out.println("\nCerttool-Syntax:\n"); - out.println("-info "); - out.println("\n"); - } - -} - -/** - * Simple implementation of the DirectoryCertStoreParameters - * interface intelligent enough for setting up a simple - * DirectoryCertStore in the CertTool. - * - * @author Patrick Peck - * @version $Id$ - */ -class SimpleDirectoryCertStoreParameters - implements DirectoryCertStoreParameters { - - /** The cert store root directory. */ - private String rootDirectory; - - /** - * Create a new SimpleDirectoryCertStoreParameters object. - * - * @param rootDirectory The root directory of the cert store. - */ - public SimpleDirectoryCertStoreParameters(String rootDirectory) { - this.rootDirectory = rootDirectory; - } - - /** - * @return "MOA Directory CertStore" - * @see iaik.pki.store.certstore.CertStoreParameters#getId() - */ - public String getId() { - return "MOA Directory CertStore"; - } - - /** - * @return CertStoreTypes.DIRECTORY - * @see iaik.pki.store.certstore.CertStoreParameters#getType() - */ - public String getType() { - return CertStoreTypes.DIRECTORY; - } - - /** - * @return false - * @see iaik.pki.store.certstore.CertStoreParameters#isReadOnly() - */ - public boolean isReadOnly() { - return false; - } - - /** - * @return false - * @see iaik.pki.store.certstore.directory.DirectoryCertStoreParameters#createNew() - */ - public boolean createNew() { - return false; - } - - /** - * @return The root directory given at construction time. - * @see iaik.pki.store.certstore.directory.DirectoryCertStoreParameters#getRootDirectory() - */ - public String getRootDirectory() { - return rootDirectory; - } - -} \ No newline at end of file diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.java b/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.java deleted file mode 100644 index 407dbd4e9..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.java +++ /dev/null @@ -1,90 +0,0 @@ -package at.gv.egovernment.moa.spss.server.transaction; - -import java.security.cert.X509Certificate; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; - -/** - * Contains information about the current request. - * - * @author Stefan Knirsch - * @author Patrick Peck - */ -public class TransactionContext { - - /** The client certificate. */ - private X509Certificate[] clientCertificate = null; - /** The transaction ID. */ - private String transactionID = null; - /** The name of the request. */ - private String requestName = null; - /** The configuration to use throughout the request. */ - private ConfigurationProvider configuration = null; - - /** - * Create a TransactionContext object. - * - * @param transactionID A unique ID for this TransactionContext. - * @param clientCertificate The client certificate chain. - * @param configuration The MOA configuration to use for this transaction. - */ - public TransactionContext( - String transactionID, - X509Certificate[] clientCertificate, - ConfigurationProvider configuration) { - - this.transactionID = transactionID; - this.clientCertificate = clientCertificate; - this.configuration = configuration; - } - - /** - * Returns the client certificate. - * - * @return The client certificate chain, if SSL client authentication has been - * configured in the web server and has been used by the client. The 0th - * element of the array contains the client certificate. null - * otherwise. - */ - public X509Certificate[] getClientCertificate() { - return clientCertificate; - } - - /** - * Returns the unique transaction ID. - * - * @return The transaction ID. - */ - public String getTransactionID() { - return transactionID; - } - - /** - * Returns the name of the request. - * - * @return The name of the request. - */ - public String getRequestName() { - return requestName; - } - - /** - * Sets the name of the request. - * - * @param requestName The request name to set. - */ - public void setRequestName(String requestName) { - this.requestName = requestName; - } - - /** - * Returns the ConfigurationProvider associated with this - * transaction. - * - * @return The ConfigurationProvider associated with this transaction. - */ - public ConfigurationProvider getConfiguration() { - return configuration; - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionContextManager.java b/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionContextManager.java deleted file mode 100644 index 13127c3ae..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionContextManager.java +++ /dev/null @@ -1,62 +0,0 @@ -package at.gv.egovernment.moa.spss.server.transaction; - -/** - * Provides each thread with an instance of TransactionContext. - * - * The single instance of the TransactionContextManager should be - * used to access contextual information for each web service transaction, e.g. - * the transaction ID, MOA configuration, client certificate, etc. - * - * @author Stefan Knirsch - * @author Patrick Peck - */ -public class TransactionContextManager { - - /** The single instance of TransactionContextManager */ - private static TransactionContextManager instance = null; - - /** Contains a single TransactionContext for each thread. */ - private ThreadLocal context = null; - - /** - * Get the single instance of TransactionContextManager. - * - * @return The single instanc of TransactionContextManager. - */ - public static synchronized TransactionContextManager getInstance() { - if (instance == null) { - instance = new TransactionContextManager(); - } - return instance; - } - - /** - * Creates a new TransactionContextManager. - * - * Protected to disallow direct instantiation. - */ - protected TransactionContextManager() { - context = new ThreadLocal(); - } - - /** - * Set the TransactionContext for the current thread. - * - * @param txContext The TransactionContext for this thread. - */ - public void setTransactionContext(TransactionContext txContext) { - context.set(txContext); - } - - /** - * Get the TransactionContext for the current thread. - * - * @return The TransactionContext for the current thread or - * null, if none has been set (or if this method is being invoked - * outside the bounds of a transaction). - */ - public TransactionContext getTransactionContext() { - return (TransactionContext) context.get(); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionIDGenerator.java b/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionIDGenerator.java deleted file mode 100644 index 6eb07defe..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/transaction/TransactionIDGenerator.java +++ /dev/null @@ -1,51 +0,0 @@ -package at.gv.egovernment.moa.spss.server.transaction; - - -/** - * A generator for unique transaction IDs. - * - *

    The transaction IDs are of the form "-", where: - *

      - *
    • base is initialized with the system time when this class is - * being loaded
    • - *
    • counter is incremented sequentially on each call to - * nextID()
    • - *
    - *

    - * - *

    Assuming that it is highly unlikely that MOA servers are started at - * exactly the same time instant, the mechanism provided by this class should - * guarantee unique transaction IDs across multiple restarts and/or instances of - * the server.

    - * - * @author Patrick Peck - * @author Stefan Knirsch - */ -public class TransactionIDGenerator { - - /** Request sequence number. */ - private static long counter = 0; - /** The base value to which to append the sequence number. */ - private static String base = null; - - /** - * Set up the initial base value. - */ - static { - synchronized (TransactionIDGenerator.class) { - base = Long.toString(System.currentTimeMillis()); - } - } - - /** - * Returns the next transaction ID. - * - * @return The next transaction ID. - */ - public static synchronized String nextID() { - counter++; - - return (base + "-" + counter); - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/util/IdGenerator.java b/spss.server/src/at/gv/egovernment/moa/spss/server/util/IdGenerator.java deleted file mode 100644 index 92e8cb0f8..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/util/IdGenerator.java +++ /dev/null @@ -1,61 +0,0 @@ -package at.gv.egovernment.moa.spss.server.util; - -import java.util.Set; - -/** - * Generate unique ID values for various objects in the response. - * - * @author Patrick Peck - * @version $Id$ - */ -public class IdGenerator { - /** The base value to append the counter to. */ - private String base; - /** The Set of reserved ID values. */ - private Set reserved; - /** The sequence number. */ - private int count; - - /** - * Create a new IdGenerator. - * - * @param base A base value to append the IDs to. The creator of this object - * should provide a base value, so that appending the counter leads to unique - * IDs. - * @param reserved The Set of reserved IDs. A call to - * uniqueId() will respect the reserved IDs. - */ - public IdGenerator(String base, Set reserved) { - this.base = base; - this.reserved = reserved; - count = 1; - } - - /** - * Create the next ID value in the sequence. - * - * @return The next ID value in the sequence. - */ - public String nextId() { - return base + "-" + count++; - } - - /** - * Create the next unique ID value which is unique in the reserved ID set. - * - * The created ID is added to the set of reserved IDs. - * - * @return The next ID value. - */ - public String uniqueId() { - String nextId; - - while (reserved.contains(nextId = nextId())); - - reserved.add(nextId); - - return nextId; - - } - -} diff --git a/spss.server/src/at/gv/egovernment/moa/spss/util/MessageProvider.java b/spss.server/src/at/gv/egovernment/moa/spss/util/MessageProvider.java deleted file mode 100644 index a6f6c1d4a..000000000 --- a/spss.server/src/at/gv/egovernment/moa/spss/util/MessageProvider.java +++ /dev/null @@ -1,65 +0,0 @@ -package at.gv.egovernment.moa.spss.util; - -import java.util.Locale; - -import at.gv.egovernment.moa.util.Messages; - -/** - * Singleton wrapper around a Messages object. - * - * @author Patrick Peck - * @version $Id$ - */ -public class MessageProvider { - - /** The resource names of the messages to load. */ - private static final String[] DEFAULT_MESSAGE_RESOURCES = - { "resources/properties/spss_messages" }; - /** The corresponding message locales. */ - private static final Locale[] DEFAULT_MESSAGE_LOCALES = - new Locale[] { new Locale("de", "AT") }; - /** The single instance of this class. */ - private static MessageProvider instance; - - /** The messages provided by the MessageProvider. */ - private Messages messages; - - /** - * Return the single instance of the MessageProvider. - * - * Intialilizes the MessageProvider with the default message - * locations: /resources/properties/spss_messages. - * - * @return The single MessageProvider. - */ - public static synchronized MessageProvider getInstance() { - if (instance == null) { - instance = - new MessageProvider(DEFAULT_MESSAGE_RESOURCES, DEFAULT_MESSAGE_LOCALES); - } - return instance; - } - - /** - * Create a MessageProvider. - * - * @param resourceNames The names of the resources containing the messages. - * @param locales The corresponding locales. - */ - protected MessageProvider(String[] resourceNames, Locale[] locales) { - this.messages = new Messages(resourceNames, locales); - } - - /** - * Get the message corresponding to a given message ID. - * - * @param messageId The ID of the message. - * @param parameters The parameters to fill in into the message arguments. - * @return The formatted message. - */ - public String getMessage(String messageId, Object[] parameters) { - return messages.getMessage(messageId, parameters); - } - - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/AllTests.java b/spss.server/src/test/at/gv/egovernment/moa/spss/AllTests.java deleted file mode 100644 index 9935685d0..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/AllTests.java +++ /dev/null @@ -1,41 +0,0 @@ -package test.at.gv.egovernment.moa.spss; - -import test.at.gv.egovernment.moa.spss.server.config.ConfigurationProviderTest; -import test.at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImplTest; -import test.at.gv.egovernment.moa.spss.server.iaik.config.IaikConfiguratorTest; -import test.at.gv.egovernment.moa.spss.server.tools.CertToolTest; - -import junit.awtui.TestRunner; -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite for all unit tests. - * - * @author Patrick Peck - * @version $Id$ - */ -public class AllTests { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(ConfigurationProviderTest.class); - suite.addTestSuite(ConfigurationDataImplTest.class); - suite.addTestSuite(IaikConfiguratorTest.class); - suite.addTest( - test.at.gv.egovernment.moa.spss.server.invoke.AllTests.suite()); - suite.addTest(test.at.gv.egovernment.moa.spss.api.xmlbind.AllTests.suite()); - suite.addTestSuite(CertToolTest.class); - - return suite; - } - - public static void main(String[] args) { - try { - TestRunner.run(AllTests.class); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/SPSSTestCase.java b/spss.server/src/test/at/gv/egovernment/moa/spss/SPSSTestCase.java deleted file mode 100644 index a585e30a0..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/SPSSTestCase.java +++ /dev/null @@ -1,82 +0,0 @@ -package test.at.gv.egovernment.moa.spss; - -import java.security.Security; - -import test.at.gv.egovernment.moa.MOATestCase; - -import at.gv.egovernment.moa.logging.Logger; -import at.gv.egovernment.moa.logging.LoggingContext; -import at.gv.egovernment.moa.logging.LoggingContextManager; -import at.gv.egovernment.moa.util.MessageProvider; - -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; - -/** - * Base class for MOA test cases. - * - * Provides some utility functions. - * - * @author Patrick Peck - * @version $Id$ - */ -public class SPSSTestCase extends MOATestCase { - - protected static final String TESTDATA_ROOT = "data/test/"; - - /** - * Constructor for MOATestCase. - * @param arg0 - */ - public SPSSTestCase(String name) { - super(name); - } - - /** - * Set up a transaction context with a test configuration. - */ - protected void setUpTransactionContext() throws Exception { - System.setProperty( - ConfigurationProvider.CONFIG_PROPERTY_NAME, - "data/test/conf/moa-spss/MOA-SPSSConfiguration.xml"); - ConfigurationProvider config = ConfigurationProvider.getInstance(); - TransactionContext context = new TransactionContext("test", null, config); - TransactionContextManager.getInstance().setTransactionContext(context); - } - - protected void setUpLoggingContext() throws Exception { - LoggingContext context = new LoggingContext("test"); - LoggingContextManager.getInstance().setLoggingContext(context); - } - - /** - * Configure the IAIK modules with the current configuration. - * - * A TransactionContext must have been set up before. - */ - protected void setUpIaikConfiguration() throws Exception { - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - ClassLoader cl = getClass().getClassLoader(); - MessageProvider msg = MessageProvider.getInstance(); - - try { - cl.loadClass("javax.security.cert.Certificate"); // from jcert.jar - } catch (ClassNotFoundException e) { - Logger.warn(msg.getMessage("init.03", null), e); - } - - new IaikConfigurator().configure(context.getConfiguration()); - } - - protected void setUpSSL() throws Exception { - //System.setProperty("javax.net.debug", "all"); - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - System.setProperty( - "java.protocol.handler.pkgs", - "com.sun.net.ssl.internal.www.protocol"); - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/AllTests.java b/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/AllTests.java deleted file mode 100644 index 28f79729e..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/AllTests.java +++ /dev/null @@ -1,24 +0,0 @@ -package test.at.gv.egovernment.moa.spss.api.xmlbind; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Runs all tests in this package. - * - * @author Patrick Peck - * @version $Id$ - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(CreateXMLSignatureRequestParserTest.class); - suite.addTestSuite(TransformParserTest.class); - suite.addTestSuite(VerifyCMSSignatureRequestParserTest.class); - suite.addTestSuite(VerifyXMLSignatureRequestParserTest.class); - - return suite; - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureRequestParserTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureRequestParserTest.java deleted file mode 100644 index 7ce705b01..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/CreateXMLSignatureRequestParserTest.java +++ /dev/null @@ -1,71 +0,0 @@ -package test.at.gv.egovernment.moa.spss.api.xmlbind; - -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import at.gv.egovernment.moa.spss.api.xmlbind.CreateXMLSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateSignatureEnvironmentProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateTransformsInfoProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.DataObjectInfo; -import at.gv.egovernment.moa.spss.api.xmlsign.SingleSignatureInfo; - -/** - * Test the CreateXMLSignatureRequestParser. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CreateXMLSignatureRequestParserTest extends SPSSTestCase { - private static final String TESTDATA_BASE = - TESTDATA_ROOT + "xml/CreateXMLSignature/"; - - private CreateXMLSignatureRequestParser requestParser; - - public CreateXMLSignatureRequestParserTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - requestParser = new CreateXMLSignatureRequestParser(); - } - - public void testParse() throws Exception { - Element requestElem = - parseXml(TESTDATA_BASE + "TestGeneratorCX2.001.Req.xml") - .getDocumentElement(); - CreateXMLSignatureRequest request = requestParser.parse(requestElem); - SingleSignatureInfo sigInfo; - DataObjectInfo dataObjInfo; - CreateTransformsInfoProfileExplicit transProfile; - CreateSignatureEnvironmentProfileExplicit envProfile; - - assertNotNull(request); - assertEquals("PKCS12RSAKey1", request.getKeyIdentifier()); - assertEquals(1, request.getSingleSignatureInfos().size()); - - sigInfo = (SingleSignatureInfo) request.getSingleSignatureInfos().get(0); - assertEquals(1, sigInfo.getDataObjectInfos().size()); - assertFalse(sigInfo.isSecurityLayerConform()); - - dataObjInfo = (DataObjectInfo) sigInfo.getDataObjectInfos().get(0); - assertNotNull(dataObjInfo.getDataObject()); - - transProfile = - (CreateTransformsInfoProfileExplicit) dataObjInfo - .getCreateTransformsInfoProfile(); - assertNotNull( - transProfile.getCreateTransformsInfo().getFinalDataMetaInfo()); - - envProfile = - (CreateSignatureEnvironmentProfileExplicit) sigInfo - .getCreateSignatureInfo() - .getCreateSignatureEnvironmentProfile(); - assertEquals( - "//data:Document", - envProfile.getCreateSignatureLocation().getXPathExpression()); - assertEquals(0, envProfile.getCreateSignatureLocation().getIndex()); - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/TransformParserTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/TransformParserTest.java deleted file mode 100644 index f580f86bc..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/TransformParserTest.java +++ /dev/null @@ -1,113 +0,0 @@ -package test.at.gv.egovernment.moa.spss.api.xmlbind; - -import java.util.List; - -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import at.gv.egovernment.moa.spss.api.common.CanonicalizationTransform; -import at.gv.egovernment.moa.spss.api.common.EnvelopedSignatureTransform; -import at.gv.egovernment.moa.spss.api.common.ExclusiveCanonicalizationTransform; -import at.gv.egovernment.moa.spss.api.common.XPathFilter2Transform; -import at.gv.egovernment.moa.spss.api.common.XPathTransform; -import at.gv.egovernment.moa.spss.api.common.XSLTTransform; -import at.gv.egovernment.moa.spss.api.xmlbind.TransformParser; - -/** - * Test the TransformParser. - * - * @author Patrick Peck - * @version $Id$ - */ -public class TransformParserTest extends SPSSTestCase { - private static String TESTDATA_BASE = TESTDATA_ROOT + "xml/dsigTransform/"; - - private TransformParser transformParser; - - public TransformParserTest(String name) { - super(name); - } - - protected void setUp() { - transformParser = new TransformParser(); - } - - public void testParseTransforms() throws Exception { - Element transformsElem = - parseXml(TESTDATA_BASE + "transforms.xml").getDocumentElement(); - List transforms = transformParser.parseTransforms(transformsElem); - - assertNotNull(transforms); - assertEquals(3, transforms.size()); - - } - - public void testParseCanonicalizationTransform() throws Exception { - Element transformElem = - parseXml(TESTDATA_BASE + "canonicalization.xml").getDocumentElement(); - CanonicalizationTransform transform = - (CanonicalizationTransform) transformParser.parseTransform(transformElem); - - assertNotNull(transform); - assertEquals( - CanonicalizationTransform.CANONICAL_XML, - transform.getAlgorithmURI()); - } - - public void testParseExclCanonicalizationTransform() throws Exception { - Element transformElem = - parseXml(TESTDATA_BASE + "exclusiveCanonicalization.xml") - .getDocumentElement(); - ExclusiveCanonicalizationTransform transform = - (ExclusiveCanonicalizationTransform) transformParser.parseTransform( - transformElem); - - assertNotNull(transform); - assertEquals( - ExclusiveCanonicalizationTransform.EXCLUSIVE_CANONICAL_XML, - transform.getAlgorithmURI()); - assertEquals(3, transform.getInclusiveNamespacePrefixes().size()); - } - - public void testParseEnvelopedTransform() throws Exception { - Element transformElem = - parseXml(TESTDATA_BASE + "enveloped.xml").getDocumentElement(); - EnvelopedSignatureTransform transform = - (EnvelopedSignatureTransform) transformParser.parseTransform( - transformElem); - - assertNotNull(transform); - } - - public void testParseXPathTransform() throws Exception { - Element transformElem = - parseXml(TESTDATA_BASE + "xpath.xml").getDocumentElement(); - XPathTransform transform = - (XPathTransform) transformParser.parseTransform(transformElem); - - assertNotNull(transform); - assertEquals("//ToBeSigned/Data", transform.getXPathExpression()); - assertEquals(1, transform.getNamespaceDeclarations().size()); - } - - public void testParseXPathFilter2Transform() throws Exception { - Element transformElem = - parseXml(TESTDATA_BASE + "xpath2.xml").getDocumentElement(); - XPathFilter2Transform transform = - (XPathFilter2Transform) transformParser.parseTransform(transformElem); - - assertNotNull(transform); - assertEquals(3, transform.getFilters().size()); - } - - public void testParseXSLTTransform() throws Exception { - Element transformElem = - parseXml(TESTDATA_BASE + "xslt.xml").getDocumentElement(); - XSLTTransform transform = - (XSLTTransform) transformParser.parseTransform(transformElem); - - assertNotNull(transform); - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureRequestParserTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureRequestParserTest.java deleted file mode 100644 index 4be7667eb..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/VerifyCMSSignatureRequestParserTest.java +++ /dev/null @@ -1,61 +0,0 @@ -package test.at.gv.egovernment.moa.spss.api.xmlbind; - -import org.w3c.dom.Element; - -import at.gv.egovernment.moa.util.DateTimeUtils; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import at.gv.egovernment.moa.spss.api.cmsverify.CMSContentExcplicit; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.common.MetaInfo; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyCMSSignatureRequestParser; - -/** - * Test the VerifyCMSSignatureRequestParserTest. - * - * @author Patrick Peck - * @version $Id$ - */ -public class VerifyCMSSignatureRequestParserTest extends SPSSTestCase { - private static String TESTDATA_BASE = - TESTDATA_ROOT + "xml/VerifyCMSSignature/"; - - private VerifyCMSSignatureRequestParser requestParser; - - public VerifyCMSSignatureRequestParserTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - requestParser = new VerifyCMSSignatureRequestParser(); - } - - public void testParse() throws Exception { - Element requestElem = - parseXml(TESTDATA_BASE + "TestGeneratorVC0.001.Req.xml") - .getDocumentElement(); - VerifyCMSSignatureRequest request = requestParser.parse(requestElem); - MetaInfo metaInfo; - CMSContentExcplicit content; - - assertNotNull(request); - assertEquals(1, request.getSignatories()[0]); - assertEquals( - DateTimeUtils.parseDateTime("2003-04-04T09:30:47-05:00"), - request.getDateTime()); - assertNotNull(request.getCMSSignature()); - assertNotNull(request.getDataObject()); - assertEquals("TrustProfile1", request.getTrustProfileId()); - - metaInfo = request.getDataObject().getMetaInfo(); - assertNotNull(metaInfo); - assertEquals("text/plain", metaInfo.getMimeType()); - assertEquals("http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt", metaInfo.getDescription()); - - content = (CMSContentExcplicit) request.getDataObject().getContent(); - assertNotNull(content.getBinaryContent()); - - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureRequestParserTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureRequestParserTest.java deleted file mode 100644 index 3b8e8b00e..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/api/xmlbind/VerifyXMLSignatureRequestParserTest.java +++ /dev/null @@ -1,81 +0,0 @@ -package test.at.gv.egovernment.moa.spss.api.xmlbind; - -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import at.gv.egovernment.moa.util.DateTimeUtils; - -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyXMLSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlverify.ReferenceInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.SignatureManifestCheckParams; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureInfo; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifySignatureLocation; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyTransformsInfoProfileExplicit; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; - -/** - * Test the VerifyXMLSignatureRequestParserTest. - * - * @author Patrick Peck - * @version $Id$ - */ -public class VerifyXMLSignatureRequestParserTest extends SPSSTestCase { - private static String TESTDATA_BASE = - TESTDATA_ROOT + "xml/VerifyXMLSignature/"; - - private VerifyXMLSignatureRequestParser parser; - - public VerifyXMLSignatureRequestParserTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - parser = new VerifyXMLSignatureRequestParser(); - } - - public void testParse() throws Exception { - Element requestElem = - parseXml(TESTDATA_BASE + "TestGeneratorVX.201.Req.xml") - .getDocumentElement(); - VerifyXMLSignatureRequest request = parser.parse(requestElem); - VerifySignatureInfo verifySignatureInfo; - VerifySignatureLocation verifyLocation; - SignatureManifestCheckParams checkParams; - ReferenceInfo refInfo; - VerifyTransformsInfoProfileExplicit transformsProfile; - - assertNotNull(request); - assertEquals( - DateTimeUtils.parseDateTime("2003-04-01T12:53:57+01:00"), - request.getDateTime()); - assertFalse(request.getReturnHashInputData()); - assertEquals("TrustProfile1", request.getTrustProfileId()); - - verifySignatureInfo = request.getSignatureInfo(); - assertNotNull(verifySignatureInfo); - assertNotNull(verifySignatureInfo.getVerifySignatureEnvironment()); - - verifyLocation = verifySignatureInfo.getVerifySignatureLocation(); - assertNotNull(verifyLocation); - assertEquals("//dsig:Signature", verifyLocation.getXPathExpression()); - assertEquals(3, verifyLocation.getNamespaceDeclarations().size()); - - checkParams = request.getSignatureManifestCheckParams(); - assertNotNull(checkParams); - assertEquals(true, checkParams.getReturnReferenceInputData()); - assertEquals(1, checkParams.getReferenceInfos().size()); - - refInfo = (ReferenceInfo) checkParams.getReferenceInfos().get(0); - assertEquals(1, refInfo.getVerifyTransformsInfoProfiles().size()); - - transformsProfile = - (VerifyTransformsInfoProfileExplicit) refInfo - .getVerifyTransformsInfoProfiles() - .get(0); - assertEquals(1, transformsProfile.getTransforms().size()); - assertEquals(1, transformsProfile.getTransformParameters().size()); - - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/config/ConfigurationProviderTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/config/ConfigurationProviderTest.java deleted file mode 100644 index 07b3c7010..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/config/ConfigurationProviderTest.java +++ /dev/null @@ -1,184 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.config; - -import java.io.FileInputStream; -import java.math.BigInteger; -import java.security.KeyStore; -import java.security.Principal; -import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; -import java.util.Collection; -import java.util.Set; - -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import iaik.utils.RFC2253NameParser; - -import at.gv.egovernment.moa.spss.server.config.IssuerAndSerial; -import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; -import at.gv.egovernment.moa.spss.server.config.TrustProfile; - -/** - * Tests the ConfigurationProvider. - * - * @author Patrick Peck - * @author Sven Aigner - * @version $Id$ - */ -public class ConfigurationProviderTest extends SPSSTestCase { - private ConfigurationProvider provider; - private Principal issuer1; - private Principal issuer2; - private BigInteger serial1; - private BigInteger serial2; - private IssuerAndSerial is1; - private IssuerAndSerial is2; - private X509Certificate cert1; - private X509Certificate cert2; - private X509Certificate atrustCert; - private X509Certificate iaikCert; - - /** - * Constructor for MOAConfigTest. - * @param name - */ - public ConfigurationProviderTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - RFC2253NameParser nameParser; - - provider = - new ConfigurationProvider( - TESTDATA_ROOT + "conf/moa-spss/MOA-SPSSConfiguration.xml"); - - nameParser = new RFC2253NameParser("CN=TestUser,OU=MOA,O=BRZ,C=AT"); - issuer1 = nameParser.parse(); - serial1 = new BigInteger("12345678"); - is1 = new IssuerAndSerial(issuer1, serial1); - - nameParser = new RFC2253NameParser("CN=TestUser,OU=IKT-Board,O=CIO,C=AT"); - issuer2 = nameParser.parse(); - serial2 = new BigInteger("987654321"); - is2 = new IssuerAndSerial(issuer2, serial2); - - KeyStore ks = KeyStore.getInstance("JKS", "SUN"); - ks.load( - new FileInputStream(TESTDATA_ROOT + "security/server.keystore"), - "changeit".toCharArray()); - cert1 = (X509Certificate) ks.getCertificate("tomcat-server"); - cert2 = (X509Certificate) ks.getCertificate("tomcat-client"); - - CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); - Collection certs = - certFactory.generateCertificates( - new FileInputStream(TESTDATA_ROOT + "security/A-Trust-nQual-01.p7b")); - atrustCert = (X509Certificate) certs.toArray()[0]; - - certs = - certFactory.generateCertificates( - new FileInputStream( - TESTDATA_ROOT - + "conf/moa-spss/trustprofiles/TrustProfile1/IAIKRoot.cer")); - iaikCert = (X509Certificate) certs.toArray()[0]; - } - - public void testGetKeySet() { - Set keySet; - - keySet = provider.getKeyGroupEntries(null, null, "PKCS12RSAKey1"); - assertEquals(1, keySet.size()); - keySet = provider.getKeyGroupEntries(null, null, "PKCS12RSAKeyExpired"); - assertEquals(1, keySet.size()); - keySet = provider.getKeyGroupEntries(issuer1, serial1, "allKeys"); - assertEquals(6, keySet.size()); - keySet = provider.getKeyGroupEntries(null, null, "allKeys"); - assertNull(keySet); - } - - public void testGetChainingMode() { - String mode; - - mode = provider.getChainingMode(atrustCert); - assertEquals("chain", mode); - mode = provider.getChainingMode(cert2); - assertEquals("pkix", mode); - } - - public void testGetCRLDP() { - Set dps; - - dps = provider.getCRLDP(atrustCert); - assertEquals(0, dps.size()); - dps = provider.getCRLDP(iaikCert); - assertEquals(3, dps.size()); - } - - public void testGetCRLArchiveDuration() { - assertEquals(365, provider.getCRLArchiveDuration()); - } - - public void testGetGenericConfiguration() { - assertEquals( - "tmp/aValidPathName", - provider.getGenericConfiguration("DirectoryCertStoreParameters.RootDir")); - assertNull(provider.getGenericConfiguration("notExisting")); - assertEquals( - "default", - provider.getGenericConfiguration("notExisting", "default")); - } - - public void testGetCreateTransformsInfoProfile() { - Element profile; - - profile = provider.getCreateTransformsInfoProfile("NotExisting"); - assertNull(profile); - profile = - provider.getCreateTransformsInfoProfile("CreateTransformsInfoProfile1"); - assertNotNull(profile); - } - - public void testGetCreateSignatureEnvironmentProfile() { - Element profile = - provider.getCreateSignatureEnvironmentProfile( - "CreateSignatureEnvironmentProfile1"); - assertNotNull(profile); - } - - public void testGetVerifyTransformsInfoProfile() { - Element profile; - - profile = provider.getVerifyTransformsInfoProfile("TransformsInfoProfile1"); - assertNotNull(profile); - profile = provider.getVerifyTransformsInfoProfile("TransformsInfoProfile2"); - assertNotNull(profile); - profile = provider.getVerifyTransformsInfoProfile("NotExisting"); - assertNull(profile); - } - - public void testGetSupplementProfile() { - Element profile = provider.getSupplementProfile("SupplementProfile1"); - assertNotNull(profile); - } - - public void testGetTrustProfile() { - TrustProfile tp = provider.getTrustProfile("TrustProfile1"); - assertEquals("d:/patrick/tmp/TrustProfile1", tp.getUri()); - assertNull(provider.getTrustProfile("TrustProfile2")); - } - - public void testGetDigestMethodAlgorithmName() { - assertEquals( - "http://www.w3.org/2000/09/xmldsig#sha1", - provider.getDigestMethodAlgorithmName()); - } - - public void testGetCanonicalizationAlgorithmName() { - assertEquals( - "http://www.w3.org/TR/2001/REC-xml-c14n-20010315", - provider.getCanonicalizationAlgorithmName()); - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImplTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImplTest.java deleted file mode 100644 index 29e00e0e7..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/iaik/config/ConfigurationDataImplTest.java +++ /dev/null @@ -1,149 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.iaik.config; - -import java.io.FileInputStream; -import java.security.KeyStore; -import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; -import java.util.Collection; -import java.util.Date; -import java.util.Iterator; -import java.util.List; -import java.util.Set; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import iaik.asn1.structures.DistributionPoint; -import iaik.pki.PKIConfiguration; -import iaik.pki.pathvalidation.ChainingModes; -import iaik.pki.pathvalidation.ValidationConfiguration; -import iaik.pki.revocation.CRLDistributionPoint; -import iaik.pki.revocation.RevocationConfiguration; -import iaik.pki.store.certstore.CertStoreConfiguration; -import iaik.pki.store.certstore.CertStoreTypes; -import iaik.pki.store.revocation.archive.ArchiveConfiguration; -import iaik.pki.store.revocation.archive.db.DataBaseArchiveParameter; -import iaik.server.ConfigurationData; -import iaik.server.modules.keys.HardwareKeyModuleConfiguration; -import iaik.server.modules.keys.SoftwareKeyModuleConfiguration; - -import at.gv.egovernment.moa.spss.server.iaik.config.ConfigurationDataImpl; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; - -/** - * Tests the ConfigurationDataImpl. - * - * @author Patrick Peck - * @version $Id$ - */ -public class ConfigurationDataImplTest extends SPSSTestCase { - - private ConfigurationData config; - private X509Certificate iaikCert; - - public ConfigurationDataImplTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - TransactionContext context; - - setUpTransactionContext(); - context = TransactionContextManager.getInstance().getTransactionContext(); - - config = new ConfigurationDataImpl(context.getConfiguration()); - - KeyStore ks = KeyStore.getInstance("JKS", "SUN"); - ks.load( - new FileInputStream(TESTDATA_ROOT + "security/server.keystore"), - "changeit".toCharArray()); - - CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); - Collection certs = - certFactory.generateCertificates( - new FileInputStream( - TESTDATA_ROOT - + "conf/moa-spss/trustprofiles/TrustProfile1/IAIKRoot.cer")); - iaikCert = (X509Certificate) certs.toArray()[0]; - - } - - public void testGetPKIConfiguration() { - PKIConfiguration pkiConfig = config.getPKIConfiguration(); - ArchiveConfiguration archiveConfig = pkiConfig.getArchiveConfiguration(); - CertStoreConfiguration certStoreConfig = - pkiConfig.getCertStoreConfiguration(); - RevocationConfiguration revocationConfig = - pkiConfig.getRevocationConfiguration(); - ValidationConfiguration validationConfig = - pkiConfig.getValidationConfiguration(); - DataBaseArchiveParameter archiveParam; - Set distributionPoints; - Iterator iter; - boolean found; - - // test archive parameters - archiveParam = - (DataBaseArchiveParameter) archiveConfig.getArchiveParameters(); - assertEquals( - archiveParam.getJDBCUrl(), - "jdbc:postgresql://10.16.46.108/moa?user=moa&password=moatest"); - - // test cert store configuration - assertEquals(1, certStoreConfig.getParameters().length); - assertEquals( - CertStoreTypes.DIRECTORY, - certStoreConfig.getParameters()[0].getType()); - - // test revocation configuration - distributionPoints = - revocationConfig.getAlternativeDistributionPoints(iaikCert, new Date()); - assertEquals(3, distributionPoints.size()); - found = false; - for (iter = distributionPoints.iterator(); iter.hasNext();) { - CRLDistributionPoint dp = (CRLDistributionPoint) iter.next(); - if (dp.getUri().equals("http://www.iaik.at/testCA/iaik_test_sig.crl")) { - found = - dp.getReasonCodes() - == (DistributionPoint.keyCompromise - | DistributionPoint.affiliationChanged); - } - } - assertTrue(found); - - // test validation configuration - assertEquals( - ChainingModes.PKIX_MODE, - validationConfig.getChainingMode(iaikCert)); - } - - /* - public void testGetCryptoModuleConfigurations() { - List cryptoConfigs = config.getCryptoModuleConfigurations(); - HardwareCryptoModuleConfiguration moduleConfig; - - assertEquals(2, cryptoConfigs.size()); - moduleConfig = (HardwareCryptoModuleConfiguration) cryptoConfigs.get(0); - assertEquals("Module1", moduleConfig.getModuleName()); - assertEquals("Slot1", moduleConfig.getSlotID()); - assertEquals("PIN1", new String(moduleConfig.getUserPIN())); - } - */ - - public void testGetKeyModuleConfigurations() { - List keyConfigs = config.getKeyModuleConfigurations(); - HardwareKeyModuleConfiguration hwKey; - SoftwareKeyModuleConfiguration swKey; - - assertEquals(7, keyConfigs.size()); - hwKey = (HardwareKeyModuleConfiguration) keyConfigs.get(0); - assertEquals("cryptoki.dll", hwKey.getModuleName()); - assertEquals("0", hwKey.getSlotID()); - assertEquals("0000", new String(hwKey.getUserPIN())); - swKey = (SoftwareKeyModuleConfiguration) keyConfigs.get(1); - assertEquals( - "buergerkarte", - new String(swKey.getKeyStoreAuthenticationData())); - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfiguratorTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfiguratorTest.java deleted file mode 100644 index 3b403dc19..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfiguratorTest.java +++ /dev/null @@ -1,36 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.iaik.config; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContext; -import at.gv.egovernment.moa.spss.server.transaction.TransactionContextManager; - -/** - * Tests the IaikConfigurator. - * - * @author Patrick Peck - * @version $Id$ - */ -public class IaikConfiguratorTest extends SPSSTestCase { - - public IaikConfiguratorTest(String name) { - super(name); - } - - /** - * @see TestCase#setUp() - */ - protected void setUp() throws Exception { - super.setUpTransactionContext(); - } - - public void testConfigure() throws Exception { - IaikConfigurator configurator = new IaikConfigurator(); - TransactionContext context = - TransactionContextManager.getInstance().getTransactionContext(); - - configurator.configure(context.getConfiguration()); - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/AllTests.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/AllTests.java deleted file mode 100644 index 65fa2bf72..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/AllTests.java +++ /dev/null @@ -1,25 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.invoke; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Runs all tests in this package. - * - * @author Patrick Peck - * @version $Id$ - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(DataObjectFactoryTest.class); - suite.addTestSuite(TransformationFactoryTest.class); - suite.addTestSuite(XMLSignatureCreationInvokerTest.class); - suite.addTestSuite(CMSSignatureVerificationInvokerTest.class); - suite.addTestSuite(XMLSignatureVerificationInvokerTest.class); - - return suite; - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvokerTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvokerTest.java deleted file mode 100644 index 3024730f4..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/CMSSignatureVerificationInvokerTest.java +++ /dev/null @@ -1,63 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.invoke; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import at.gv.egovernment.moa.util.DOMUtils; - -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest; -import at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyCMSSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyCMSSignatureResponseBuilder; -import at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker; - -/** - * Mainly a smoke test for debugging the CMSSignatureVerificationInvoker. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CMSSignatureVerificationInvokerTest extends SPSSTestCase { - private static final String TESTDATA_BASE = - TESTDATA_ROOT + "xml/VerifyCMSSignature/"; - - /** - * Constructor for CMSSignatureVerificationInvokerTest. - * @param name - */ - public CMSSignatureVerificationInvokerTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - setUpTransactionContext(); - setUpLoggingContext(); - setUpIaikConfiguration(); - } - - public void testVerifyCMSSignature() throws Exception { - try { - CMSSignatureVerificationInvoker invoker = - CMSSignatureVerificationInvoker.getInstance(); - VerifyCMSSignatureRequestParser requestParser = - new VerifyCMSSignatureRequestParser(); - Document doc = - SPSSTestCase.parseXmlValidating( - TESTDATA_BASE + "TestGeneratorVC0.001.Req.xml"); - VerifyCMSSignatureRequest request = - requestParser.parse(doc.getDocumentElement()); - VerifyCMSSignatureResponse response = invoker.verifyCMSSignature(request); - VerifyCMSSignatureResponseBuilder responseBuilder = - new VerifyCMSSignatureResponseBuilder(); - Element result = responseBuilder.build(response).getDocumentElement(); - - System.out.println(DOMUtils.serializeNode(result)); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactoryTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactoryTest.java deleted file mode 100644 index aab2a0cc7..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/DataObjectFactoryTest.java +++ /dev/null @@ -1,178 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.invoke; - -import java.io.InputStream; -import java.security.Security; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import iaik.server.modules.xml.BinaryDataObject; -import iaik.server.modules.xml.DataObject; -import iaik.server.modules.xml.XMLDataObject; - -import at.gv.egovernment.moa.util.Base64Utils; - -import at.gv.egovernment.moa.spss.MOAException; -import at.gv.egovernment.moa.spss.api.SPSSFactory; -import at.gv.egovernment.moa.spss.api.common.Content; -import at.gv.egovernment.moa.spss.server.iaik.xml.ByteArrayDataObjectImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.ByteStreamDataObjectImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XMLDataObjectImpl; -import at.gv.egovernment.moa.spss.server.iaik.xml.XMLNodeListDataObjectImpl; -import at.gv.egovernment.moa.spss.server.invoke.DataObjectFactory; - -/** - * Test cases for the DataObjectFactory class. - * - * @author Patrick Peck - * @version $Id$ - */ -public class DataObjectFactoryTest extends SPSSTestCase { - - private static final String HTTP_BINARY_CONTENT_URL = "http://www.google.com"; - private static final String HTTP_XML_CONTENT_URL = - "http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"; - private static final String HTTPS_BINARY_CONTENT_URL = - "https://businessnet.ba-ca.com"; - private static final String HTTPS_UNTRUSTED_URL = - "https://heribert.anecon.com"; - private static final String HTTP_UNKNOWN_HOST_URL = "http://uurjmjmruuw.com"; - private static final String MALFORMED_URL = "//hsld///ddd"; - private static final String FILE_BINARY_CONTENT_URL = "file:/C:/boot.ini"; - private static final String XML_CONTENT = - "" - + " " - + " " - + ""; - private static final String BASE64_CONTENT = "U3Zlbg=="; - - private SPSSFactory spssFactory = SPSSFactory.getInstance(); - private DataObjectFactory factory; - - /** - * Constructor for DataObjectFactoryTest. - * @param name - */ - public DataObjectFactoryTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - factory = DataObjectFactory.getInstance(); - - // set up SSL - Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - System.setProperty( - "java.protocol.handler.pkgs", - "com.sun.net.ssl.internal.www.protocol"); - /* - System.setProperty( - "javax.net.ssl.keyStore", - "data/test/security/client.keystore"); - System.setProperty("javax.net.ssl.keyStorePassword", "changeit"); - System.setProperty( - "javax.net.ssl.trustStore", - "data/test/security/client.keystore"); - System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); - */ - } - - public void testCreateFromURIWithBinaryHttp() throws Exception { - DataObject dataObject = - factory.createFromURI(HTTP_BINARY_CONTENT_URL, false); - - assertNotNull(dataObject); - assertTrue(dataObject instanceof ByteStreamDataObjectImpl); - assertNotNull(((BinaryDataObject) dataObject).getInputStream()); - } - - public void testCreateFromURIWithXmlHttp() throws Exception { - DataObject dataObject = factory.createFromURI(HTTP_XML_CONTENT_URL, false); - Element element; - - assertNotNull(dataObject); - assertTrue(dataObject instanceof XMLDataObjectImpl); - element = ((XMLDataObject) dataObject).getElement(); - assertNotNull(element); - assertEquals("schema", element.getTagName()); - } - - public void testCreateFromURIWithMalformedURI() throws Exception { - try { - factory.createFromURI(MALFORMED_URL, false); - fail(); - } catch (MOAException e) { - } - } - - public void testCreateFromURIWithNonExistingHttpURL() throws Exception { - try { - factory.createFromURI(HTTP_UNKNOWN_HOST_URL, false); - fail(); - } catch (MOAException e) { - } - } - - public void testCreateFromURIWithHttps() throws Exception { - DataObject dataObject = - factory.createFromURI(HTTPS_BINARY_CONTENT_URL, false); - assertNotNull(dataObject); - assertTrue(dataObject instanceof BinaryDataObject); - } - - public void testCreateFromURIWithUntrustedHttps() throws Exception { - try { - factory.createFromURI(HTTPS_UNTRUSTED_URL, false); - fail(); - } catch (MOAException e) { - - } - } - - public void testCreateFromURIWithFile() throws Exception { - try { - factory.createFromURI(FILE_BINARY_CONTENT_URL, false); - fail(); - } catch (MOAException e) { - } - } - - public void testCreateFromContentOptionalRefTypeWithXmlContent() - throws Exception { - Document doc = parseXmlString(XML_CONTENT); - Content content = - spssFactory.createContent( - doc.getDocumentElement().getChildNodes(), - "http://data"); - DataObject dataObject = - factory.createFromContentOptionalRefType( - content, - null, - true, - false, - true, - false); - - assertTrue(dataObject instanceof XMLNodeListDataObjectImpl); - } - - public void testCreateFromContentOptionalRefTypeWithBase64Content() - throws Exception { - InputStream is = Base64Utils.decodeToStream(BASE64_CONTENT, true); - Content content = spssFactory.createContent(is, "http://data"); - DataObject dataObject = - factory.createFromContentOptionalRefType( - content, - null, - false, - false, - true, - false); - - assertNotNull(dataObject); - assertTrue(dataObject instanceof ByteArrayDataObjectImpl); - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/TransformationFactoryTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/TransformationFactoryTest.java deleted file mode 100644 index 13a80cbf1..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/TransformationFactoryTest.java +++ /dev/null @@ -1,201 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.invoke; - -import java.util.List; -import java.util.Map; - -import org.w3c.dom.Document; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import iaik.ixsil.init.IXSILInit; -import iaik.ixsil.util.URI; -import iaik.server.modules.xml.Base64Transformation; -import iaik.server.modules.xml.Canonicalization; -import iaik.server.modules.xml.EnvelopedSignatureTransformation; -import iaik.server.modules.xml.Transformation; -import iaik.server.modules.xml.XPath2Transformation; -import iaik.server.modules.xml.XPathTransformation; -import iaik.server.modules.xml.XSLTTransformation; - -import at.gv.egovernment.moa.util.Constants; - -import at.gv.egovernment.moa.spss.MOAApplicationException; -import at.gv.egovernment.moa.spss.api.common.Transform; -import at.gv.egovernment.moa.spss.api.xmlbind.TransformParser; -import at.gv.egovernment.moa.spss.server.invoke.TransformationFactory; - -/** - * Test cases for the TransformationFactory class. - * - * @author Patrick Peck - * @version $Id$ - */ -public class TransformationFactoryTest extends SPSSTestCase { - - private static final String TESTDATA_BASE = - TESTDATA_ROOT + "xml/dsigTransform/"; - private TransformationFactory factory = TransformationFactory.getInstance(); - private TransformParser transformParser = new TransformParser(); - - /** - * Constructor for TransformationFactoryTest. - * @param name - */ - public TransformationFactoryTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - IXSILInit.init(new URI("init/properties/init.properties")); - //IXSILInit.init(new URI("file:data/deploy/ixsil/init/properties/init.properties")); - - } - - public void testCreateCanonicalization() throws Exception { - Document transform = parseXml(TESTDATA_BASE + "canonicalization.xml"); - Transform tr = - transformParser.parseTransform(transform.getDocumentElement()); - Transformation t = factory.createTransformation(tr); - - assertTrue(t instanceof Canonicalization); - assertEquals( - "http://www.w3.org/TR/2001/REC-xml-c14n-20010315", - t.getAlgorithmURI()); - } - - public void testCreateCanonicalizationWithComments() throws Exception { - Document transform = - parseXml(TESTDATA_BASE + "canonicalizationWithComments.xml"); - Transform tr = - transformParser.parseTransform(transform.getDocumentElement()); - Transformation t = factory.createTransformation(tr); - - assertTrue(t instanceof Canonicalization); - assertEquals( - "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments", - t.getAlgorithmURI()); - } - - public void testCreateBase64Decode() throws Exception { - Document transform = parseXml(TESTDATA_BASE + "base64.xml"); - Transform tr = - transformParser.parseTransform(transform.getDocumentElement()); - Transformation t = factory.createTransformation(tr); - assertTrue(t instanceof Base64Transformation); - } - - public void testCreateEnvelopedSignature() throws Exception { - Document transform = parseXml(TESTDATA_BASE + "enveloped.xml"); - Transform tr = - transformParser.parseTransform(transform.getDocumentElement()); - Transformation t = factory.createTransformation(tr); - assertTrue(t instanceof EnvelopedSignatureTransformation); - } - - public void testXPathTransformation() throws Exception { - Document transform = parseXml(TESTDATA_BASE + "xpath.xml"); - Transform tr = - transformParser.parseTransform(transform.getDocumentElement()); - Transformation t = factory.createTransformation(tr); - Map nsDecls; - - assertTrue(t instanceof XPathTransformation); - nsDecls = ((XPathTransformation) t).getNamespaceDeclarations(); - assertEquals(1, nsDecls.size()); - assertEquals(Constants.DSIG_NS_URI, nsDecls.get("dsig")); - } - - public void testCreateXPath2Transformation() throws Exception { - Document transform = parseXml(TESTDATA_BASE + "xpath2.xml"); - Transform tr = - transformParser.parseTransform(transform.getDocumentElement()); - Transformation t = factory.createTransformation(tr); - assertTrue(t instanceof XPath2Transformation); - } - - public void testCreateXSLTTransformation() throws Exception { - Document transform = parseXml(TESTDATA_BASE + "xslt.xml"); - Transform tr = - transformParser.parseTransform(transform.getDocumentElement()); - XSLTTransformation t = - (XSLTTransformation) factory.createTransformation(tr); - assertNotNull(t.getStylesheetElement()); - } - - public void testCreateWithIllegalAlgorithm() throws Exception { - try { - Document transform = parseXml(TESTDATA_BASE + "illegalAlgorithm.xml"); - Transform tr = - transformParser.parseTransform(transform.getDocumentElement()); - factory.createTransformation(tr); - fail(); - } catch (MOAApplicationException e) { - } - } - - public void testEqualsXslt() throws Exception { - Document xslt = parseXml(TESTDATA_BASE + "xslt.xml"); - Transform tr = transformParser.parseTransform(xslt.getDocumentElement()); - Transformation trXslt = factory.createTransformation(tr); - - Document xsltEqu = parseXml(TESTDATA_BASE + "xsltEqual.xml"); - tr = transformParser.parseTransform(xsltEqu.getDocumentElement()); - Transformation trXsltEqu = factory.createTransformation(tr); - - Document xsltDiff = parseXml(TESTDATA_BASE + "xsltDifferent.xml"); - tr = transformParser.parseTransform(xsltDiff.getDocumentElement()); - Transformation trXsltDiff = factory.createTransformation(tr); - - Document canonicalization = - parseXml(TESTDATA_BASE + "canonicalization.xml"); - - assertTrue(trXslt.equals(trXsltEqu)); - assertFalse(trXslt.equals(trXsltDiff)); - assertFalse(trXsltEqu.equals(trXsltDiff)); - assertEquals(trXslt.hashCode(), trXsltEqu.hashCode()); - assertFalse(trXslt.hashCode() == trXsltDiff.hashCode()); - assertFalse(trXsltEqu.hashCode() == trXsltDiff.hashCode()); - assertFalse(trXslt.equals(canonicalization)); - } - - public void testEqualsXPath() throws Exception { - Document xpath = parseXml(TESTDATA_BASE + "xpath.xml"); - Transform tr = transformParser.parseTransform(xpath.getDocumentElement()); - Transformation trXpath = factory.createTransformation(tr); - Transformation trXpathEqu = factory.createTransformation(tr); - - Document xpathDiff = parseXml(TESTDATA_BASE + "xpathDifferent.xml"); - tr = transformParser.parseTransform(xpathDiff.getDocumentElement()); - Transformation trXpathDiff = factory.createTransformation(tr); - - assertTrue(trXpath.equals(trXpathEqu)); - assertEquals(trXpath.hashCode(), trXpathEqu.hashCode()); - assertFalse(trXpath.equals(trXpathDiff)); - assertFalse(trXpath.hashCode() == trXpathDiff.hashCode()); - } - - public void testEqualsXPath2() throws Exception { - Document xpath2 = parseXml(TESTDATA_BASE + "xpath2.xml"); - Transform tr = transformParser.parseTransform(xpath2.getDocumentElement()); - Transformation trXpath2 = factory.createTransformation(tr); - Transformation trXpath2Equ = factory.createTransformation(tr); - - Document xpath2Diff = parseXml(TESTDATA_BASE + "xpath2Different.xml"); - tr = transformParser.parseTransform(xpath2Diff.getDocumentElement()); - Transformation trXpath2Diff = factory.createTransformation(tr); - - assertTrue(trXpath2.equals(trXpath2Equ)); - assertEquals(trXpath2.hashCode(), trXpath2Equ.hashCode()); - assertFalse(trXpath2.equals(trXpath2Diff)); - assertFalse(trXpath2.hashCode() == trXpath2Diff.hashCode()); - } - - public void testCreateTransformationList() throws Exception { - Document transforms = parseXml(TESTDATA_BASE + "transforms.xml"); - List trs = transformParser.parseTransforms(transforms.getDocumentElement()); - List transformationList = factory.createTransformationList(trs); - - assertEquals(3, transformationList.size()); - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvokerTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvokerTest.java deleted file mode 100644 index 28cd3805a..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureCreationInvokerTest.java +++ /dev/null @@ -1,63 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.invoke; - -import java.util.Collections; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import at.gv.egovernment.moa.util.DOMUtils; - -import at.gv.egovernment.moa.spss.api.xmlbind.CreateXMLSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlbind.CreateXMLSignatureResponseBuilder; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlsign.CreateXMLSignatureResponse; -import at.gv.egovernment.moa.spss.server.invoke.XMLSignatureCreationInvoker; - -/** - * Mainly a smoke test for debugging the XMLSignatureCreationInvoker. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureCreationInvokerTest extends SPSSTestCase { - private static final String TESTDATA_BASE = - TESTDATA_ROOT + "xml/CreateXMLSignature/"; - - public XMLSignatureCreationInvokerTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - setUpTransactionContext(); - setUpLoggingContext(); - setUpIaikConfiguration(); - setUpSSL(); - } - - public void testCreateXMLSignature() throws Exception { - try { - XMLSignatureCreationInvoker invoker = - XMLSignatureCreationInvoker.getInstance(); - CreateXMLSignatureRequestParser requestParser = - new CreateXMLSignatureRequestParser(); - Document doc = - SPSSTestCase.parseXmlValidating( - TESTDATA_BASE + "TestGeneratorCX2.004.Req.xml"); - CreateXMLSignatureRequest request = - requestParser.parse(doc.getDocumentElement()); - CreateXMLSignatureResponse response = - invoker.createXMLSignature(request, Collections.EMPTY_SET); - CreateXMLSignatureResponseBuilder responseBuilder = - new CreateXMLSignatureResponseBuilder(); - Element result = responseBuilder.build(response).getDocumentElement(); - - System.out.println(DOMUtils.serializeNode(result)); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvokerTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvokerTest.java deleted file mode 100644 index 56e3d541b..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/invoke/XMLSignatureVerificationInvokerTest.java +++ /dev/null @@ -1,61 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.invoke; - -import org.w3c.dom.Document; - -import test.at.gv.egovernment.moa.spss.SPSSTestCase; - -import at.gv.egovernment.moa.util.DOMUtils; - -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyXMLSignatureRequestParser; -import at.gv.egovernment.moa.spss.api.xmlbind.VerifyXMLSignatureResponseBuilder; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureRequest; -import at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse; -import at.gv.egovernment.moa.spss.server.invoke.XMLSignatureVerificationInvoker; - -/** - * Mainly a smoke test for debugging the XMLSignatureVerificationInvoker. - * - * @author Patrick Peck - * @version $Id$ - */ -public class XMLSignatureVerificationInvokerTest extends SPSSTestCase { - private static final String TESTDATA_BASE = - TESTDATA_ROOT + "xml/VerifyXMLSignature/"; - - public XMLSignatureVerificationInvokerTest(String name) { - super(name); - } - - protected void setUp() throws Exception { - setUpTransactionContext(); - setUpLoggingContext(); - setUpIaikConfiguration(); - } - - public void testVerifyXMLSignature() throws Exception { - try { - XMLSignatureVerificationInvoker invoker = - XMLSignatureVerificationInvoker.getInstance(); - VerifyXMLSignatureRequestParser requestParser = - new VerifyXMLSignatureRequestParser(); - VerifyXMLSignatureResponseBuilder responseBuilder = - new VerifyXMLSignatureResponseBuilder(); - Document doc = - SPSSTestCase.parseXmlValidating( - TESTDATA_BASE + "TestGeneratorVX.201.Req.xml"); - - VerifyXMLSignatureRequest request = - requestParser.parse(doc.getDocumentElement()); - VerifyXMLSignatureResponse response; - - response = invoker.verifyXMLSignature(request); - System.out.println( - DOMUtils.serializeNode(responseBuilder.build(response))); - } catch (Exception e) { - e.printStackTrace(); - fail(); - } - } - - -} diff --git a/spss.server/src/test/at/gv/egovernment/moa/spss/server/tools/CertToolTest.java b/spss.server/src/test/at/gv/egovernment/moa/spss/server/tools/CertToolTest.java deleted file mode 100644 index b46c20086..000000000 --- a/spss.server/src/test/at/gv/egovernment/moa/spss/server/tools/CertToolTest.java +++ /dev/null @@ -1,50 +0,0 @@ -package test.at.gv.egovernment.moa.spss.server.tools; - -import java.io.ByteArrayOutputStream; -import java.io.PrintStream; - -import at.gv.egovernment.moa.spss.server.tools.CertTool; - -import test.at.gv.egovernment.moa.MOATestCase; - -/** - * Tests for the CertTool. - * - * @author Patrick Peck - * @version $Id$ - */ -public class CertToolTest extends MOATestCase { - - private static final String EXPECTED_RESULT = - "SubjectDN (RFC2253):" - + " CN=Patrick Peck,OU=MOA Team,O=BRZ,L=Vienna,ST=Vienna,C=AT\r\n" - + "IssuerDN (RFC2253) :" - + " CN=Patrick Peck,OU=MOA Team,O=BRZ,L=Vienna,ST=Vienna,C=AT\r\n" - + "Serial Number :" - + " 1047548672\r\n"; - private CertTool certTool; - - /** - * Constructor for CertToolTest. - * @param name - */ - public CertToolTest(String name) { - super(name); - } - - protected void setUp() { - certTool = new CertTool(); - } - - public void testPrintCertInfo() { - ByteArrayOutputStream bos = new ByteArrayOutputStream(); - PrintStream ps = new PrintStream(bos); - String result; - - certTool.printCertInfo(TESTDATA_ROOT + "security/server.cer", ps); - result = new String(bos.toByteArray()); - System.out.println(result); - assertEquals(EXPECTED_RESULT, result); - } - -} diff --git a/spss.server/web.xml b/spss.server/web.xml deleted file mode 100644 index 02db421ac..000000000 --- a/spss.server/web.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - MOA SP-SS - MOA Signature Creation and Verification Services - - ConfigurationServlet - MOA Configuration Servlet - - at.gv.egovernment.moa.spss.server.service.ConfigurationServlet - - 0 - - - AxisServlet - Apache-Axis Servlet - - org.apache.axis.transport.http.AxisServlet - - - - AxisServlet - /services/* - - - ConfigurationServlet - /ConfigurationUpdate - - - - - ConfigurationUpdate - /ConfigurationUpdate - - - moa-admin - - - - - BASIC - UserDatabase - - -- cgit v1.2.3