diff options
Diffstat (limited to 'spss.server/data/test/xml/dsigTransform')
14 files changed, 123 insertions, 0 deletions
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 |