aboutsummaryrefslogtreecommitdiff
path: root/spss.server/data/test/xml/CreateXMLSignature
diff options
context:
space:
mode:
Diffstat (limited to 'spss.server/data/test/xml/CreateXMLSignature')
-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
24 files changed, 444 insertions, 0 deletions
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