aboutsummaryrefslogtreecommitdiff
path: root/spss.server/data/test
diff options
context:
space:
mode:
Diffstat (limited to 'spss.server/data/test')
-rw-r--r--spss.server/data/test/conf/moa-spss/MOA-SPSSConfiguration.xml178
-rw-r--r--spss.server/data/test/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5bin0 -> 987 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37bin0 -> 883 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/keys/Beispielservice_1(password=bspsrv1).p12bin0 -> 3847 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/keys/DSA.512.p12bin0 -> 2467 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/keys/ecc(ego).p12bin0 -> 1234 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/keys/normal-eeExpired.p12bin0 -> 2797 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/keys/sicher-demo(buergerkarte).p12bin0 -> 3077 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12bin0 -> 3077 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal_verw_oid.p12bin0 -> 3062 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/profiles/CSEP.xml5
-rw-r--r--spss.server/data/test/conf/moa-spss/profiles/CX1_bookprofile.xsl1
-rw-r--r--spss.server/data/test/conf/moa-spss/profiles/SupplementProfile1.xml10
-rw-r--r--spss.server/data/test/conf/moa-spss/profiles/SupplementProfile2.xml8
-rw-r--r--spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1.xml1
-rw-r--r--spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1MOAID.xml19
-rw-r--r--spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2.xml7
-rw-r--r--spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2MOAID.xml3
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/Buergerkarte01Root.cerbin0 -> 876 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/C.CA.DS.cerbin0 -> 1136 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRoot.cerbin0 -> 883 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRootMusterbehoerde.cerbin0 -> 863 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/TestPersonMOA4.cerbin0 -> 1321 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-Premium-Enc-01.cerbin0 -> 1136 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-nQual-01.cerbin0 -> 994 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/ecdsaroot_der.cerbin0 -> 540 bytes
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/hsm.cer13
-rw-r--r--spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/moahsmcert.cer13
-rw-r--r--spss.server/data/test/security/A-Trust-nQual-01.p7bbin0 -> 908 bytes
-rw-r--r--spss.server/data/test/security/client.cerbin0 -> 697 bytes
-rw-r--r--spss.server/data/test/security/client.keystorebin0 -> 1904 bytes
-rw-r--r--spss.server/data/test/security/server.cerbin0 -> 698 bytes
-rw-r--r--spss.server/data/test/security/server.crt.pem14
-rw-r--r--spss.server/data/test/security/server.key.pem18
-rw-r--r--spss.server/data/test/security/server.keystorebin0 -> 1904 bytes
-rw-r--r--spss.server/data/test/security/server.pfxbin0 -> 1743 bytes
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/Req000.xml19
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/Req001.xml52
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/Req002.xml48
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/Req004.xml34
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.001.Req.xml17
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.004.Req.xml17
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.005.Req.xml17
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.007.Req.xml19
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.008.Req.xml19
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.009.Req.xml17
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.010.Req.xml20
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.014.Req.xml17
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.015.Req.xml27
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.018.Req.xml29
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.057.Req.xml19
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.001.Req.xml46
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.003.Req.xml1
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.004.Req.xml1
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.009.Req.xml1
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.011.Req.xml1
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.001.Req.xml1
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.004.Req.xml1
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.006.Req.xml1
-rw-r--r--spss.server/data/test/xml/CreateXMLSignature/invalid.xml20
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/Req000.xml46
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/Req001.xml15
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.001.Req.xml41
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.002.Req.xml47
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.003.Req.xml41
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.004.Req.xml41
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.005.Req.xml41
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.006.Req.xml32
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.007.Req.xml37
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.008.Req.xml41
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.009.Req.xml41
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.010.Req.xml41
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.011.Req.xml49
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/Req000.xml46
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/Req001.xml49
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/Req002.xml63
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.001.Req.xml53
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.002.Req.xml52
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.003.Req.xml53
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.004.Req.xml52
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.005.Req.xml12
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.007.Req.xml85
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.106.Req.xml52
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.201.Req.xml59
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.203.Req.xml64
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.252.Req.xml163
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.359.Req.xml18
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID.xml37
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID1.xml37
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/moa-id-request1.xml103
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/moa-id-request2.xml30
-rw-r--r--spss.server/data/test/xml/VerifyXMLSignature/testsig.xml99
-rw-r--r--spss.server/data/test/xml/dsigTransform/base64.xml3
-rw-r--r--spss.server/data/test/xml/dsigTransform/canonicalization.xml3
-rw-r--r--spss.server/data/test/xml/dsigTransform/canonicalizationWithComments.xml3
-rw-r--r--spss.server/data/test/xml/dsigTransform/enveloped.xml3
-rw-r--r--spss.server/data/test/xml/dsigTransform/exclusiveCanonicalization.xml5
-rw-r--r--spss.server/data/test/xml/dsigTransform/illegalAlgorithm.xml3
-rw-r--r--spss.server/data/test/xml/dsigTransform/transforms.xml26
-rw-r--r--spss.server/data/test/xml/dsigTransform/xpath.xml4
-rw-r--r--spss.server/data/test/xml/dsigTransform/xpath2.xml7
-rw-r--r--spss.server/data/test/xml/dsigTransform/xpath2Different.xml6
-rw-r--r--spss.server/data/test/xml/dsigTransform/xpathDifferent.xml4
-rw-r--r--spss.server/data/test/xml/dsigTransform/xslt.xml20
-rw-r--r--spss.server/data/test/xml/dsigTransform/xsltDifferent.xml16
-rw-r--r--spss.server/data/test/xml/dsigTransform/xsltEqual.xml20
106 files changed, 2497 insertions, 0 deletions
diff --git a/spss.server/data/test/conf/moa-spss/MOA-SPSSConfiguration.xml b/spss.server/data/test/conf/moa-spss/MOA-SPSSConfiguration.xml
new file mode 100644
index 000000000..da27ece8b
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/MOA-SPSSConfiguration.xml
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<MOAConfiguration xmlns="http://reference.e-government.gv.at/namespace/moaconfig/20021122#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:moa-spss="http://reference.e-government.gv.at/namespace/moa/20020822#">
+ <CanonicalizationAlgorithm name="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
+ <DigestMethodAlgorithm name="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <GenericConfiguration name="autoAddCertificates" value="true"/>
+ <GenericConfiguration name="useAuthorityInfoAccess" value="true"/>
+ <GenericConfiguration name="maxRevocationAge" value="0"/>
+ <GenericConfiguration name="DirectoryCertStoreParameters.RootDir" value="certstore"/>
+ <GenericConfiguration name="checkRevocation" value="false"/>
+ <GenericConfiguration name="archiveRevocationInfo" value="true"/>
+ <GenericConfiguration name="DataBaseArchiveParameter.JDBCUrl" value="jdbc:postgresql://10.16.46.108/moa?user=moa&amp;password=moatest"/>
+ <GenericConfiguration name="test.SigningTime" value="2003-05-10T01:01:01+01:00"/>
+ <!--
+ <HardwareCryptoModule name="validPathToPKCS11Lib" slotID="validSlotID" userPIN="validPIN"/>
+ <HardwareKeyModule name="validPathToPKCS11Lib" slotID="validSlotID" userPIN="validPIN"/>
+ -->
+ <!--
+ <HardwareKeyModule id="MOAHSM" name="cryptoki.dll" slotID="0" userPIN="1"/>
+ -->
+ <SoftwareKeyModule id="SWKeyModule1" filename="keys/test-ee2003_normal(buergerkarte).p12" password="buergerkarte"/>
+ <SoftwareKeyModule id="SWKeyModule2" filename="keys/normal-eeExpired.p12" password=""/>
+ <SoftwareKeyModule id="SWKeyModule3" filename="keys/ecc(ego).p12" password="ego"/>
+ <SoftwareKeyModule id="SWKeyModule4" filename="keys/DSA.512.p12" password="topSecret"/>
+ <SoftwareKeyModule id="SWKeyModule5" filename="keys/test-ee2003_normal_verw_oid.p12" password="buergerkarte"/>
+ <SoftwareKeyModule id="SWKeyModule6" filename="keys/Beispielservice_1(password=bspsrv1).p12" password="bspsrv1"/>
+ <KeyGroup id="MOAHSMRSAKEY">
+ <Key>
+ <KeyModuleID>MOAHSM</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>C=AT,OU=MOA,O=BRZ,CN=MOAHSMRSAKEY</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>1</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ </KeyGroup>
+ <KeyGroup id="PKCS12RSAKey1">
+ <!--PKCS12RSAKey1 maps to test-ee2003_normal(buergerkarte).p12-->
+ <Key>
+ <KeyModuleID>SWKeyModule1</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>1044289238331</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ </KeyGroup>
+ <KeyGroup id="PKCS12RSAKeyExpired">
+ <!--PKCS12RSAKey1 maps to sicher-demo(buergerkarte).p12-->
+ <Key>
+ <KeyModuleID>SWKeyModule2</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>10</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ </KeyGroup>
+ <KeyGroup id="PKCS12ECDSAKey1">
+ <!--PKCS12ECDSAKey1 maps to ecc(ego).p12-->
+ <Key>
+ <KeyModuleID>SWKeyModule3</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK ECDSA Test,OU=JavaSecurity,O=IAIK,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>68172</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ </KeyGroup>
+ <KeyGroup id="DSAinPKCS12">
+ <!--DSAinPKCS12 maps to DSA.512.p12-->
+ <Key>
+ <KeyModuleID>SWKeyModule4</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK DSA Test CA,OU=JavaSecurity,O=IAIK,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>761791</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ </KeyGroup>
+ <KeyGroup id="VKTRUE">
+ <Key>
+ <KeyModuleID>SWKeyModule5</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>1050061309775</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ </KeyGroup>
+ <KeyGroup id="UMLAUT">
+ <Key>
+ <KeyModuleID>SWKeyModule6</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium f\C3\BCr \C3\B6ffentliche Leistung und Sport,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>4</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ </KeyGroup>
+ <KeyGroup id="allKeys">
+ <Key>
+ <KeyModuleID>SWKeyModule1</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>1044289238331</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ <Key>
+ <KeyModuleID>SWKeyModule2</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>10</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ <Key>
+ <KeyModuleID>SWKeyModule3</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK ECDSA Test,OU=JavaSecurity,O=IAIK,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>68172</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ <Key>
+ <KeyModuleID>SWKeyModule4</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK DSA Test CA,OU=JavaSecurity,O=IAIK,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>761791</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ <Key>
+ <KeyModuleID>SWKeyModule5</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>1050061309775</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ <Key>
+ <KeyModuleID>SWKeyModule6</KeyModuleID>
+ <KeyCertIssuerSerial>
+ <dsig:X509IssuerName>CN=MOA Test CA - Signaturdienste,OU=IKT-Stabsstelle des Bundes,O=Bundesministerium f\C3\BCr \C3\B6ffentliche Leistung und Sport,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>4</dsig:X509SerialNumber>
+ </KeyCertIssuerSerial>
+ </Key>
+ </KeyGroup>
+ <KeyGroupMapping>
+ <KeyGroup id="PKCS12RSAKey1"/>
+ <KeyGroup id="PKCS12RSAKeyExpired"/>
+ <KeyGroup id="PKCS12ECDSAKey1"/>
+ <KeyGroup id="DSAinPKCS12"/>
+ <KeyGroup id="MOAHSMRSAKEY"/>
+ <KeyGroup id="VKTRUE"/>
+ <KeyGroup id="UMLAUT"/>
+ </KeyGroupMapping>
+ <KeyGroupMapping>
+ <X509IssuerSerial>
+ <dsig:X509IssuerName>CN=TestUser,OU=MOA,O=BRZ,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>12345678</dsig:X509SerialNumber>
+ </X509IssuerSerial>
+ <KeyGroup id="allKeys"/>
+ </KeyGroupMapping>
+ <ChainingModes systemDefaultMode="pkix">
+ <TrustAnchor mode="chaining">
+ <dsig:X509IssuerName>CN=A-Trust-nQual-01,OU=A-Trust-nQual-01,O=A-Trust,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>536</dsig:X509SerialNumber>
+ </TrustAnchor>
+ </ChainingModes>
+ <CRLArchive duration="365"/>
+ <CRLDistributionPoint>
+ <CAIssuerDN>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</CAIssuerDN>
+ <DistributionPoint uri="http://www.iaik.at/testCA/iaik_test_sig.crl"/>
+ </CRLDistributionPoint>
+ <CRLDistributionPoint>
+ <CAIssuerDN>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</CAIssuerDN>
+ <DistributionPoint reasonCodes="keyCompromise affiliationChanged" uri="http://www.iaik.at/testCA/iaik_test_sig.crl"/>
+ <DistributionPoint reasonCodes="certificateHold" uri="http://www.iaik.at/testCA/iaik_test_sig.crl"/>
+ </CRLDistributionPoint>
+ <CreateTransformsInfoProfile id="CreateTransformsInfoProfile1" filename="profiles/CX1_bookprofile.xsl"/>
+ <CreateSignatureEnvironmentProfile id="CreateSignatureEnvironmentProfile1" filename="profiles/CSEP.xml"/>
+ <VerifyTransformsInfoProfile id="TransformsInfoProfile1" filename="profiles/TransformsInfoProfile1.xml"/>
+ <VerifyTransformsInfoProfile id="TransformsInfoProfile2" filename="profiles/TransformsInfoProfile2.xml"/>
+ <VerifyTransformsInfoProfile id="TransformsInfoProfile3" filename="notExisting.xml"/>
+ <VerifyTransformsInfoProfile id="TransformsInfoProfile1MOAID" filename="profiles/TransformsInfoProfile1MOAID.xml"/>
+ <SupplementProfile id="SupplementProfile1" filename="profiles/SupplementProfile1.xml"/>
+ <SupplementProfile id="SupplementProfile2" filename="profiles/SupplementProfile2.xml"/>
+ <TrustProfile id="TrustProfile1" uri="d:/patrick/tmp/TrustProfile1"/>
+</MOAConfiguration>
diff --git a/spss.server/data/test/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5 b/spss.server/data/test/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5
new file mode 100644
index 000000000..1cdc15c6e
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/certstore/8898446AC34D7351B811EDF66CDA12A43D8DE5D8/74BE7D543A41B2E8DC9E0776D3BCF4A213E5D7F5
Binary files 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
new file mode 100644
index 000000000..c0c60558a
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/certstore/8A667FFE2B4C60585C2F8296E670ADE0D904E073/797AB396782981343C312F9A0F5CD87FCE159C37
Binary files 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
new file mode 100644
index 000000000..a18356bf3
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/keys/Beispielservice_1(password=bspsrv1).p12
Binary files 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
new file mode 100644
index 000000000..8f7a201ac
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/keys/DSA.512.p12
Binary files 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
new file mode 100644
index 000000000..f84e793c5
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/keys/ecc(ego).p12
Binary files 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
new file mode 100644
index 000000000..ff65f9fde
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/keys/normal-eeExpired.p12
Binary files 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
new file mode 100644
index 000000000..efaeb9b98
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/keys/sicher-demo(buergerkarte).p12
Binary files 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
new file mode 100644
index 000000000..efaeb9b98
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal(buergerkarte).p12
Binary files 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
new file mode 100644
index 000000000..13c7253ce
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/keys/test-ee2003_normal_verw_oid.p12
Binary files 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
new file mode 100644
index 000000000..326dbc6a0
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/profiles/CSEP.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Stephan G (Comp) -->
+<CreateSignatureEnvironmentProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#">
+ <CreateSignatureLocation Index="0" xmlns:data="http://uri.data.org">//data:Document</CreateSignatureLocation>
+</CreateSignatureEnvironmentProfile>
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
new file mode 100644
index 000000000..ca41d793f
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/profiles/CX1_bookprofile.xsl
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><CreateTransformsInfoProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"><CreateTransformsInfo><dsig:Transforms xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><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:output method="html" indent="no"/><xsl:template match="data:book" xmlns:data="http://uri.data.org"><HTML><BODY><H1>Buch: <xsl:value-of select="data:title"/></H1></BODY></HTML></xsl:template></xsl:stylesheet></dsig:Transform></dsig:Transforms><FinalDataMetaInfo><MimeType>text/html</MimeType></FinalDataMetaInfo></CreateTransformsInfo></CreateTransformsInfoProfile> \ 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
new file mode 100644
index 000000000..02b1c6373
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile1.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Stephan G (Comp) -->
+<SupplementProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#">
+ <Content Reference="file:/C:/Daten/MOAPhase2/TestDatenGenerator2/resources/testDaten.txt">
+ <XMLContent>Dies sind Testdaten
+2. Zeile
+3. Zeile
+aus</XMLContent>
+ </Content>
+</SupplementProfile>
diff --git a/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile2.xml b/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile2.xml
new file mode 100644
index 000000000..7f84eb822
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/profiles/SupplementProfile2.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Stephan G (Comp) -->
+<SupplementProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#">
+ <Content Reference="file:/C:/Daten/MOAPhase2/TestDatenGenerator2/resources/testXML.txt">
+ <Base64Content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxIdWdvPg0K
+CVRlc3QNCjwvSHVnbz4=</Base64Content>
+ </Content>
+</SupplementProfile>
diff --git a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1.xml b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1.xml
new file mode 100644
index 000000000..e7fb9a9ea
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><VerifyTransformsInfoProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:include href="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"/></xsl:stylesheet></dsig:Transform></dsig:Transforms><TransformParameter URI="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"><Base64Content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHNsOnN0eWxlc2hlZXQgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFuc2Zvcm0iIHZlcnNpb249IjEuMCI+PHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIiBpbmRlbnQ9Im5vIi8+PHhzbDp0ZW1wbGF0ZSBtYXRjaD0iZGF0YTpib29rIiB4bWxuczpkYXRhPSJodHRwOi8vdXJpLmRhdGEub3JnIj48SFRNTD48Qk9EWT48SDE+QnVjaDogPHhzbDp2YWx1ZS1vZiBzZWxlY3Q9ImRhdGE6dGl0bGUiLz48L0gxPjwvQk9EWT48L0hUTUw+PC94c2w6dGVtcGxhdGU+PC94c2w6c3R5bGVzaGVldD4=</Base64Content></TransformParameter></VerifyTransformsInfoProfile> \ 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
new file mode 100644
index 000000000..f973ac7e9
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile1MOAID.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyTransformsInfoProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+<dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml">
+<html>
+<body>
+Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben:
+<br/>
+<table border="1">
+<tr><td><b>Name:</b></td><td><xsl:value-of select="//@Issuer"/></td></tr>
+<tr><td><b>Zeit:</b></td><td><xsl:value-of select="//@IssueInstant"/></td></tr>
+<tr><td><b>Applikation:</b></td><td><xsl:value-of select="//saml:Attribute[@AttributeName=&apos;OA&apos;]/saml:AttributeValue"/></td></tr>
+<tr><td><b>Geschäftsbereich:</b></td><td><xsl:value-of select="//saml:Attribute[@AttributeName=&apos;Gesch&#228;ftsbereich&apos;]/saml:AttributeValue"/></td></tr>
+<tr><td><b>Anmeldeserver:</b></td><td><xsl:value-of select="//saml:NameIdentifier"/></td></tr>
+</table>
+</body>
+</html>
+</xsl:template>
+</xsl:stylesheet></dsig:Transform></dsig:Transforms></VerifyTransformsInfoProfile>
diff --git a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2.xml b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2.xml
new file mode 100644
index 000000000..12d6bc28b
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyTransformsInfoProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/>
+ </dsig:Transforms>
+</VerifyTransformsInfoProfile>
diff --git a/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2MOAID.xml b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2MOAID.xml
new file mode 100644
index 000000000..dc4a97716
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/profiles/TransformsInfoProfile2MOAID.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by Jack (-none-) -->
+<VerifyTransformsInfoProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"><xf2:XPath Filter="intersect" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#" xmlns:xf2="http://www.w3.org/2002/06/xmldsig-filter2">id(&apos;refetsi&apos;)/etsi:QualifyingProperties/etsi:SignedProperties</xf2:XPath></dsig:Transform></dsig:Transforms></VerifyTransformsInfoProfile>
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
new file mode 100644
index 000000000..18e6bc109
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/Buergerkarte01Root.cer
Binary files 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
new file mode 100644
index 000000000..fc5bd433b
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/C.CA.DS.cer
Binary files 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
new file mode 100644
index 000000000..c0c60558a
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRoot.cer
Binary files 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
new file mode 100644
index 000000000..21dc972b9
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/IAIKRootMusterbehoerde.cer
Binary files 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
new file mode 100644
index 000000000..99936caa8
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/TestPersonMOA4.cer
Binary files 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
new file mode 100644
index 000000000..fc5bd433b
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-Premium-Enc-01.cer
Binary files 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
new file mode 100644
index 000000000..84518a6a8
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/a-sign-TEST-nQual-01.cer
Binary files 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
new file mode 100644
index 000000000..dac166e9a
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/ecdsaroot_der.cer
Binary files 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
new file mode 100644
index 000000000..278cb8fab
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/hsm.cer
@@ -0,0 +1,13 @@
+-----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
new file mode 100644
index 000000000..160390f35
--- /dev/null
+++ b/spss.server/data/test/conf/moa-spss/trustprofiles/TrustProfile1/moahsmcert.cer
@@ -0,0 +1,13 @@
+-----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
new file mode 100644
index 000000000..9c498239c
--- /dev/null
+++ b/spss.server/data/test/security/A-Trust-nQual-01.p7b
Binary files differ
diff --git a/spss.server/data/test/security/client.cer b/spss.server/data/test/security/client.cer
new file mode 100644
index 000000000..05c18b53c
--- /dev/null
+++ b/spss.server/data/test/security/client.cer
Binary files differ
diff --git a/spss.server/data/test/security/client.keystore b/spss.server/data/test/security/client.keystore
new file mode 100644
index 000000000..4b489f259
--- /dev/null
+++ b/spss.server/data/test/security/client.keystore
Binary files differ
diff --git a/spss.server/data/test/security/server.cer b/spss.server/data/test/security/server.cer
new file mode 100644
index 000000000..0ac744758
--- /dev/null
+++ b/spss.server/data/test/security/server.cer
Binary files differ
diff --git a/spss.server/data/test/security/server.crt.pem b/spss.server/data/test/security/server.crt.pem
new file mode 100644
index 000000000..b023d4065
--- /dev/null
+++ b/spss.server/data/test/security/server.crt.pem
@@ -0,0 +1,14 @@
+-----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
new file mode 100644
index 000000000..98ed15c2c
--- /dev/null
+++ b/spss.server/data/test/security/server.key.pem
@@ -0,0 +1,18 @@
+-----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
new file mode 100644
index 000000000..d8a135651
--- /dev/null
+++ b/spss.server/data/test/security/server.keystore
Binary files differ
diff --git a/spss.server/data/test/security/server.pfx b/spss.server/data/test/security/server.pfx
new file mode 100644
index 000000000..a98f1537f
--- /dev/null
+++ b/spss.server/data/test/security/server.pfx
Binary files differ
diff --git a/spss.server/data/test/xml/CreateXMLSignature/Req000.xml b/spss.server/data/test/xml/CreateXMLSignature/Req000.xml
new file mode 100644
index 000000000..765fa4fe9
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/Req000.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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="detached" ChildOfManifest="false">
+ <DataObject>
+ <XMLContent><Data>my xml data</Data></XMLContent>
+ </DataObject>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..bc8f976a0
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/Req001.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Stephan Grill (Anecon) -->
+<!-- Req001 shows a Req000 request extended with additional transformation information;
+it must return a valid signature -->
+<CreateXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <KeyIdentifier>validKeyIdentifier(RSAinPKCS12)</KeyIdentifier>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <!-- @todo wozu braucht man SingleSignatureInfo/@CreateSignatureManifest wenn in DataObjectInfo/@ChildOfManifest angegeben wird ob das Datenobjekt in das Manifest kommt oder nicht ? -->
+ <DataObjectInfo Structure="detached" ChildOfManifest="false">
+ <DataObject>
+ <XMLContent>testdaten</XMLContent>
+ </DataObject>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <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">
+ <!--@todo HR the actual stylesheet-->
+ </xsl:stylesheet>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <FinalDataMetaInfo>
+ <MimeType>text/xml</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest>
+<!--the following modifications (individually and in combination) must return a valid signature
+* empty dsig:Transform element
+* Transform/@Algorithm = "http://www.w3.org/TR/1999/REC-xpath-19991116"
+* Transform/@Algorithm = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
+* Transform/@Algorithm = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
+* Transform/@Algorithm = "http://www.w3.org/2001/10/xml-exc-c14n#"
+* Transform/@Algorithm = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
+* Transform/@Algorithm = "http://www.w3.org/2000/09/xmldsig#enveloped-signature"
+* 2 dsig:Transform elements
+* Description: URI that resolves
+* a Supplement/Content/XMLContent is available where Supplement/Content/@Reference is referenced from the content of dsig: Transform
+* a Supplement/Content/XMLContent is available in a different DataObjectInfo where Supplement/Content/@Reference is referenced from the
+content of dsig: Transform
+* 2 Supplement elements
+* CreateTransformsInfoID: validID
+Total: 14 Testcases-->
+<!--each of the following modifications (individually) must return an error code
+* Transform/@Algorithm = "...xslt..." and Transform contains an XPath element
+* Transform/@Algorithm = "...xpath..." and Transform contains an XSLT
+* Description: URI that does not resolve
+* an URI of a Transform parameter does not resolve and no Supplement object is available
+* CreateTransformsInfoID: invalidID
+Total: 5 Testcases-->
diff --git a/spss.server/data/test/xml/CreateXMLSignature/Req002.xml b/spss.server/data/test/xml/CreateXMLSignature/Req002.xml
new file mode 100644
index 000000000..1fb5ea72d
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/Req002.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Stephan Grill (Anecon) -->
+<!--Req002 shows a Req000 request extended with CreateSignatureInfo data;
+it must return a valid signature-->
+<CreateXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <KeyIdentifier>validKeyIdentifier(RSAinPKCS12)</KeyIdentifier>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <!-- @todo wozu braucht man SingleSignatureInfo/@CreateSignatureManifest wenn in DataObjectInfo/@ChildOfManifest angegeben wird ob das Datenobjekt in das Manifest kommt oder nicht ? -->
+ <DataObjectInfo Structure="detached" ChildOfManifest="false">
+ <DataObject>
+ <XMLContent>testdaten</XMLContent>
+ </DataObject>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/xml</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ <CreateSignatureInfo>
+ <CreateSignatureEnvironment>
+ <XMLContent>
+ <Envelop>daten</Envelop>
+ </XMLContent>
+ </CreateSignatureEnvironment>
+ <CreateSignatureEnvironmentProfile>
+ <CreateSignatureLocation Index="0">/Envelop</CreateSignatureLocation>
+ </CreateSignatureEnvironmentProfile>
+ </CreateSignatureInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest>
+
+<!--the following modifications (individually and in combination) must return a valid signature
+* CreateSignatureEnvironment/@Reference = "validURI"
+* CreateSignatureEnvironment/Base64Content: validBase64Data
+* CreateSignatureInfo/Supplement/Content: valid @Reference and valid (XMLContent|Base64Content)
+* 2 Supplement
+* CreateSignatureEnvironmentProfileID: "validID"
+Total: 5 Testcases-->
+<!--each of the following modifications (individually) must return an error code
+* CreateSignatureEnvironment/XMLContent: invalidXMLData
+* CreateSignatureEnvironment/Base64Content: invalidBase64Data
+* no CreateSignatureEnvironment/@Reference and no CreateSignatureEnvironment/(Base64Content|XMLContent)
+* SignatureLocation: invalidXPathExpression
+* CreateSignatureInfo/Supplement/Content: valid @Reference and invalid (XMLContent|Base64Content)
+* CreateSignatureEnvironmentProfileID: "invalidID"
+Total: 6 Testcases-->
diff --git a/spss.server/data/test/xml/CreateXMLSignature/Req004.xml b/spss.server/data/test/xml/CreateXMLSignature/Req004.xml
new file mode 100644
index 000000000..dfc9c11fe
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/Req004.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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="detached" ChildOfManifest="false">
+ <DataObject Reference="file:/C:/eclipse/workspace/TestDatenGenerator/resources/BookData.xsl">
+ <XMLContent>
+ <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>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
+ <xp2:XPath Filter="subtract" xmlns:xp2="http://www.w3.org/2002/06/xmldsig-filter2">/data:book/data:first-name</xp2:XPath>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <FinalDataMetaInfo>
+ <MimeType>text/html</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ <!-- insert supp -->
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ <!-- insert data2 -->
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.001.Req.xml b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.001.Req.xml
new file mode 100644
index 000000000..32ed2e31c
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.001.Req.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?><CreateXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace">
+ <KeyIdentifier>PKCS12RSAKey1</KeyIdentifier>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <DataObjectInfo Structure="detached" ChildOfManifest="false">
+ <DataObject Reference="https://businessnet.ba-ca.com/"/>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..6a704c66d
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.004.Req.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?><CreateXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" >
+ <KeyIdentifier>VKTRUE</KeyIdentifier>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <DataObjectInfo Structure="detached" ChildOfManifest="false">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"/>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..815f45f8e
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.005.Req.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?><CreateXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" >
+ <KeyIdentifier>PKCS12ECDSAKey1</KeyIdentifier>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <DataObjectInfo Structure="detached" ChildOfManifest="false">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"/>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..c0b235585
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.007.Req.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached" ChildOfManifest="false">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testSimple.txt">
+ <XMLContent xml:space="preserve">Dies sind Testdaten</XMLContent>
+ </DataObject>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..ace117fd9
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.008.Req.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached" ChildOfManifest="false">
+ <DataObject Reference="file:/d:/patrick/projects/moa/TestDatenGenerator/testDatenFalsch.txt">
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg==</Base64Content>
+ </DataObject>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..5a1b39e12
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.009.Req.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?><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="false">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"/>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..120f76ee0
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.010.Req.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CreateXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:xml="http://www.w3.org/XML/1998/namespace"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <KeyIdentifier>PKCS12RSAKey1</KeyIdentifier>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <DataObjectInfo Structure="enveloping" ChildOfManifest="false">
+ <DataObject>
+ <XMLContent><Testdaten>Dies sind Testdaten</Testdaten></XMLContent>
+ </DataObject>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..ead2fd581
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.014.Req.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?><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="true">
+ <DataObjectInfo Structure="detached" ChildOfManifest="false">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testUTF8.txt" />
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..5386b7a1f
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.015.Req.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"/>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ <DataObjectInfo Structure="detached">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"/>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..a09303eec
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.018.Req.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"/>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <DataObjectInfo Structure="detached">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"/>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..18c0e3385
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX0.057.Req.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?><CreateXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <KeyIdentifier>PKCS12RSAKeyExpired</KeyIdentifier>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <DataObjectInfo Structure="detached" ChildOfManifest="false">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+ <!-- Hint -->
+ </DataObject>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..bc998c406
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.001.Req.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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="detached" ChildOfManifest="false">
+ <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/BookData.xml">
+ <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>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <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:output method="html"/>
+ <xsl:template match="data:book" xmlns:data="http://uri.data.org" >
+ <HTML>
+ <BODY>
+ <H1>Buch: <xsl:value-of select="data:title"/>
+ </H1>
+ </BODY>
+ </HTML>
+ </xsl:template>
+ </xsl:stylesheet>
+ </dsig:Transform>
+
+ </dsig:Transforms>
+ <FinalDataMetaInfo>
+ <MimeType>text/html</MimeType>
+ <Description>http://www.description.com</Description>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ <!-- insert supp -->
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ <!-- insert data2 -->
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..cf06a6821
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.003.Req.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached" ChildOfManifest="false"><DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/BookData.xml"><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><CreateTransformsInfoProfile><CreateTransformsInfo><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath xmlns:data="http://uri.data.org">//data:book/data:first-name</dsig:XPath></dsig:Transform></dsig:Transforms><FinalDataMetaInfo><MimeType>text/plain</MimeType><Description>http://www.description.com</Description></FinalDataMetaInfo></CreateTransformsInfo><!-- insert supp --></CreateTransformsInfoProfile></DataObjectInfo><!-- insert data2 --></SingleSignatureInfo></CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..c4384ef67
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.004.Req.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached" ChildOfManifest="false"><DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/BookData.xml"><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><CreateTransformsInfoProfile><CreateTransformsInfo><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"><xf2:XPath Filter="subtract" xmlns:xf2="http://www.w3.org/2002/06/xmldsig-filter2" xmlns:data="http://uri.data.org">//data:book/data:first-name</xf2:XPath></dsig:Transform></dsig:Transforms><FinalDataMetaInfo><MimeType>text/xml</MimeType><Description>http://www.description.com</Description></FinalDataMetaInfo></CreateTransformsInfo><!-- insert supp --></CreateTransformsInfoProfile></DataObjectInfo><!-- insert data2 --></SingleSignatureInfo></CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..ddd39adda
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.009.Req.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached" ChildOfManifest="false"><DataObject Reference=""></DataObject><CreateTransformsInfoProfile><CreateTransformsInfo><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><FinalDataMetaInfo><MimeType>text/html</MimeType><Description>http://www.description.com</Description></FinalDataMetaInfo></CreateTransformsInfo><!-- insert supp --></CreateTransformsInfoProfile></DataObjectInfo><CreateSignatureInfo><CreateSignatureEnvironment><XMLContent xml:space="preserve"><env:Document xmlns:env="http://uri.env.org">Text</env:Document></XMLContent></CreateSignatureEnvironment><CreateSignatureEnvironmentProfile><CreateSignatureLocation xmlns:env="http://uri.env.org" Index="1">//env:Document</CreateSignatureLocation></CreateSignatureEnvironmentProfile></CreateSignatureInfo></SingleSignatureInfo></CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..ec05ecf6a
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX1.011.Req.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached" ChildOfManifest="false"><DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/BookData.xml"><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><CreateTransformsInfoProfile><CreateTransformsInfo><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://10.16.46.109/TestDatenGenerator/resources/CX1_book_not_here.xsl"/></xsl:stylesheet></dsig:Transform></dsig:Transforms><FinalDataMetaInfo><MimeType>text/html</MimeType><Description>http://www.description.com</Description></FinalDataMetaInfo></CreateTransformsInfo><Supplement><Content Reference="http://10.16.46.109/TestDatenGenerator/resources/CX1_book_not_here.xsl"><XMLContent xml:space="preserve"><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:output method="html" indent="no"/><xsl:template match="data:book" xmlns:data="http://uri.data.org"><HTML><BODY><H1>Buch: <xsl:value-of select="data:title"/></H1></BODY></HTML></xsl:template></xsl:stylesheet></XMLContent></Content></Supplement></CreateTransformsInfoProfile></DataObjectInfo><!-- insert data2 --></SingleSignatureInfo></CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..77aa7ac5f
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.001.Req.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached" ChildOfManifest="false"><DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testSimple.txt"><XMLContent xml:space="preserve">Dies sind Testdaten</XMLContent></DataObject><CreateTransformsInfoProfile><CreateTransformsInfo><FinalDataMetaInfo><MimeType>text/plain</MimeType></FinalDataMetaInfo></CreateTransformsInfo></CreateTransformsInfoProfile></DataObjectInfo><CreateSignatureInfo xmlns:data="http://uri.data.org"><CreateSignatureEnvironment><XMLContent xml:space="preserve"><data:Document xmlns:data="http://uri.data.org">Dies sind Testdaten</data:Document></XMLContent></CreateSignatureEnvironment><CreateSignatureEnvironmentProfile><CreateSignatureLocation Index="0">//data:Document</CreateSignatureLocation><!-- insert supp --></CreateSignatureEnvironmentProfile></CreateSignatureInfo></SingleSignatureInfo></CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..6644cebd0
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.004.Req.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><CreateXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <KeyIdentifier>UMLAUT</KeyIdentifier> <SingleSignatureInfo SecurityLayerConformity="false"> <DataObjectInfo Structure="detached" ChildOfManifest="false"> <DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testSimple.txt"> <XMLContent xml:space="preserve">Dies sind Testdaten</XMLContent> </DataObject> <CreateTransformsInfoProfile> <CreateTransformsInfo> <FinalDataMetaInfo> <MimeType>text/plain</MimeType> </FinalDataMetaInfo> </CreateTransformsInfo> </CreateTransformsInfoProfile> </DataObjectInfo> <CreateSignatureInfo xmlns:data="http://uri.data.org"> <CreateSignatureEnvironment> <XMLContent xml:space="preserve"><data:Document xmlns:data="http://uri.data.org">Dies sind Testdaten</data:Document></XMLContent> </CreateSignatureEnvironment> <CreateSignatureEnvironmentProfile> <CreateSignatureLocation Index="0">//data:Document</CreateSignatureLocation> <!-- insert supp --> </CreateSignatureEnvironmentProfile> </CreateSignatureInfo> </SingleSignatureInfo></CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..328c3196e
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/TestGeneratorCX2.006.Req.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><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="detached" ChildOfManifest="false"><DataObject Reference="http://10.16.46.109/TestDatenGenerator/resources/testSimple.txt"><XMLContent xml:space="preserve">Dies sind Testdaten</XMLContent></DataObject><CreateTransformsInfoProfile><CreateTransformsInfo><FinalDataMetaInfo><MimeType>text/plain</MimeType></FinalDataMetaInfo></CreateTransformsInfo></CreateTransformsInfoProfile></DataObjectInfo><CreateSignatureInfo xmlns:data="http://uri.data.org"><CreateSignatureEnvironment><XMLContent xml:space="preserve"><data:Document xmlns:data="http://uri.data.org">Dies sind Testdaten</data:Document></XMLContent></CreateSignatureEnvironment><CreateSignatureEnvironmentProfileID>CreateSignatureEnvironmentProfile1</CreateSignatureEnvironmentProfileID></CreateSignatureInfo></SingleSignatureInfo></CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..ea635b943
--- /dev/null
+++ b/spss.server/data/test/xml/CreateXMLSignature/invalid.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CreateXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <KeyIdentifier>validKeyIdentifier(RSAinPKCS12)</KeyIdentifier>
+ <invalid>some invalid element</invalid>
+ <SingleSignatureInfo SecurityLayerConformity="false">
+ <DataObjectInfo Structure="detached" ChildOfManifest="false">
+ <DataObject>
+ <XMLContent>testdaten</XMLContent>
+ </DataObject>
+ <CreateTransformsInfoProfile>
+ <CreateTransformsInfo>
+ <FinalDataMetaInfo>
+ <MimeType>text/plain</MimeType>
+ </FinalDataMetaInfo>
+ </CreateTransformsInfo>
+ </CreateTransformsInfoProfile>
+ </DataObjectInfo>
+ </SingleSignatureInfo>
+</CreateXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..9866113ea
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Stephan Grill (Anecon) -->
+<!--the given XML Data shows a sample request (containing all optional elementsand attributes)-->
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Signatories="1">
+ <DateTime>2001-12-17T09:30:47-05:00</DateTime>
+ <CMSSignature>U3Zlbg==</CMSSignature>
+ <DataObject>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>anyURI</Description>
+ </MetaInfo>
+ <Content Reference="anyURI">
+ <Base64Content>U3Zlbg==</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
+<!--the following modifications (individually and in combination) must return a valid response
+* no XML/@encoding
+* XML/@encoding = "ISO-8859-1"
+* no xsi:schemaLocation="...moa/20020822# ..."
+* VerifyCMSSignatureRequest/@Signatories = "oneValidInteger"
+* VerifyCMSSignatureRequest/@Signatories = "twoValidIntegers"
+* VerifyCMSSignatureRequest/@Signatories = "all"
+* no DateTime
+* a DateTime that is in the past and within the certificate validity period
+* no DataObject and CMSSignature w/ attached signature
+* no MetaInfo
+* attached/detached CMSSignature and no DataObject/@Reference but DataObject content
+* attached/detached CMSSignature and no DataObject content but DataObject/@Reference
+* attached CMSSignature and a DataObject representing different data (using Base64Content or @Reference)
+Total: 14 Testcases-->
+<!--each of the following modifications (individually) must return an error code
+* a request which does not validate against the Schema
+* no XML/@version
+* XML/@version = "wrongValue"
+* XML/@encoding = "wrongValue"
+* CreateXMLSigantureRequest/@xmlns="wrongValue"
+* VerifyCMSSignatureRequest/@Signatories = "0"
+* VerifyCMSSignatureRequest/@Signatories = "invalidInteger(tooLarge)"
+* DateTime: in the future
+* CMSSignature: invalidBase64Data
+* detached CMSSignature and no DataObject content and no DataObject/@Reference
+* detached CMSSignature and DataObject/@Reference or DataObject content representing different data
+* TrustProfileID: invalidTrustProfileID
+Total: 12 Testcases-->
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/Req001.xml b/spss.server/data/test/xml/VerifyCMSSignature/Req001.xml
new file mode 100644
index 000000000..17c2b0879
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/Req001.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Signatories="1">
+ <DateTime>2001-12-17T09:30:47-05:00</DateTime>
+ <CMSSignature>MIIF5QYJKoZIhvcNAQcCoIIF1jCCBdICAQExCzAJBgUrDgMCGgUAMCAGCSqGSIb3DQEHAaATBBFUaGlzIGlzIGEgbWVzc2FnZaCCA9swggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMxMjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCB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Y2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMjI1MTIzMzI1WjAjBgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAoTw/ezMjs4lYuIEWfx3YRHHbOuzgcVtNp97SaViu4GXCoGR6EetYT2ZhNNJq34BkUXV1DTSc1pPRZhkXy5WjpsXX96QDyBjvoev+0NLfdsogNTfVjlcOfBol3+btuwyNz/4KK/owRYsmxqaFKyA3PAgsq4fje2jyxiwtkZWa1eA==</CMSSignature>
+ <DataObject>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.001.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.001.Req.xml
new file mode 100644
index 000000000..573677265
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.001.Req.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace" Signatories="1">
+ <DateTime>2003-04-04T09:30:47-05:00</DateTime>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.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.002.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.002.Req.xml
new file mode 100644
index 000000000..9fdbbda30
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.002.Req.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace" Signatories="1 2">
+ <DateTime>2003-04-04T09:30:47-05:00</DateTime>
+ <CMSSignature>MIIHPwYJKoZIhvcNAQcCoIIHMDCCBywCAQExGTAJBgUrDgMCGgUAMAwGCCqGSIb3DQIFBQAwCwYJ
+KoZIhvcNAQcBoIID2zCCA9cwggNEoAMCAQICBgDzJH01OzAJBgUrDgMCHQUAMIGsMQswCQYDVQQG
+EwJBVDEmMCQGA1UEChMdR1JBWiBVTklWRVJTSVRZIE9GIFRFQ0hOT0xPR1kxRzBFBgNVBAsTPklu
+c2l0dXRlIGZvciBBcHBsaWVkIEluZm9ybWF0aW9uIFByb2Nlc3NpbmcgYW5kIENvbW11bmljYXRp
+b25zMRUwEwYDVQQLEwxJQUlLIFRlc3QgQ0ExFTATBgNVBAMTDElBSUsgVGVzdCBDQTAeFw0wMzAy
+MDMxNjIwNTVaFw0wMzEyMzAyMjU5MzBaMIGYMQswCQYDVQQGEwJBVDEmMCQGA1UEChMdR1JB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aInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.003.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.003.Req.xml
new file mode 100644
index 000000000..c5b82a7f9
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.003.Req.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace" Signatories="all">
+ <DateTime>2003-04-04T09:30:47-05:00</DateTime>
+ <CMSSignature>MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw
+ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT
+HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx
+MjMwMjI1OTMwWjCBmDELMAkGA1UEBhM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AoT
+HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w
+GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj
+BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u
+NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k
+9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx
+fY5lsQ35KJpqWw==</CMSSignature>
+ <DataObject>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.004.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.004.Req.xml
new file mode 100644
index 000000000..318c99cb6
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.004.Req.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace" Signatories="1">
+
+ <CMSSignature>MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw
+ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT
+HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx
+MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBU
+RUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9j
+ZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQPSXNvbGRlIEL8cmdlcmluMIGfMA0G
+CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nbY+z3Vf6l12EyID0/RC6wx7FD5ASR
+97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMjh58gdLQROHOA0DKaqZP1n0ggSGqb
+/WOFDhJdNbffLdefeXHboOJN4Cl+25AHfzxiVX5Gz6tPIX2JFQIDAQABo4IBHDCCARgwDAYDVR0T
+AQH/BAIwADAOBgNVHQ8BAf8EBAMCBsAwEQYJYIZIAYb4QgEBBAQDAgUgMGcGA1UdIARgMF4w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AxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx
+fY5lsQ35KJpqWw==</CMSSignature>
+ <DataObject>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.005.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.005.Req.xml
new file mode 100644
index 000000000..573677265
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.005.Req.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace" Signatories="1">
+ <DateTime>2003-04-04T09:30:47-05:00</DateTime>
+ <CMSSignature>MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw
+ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT
+HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUl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dsZd
+2uf8CgoC85IBDdB7pf51P/UxggG9MIIBuQIBATCBtzCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT
+HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w
+GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj
+BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u
+NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k
+9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx
+fY5lsQ35KJpqWw==</CMSSignature>
+ <DataObject>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.006.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.006.Req.xml
new file mode 100644
index 000000000..b5dd80315
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.006.Req.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace" Signatories="1">
+ <DateTime>2003-04-04T09:30:47-05:00</DateTime>
+ <CMSSignature>MIIF5QYJKoZIhvcNAQcCoIIF1jCCBdICAQExCzAJBgUrDgMCGgUAMCAGCSqGSIb3DQEHAaATBBFU
+aGlzIGlzIGEgbWVzc2FnZaCCA9swggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDEL
+MAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYD
+VQQLEz5JbnNpdHV0ZSBmb3IgQXBwbGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21t
+dW5pY2F0aW9uczEVMBMGA1UECxMMSUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0Ew
+HhcNMDMwMjAzMTYyMDU1WhcNMDMxMjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT
+HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEYMBYGA1UEAxQP
+SXNvbGRlIEL8cmdlcmluMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnebSqeDo73NUgC4nb
+Y+z3Vf6l12EyID0/RC6wx7FD5ASR97jecQUhOhRne66gBAV36fgxczoPry1ly0ZTk7hbkCr9sSMj
+h58gdLQROHOA0DKaqZP1n0ggSGqb/WOFDhJdNbffLdefeXH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oZIhvcNAQEBBQAEgYAB5j4uNwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+
+Eqr+IeU0PSEOHb6iat5E3FiRgW0k9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPy
+FIW8rt1losrppGPVDCQWQUnewUHxfY5lsQ35KJpqWw==</CMSSignature>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.007.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.007.Req.xml
new file mode 100644
index 000000000..3f00c5901
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.007.Req.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace" Signatories="1">
+ <DateTime>2003-04-04T09:30:47-05:00</DateTime>
+ <CMSSignature>MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw
+ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT
+HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx
+MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT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kVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w
+GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj
+BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u
+NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k
+9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx
+fY5lsQ35KJpqWw==</CMSSignature>
+ <DataObject>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.008.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.008.Req.xml
new file mode 100644
index 000000000..a51a7ff09
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.008.Req.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/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ataObject>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content >
+ <Base64Content>RGllcyBzaW5kIFRlc3RkYXRlbg0KMi4gWmVpbGUNCjMuIFplaWxlDQphdXM=</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.009.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.009.Req.xml
new file mode 100644
index 000000000..b3155112a
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.009.Req.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace" Signatories="1">
+ <DateTime>2003-04-04T09:30:47-05:00</DateTime>
+ <CMSSignature>MIIF0AYJKoZIhvcNAQcCoIIFwTCCBb0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCCA9sw
+ggPXMIIDRKADAgECAgYA8yR9NTswCQYFKw4DAh0FADCBrDELMAkGA1UEBhMCQVQxJjAkBgNVBAoT
+HUdSQVogVU5JVkVSU0lUWSBPRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0EwHhcNMDMwMjAzMTYyMDU1WhcNMDMx
+MjMwMjI1OTMwWjCBmDELMAkGA1UEBhMCQVQxJjAkBgNVBAoTHUdSQVogVU5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PRiBURUNITk9MT0dZMUcwRQYDVQQLEz5JbnNpdHV0ZSBmb3IgQXBw
+bGllZCBJbmZvcm1hdGlvbiBQcm9jZXNzaW5nIGFuZCBDb21tdW5pY2F0aW9uczEVMBMGA1UECxMM
+SUFJSyBUZXN0IENBMRUwEwYDVQQDEwxJQUlLIFRlc3QgQ0ECBgDzJH01OzAJBgUrDgMCGgUAoF0w
+GAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDMwMzEwMTIyMDE2WjAj
+BgkqhkiG9w0BCQQxFgQUssrSHofb1X8aGSjkATtW+1U7uCowDQYJKoZIhvcNAQEBBQAEgYAB5j4u
+NwEqAlqe96QnWAN98k8u3LcvrtliV0GaneScHShHWKOlM9V+Eqr+IeU0PSEOHb6iat5E3FiRgW0k
+9lh9brJcdW9YxnUVbJ1VKIAR4+IcTVBBjAxgBYtWPpYmxjPyFIW8rt1losrppGPVDCQWQUnewUHx
+fY5lsQ35KJpqWw==</CMSSignature>
+ <DataObject>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt">
+
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.010.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.010.Req.xml
new file mode 100644
index 000000000..9b33e1139
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.010.Req.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/X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Object>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt</Description>
+ </MetaInfo>
+ <Content Reference="http://10.16.46.109/TestDatenGenerator/resources/not_a_file.txt">
+
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.011.Req.xml b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.011.Req.xml
new file mode 100644
index 000000000..7b86a7b5e
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/TestGeneratorVC0.011.Req.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?><VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Signatories="1"> <DateTime>2003-04-04T09:30:47-05:00</DateTime> <CMSSignature>MIII2AIBATELMAkGBSsOAwIaBQAwggECBgkqhkiG9w0BBwGggfQEgfE8c2wxMDpJ
+bmZvYm94UmVhZFJlcXVlc3QgeG1sbnM6c2wxMD0naHR0cDovL3d3dy5idWVyZ2Vy
+a2FydGUuYXQvbmFtZXNwYWNlcy9zZWN1cml0eWxheWVyLzIwMDIwMjI1Iyc+PHNs
+MTA6SW5mb2JveElkZW50aWZpZXI+SWRlbnRpdHlMaW5rPC9zbDEwOkluZm9ib3hJ
+ZGVudGlmaWVyPjxzbDEwOkJpbmFyeUZpbGVQYXJhbWV0ZXJzIENvbnRlbnRJc1hN
+TEVudGl0eT0ndHJ1ZScvPjwvc2wxMDpJbmZvYm94UmVhZFJlcXVlc3Q+oIIFKTCC
+BSUwggQNoAMCAQICAhk3MA0GCSqGSIb3DQEBBQUAMIGhMQswCQYDVQQGEwJBVDFI
+MEYGA1UEChM/QS1UcnVzdCBHZXMuIGYuIFNpY2hlcmhlaXRzc3lzdGVtZSB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MIHK
+MIHHBBQWuG7WjiYviBAd0lxTTFID+HgI4TCBrjCBp6SBpDCBoTELMAkGA1UEBhMC
+QVQxSDBGBgNVBAoTP0EtVHJ1c3QgR2VzLiBmLiBTaWNoZXJoZWl0c3N5c3RlbWUg
+aW0gZWxla3RyLiBEYXRlbnZlcmtlaHIgR21iSDEjMCEGA1UECxMaYS1zaWduLVRF
+U1QtUHJlbWl1bS1FbmMtMDExIzAhBgNVBAMTGmEtc2lnbi1URVNULVByZW1pdW0t
+RW5jLTAxAgIZNzANBgkqhkiG9w0BAQEFAASBgJCZ0BwFdXjChqrS8cHWJcqfe+up
+x4VVNV1YOJil/KWMuBCn3DHQsbBFJFrmGUUJGenBbre5L86brr43NwvndrtyyRrw
+vG4/QWmYIxowXKuRlqGDCOmTaC6ddrjyVxQ54yal+XhlrWfc6kcdb6NK6dt6X7wR
+
+</CMSSignature> <TrustProfileID>TrustProfile1</TrustProfileID></VerifyCMSSignatureRequest> \ 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
new file mode 100644
index 000000000..2ed8acff9
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/Req000.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Stephan Grill (Anecon) -->
+<!--the given XML Data shows a simple request (w/o Supplement and w/o SignatureManifestCheckParams) which must return valid return codes-->
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2002-12-01T09:30:47-05:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment>
+ <XMLContent>
+ <dsig:Signature>
+ <dsig:SignedInfo>
+ <dsig:CanonicalizationMethod Algorithm="aValidURI"/>
+ <dsig:SignatureMethod Algorithm="anValidURI"/>
+ <dsig:Reference>
+ <dsig:DigestMethod Algorithm="aValidURI"/>
+ <dsig:DigestValue>U3Zlbg==</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:SignedInfo>
+ <dsig:SignatureValue>U3Zlbg==</dsig:SignatureValue>
+ </dsig:Signature>
+ </XMLContent>
+ </VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <ReturnHashInputData/>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
+<!--the following modifications (individually and in combination) must return a valid response
+* no XML/@encoding
+* XML/@encoding = "ISO-8859-1"
+* no xsi:schemaLocation="...moa/20020822# ..."
+* no DateTime
+* a DateTime that is in the past and within the signing certificate validity period
+* no ReturnHashInputData
+Total: 6 Testcases-->
+<!--each of the following modifications (individually) must return an error code
+* a request which does not validate against the Schema
+* no XML/@version
+* XML/@version = "wrongValue"
+* XML/@encoding = "wrongValue"
+* VerifyXMLSignatureRequest/@xmlns="wrongValue"
+* DateTime: in the future
+* SignatureEnvironment with invalid signature that does not validate against XMLDSig-Schema
+* VerifySignatureLocation: syntactically invalid XPath expression
+* VerifySignatureLocation: XPath expression that does not reference a dsig:signature element
+* TrustProfileID: invalidTrustProfileID
+Total: 10 Testcases-->
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/Req001.xml b/spss.server/data/test/xml/VerifyXMLSignature/Req001.xml
new file mode 100644
index 000000000..7cb71f6d2
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/Req001.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Stephan Grill (Anecon) -->
+<!--the given XML Data shows a simple request w/ Supplement (but w/o SignatureManifestCheckParams) which must return a valid return codes-->
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2002-12-01T09:30:47-05:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment>
+ <XMLContent>
+ <dsig:Signature>
+ <dsig:SignedInfo>
+ <dsig:CanonicalizationMethod Algorithm="aValidURI"/>
+ <dsig:SignatureMethod Algorithm="anValidURI"/>
+ <dsig:Reference>
+ <dsig:DigestMethod Algorithm="aValidURI"/>
+ <dsig:DigestValue>U3Zlbg==</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:SignedInfo>
+ <dsig:SignatureValue>U3Zlbg==</dsig:SignatureValue>
+ </dsig:Signature>
+ </XMLContent>
+ </VerifySignatureEnvironment>
+ <VerifySignatureLocation>anValidXPathExpression</VerifySignatureLocation>
+ </VerifySignatureInfo>
+
+ <SupplementProfile>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>aValidURI</Description>
+ </MetaInfo>
+ <Content Reference="aValidURI">
+ <Base64Content>U3Zlbg==</Base64Content>
+ </Content>
+ </SupplementProfile>
+
+ <SupplementProfileID>aValidSupplementProfileID</SupplementProfileID>
+ <TrustProfileID>aValidTrustProfileID</TrustProfileID>
+</VerifyXMLSignatureRequest>
+<!--the following modifications (individually and in combination) must return a valid response
+* no Supplement/MetaInfo/Description
+* no Supplement/MetaInfo
+* Supplement/Content/XMLContent instead of Supplement/Content/Base64Content
+* 2 Supplement elements
+* 2 SupplementProfileID elements
+Total: 5 Testcases-->
+<!--each of the following modifications (individually) must return an error code
+* an URI referenced in dsig:Signature does not resolve and no Supplement object is available
+* invalid MimeType
+* invalid SupplementProfileID
+Total: 3 Testcases-->
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml b/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml
new file mode 100644
index 000000000..a834f1225
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Stephan Grill (Anecon) -->
+<!--the given XML Data shows a simple request w/ SignatureManifestCheckParams (but w/o Supplement) which must return a valid return codes-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2002-12-01T09:30:47-05:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment>
+ <XMLContent>
+ <dsig:Signature>
+ <dsig:SignedInfo>
+ <dsig:CanonicalizationMethod Algorithm="aValidURI"/>
+ <dsig:SignatureMethod Algorithm="anValidURI"/>
+ <dsig:Reference>
+ <dsig:DigestMethod Algorithm="aValidURI"/>
+ <dsig:DigestValue>U3Zlbg==</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:SignedInfo>
+ <dsig:SignatureValue>U3Zlbg==</dsig:SignatureValue>
+ </dsig:Signature>
+ </XMLContent>
+ </VerifySignatureEnvironment>
+ <VerifySignatureLocation>anValidXPathExpression</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <SignatureManifestCheckParams ReturnReferenceInputData="true">
+ <ReferenceInfo>
+ <VerifyTransformsInfoProfile>
+ <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"/>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <TransformParameter URI="validURI">
+ <Base64Content>PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8dGVzdD48L3Rlc3Q+</Base64Content>
+ </TransformParameter>
+ </VerifyTransformsInfoProfile>
+ <VerifyTransformsInfoProfileID>validID</VerifyTransformsInfoProfileID>
+ </ReferenceInfo>
+ </SignatureManifestCheckParams>
+ <TrustProfileID>aValidTrustProfileID</TrustProfileID>
+</VerifyXMLSignatureRequest>
+<!--the following modifications (individually and in combination) must return a valid response
+* no SignatureManifestCheckParams/@ReturnReferenceInputData
+* SignatureManifestCheckParams/@ReturnReferenceInputData = false
+* no content of dsig:Transform
+* 2 dsig:Transform elements
+* TransformParameter/Hash statt TransformParameter/Base64Content
+* TransformParameter/@URI und TranformParameter/Base64Content liefern unterschiedliche Werte - es wird der Wert aus Base64Content verwendet
+* weder Base64Content noch Hash wird verwendet
+* 0 TransformParameter
+* 2 TransformParameter
+* 2 VerifyTransformsInfoID
+* 2 ReferenceInfo (for 2 dsig:Reference)
+Total: 11 Testcases-->
+<!--each of the following modifications (individually) must return an error code
+* VerifyTransformsInfoID: invalidID
+* number of ReferenceInfo is different from number of dsig:Reference in the signature
+* mismatching dsig:Transform/@Algorithm and dsig:Transform content
+* TransformParameter/@URI resolves but Hash does not match - which hashing algorithm?
+* kein TransformParameter element obwohl in Transforms URIs referenziert werden
+ (Referenz-Eingangsdaten sind KEIN impliziter Transformationsparameter)
+Total: 5 Testcases-->
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.001.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.001.Req.xml
new file mode 100644
index 000000000..22db26930
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.001.Req.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 001-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-03-25T14:22:59+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment >
+ <XMLContent xml:space="preserve"><dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>WVob54034HfToUBDAErL5z6GFxo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>30H2FC1IKju7ebEsN2YMWem/ZUgrjLFAt7U5mJoUAFtXjufa1bNb5E6pWg1ysQIe
+OYAr1Mo73sbh+7/G40Nd6GX428yZqdihfqBnyU/lWI7RqnQZragMQnGNr4zONhBc
+cWYbxSux1CzoLQW2v8Usv7myQzV8RFiOkMLNaeuzH2w=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE
+CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh
+bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE
+AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow
+gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD
+SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp
+b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg
+VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA
+A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT
++LLL8bgYCwPOFQSrpqSmb2wOdxWwYQfhatKvzvUw4Ub/B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zb2xk
+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:X509Certificate></dsig:X509Data></dsig:KeyInfo></dsig:Signature></XMLContent></VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <ReturnHashInputData/>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.002.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.002.Req.xml
new file mode 100644
index 000000000..97db01c26
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.002.Req.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 002-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment >
+ <XMLContent xml:space="preserve"><dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>O3POtgZXrGmw+2btYrduSvptSdo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>uBvOjC5KqIE1kJlrmm6BarlFxN5Hw8CIOQirPNQaFhasC8CoRtV6I8nC3ukIfbGv
+ZgrB8pAomCB7iRx26ofjKyl853IsJEd8Vba5dDopFMRkgUs5F6p9VWc/P4mtmG2T
+PhRggb9/vc385obikEPop1MqlgyPFojyiZrLxeRRtrQ=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE
+CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUH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9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV
+HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m
+zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL
+o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT
+V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo></dsig:Signature></XMLContent></VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <ReturnHashInputData/>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.003.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.003.Req.xml
new file mode 100644
index 000000000..191de2ccd
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.003.Req.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 003-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-03-11T18:14:19+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment >
+ <XMLContent xml:space="preserve"><dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>O3POtgZXrGmw+2btYrduSvptSdo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>uBvOjC5KqIE1kJlrmm6BarlFxN5Hw8CIOQirPNQaFhasC8CoRtV6I8nC3ukIfbGv
+ZgrB8pAomCB7iRx26ofjKyl853IsJEd8Vba5dDopFMRkgUs5F6p9VWc/P4mtmG2T
+PhRggb9/vc385obikEPop1MqlgyPFojyiZrLxeRRtrQ=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE
+CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh
+bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE
+AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow
+gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD
+SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp
+b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsg
+VGVzdCBDQTEVMBMGA1UEAxMMSUFJSyBUZXN0IENBMIGfMA0GCSqGSIb3DQEBAQUA
+A4GNADCBiQKBgQCUWKl6uyR/isty2DLVdBzx074qOfJ+OP8J6PVi9GX527u0TTWT
++LLL8bgYCwPOFQSrpqSmb2wOd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vbnMxGDAWBgNVBAMUD0lzb2xk
+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:X509Certificate></dsig:X509Data></dsig:KeyInfo></dsig:Signature></XMLContent></VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <ReturnHashInputData/>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.004.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.004.Req.xml
new file mode 100644
index 000000000..508da73b8
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.004.Req.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 004-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-03-12T18:14:19+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment >
+ <XMLContent xml:space="preserve"><dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>O3POtgZXrGmw+2btYrduSvptSdo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>uBvOjC5KqIE1kJlrmm6BarlFxN5Hw8CIOQirPNQaFhasC8CoRtV6I8nC3ukIfbGv
+ZgrB8pAomCB7iRx26ofjKyl853IsJEd8Vba5dDopFMRkgUs5F6p9VWc/P4mtmG2T
+PhRggb9/vc385obikEPop1MqlgyPFojyiZrLxeRRtrQ=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE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6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf
+dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV
+HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m
+zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL
+o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT
+V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo></dsig:Signature></XMLContent></VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.005.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.005.Req.xml
new file mode 100644
index 000000000..2af2a0a95
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.005.Req.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 005-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-04-30T13:54:24+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment Reference="http://10.16.46.109/TestDatenGenerator/resources/SignatureVX005.xml" >
+ </VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.007.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.007.Req.xml
new file mode 100644
index 000000000..1b5d43ac8
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.007.Req.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?><VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace"><VerifySignatureInfo><VerifySignatureEnvironment><Base64Content>DQo8ZGF0YTpEb2N1bWVudCBJZD0ibXlEb2N1bWVudCIgeG1sbnM6ZGF0YT0iaHR0
+cDovL3VyaS5kYXRhLm9yZyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8y
+MDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRw
+Oi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIGh0dHA6Ly93d3cudzMub3Jn
+L1RSL3htbGRzaWctY29yZS94bWxkc2lnLWNvcmUtc2NoZW1hLnhzZCI+PGRzaWc6
+U2lnbmF0dXJlIHhtbG5zOmRzaWc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkv
+eG1sZHNpZyMiPjxkc2lnOlNpZ25lZEluZm8+PGRzaWc6Q2Fub25pY2FsaXphdGlv
+bk1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnL1RSLzIwMDEvUkVD
+LXhtbC1jMTRuLTIwMDEwMzE1Ii8+PGRzaWc6U2lnbmF0dXJlTWV0aG9kIEFsZ29y
+aXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnI3JzYS1zaGEx
+Ii8+PGRzaWc6UmVmZXJlbmNlIFVSST0iI215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KemI4WUN1VE1nZXBseVNtNW5Ba3hqc3YxVDVu
+L0h6ejFjTGZTREpaMEh5TlRWeC9HRHN6WStEeDI4TWRXKzZETA0KbzluV1BTRS80
+UCtrOUhYSmUvd0V5QXY0NE9yanZwekdHS2pxb2MzWDh2NHJ6TW82TUJSTmx1dTBt
+M3kxcGt0VA0KVi9xNGFpV0QvbmJHWGRybi9Bb0tBdk9TQVEzUWU2WCtkVC8xPC9k
+c2lnOlg1MDlDZXJ0aWZpY2F0ZT48L2RzaWc6WDUwOURhdGE+PC9kc2lnOktleUlu
+Zm8+PC9kc2lnOlNpZ25hdHVyZT4NCmRhdGVuDQo8L2RhdGE6RG9jdW1lbnQ+</Base64Content></VerifySignatureEnvironment><VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation></VerifySignatureInfo> <SupplementProfile>
+ <Content Reference="http://http://10.16.46.109/TestDatenGenerator/resources/VX.007DTD.dtd">
+ <Base64Content>PCFFTEVNRU5UIGRhdGE6RG9jdW1lbnQgQU5ZPjwhQVRUTElTVCBkYXRhOkRvY3Vt
+ZW50IElkIElEICNSRVFVSVJFRD4NCg==</Base64Content>
+ </Content>
+ </SupplementProfile>
+<TrustProfileID>TrustProfile1</TrustProfileID></VerifyXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..8ca984b7c
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.106.Req.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 106 - 2 SupplementProfileID elements-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-03-17T10:01:13+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment >
+ <XMLContent xml:space="preserve"><dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI="http://10.16.46.109/TestDatenGenerator/resources/testDaten.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>O3POtgZXrGmw+2btYrduSvptSdo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>uBvOjC5KqIE1kJlrmm6BarlFxN5Hw8CIOQirPNQaFhasC8CoRtV6I8nC3ukIfbGv
+ZgrB8pAomCB7iRx26ofjKyl853IsJEd8Vba5dDopFMRkgUs5F6p9VWc/P4mtmG2T
+PhRggb9/vc385obikEPop1MqlgyPFojyiZrLxeRRtrQ=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE
+CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh
+bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE
+AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow
+gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD
+SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp
+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SAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo></dsig:Signature></XMLContent></VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+<SupplementProfileID>SupplementProfile1</SupplementProfileID><SupplementProfileID>SupplementProfile2</SupplementProfileID> <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.201.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.201.Req.xml
new file mode 100644
index 000000000..1e6780cb8
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.201.Req.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 201 a simple request w/ SignatureManifestCheckParams (but w/o Supplement)-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-04-01T12:53:57+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment>
+ <XMLContent xml:space="preserve"><dsig:Signature Id="signature" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-1" URI="http://10.16.46.109/TestDatenGenerator/resources/BookData.xml"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:include href="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"/></xsl:stylesheet></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>gJhOZajRF42VUda+ZBhWNdljSLc=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://www.buergerkarte.at/specifications/Securitylayer/20020225#SignatureManifest" URI="#xpointer(id('Manifest'))"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>cJybGx+5JVkh1WYQr90ozzlcSSA=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties" URI="#xpointer(id('ETSIProperties'))/*/*"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>dP0FIjMdub6Q9Km7VnqgYGbptbk=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>jwi/XtAABYZ0AYo+svauDOiLUcjgNccEsU72VudeAi1CV3bjfhF0q3UMirgRR0DF
+Vk//dX4/EeAI8yNaJ6PuoSx8o6bcFQXic3S/MMesVcFxoCN7uP8Al1u00Jvf6SlD
+wEDtPaGkMIB8+RCqWy+aXk3ROWxidmLC//Ka5F2beFY=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE
+CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh
+bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE
+AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE0MDc0NVoXDTAzMTIzMDIyNTkzMFow
+gawxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFV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
+o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT
+V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="Manifest"><dsig:Reference URI="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>nFsrjFH4fx13UtHEeaiuNAew5aA=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object><dsig:Object Id="ETSIProperties"><etsi:QualifyingProperties Target="#signature" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#"><etsi:SignedProperties><etsi:SignedSignatureProperties><etsi:SigningTime>2003-04-01T12:53:57+01:00</etsi:SigningTime><etsi:SigningCertificate><etsi:Cert><etsi:CertDigest><etsi:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><etsi:DigestValue>dL59VDpBsujcngd207z0ohPl1/U=</etsi:DigestValue></etsi:CertDigest><etsi:IssuerSerial><dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName><dsig:X509SerialNumber>1044289238331</dsig:X509SerialNumber></etsi:IssuerSerial></etsi:Cert></etsi:SigningCertificate><etsi:SignaturePolicyIdentifier><etsi:SignaturePolicyImplied/></etsi:SignaturePolicyIdentifier></etsi:SignedSignatureProperties><etsi:SignedDataObjectProperties><etsi:DataObjectFormat ObjectReference="#reference-1"><etsi:MimeType>text/html</etsi:MimeType></etsi:DataObjectFormat></etsi:SignedDataObjectProperties></etsi:SignedProperties></etsi:QualifyingProperties></dsig:Object></dsig:Signature></XMLContent></VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+
+<SignatureManifestCheckParams ReturnReferenceInputData="true"><ReferenceInfo><VerifyTransformsInfoProfile><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://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"/></xsl:stylesheet></dsig:Transform></dsig:Transforms><TransformParameter URI="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"><Base64Content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHNsOnN0eWxl
+c2hlZXQgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFu
+c2Zvcm0iIHZlcnNpb249IjEuMCI+PHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIi8+
+PHhzbDp0ZW1wbGF0ZSBtYXRjaD0iZGF0YTpib29rIiB4bWxuczpkYXRhPSJodHRw
+Oi8vdXJpLmRhdGEub3JnIj48SFRNTD48Qk9EWT48SDE+QnVjaDogPHhzbDp2YWx1
+ZS1vZiBzZWxlY3Q9ImRhdGE6dGl0bGUiLz48L0gxPjwvQk9EWT48L0hUTUw+PC94
+c2w6dGVtcGxhdGU+PC94c2w6c3R5bGVzaGVldD4=</Base64Content></TransformParameter></VerifyTransformsInfoProfile></ReferenceInfo></SignatureManifestCheckParams> <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.203.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.203.Req.xml
new file mode 100644
index 000000000..d55428293
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.203.Req.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 203 SignatureManifestCheckParams/@ReturnReferenceInputData = false-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-03-18T11:19:32+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment>
+ <XMLContent xml:space="preserve"><dsig:Signature Id="signature" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-1" URI="http://10.16.46.109/TestDatenGenerator/resources/BookData.xml"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:include href="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"/>
+</xsl:stylesheet></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>gJhOZajRF42VUda+ZBhWNdljSLc=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://www.buergerkarte.at/specifications/Securitylayer/20020225#SignatureManifest" URI="#xpointer(id('Manifest'))"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>ZBo95yK3oQncxbbDgd1cZMliD/I=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties" URI="#xpointer(id('ETSIProperties'))/*/*"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>4cI+eWoq8xiz5HtRSmeVEwLOJ3c=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>pAdOJTnU28mlWj1g7ij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/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:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="Manifest"><dsig:Reference URI="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>cnqPpPuFKVuCtePNvRdIBJNPHh4=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object><dsig:Object Id="ETSIProperties"><etsi:QualifyingProperties Target="#signature" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#"><etsi:SignedProperties><etsi:SignedSignatureProperties><etsi:SigningTime>2003-03-18T11:19:32+01:00</etsi:SigningTime><etsi:SigningCertificate><etsi:Cert><etsi:CertDigest><etsi:DigestMethod Algorithm="http:www.w3.org/2000/09/xmldsig#sha1"/><etsi:DigestValue>dL59VDpBsujcngd207z0ohPl1/U=</etsi:DigestValue></etsi:CertDigest><etsi:IssuerSerial><dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName><dsig:X509SerialNumber>1044289238331</dsig:X509SerialNumber></etsi:IssuerSerial></etsi:Cert></etsi:SigningCertificate><etsi:SignaturePolicyIdentifier><etsi:SignaturePolicyImplied/></etsi:SignaturePolicyIdentifier></etsi:SignedSignatureProperties><etsi:SignedDataObjectProperties><etsi:DataObjectFormat ObjectReference="#reference-1"><etsi:MimeType>text/html</etsi:MimeType></etsi:DataObjectFormat></etsi:SignedDataObjectProperties></etsi:SignedProperties></etsi:QualifyingProperties></dsig:Object></dsig:Signature></XMLContent></VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+
+<SignatureManifestCheckParams ReturnReferenceInputData="false"><ReferenceInfo><VerifyTransformsInfoProfile><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://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"/>
+</xsl:stylesheet></dsig:Transform></dsig:Transforms><TransformParameter URI="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"><Base64Content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjx4c2w6c3R5
+bGVzaGVldCB4bWxuczp4c2w9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvWFNML1Ry
+YW5zZm9ybSIgdmVyc2lvbj0iMS4wIj4NCgk8eHNsOm91dHB1dCBtZXRob2Q9Imh0
+bWwiLz4NCgk8eHNsOnRlbXBsYXRlIG1hdGNoPSJkYXRhOmJvb2siIHhtbG5zOmRh
+dGE9Imh0dHA6Ly91cmkuZGF0YS5vcmciPg0KCQk8SFRNTD4NCgkJCTxCT0RZPg0K
+CQkJCTxIMT5CdWNoOiA8eHNsOnZhbHVlLW9mIHNlbGVjdD0iZGF0YTp0aXRsZSIv
+Pg0KCQkJCTwvSDE+DQoJCQk8L0JPRFk+DQoJCTwvSFRNTD4NCgk8L3hzbDp0ZW1w
+bGF0ZT4NCjwveHNsOnN0eWxlc2hlZXQ+DQo=</Base64Content></TransformParameter></VerifyTransformsInfoProfile></ReferenceInfo></SignatureManifestCheckParams> <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.252.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.252.Req.xml
new file mode 100644
index 000000000..485ff4191
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.252.Req.xml
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by patrick peck (anecon) -->
+<!-- Testnumber: 252 number of ReferenceInfo is different from number of dsig:Reference in the signature-->
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-04-01T19:58:19+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment>
+ <XMLContent xml:space="preserve"><dsig:Signature Id="signature" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:SignedInfo>
+ <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
+ <dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
+ <dsig:Reference Id="reference-1" URI="http://10.16.46.109/TestDatenGenerator/resources/BookData.xml">
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:include href="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"/>
+ </xsl:stylesheet>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>gJhOZajRF42VUda+ZBhWNdljSLc=</dsig:DigestValue>
+ </dsig:Reference>
+ <dsig:Reference Type="http://www.buergerkarte.at/specifications/Securitylayer/20020225#SignatureManifest" URI="#xpointer(id('Manifest'))">
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>cJybGx+5JVkh1WYQr90ozzlcSSA=</dsig:DigestValue>
+ </dsig:Reference>
+ <dsig:Reference URI="#xpointer(id('ETSIProperties')/*/*)" Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties">
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>WKzmN8eskIcXvr8x7PKcSzEscLI=</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:SignedInfo>
+ <dsig:SignatureValue>Wk6pj3QB4KJdFRJVfOG0pGdmaILYO6Y1NecU0aHWT/9sFeHShyW6Sifs92fnn6p/
+oiIXdiAG9KwWob5yDNirQTEdBCSDu0dyQbh3fIpeA1J3qM/Z+5FM0kBlZmpsBl4x
+Lq2u4A7XjVnZE0WkdKg1ZepPwxgKcgOf8z/OTOBQY8g=</dsig:SignatureValue>
+ <dsig:KeyInfo>
+ <dsig:X509Data>
+ <dsig:X509Certificate>MIIDbzCCAtygAwIBAgIGAPMkA4ZsMAkGBSsOAwIdBQAwgawxCzAJBg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+dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8
+BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf
+dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV
+HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m
+zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL
+o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT
+V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate>
+ </dsig:X509Data>
+ </dsig:KeyInfo>
+ <dsig:Object>
+ <dsig:Manifest Id="Manifest">
+ <dsig:Reference URI="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl">
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>nFsrjFH4fx13UtHEeaiuNAew5aA=</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:Manifest>
+ </dsig:Object>
+ <dsig:Object Id="ETSIProperties">
+ <etsi:QualifyingProperties Target="#signature" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#">
+ <etsi:SignedProperties>
+ <etsi:SignedSignatureProperties>
+ <etsi:SigningTime>2003-04-01T19:58:19+01:00</etsi:SigningTime>
+ <etsi:SigningCertificate>
+ <etsi:Cert>
+ <etsi:CertDigest>
+ <etsi:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <etsi:DigestValue>dL59VDpBsujcngd207z0ohPl1/U=</etsi:DigestValue>
+ </etsi:CertDigest>
+ <etsi:IssuerSerial>
+ <dsig:X509IssuerName>CN=IAIK Test CA,OU=IAIK Test CA,OU=Insitute for Applied Information Processing and Communications,O=GRAZ UNIVERSITY OF TECHNOLOGY,C=AT</dsig:X509IssuerName>
+ <dsig:X509SerialNumber>1044289238331</dsig:X509SerialNumber>
+ </etsi:IssuerSerial>
+ </etsi:Cert>
+ </etsi:SigningCertificate>
+ <etsi:SignaturePolicyIdentifier>
+ <etsi:SignaturePolicyImplied/>
+ </etsi:SignaturePolicyIdentifier>
+ </etsi:SignedSignatureProperties>
+ <etsi:SignedDataObjectProperties>
+ <etsi:DataObjectFormat ObjectReference="#reference-1">
+ <etsi:MimeType>text/html</etsi:MimeType>
+ </etsi:DataObjectFormat>
+ </etsi:SignedDataObjectProperties>
+ </etsi:SignedProperties>
+ </etsi:QualifyingProperties>
+ </dsig:Object>
+ </dsig:Signature></XMLContent>
+ </VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <SignatureManifestCheckParams ReturnReferenceInputData="true">
+ <ReferenceInfo>
+ <VerifyTransformsInfoProfile>
+ <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://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"/>
+ </xsl:stylesheet>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <TransformParameter URI="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl">
+ <Base64Content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHNsOnN0eWxl
+c2hlZXQgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFu
+c2Zvcm0iIHZlcnNpb249IjEuMCI+PHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIi8+
+PHhzbDp0ZW1wbGF0ZSBtYXRjaD0iZGF0YTpib29rIiB4bWxuczpkYXRhPSJodHRw
+Oi8vdXJpLmRhdGEub3JnIj48SFRNTD48Qk9EWT48SDE+QnVjaDogPHhzbDp2YWx1
+ZS1vZiBzZWxlY3Q9ImRhdGE6dGl0bGUiLz48L0gxPjwvQk9EWT48L0hUTUw+PC94
+c2w6dGVtcGxhdGU+PC94c2w6c3R5bGVzaGVldD4=</Base64Content>
+ </TransformParameter>
+ </VerifyTransformsInfoProfile>
+ </ReferenceInfo>
+ <ReferenceInfo>
+ <VerifyTransformsInfoProfile>
+ <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://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl"/>
+ </xsl:stylesheet>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <TransformParameter URI="http://10.16.46.109/TestDatenGenerator/resources/CX1_book.xsl">
+ <Base64Content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48eHNsOnN0eWxl
+c2hlZXQgeG1sbnM6eHNsPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L1hTTC9UcmFu
+c2Zvcm0iIHZlcnNpb249IjEuMCI+PHhzbDpvdXRwdXQgbWV0aG9kPSJodG1sIi8+
+PHhzbDp0ZW1wbGF0ZSBtYXRjaD0iZGF0YTpib29rIiB4bWxuczpkYXRhPSJodHRw
+Oi8vdXJpLmRhdGEub3JnIj48SFRNTD48Qk9EWT48SDE+QnVjaDogPHhzbDp2YWx1
+ZS1vZiBzZWxlY3Q9ImRhdGE6dGl0bGUiLz48L0gxPjwvQk9EWT48L0hUTUw+PC94
+c2w6dGVtcGxhdGU+PC94c2w6c3R5bGVzaGVldD4=</Base64Content>
+ </TransformParameter>
+ </VerifyTransformsInfoProfile>
+ </ReferenceInfo>
+ </SignatureManifestCheckParams>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.359.Req.xml b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.359.Req.xml
new file mode 100644
index 000000000..849c1b464
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/TestGeneratorVX.359.Req.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Testnumber: 359-->
+<VerifyXMLSignatureRequest
+ xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#"
+ xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2003-04-01T19:58:22+01:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment>
+ <XMLContent xml:space="preserve"><dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI="#xpointer(id('envelopedData')/node())"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>bluTLafswdmsDkwdNk/j/HVd1eo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>nK7gJ9m6E9MMl0DuL2m/F/wyrFc2V5wTV2eYj3UAO1qbFhQzKtbz4dKrV+4HlaxT
+u/1IbP+ZWvmylwNnsT+WSGAPGw5/L9YNUVkxRi14Pal6nHgx0Cr5zN48hd278jcg
+7kNgVHFHqutWLPXPVuTrR8C96JdFINiFdnCKEALsk+A=</dsig:SignatureValue><dsig:Object Id="envelopedData">Dies sind Testdaten
+2. Zeile
+3. Zeile
+aus</dsig:Object></dsig:Signature></XMLContent></VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <ReturnHashInputData/>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID.xml b/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID.xml
new file mode 100644
index 000000000..deb41a87f
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID.xml
@@ -0,0 +1,37 @@
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace"> <VerifySignatureInfo> <VerifySignatureEnvironment> <XMLContent xml:space="preserve"><saml:Assertion AssertionID="zmr.bmi.gv.at-AssertionID-2003-02-10T14:34:00.088" IssueInstant="2003-02-10T14:34:00.088" Issuer="http://zmr.bmi.gv.at/zmra/names#Issuer" MajorVersion="1" MinorVersion="0" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <saml:AttributeStatement>
+ <saml:Subject>
+ <saml:SubjectConfirmation>
+ <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:sender-vouches</saml:ConfirmationMethod>
+ <saml:SubjectConfirmationData>
+ <pr:Person xsi:type="pr:PhysicalPersonType">
+ <pr:Identification>
+ <pr:Value>000264107610</pr:Value>
+ <pr:Type>http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl</pr:Type>
+ </pr:Identification>
+ <pr:Name>
+ <pr:GivenName>Paul</pr:GivenName>
+ <pr:FamilyName primary="undefined">Ivancsics</pr:FamilyName>
+ </pr:Name>
+ <pr:DateOfBirth>1963-12-29</pr:DateOfBirth>
+ </pr:Person>
+ </saml:SubjectConfirmationData>
+ </saml:SubjectConfirmation>
+ </saml:Subject>
+ <saml:Attribute AttributeName="CitizenPublicKey" AttributeNamespace="http://www.buergerkarte.at/namespaces/personenbindung/20020506#">
+ <saml:AttributeValue>
+ <dsig:RSAKeyValue xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Modulus>tr/uFAdnHIsXqrb5MaweaIOnEHFbZESGPUxtYYrbg9xPIokLNNHSJRc+Rd/odZmi601604lj5EkX m8nQLVjaLLYT8ep91pR6U7EJPI5sNmNWUcGBWXHF6LTU5rThHRRun5Hrrr8FalDYyXd9tjXwvWU+ Qm0ohPboHnlo+Wl86mM=</dsig:Modulus>
+ <dsig:Exponent>AQAB</dsig:Exponent>
+ </dsig:RSAKeyValue>
+ </saml:AttributeValue>
+ </saml:Attribute>
+ <saml:Attribute AttributeName="CitizenPublicKey" AttributeNamespace="http://www.buergerkarte.at/namespaces/personenbindung/20020506#">
+ <saml:AttributeValue>
+ <dsig:RSAKeyValue xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Modulus>iVosMHmFSmIZjg549FIDZokgboM+dg9wSd7areBticT0RN7AI0eprMeSMHwbc41OmMlbyBC9pHHN yXdftjH2DpO1yNxG8ZNxDIL10TJXCEkqNGXVoUi6FW70+o5kgz4j/zlkISkRdjD74Dhe/ExY7cC6 uuq2W788D7nbz6tG2ts=</dsig:Modulus>
+ <dsig:Exponent>AQAB</dsig:Exponent>
+ </dsig:RSAKeyValue>
+ </saml:AttributeValue>
+ </saml:Attribute></saml:AttributeStatement>
+<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>not(ancestor-or-self::pr:Identification)</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>tEW27LHCMLltnWoEznBQhlSRdHc=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>ancestor-or-self::dsig:Manifest</dsig:XPath></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>TMQ82sCekPS+PFS8YaWHDRT+ky0=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>X5HrMC7WMTOGezepSJj49uV7uwWq8e8ChhPLRmVTOY7WV0cEl7NdLDwcTwq011bTACL66jCJZleS x5Ngo+MJGYtc+Kq5B/WwZieb65mb2nSXzrPNr5xno6+fTyFF1nf+u4vNUGxvexkc7lL1wnc6yYz6 30Keq7JN/u8E99+l2/o=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIEuTCCA6GgAwIBAgICFywwDQYJKoZIhvcNAQEFBQAwgZ8xCzAJBgNVBAYTAkFU MUgwRgYDVQQKEz9BLVRydXN0IEdlcy4gZi4gU2ljaGVyaGVpdHNzeXN0ZW1lIGlt IGVsZWt0ci4gRGF0ZW52ZXJrZWhyIEdtYkgxIjAgBgNVBAsTGWEtc2lnbi1jb3Jw b3JhdGUtbGlnaHQtMDExIjAgBgNVBAMTGWEtc2lnbi1jb3Jwb3JhdGUtbGlnaHQt MDEwHhcNMDMwMTA5MTc1NzIxWhcNMDYwMTA5MTc1NzIxWjA8MQswCQYDVQQGEwJB VDEMMAoGA1UEChMDQk1JMREwDwYDVQQLEwhCTUktSVYtMjEMMAoGA1UEAxMDem1y MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCm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rUMOcXvXqS0/7+6rfY5NVTX5rVfRmCWGAiK7u4rjEwXqtPB AOP/TtRVed1BqY3IHmrp9PxcuXElKOGIZ5A3lG0I6FUo2+VfEAw1d89oEjnPK7Gk eWRN1eWl78GlueNN9Q==</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>cTwSdrSyhdTDhe8wlqFCJyjcr+E=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature></saml:Assertion></XMLContent> </VerifySignatureEnvironment> <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation> </VerifySignatureInfo> <SignatureManifestCheckParams ReturnReferenceInputData="false"> <ReferenceInfo><VerifyTransformsInfoProfile><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>not(ancestor-or-self::pr:Identification)</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms></VerifyTransformsInfoProfile></ReferenceInfo></SignatureManifestCheckParams> <ReturnHashInputData/> <TrustProfileID>TrustProfile1</TrustProfileID></VerifyXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..14ec0d81f
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/VerifyXMLSignatureRequestID1.xml
@@ -0,0 +1,37 @@
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace"> <VerifySignatureInfo> <VerifySignatureEnvironment> <XMLContent xml:space="preserve"><saml:Assertion AssertionID="zmr.bmi.gv.at-AssertionID-2003-02-12T20:28:34.474" IssueInstant="2003-02-12T20:28:34.474" Issuer="http://zmr.bmi.gv.at/zmra/names#Issuer" MajorVersion="1" MinorVersion="0" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <saml:AttributeStatement>
+ <saml:Subject>
+ <saml:SubjectConfirmation>
+ <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:sender-vouches</saml:ConfirmationMethod>
+ <saml:SubjectConfirmationData>
+ <pr:Person xsi:type="pr:PhysicalPersonType">
+ <pr:Identification>
+ <pr:Value>123456789012</pr:Value>
+ <pr:Type>http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl</pr:Type>
+ </pr:Identification>
+ <pr:Name>
+ <pr:GivenName>Hermann</pr:GivenName>
+ <pr:FamilyName primary="undefined">Muster</pr:FamilyName>
+ </pr:Name>
+ <pr:DateOfBirth>1968-10-22</pr:DateOfBirth>
+ </pr:Person>
+ </saml:SubjectConfirmationData>
+ </saml:SubjectConfirmation>
+ </saml:Subject>
+ <saml:Attribute AttributeName="CitizenPublicKey" AttributeNamespace="http://www.buergerkarte.at/namespaces/personenbindung/20020506#">
+ <saml:AttributeValue>
+ <dsig:RSAKeyValue xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Modulus>0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a f2daYYuO8dycQw3xg6U=</dsig:Modulus>
+ <dsig:Exponent>AQAB</dsig:Exponent>
+ </dsig:RSAKeyValue>
+ </saml:AttributeValue>
+ </saml:Attribute>
+ <saml:Attribute AttributeName="CitizenPublicKey" AttributeNamespace="http://www.buergerkarte.at/namespaces/personenbindung/20020506#">
+ <saml:AttributeValue>
+ <dsig:RSAKeyValue xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Modulus>i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn pIpdAwR9sw5xnIvTySc=</dsig:Modulus>
+ <dsig:Exponent>AQAB</dsig:Exponent>
+ </dsig:RSAKeyValue>
+ </saml:AttributeValue>
+ </saml:Attribute></saml:AttributeStatement>
+<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>not(ancestor-or-self::pr:Identification)</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>s7TfoZrYo36OMdlxGxuIfAw/wr8=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>ancestor-or-self::dsig:Manifest</dsig:XPath></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>dO+RSn4xLHT3cuq8uopFtZyUBqo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz 5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP 3mZkRYWJDxxsVzI7E+Y=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3 +UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0 lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwEAAaOB2zCB2DAPBgNVHRMBAf8E BTADAQH/MA4GA1UdDwEB/wQEAwIBBjBdBgNVHSAEVjBUMFIGDCsGAQQBlRIBAn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WVuc3Qg 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=</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>BqzfCB7dNg4G3u4YaxpD1tALdKI=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature></saml:Assertion></XMLContent> </VerifySignatureEnvironment> <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation> </VerifySignatureInfo> <SignatureManifestCheckParams ReturnReferenceInputData="false"> <ReferenceInfo><VerifyTransformsInfoProfile><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>not(ancestor-or-self::pr:Identification)</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms></VerifyTransformsInfoProfile></ReferenceInfo></SignatureManifestCheckParams> <ReturnHashInputData/> <TrustProfileID>TrustProfile1</TrustProfileID></VerifyXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..e66f3e268
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request1.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace">
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment><XMLContent xml:space="preserve"><saml:Assertion AssertionID="zmr.bmi.gv.at-AssertionID-2003-02-12T20:28:34.474" IssueInstant="2003-02-12T20:28:34.474" Issuer="http://zmr.bmi.gv.at/zmra/names#Issuer" MajorVersion="1" MinorVersion="0" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <saml:AttributeStatement>
+ <saml:Subject>
+ <saml:SubjectConfirmation>
+ <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:sender-vouches</saml:ConfirmationMethod>
+ <saml:SubjectConfirmationData>
+ <pr:Person xsi:type="pr:PhysicalPersonType">
+ <pr:Identification>
+ <pr:Value>123456789012</pr:Value>
+ <pr:Type>http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl</pr:Type>
+ </pr:Identification>
+ <pr:Name>
+ <pr:GivenName>Hermann</pr:GivenName>
+ <pr:FamilyName primary="undefined">Muster</pr:FamilyName>
+ </pr:Name>
+ <pr:DateOfBirth>1968-10-22</pr:DateOfBirth>
+ </pr:Person>
+ </saml:SubjectConfirmationData>
+ </saml:SubjectConfirmation>
+ </saml:Subject>
+ <saml:Attribute AttributeName="CitizenPublicKey" AttributeNamespace="http://www.buergerkarte.at/namespaces/personenbindung/20020506#">
+ <saml:AttributeValue>
+ <dsig:RSAKeyValue xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Modulus>0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a f2daYYuO8dycQw3xg6U=</dsig:Modulus>
+ <dsig:Exponent>AQAB</dsig:Exponent>
+ </dsig:RSAKeyValue>
+ </saml:AttributeValue>
+ </saml:Attribute>
+ <saml:Attribute AttributeName="CitizenPublicKey" AttributeNamespace="http://www.buergerkarte.at/namespaces/personenbindung/20020506#">
+ <saml:AttributeValue>
+ <dsig:RSAKeyValue xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Modulus>i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn pIpdAwR9sw5xnIvTySc=</dsig:Modulus>
+ <dsig:Exponent>AQAB</dsig:Exponent>
+ </dsig:RSAKeyValue>
+ </saml:AttributeValue>
+ </saml:Attribute>
+ </saml:AttributeStatement>
+ <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:SignedInfo>
+ <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
+ <dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
+ <dsig:Reference URI="">
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
+ <dsig:XPath>not(ancestor-or-self::pr:Identification)</dsig:XPath>
+ </dsig:Transform>
+ <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
+ </dsig:Transforms>
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>s7TfoZrYo36OMdlxGxuIfAw/wr8=</dsig:DigestValue>
+ </dsig:Reference>
+ <dsig:Reference Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="">
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
+ <dsig:XPath>ancestor-or-self::dsig:Manifest</dsig:XPath>
+ </dsig:Transform>
+ </dsig:Transforms>
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>dO+RSn4xLHT3cuq8uopFtZyUBqo=</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:SignedInfo>
+ <dsig:SignatureValue>MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz 5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP 3mZkRYWJDxxsVzI7E+Y=</dsig:SignatureValue>
+ <dsig:KeyInfo>
+ <dsig:X509Data>
+ <dsig:X509Certificate>MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MD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BBQUHAgIwNBoyRGllc2VzIFplcnRpZmlrYXQgaXN0IG51ciBm/HIg VGVzdHp3ZWNrZSBnZWVpZ25ldC4wHQYDVR0OBBYEFIpEyv43H3EtiGr4I7Z34bWj v2z6MBYGByooAAoBAQEECwwJQk1PTFMtSUtUMB8GA1UdIwQYMBaAFJ5Fa9R/ESMp lJ/EiYmv9+kEO0yZMAkGBSsOAwIdBQADgYEAfMBJRy/kp8HQa0lGIBfFrWNpxVPv RsIu+N4IiFrswrsoQoMAh6IqNyzSdq7rJC08xsDkXe5HOwkb+2zGKYoC3aQ/J/zr BGkg6ec4tOaS/VSdEQeTL1L30r2faTffWLUV3GrzL7pM7jN470hB1w8F6Hc3LCI7 kFfp23o/juVtJNw=</dsig:X509Certificate>
+ </dsig:X509Data>
+ </dsig:KeyInfo>
+ <dsig:Object>
+ <dsig:Manifest>
+ <dsig:Reference URI="">
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
+ </dsig:Transforms>
+ <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <dsig:DigestValue>BqzfCB7dNg4G3u4YaxpD1tALdKI=</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:Manifest>
+ </dsig:Object>
+ </dsig:Signature>
+ </saml:Assertion></XMLContent>
+ </VerifySignatureEnvironment>
+ <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation>
+ </VerifySignatureInfo>
+ <SignatureManifestCheckParams ReturnReferenceInputData="false">
+ <ReferenceInfo>
+ <VerifyTransformsInfoProfile>
+ <dsig:Transforms>
+ <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
+ <dsig:XPath>not(ancestor-or-self::pr:Identification)</dsig:XPath>
+ </dsig:Transform>
+ <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
+ </dsig:Transforms>
+ </VerifyTransformsInfoProfile>
+ </ReferenceInfo>
+ </SignatureManifestCheckParams>
+ <ReturnHashInputData/>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+ </VerifyXMLSignatureRequest>
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request2.xml b/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request2.xml
new file mode 100644
index 000000000..d81cf6158
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/moa-id-request2.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace"> <VerifySignatureInfo> <VerifySignatureEnvironment> <XMLContent xml:space="preserve"><saml:Assertion AssertionID="any" IssueInstant="2003-04-02T14:55:27+02:00" Issuer="Hermann Muster" MajorVersion="1" MinorVersion="0" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
+ <saml:AttributeStatement>
+ <saml:Subject>
+ <saml:NameIdentifier>http://localhost:8080/moa-id-auth/</saml:NameIdentifier>
+ </saml:Subject>
+ <saml:Attribute AttributeName="Geschäftsbereich" AttributeNamespace="http://reference.e-government.gv.at/namespace/moa/20020822#">
+ <saml:AttributeValue>gb</saml:AttributeValue>
+ </saml:Attribute>
+ <saml:Attribute AttributeName="OA" AttributeNamespace="http://reference.e-government.gv.at/namespace/moa/20020822#">
+ <saml:AttributeValue>https://localhost:9443/</saml:AttributeValue>
+ </saml:Attribute>
+ </saml:AttributeStatement><dsig:Signature Id="HS_signature" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-data-1" URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml">
+<html>
+<body>
+Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben:
+<br/>
+<table border="1">
+<tr><td><b>Name:</b></td><td><xsl:value-of select="//@Issuer"/></td></tr>
+<tr><td><b>Zeit:</b></td><td><xsl:value-of select="//@IssueInstant"/></td></tr>
+<tr><td><b>Applikation:</b></td><td><xsl:value-of select="//saml:Attribute[@AttributeName=&apos;OA&apos;]/saml:AttributeValue"/></td></tr>
+<tr><td><b>Geschäftsbereich:</b></td><td><xsl:value-of select="//saml:Attribute[@AttributeName=&apos;Gesch&#228;ftsbereich&apos;]/saml:AttributeValue"/></td></tr>
+<tr><td><b>Anmeldeserver:</b></td><td><xsl:value-of select="//saml:NameIdentifier"/></td></tr>
+</table>
+</body>
+</html>
+</xsl:template>
+</xsl:stylesheet></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>us9gT0wkEOgg2KCLGT5Z4i0tW30=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties" URI="#refetsi"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"><xf2:XPath Filter="intersect" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#" xmlns:xf2="http://www.w3.org/2002/06/xmldsig-filter2">id(&apos;refetsi&apos;)/etsi:QualifyingProperties/etsi:SignedProperties</xf2:XPath></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>c/r6XEssLoHZerXUdQQUKvZ/aVY=</dsig:DigestValue></dsig:Re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1c3QuYXQ6ODIv 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==</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object Id="refetsi"><etsi:QualifyingProperties Target="#HS_signature" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#"><etsi:SignedProperties><etsi:SignedSignatureProperties><etsi:SigningTime>2003-04-02T12:55:33Z</etsi:SigningTime><etsi:SigningCertificate><etsi:Cert><etsi:CertDigest><etsi:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><etsi:DigestValue>Frhu1o4mL4gQHdJcU0xSA/h4COE=</etsi:DigestValue></etsi:CertDigest><etsi:IssuerSerial><dsig:X509IssuerName>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</dsig:X509IssuerName><dsig:X509SerialNumber>6455</dsig:X509SerialNumber></etsi:IssuerSerial></etsi:Cert></etsi:SigningCertificate><etsi:SignaturePolicyIdentifier><etsi:SignaturePolicyImplied/></etsi:SignaturePolicyIdentifier></etsi:SignedSignatureProperties><etsi:SignedDataObjectProperties><etsi:DataObjectFormat ObjectReference="#reference-data-1"><etsi:MimeType>text/html</etsi:MimeType></etsi:DataObjectFormat></etsi:SignedDataObjectProperties></etsi:SignedProperties></etsi:QualifyingProperties></dsig:Object></dsig:Signature>
+</saml:Assertion></XMLContent> </VerifySignatureEnvironment> <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation> </VerifySignatureInfo> <SignatureManifestCheckParams ReturnReferenceInputData="true"> <ReferenceInfo> <VerifyTransformsInfoProfileID>TransformsInfoProfile1MOAID</VerifyTransformsInfoProfileID> </ReferenceInfo> </SignatureManifestCheckParams> <ReturnHashInputData/> <TrustProfileID>TrustProfile1</TrustProfileID></VerifyXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..9f4789cb1
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyXMLSignature/testsig.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xml="http://www.w3.org/XML/1998/namespace"> <VerifySignatureInfo> <VerifySignatureEnvironment>
+<XMLContent xml:space="preserve"><saml:Assertion AssertionID="zmr.bmi.gv.at-AssertionID-2003-02-12T20:28:34.474" IssueInstant="2003-02-12T20:28:34.474" Issuer="http://zmr.bmi.gv.at/zmra/names#Issuer" MajorVersion="1" MinorVersion="0" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <saml:AttributeStatement>
+ <saml:Subject>
+ <saml:SubjectConfirmation>
+ <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:sender-vouches</saml:ConfirmationMethod>
+ <saml:SubjectConfirmationData>
+ <pr:Person xsi:type="pr:PhysicalPersonType">
+ <pr:Identification>
+ <pr:Value>123456789012</pr:Value>
+ <pr:Type>http://reference.e-government.gv.at/names/persondata/20020228#zmr-zahl</pr:Type>
+ </pr:Identification>
+ <pr:Name>
+ <pr:GivenName>Hermann</pr:GivenName>
+ <pr:FamilyName primary="undefined">Muster</pr:FamilyName>
+ </pr:Name>
+ <pr:DateOfBirth>1968-10-22</pr:DateOfBirth>
+ </pr:Person>
+ </saml:SubjectConfirmationData>
+ </saml:SubjectConfirmation>
+ </saml:Subject>
+ <saml:Attribute AttributeName="CitizenPublicKey" AttributeNamespace="http://www.buergerkarte.at/namespaces/personenbindung/20020506#">
+ <saml:AttributeValue>
+ <dsig:RSAKeyValue xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Modulus>0v1Ftf7WXgoexx0Jo/GrlExHOHnQIEQ5FFSjptLRd5BN1mZYRg2S9KfOMbHSCsiPm8AwjAEwE5EM
+A6P18Z/YyTIuP7fNGzckbB5PYIgNMHL8/TYJhHA8CjamsBrEfYDXivE8iAvALg5I9RMLZADmzL7a
+f2daYYuO8dycQw3xg6U=</dsig:Modulus>
+ <dsig:Exponent>AQAB</dsig:Exponent>
+ </dsig:RSAKeyValue>
+ </saml:AttributeValue>
+ </saml:Attribute>
+ <saml:Attribute AttributeName="CitizenPublicKey" AttributeNamespace="http://www.buergerkarte.at/namespaces/personenbindung/20020506#">
+ <saml:AttributeValue>
+ <dsig:RSAKeyValue xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Modulus>i2qa56X4fpYeXqFLXAcQljGU3+DWnVgNrAxI9gn2bMeFWtLXE2SFa6qvl9EymUl0noBlFn0q9DWp
+AsyeLnRhzCAXJeSxiwsUEloOvcQCV0DfW2UVq0Y9bVlJ8KifJ2AS+5BxZ21mkc/VYx5Qz6EYjPrn
+pIpdAwR9sw5xnIvTySc=</dsig:Modulus>
+ <dsig:Exponent>AQAB</dsig:Exponent>
+ </dsig:RSAKeyValue>
+ </saml:AttributeValue>
+ </saml:Attribute></saml:AttributeStatement>
+<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>not(ancestor-or-self::pr:Identification)</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>s7TfoZrYo36OMdlxGxuIfAw/wr8=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>ancestor-or-self::dsig:Manifest</dsig:XPath></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>dO+RSn4xLHT3cuq8uopFtZyUBqo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>MFbZ5wA5cq0UezYFDXted5uqXubWFxxRwZawGh73XEAGxAbJsT/IEQmrTQThPRHNWW5RPGxVlPDz
+5BmjberdaWlgJlbyKf3b/WpNNJYptQ7ijrXlsQoCzjfiQy37NEfvHEcxHQOA6sa42C+dFKsKIvmP
+3mZkRYWJDxxsVzI7E+Y=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDaDCCAtWgAwIBAgIBADAJBgUrDgMCHQUAMIGOMQswCQYDVQQGEwJBVDE9MDsG
+A1UEChQ0QnVuZGVzbWluaXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5n
+IHVuZCBTcG9ydDEjMCEGA1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMx
+GzAZBgNVBAMTEk1PQSBUZXN0IENBIC0gUm9vdDAeFw0wMzAyMTExNTE5NDRaFw0w
+MzEyMzEyMjU5MzBaMIGOMQswCQYDVQQGEwJBVDE9MDsGA1UEChQ0QnVuZGVzbWlu
+aXN0ZXJpdW0gZvxyIPZmZmVudGxpY2hlIExlaXN0dW5nIHVuZCBTcG9ydDEjMCEG
+A1UECxMaSUtULVN0YWJzc3RlbGxlIGRlcyBCdW5kZXMxGzAZBgNVBAMTEk1PQSBU
+ZXN0IENBIC0gUm9vdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAjHuFphE3
++UkTe2OcIFWUDLzhPl1j2dH4sMPAhDK09/0i+aWrdtQW9yHktu/7+LTiCiPeevT0
+lGMGDcWMSoSm66tYmpxei6YojCFIaVdJFtXZ7x1o7e7jTDVRLMfdZ5lI1sQ7loIY
+hOE0OmlYOkn4AI6xMtJtsca45rV8wW7qm8kCAwE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NVBAYTAkFUMSYwJAYDVQQK
+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=</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>BqzfCB7dNg4G3u4YaxpD1tALdKI=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature></saml:Assertion></XMLContent> </VerifySignatureEnvironment> <VerifySignatureLocation>//dsig:Signature</VerifySignatureLocation> </VerifySignatureInfo> <SignatureManifestCheckParams ReturnReferenceInputData="false"> <ReferenceInfo><VerifyTransformsInfoProfile><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath>not(ancestor-or-self::pr:Identification)</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms></VerifyTransformsInfoProfile></ReferenceInfo></SignatureManifestCheckParams> <ReturnHashInputData/> <TrustProfileID>TrustProfile1</TrustProfileID></VerifyXMLSignatureRequest> \ 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
new file mode 100644
index 000000000..12aba6e6e
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/base64.xml
@@ -0,0 +1,3 @@
+<dsig:Transforms xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/2000/09/xmldsig#base64">
+</dsig:Transforms> \ 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
new file mode 100644
index 000000000..15edd7a96
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/canonicalization.xml
@@ -0,0 +1,3 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315">
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..6e608b6c4
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/canonicalizationWithComments.xml
@@ -0,0 +1,3 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments">
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..4f749feb5
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/enveloped.xml
@@ -0,0 +1,3 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature">
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..33905b8e2
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/exclusiveCanonicalization.xml
@@ -0,0 +1,5 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
+ <ec:InclusiveNamespaces PrefixList="dsig soap #default"
+ xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..a0ae610aa
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/illegalAlgorithm.xml
@@ -0,0 +1,3 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/2000/09/reallyNothingLegal">
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..5c923362f
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/transforms.xml
@@ -0,0 +1,26 @@
+<dsig:Transforms xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64">
+ </dsig:Transform>
+ <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="html"/>
+ <xsl:template match="book">
+ <H1>Buch: <xsl:value-of select="title"/> </H1>
+ <H2>Autor: <xsl:value-of select="author"/> </H2>
+ <P>
+ <B>Geboren am:</B>
+ <xsl:value-of select="birth-date"/>
+ <B>Ort:</B>
+ <xsl:value-of select="birth-location"/>
+ </P>
+ <P>
+ <B>ISBN-Nummer:</B>
+ <xsl:value-of select="register-number"/>
+ </P>
+ </xsl:template>
+ </xsl:stylesheet>
+ </dsig:Transform>
+ <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
+ <dsig:XPath>//ToBeSigned/Data</dsig:XPath>
+ </dsig:Transform>
+</dsig:Transforms> \ 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
new file mode 100644
index 000000000..f8f781301
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/xpath.xml
@@ -0,0 +1,4 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
+ <dsig:XPath>//ToBeSigned/Data</dsig:XPath>
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..912e714b3
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/xpath2.xml
@@ -0,0 +1,7 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2"
+ Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
+ <dsig-xpath:XPath Filter="intersect">//ToBeSigned</dsig-xpath:XPath>
+ <dsig-xpath:XPath Filter="subtract">//NotToBeSigned</dsig-xpath:XPath>
+ <dsig-xpath:XPath Filter="union">//ReallyToBeSigned</dsig-xpath:XPath>
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..616d80f7a
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/xpath2Different.xml
@@ -0,0 +1,6 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2"
+ Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
+ <dsig-xpath:XPath Filter="intersect">//ToBeSigned</dsig-xpath:XPath>
+ <dsig-xpath:XPath Filter="union">//ReallyToBeSigned</dsig-xpath:XPath>
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..4b2c52da5
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/xpathDifferent.xml
@@ -0,0 +1,4 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
+ <dsig:XPath>//ToBeSigned/MoreData</dsig:XPath>
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..5a8135bd9
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/xslt.xml
@@ -0,0 +1,20 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="html"/>
+ <xsl:template match="book">
+ <H1>Buch: <xsl:value-of select="title"/> </H1>
+ <H2>Autor: <xsl:value-of select="author"/> </H2>
+ <P>
+ <B>Geboren am:</B>
+ <xsl:value-of select="birth-date"/>
+ <B>Ort:</B>
+ <xsl:value-of select="birth-location"/>
+ </P>
+ <P>
+ <B>ISBN-Nummer:</B>
+ <xsl:value-of select="register-number"/>
+ </P>
+ </xsl:template>
+ </xsl:stylesheet>
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..81972e9db
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/xsltDifferent.xml
@@ -0,0 +1,16 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="html"/>
+ <xsl:template match="book">
+ <H1>Buch: <xsl:value-of select="title"/> </H1>
+ <H2>Autor: <xsl:value-of select="author"/> </H2>
+ <P>
+ <B>Geboren am:</B>
+ <xsl:value-of select="birth-date"/>
+ <B>Ort:</B>
+ <xsl:value-of select="birth-location"/>
+ </P>
+ </xsl:template>
+ </xsl:stylesheet>
+</dsig:Transform> \ 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
new file mode 100644
index 000000000..6ec14616f
--- /dev/null
+++ b/spss.server/data/test/xml/dsigTransform/xsltEqual.xml
@@ -0,0 +1,20 @@
+<dsig:Transform xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="html" />
+ <xsl:template match="book" >
+ <H1>Buch: <xsl:value-of select="title"/> </H1>
+ <H2>Autor: <xsl:value-of select="author"/> </H2>
+ <P>
+ <B>Geboren am:</B>
+ <xsl:value-of select="birth-date"/>
+ <B>Ort:</B>
+ <xsl:value-of select="birth-location"/>
+ </P>
+ <P>
+ <B>ISBN-Nummer:</B>
+ <xsl:value-of select="register-number"/>
+ </P>
+ </xsl:template>
+ </xsl:stylesheet>
+</dsig:Transform> \ No newline at end of file