aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spss.slinterface/pages/test/bildspeicher/bild2.jpgbin0 -> 634 bytes
-rw-r--r--spss.slinterface/pages/test/dataURL.jsp48
-rw-r--r--spss.slinterface/pages/test/forms/verify.default.jsp99
-rw-r--r--spss.slinterface/pages/test/forms/verify.slxhtml.jsp99
-rw-r--r--spss.slinterface/pages/test/stylesheet.xsl29
5 files changed, 264 insertions, 11 deletions
diff --git a/spss.slinterface/pages/test/bildspeicher/bild2.jpg b/spss.slinterface/pages/test/bildspeicher/bild2.jpg
new file mode 100644
index 000000000..24e45d182
--- /dev/null
+++ b/spss.slinterface/pages/test/bildspeicher/bild2.jpg
Binary files differ
diff --git a/spss.slinterface/pages/test/dataURL.jsp b/spss.slinterface/pages/test/dataURL.jsp
index c2b62697f..affef5022 100644
--- a/spss.slinterface/pages/test/dataURL.jsp
+++ b/spss.slinterface/pages/test/dataURL.jsp
@@ -1,4 +1,4 @@
-<%@ page contentType="text/html; charset=UTF-8" %>
+<%@ page contentType="text/html; ISO-8859-1" %>
<jsp:useBean
id="dataURLResult"
@@ -6,13 +6,39 @@
</jsp:useBean>
<html>
- <head>
- <head><title><jsp:getProperty name="dataURLResult" property="title"/></title></head>
- </head>
- <body>
- <h1>Content-Type</h1>
- <p><pre><jsp:getProperty name="dataURLResult" property="contentType"/></pre></p>
- <h1>Content</h1>
- <p><pre><jsp:getProperty name="dataURLResult" property="content"/></pre></p>
- </body>
-</html> \ No newline at end of file
+<head>
+ <title>Testanwendung für MOA SL - Resultat</title>
+</head>
+ <body>
+<form action="" method="post">
+<table width="800px" align="center">
+<tr>
+<td>
+<h1 align="center">Testanwendung für MOA SL - Resultat</h1>
+<p align="center">Die folgenden Daten wurden von MOA SL als Ergebnis gesendet.</p>
+<table bgcolor="#eeeeee" width="790px" border="1" cellpadding="3">
+<tr>
+<td>Content-Type</td>
+<td>
+<textarea name="DataURL" cols="80" rows="1">
+<jsp:getProperty name="dataURLResult" property="contentType"/>
+</textarea>
+<td>
+</tr>
+<tr>
+<td>Inhalt</td>
+<td>
+<textarea name="XMLRequest" cols=80 rows=20>
+<jsp:getProperty name="dataURLResult" property="content"/>
+</textarea>
+</td>
+</tr>
+</table>
+<p align="center">
+</p>
+</td>
+</tr>
+</table>
+</form>
+</body>
+</html>
diff --git a/spss.slinterface/pages/test/forms/verify.default.jsp b/spss.slinterface/pages/test/forms/verify.default.jsp
new file mode 100644
index 000000000..5392e0df8
--- /dev/null
+++ b/spss.slinterface/pages/test/forms/verify.default.jsp
@@ -0,0 +1,99 @@
+<%@ page contentType="text/html; ISO-8859-1" %>
+
+<jsp:useBean
+ id="initPropertiesBean"
+ class="at.gv.egovernment.moa.spss.slinterface.beans.InitPropertiesBean" scope="application">
+</jsp:useBean>
+
+<html>
+<head>
+ <title>Testanwendung für MOA SL</title>
+</head>
+ <body>
+<form action="<% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/http-security-layer-request" method="post">
+<table width="800px" align="center">
+<tr>
+<td>
+<h1 align="center">Testanwendung für MOA SL</h1>
+<p align="center">Das signierte Dokument ist kein Security-Layer XHTML Dokument.</p>
+<table bgcolor="#eeeeee" width="790px" border="1" cellpadding="3">
+<tr>
+<td>Signaturprüfungsrequest</td>
+<td>
+<textarea name="XMLRequest" cols=80 rows=20>
+&lt;?xml version="1.0" encoding="UTF-8"?>
+&lt;VerifyXMLSignatureRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/20031231#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:sl10="http://www.buergerkarte.at/namespaces/securitylayer/20020225#" xmlns:sl11="http://www.buergerkarte.at/namespaces/securitylayer/20020831#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ &lt;SignatureInfo>
+ &lt;SignatureEnvironment>
+ &lt;XMLContent>
+&lt;dsig:Signature Id="signature-1-1" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">&lt;dsig:SignedInfo>&lt;dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>&lt;dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>&lt;dsig:Reference Id="reference-1-1" URI="xmlDocument.xml">&lt;dsig:Transforms>&lt;dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ &lt;xsl:import href="stylesheet.xsl"/>
+ &lt;/xsl:stylesheet>&lt;/dsig:Transform>&lt;dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>&lt;/dsig:Transforms>&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>qWbsEi/iFwXaXZvCBanbFu7poqQ=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;dsig:Reference Id="reference-1-2" URI="bild1.gif">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>mCGwDv9ku7uHVbL4bkNC8o52LrE=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;dsig:Reference Id="reference-1-3" URI="bild2.jpg">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>Jc6oVCCGjgvFFYQR6jklGkGL4l4=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;dsig:Reference Type="http://www.buergerkarte.at/specifications/Securitylayer/20020225#SignatureManifest" URI="#manifest-1-1">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>8HbxBKILDNRUeewGlObTKbBsB18=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;dsig:Reference Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties" URI="#xmlns(etsi=http://uri.etsi.org/01903/v1.1.1%23)%20xpointer(id(&apos;etsi-signed-1-1&apos;)/child::etsi:QualifyingProperties/child::etsi:SignedProperties)">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>hgityh9+8rEQjPzU0+6R/6rol3k=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;/dsig:SignedInfo>&lt;dsig:SignatureValue>AfkIFItBFm9bTyciEQFwd+nx/5wfuDzAOPhfgEl8s8OVeyL/ZH99+4inrDTcrM6E
+yhnKu/OZYfBdZicia9SGwXtnXabaUrOu/yMoxyh0DYoJY0ujLZFr6ywg4vZkM6X3
+tif5UrwAlSqnfJquT203GqpOS6euTZW86RRnvdR/4Jc=&lt;/dsig:SignatureValue>&lt;dsig:KeyInfo>&lt;dsig:X509Data>&lt;dsig:X509Certificate>MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE
+CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh
+bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE
+AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow
+gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD
+SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp
+b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk
+ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV
+IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t
+ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx
+26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC
+MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe
+MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh
+dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8
+BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf
+dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV
+HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m
+zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL
+o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT
+V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1&lt;/dsig:X509Certificate>&lt;/dsig:X509Data>&lt;/dsig:KeyInfo>&lt;dsig:Object>&lt;dsig:Manifest Id="manifest-1-1">&lt;dsig:Reference URI="stylesheet.xsl">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>/KjC84jSkt2ZHN35vNKXBvI2p80=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;/dsig:Manifest>&lt;/dsig:Object>&lt;dsig:Object Id="etsi-signed-1-1">&lt;etsi:QualifyingProperties Target="#signature-1-1" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#">&lt;etsi:SignedProperties>&lt;etsi:SignedSignatureProperties>&lt;etsi:SigningTime>2003-12-03T11:51:13&lt;/etsi:SigningTime>&lt;etsi:SigningCertificate>&lt;etsi:Cert>&lt;etsi:CertDigest>&lt;etsi:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;etsi:DigestValue>dL59VDpBsujcngd207z0ohPl1/U=&lt;/etsi:DigestValue>&lt;/etsi:CertDigest>&lt;etsi:IssuerSerial>&lt;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&lt;/dsig:X509IssuerName>&lt;dsig:X509SerialNumber>1044289238331&lt;/dsig:X509SerialNumber>&lt;/etsi:IssuerSerial>&lt;/etsi:Cert>&lt;/etsi:SigningCertificate>&lt;etsi:SignaturePolicyIdentifier>&lt;etsi:SignaturePolicyImplied/>&lt;/etsi:SignaturePolicyIdentifier>&lt;/etsi:SignedSignatureProperties>&lt;etsi:SignedDataObjectProperties>&lt;etsi:DataObjectFormat ObjectReference="#reference-1-1">&lt;etsi:MimeType>text/html&lt;/etsi:MimeType>&lt;/etsi:DataObjectFormat>&lt;etsi:DataObjectFormat ObjectReference="#reference-1-2">&lt;etsi:MimeType>img/gif&lt;/etsi:MimeType>&lt;/etsi:DataObjectFormat>&lt;etsi:DataObjectFormat ObjectReference="#reference-1-3">&lt;etsi:MimeType>img/jpg&lt;/etsi:MimeType>&lt;/etsi:DataObjectFormat>&lt;/etsi:SignedDataObjectProperties>&lt;/etsi:SignedProperties>&lt;/etsi:QualifyingProperties>&lt;/dsig:Object>&lt;/dsig:Signature>
+ &lt;/XMLContent>
+ &lt;/SignatureEnvironment>
+ &lt;SignatureLocation>/dsig:Signature&lt;/SignatureLocation>
+ &lt;/SignatureInfo>
+ &lt;Supplement>
+ &lt;Content Reference="stylesheet.xsl">
+ &lt;LocRefContent><% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/pages/test/stylesheet.xsl&lt;/LocRefContent>
+ &lt;/Content>
+ &lt;/Supplement>
+ &lt;Supplement>
+ &lt;Content Reference="xmlDocument.xml">
+ &lt;XMLContent>
+ &lt;XMLDarstellung xmlns="urn:instance">Etwas Text. Dann kommt das erste Bild.&lt;Bild Reference="bild1.gif"/>Wieder etwas Text. Dann kommt das zweite Bild.&lt;Bild Reference="bild2.jpg"/>Und noch ein wenig finaler Text.&lt;/XMLDarstellung>
+ &lt;/XMLContent>
+ &lt;/Content>
+ &lt;/Supplement>
+ &lt;Supplement>
+ &lt;Content Reference="bild1.gif">
+ &lt;Base64Content>R0lGODlhHgAPAJEAAAD/AAAAAAAAAAAAACwAAAAAHgAPAAAIJAABCBxIsKDBgwgTKlzIsKHD
+hxAjSpxIsaLFixgzatzIsePDgAA7&lt;/Base64Content>
+ &lt;/Content>
+ &lt;/Supplement>
+ &lt;Supplement>
+ &lt;Content Reference="bild2.jpg">
+ &lt;LocRefContent><% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/pages/test/bildspeicher/bild2.jpg&lt;/LocRefContent>
+ &lt;/Content>
+ &lt;/Supplement>
+&lt;/VerifyXMLSignatureRequest>
+</textarea>
+</td>
+</tr>
+<tr>
+<td>DataURL</td>
+<td><input name="DataURL" value="<% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/dataurl" size=70/>
+</td>
+</tr>
+</table>
+<p align="center">
+<input type="submit">
+</p>
+</td>
+</tr>
+</table>
+</form>
+</body>
+</html>
diff --git a/spss.slinterface/pages/test/forms/verify.slxhtml.jsp b/spss.slinterface/pages/test/forms/verify.slxhtml.jsp
new file mode 100644
index 000000000..2dfd90a5b
--- /dev/null
+++ b/spss.slinterface/pages/test/forms/verify.slxhtml.jsp
@@ -0,0 +1,99 @@
+<%@ page contentType="text/html; ISO-8859-1" %>
+
+<jsp:useBean
+ id="initPropertiesBean"
+ class="at.gv.egovernment.moa.spss.slinterface.beans.InitPropertiesBean" scope="application">
+</jsp:useBean>
+
+<html>
+<head>
+ <title>Testanwendung für MOA SL</title>
+</head>
+ <body>
+<form action="<% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/http-security-layer-request" method="post">
+<table width="800px" align="center">
+<tr>
+<td>
+<h1 align="center">Testanwendung für MOA SL</h1>
+<p align="center">Das signierte Dokument ist ein Security-Layer XHTML Dokument.</p>
+<table bgcolor="#eeeeee" width="790px" border="1" cellpadding="3">
+<tr>
+<td>Signaturprüfungsrequest</td>
+<td>
+<textarea name="XMLRequest" cols=80 rows=20>
+&lt;?xml version="1.0" encoding="UTF-8"?>
+&lt;VerifyXMLSignatureRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/20031231#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:sl10="http://www.buergerkarte.at/namespaces/securitylayer/20020225#" xmlns:sl11="http://www.buergerkarte.at/namespaces/securitylayer/20020831#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ &lt;SignatureInfo>
+ &lt;SignatureEnvironment>
+ &lt;XMLContent>
+&lt;dsig:Signature Id="signature-1-1" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">&lt;dsig:SignedInfo>&lt;dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>&lt;dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>&lt;dsig:Reference Id="reference-1-1" URI="xmlDocument.xml">&lt;dsig:Transforms>&lt;dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ &lt;xsl:import href="stylesheet.xsl"/>
+ &lt;/xsl:stylesheet>&lt;/dsig:Transform>&lt;dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>&lt;/dsig:Transforms>&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>qWbsEi/iFwXaXZvCBanbFu7poqQ=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;dsig:Reference Id="reference-1-2" Type="http://www.buergerkarte.at/specifications/Security-Layer/20031113?Name=SignedImage&amp;amp;InstanceDocRef=0" URI="bild1.gif">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>mCGwDv9ku7uHVbL4bkNC8o52LrE=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;dsig:Reference Id="reference-1-3" Type="http://www.buergerkarte.at/specifications/Security-Layer/20031113?Name=SignedImage&amp;amp;InstanceDocRef=0" URI="bild2.jpg">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>Jc6oVCCGjgvFFYQR6jklGkGL4l4=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;dsig:Reference Type="http://www.buergerkarte.at/specifications/Securitylayer/20020225#SignatureManifest" URI="#manifest-1-1">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>8HbxBKILDNRUeewGlObTKbBsB18=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;dsig:Reference Type="http://uri.etsi.org/01903/v1.1.1#SignedProperties" URI="#xmlns(etsi=http://uri.etsi.org/01903/v1.1.1%23)%20xpointer(id(&apos;etsi-signed-1-1&apos;)/child::etsi:QualifyingProperties/child::etsi:SignedProperties)">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>QixjzDGm3YVNnrWBVdkNLlp2Pmk=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;/dsig:SignedInfo>&lt;dsig:SignatureValue>wAt9rJy+7xx4b5VcMyGC9iwAtK+bHpMrqsiz5fLyXQJ11Iq+ME/yHhglv3u3cp6d
+BCsNAuMacqEM0qGJ2xoIaxVPS5QIPJoF6KuS7t4rPGRW9g04EgE8xyRkH6qyxP9J
+ilfBOISA/1GJcEejFeJdOkTLFrH7toE+IqB2fEl7eKs=&lt;/dsig:SignatureValue>&lt;dsig:KeyInfo>&lt;dsig:X509Data>&lt;dsig:X509Certificate>MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU
+MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE
+CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh
+bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTDElBSUsgVGVzdCBDQTEVMBMGA1UE
+AxMMSUFJSyBUZXN0IENBMB4XDTAzMDIwMzE2MjA1NVoXDTAzMTIzMDIyNTkzMFow
+gZgxCzAJBgNVBAYTAkFUMSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVD
+SE5PTE9HWTFHMEUGA1UECxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRp
+b24gUHJvY2Vzc2luZyBhbmQgQ29tbXVuaWNhdGlvbnMxGDAWBgNVBAMUD0lzb2xk
+ZSBC/HJnZXJpbjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA53m0qng6O9zV
+IAuJ22Ps91X+pddhMiA9P0QusMexQ+QEkfe43nEFIToUZ3uuoAQFd+n4MXM6D68t
+ZctGU5O4W5Aq/bEjI4efIHS0EThzgNAymqmT9Z9IIEhqm/1jhQ4SXTW33y3Xn3lx
+26DiTeApftuQB388YlV+Rs+rTyF9iRUCAwEAAaOCARwwggEYMAwGA1UdEwEB/wQC
+MAAwDgYDVR0PAQH/BAQDAgbAMBEGCWCGSAGG+EIBAQQEAwIFIDBnBgNVHSAEYDBe
+MFwGDCsGAQQBlRIBAnsBATBMMEoGCCsGAQUFBwICMD4aPFRoaXMgY2VydGlmaWNh
+dGUgb25seSBtYXkgYmUgdXNlZCBmb3IgZGVtb25zdHJhdGlvbiBwdXJwb3NlczA8
+BgNVHR8ENTAzMDGgL6AthitodHRwOi8vd3d3LmlhaWsuYXQvdGVzdENBL2lhaWtf
+dGVzdF9zaWcuY3JsMB0GA1UdDgQWBBQoOuoIxS8M1o/DTZkJUs0lnN5A7TAfBgNV
+HSMEGDAWgBRMILBWAgz3iAqWiKUUtFHMOrXyvzAJBgUrDgMCHQUAA4GBACY81o8m
+zb8YCuTMgeplySm5nAkxjsv1T5n/Hzz1cLfSDJZ0HyNTVx/GDszY+Dx28MdW+6DL
+o9nWPSE/4P+k9HXJe/wEyAv44OrjvpzGGKjqoc3X8v4rzMo6MBRNluu0m3y1pktT
+V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1&lt;/dsig:X509Certificate>&lt;/dsig:X509Data>&lt;/dsig:KeyInfo>&lt;dsig:Object>&lt;dsig:Manifest Id="manifest-1-1">&lt;dsig:Reference URI="stylesheet.xsl">&lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;dsig:DigestValue>/KjC84jSkt2ZHN35vNKXBvI2p80=&lt;/dsig:DigestValue>&lt;/dsig:Reference>&lt;/dsig:Manifest>&lt;/dsig:Object>&lt;dsig:Object Id="etsi-signed-1-1">&lt;etsi:QualifyingProperties Target="#signature-1-1" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#">&lt;etsi:SignedProperties>&lt;etsi:SignedSignatureProperties>&lt;etsi:SigningTime>2003-12-03T10:13:28&lt;/etsi:SigningTime>&lt;etsi:SigningCertificate>&lt;etsi:Cert>&lt;etsi:CertDigest>&lt;etsi:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>&lt;etsi:DigestValue>dL59VDpBsujcngd207z0ohPl1/U=&lt;/etsi:DigestValue>&lt;/etsi:CertDigest>&lt;etsi:IssuerSerial>&lt;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&lt;/dsig:X509IssuerName>&lt;dsig:X509SerialNumber>1044289238331&lt;/dsig:X509SerialNumber>&lt;/etsi:IssuerSerial>&lt;/etsi:Cert>&lt;/etsi:SigningCertificate>&lt;etsi:SignaturePolicyIdentifier>&lt;etsi:SignaturePolicyImplied/>&lt;/etsi:SignaturePolicyIdentifier>&lt;/etsi:SignedSignatureProperties>&lt;etsi:SignedDataObjectProperties>&lt;etsi:DataObjectFormat ObjectReference="#reference-1-1">&lt;etsi:MimeType>text/html&lt;/etsi:MimeType>&lt;/etsi:DataObjectFormat>&lt;etsi:DataObjectFormat ObjectReference="#reference-1-2">&lt;etsi:MimeType>img/gif&lt;/etsi:MimeType>&lt;/etsi:DataObjectFormat>&lt;etsi:DataObjectFormat ObjectReference="#reference-1-3">&lt;etsi:MimeType>img/jpg&lt;/etsi:MimeType>&lt;/etsi:DataObjectFormat>&lt;/etsi:SignedDataObjectProperties>&lt;/etsi:SignedProperties>&lt;/etsi:QualifyingProperties>&lt;/dsig:Object>&lt;/dsig:Signature>
+ &lt;/XMLContent>
+ &lt;/SignatureEnvironment>
+ &lt;SignatureLocation>/dsig:Signature&lt;/SignatureLocation>
+ &lt;/SignatureInfo>
+ &lt;Supplement>
+ &lt;Content Reference="stylesheet.xsl">
+ &lt;LocRefContent><% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/pages/test/stylesheet.xsl&lt;/LocRefContent>
+ &lt;/Content>
+ &lt;/Supplement>
+ &lt;Supplement>
+ &lt;Content Reference="xmlDocument.xml">
+ &lt;XMLContent>
+ &lt;XMLDarstellung xmlns="urn:instance">Etwas Text. Dann kommt das erste Bild.&lt;Bild Reference="bild1.gif"/>Wieder etwas Text. Dann kommt das zweite Bild.&lt;Bild Reference="bild2.jpg"/>Und noch ein wenig finaler Text.&lt;/XMLDarstellung>
+ &lt;/XMLContent>
+ &lt;/Content>
+ &lt;/Supplement>
+ &lt;Supplement>
+ &lt;Content Reference="bild1.gif">
+ &lt;Base64Content>R0lGODlhHgAPAJEAAAD/AAAAAAAAAAAAACwAAAAAHgAPAAAIJAABCBxIsKDBgwgTKlzIsKHD
+hxAjSpxIsaLFixgzatzIsePDgAA7&lt;/Base64Content>
+ &lt;/Content>
+ &lt;/Supplement>
+ &lt;Supplement>
+ &lt;Content Reference="bild2.jpg">
+ &lt;LocRefContent><% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/pages/test/bildspeicher/bild2.jpg&lt;/LocRefContent>
+ &lt;/Content>
+ &lt;/Supplement>
+&lt;/VerifyXMLSignatureRequest>
+</textarea>
+</td>
+</tr>
+<tr>
+<td>DataURL</td>
+<td><input name="DataURL" value="<% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/dataurl" size=70/>
+</td>
+</tr>
+</table>
+<p align="center">
+<input type="submit">
+</p>
+</td>
+</tr>
+</table>
+</form>
+</body>
+</html>
diff --git a/spss.slinterface/pages/test/stylesheet.xsl b/spss.slinterface/pages/test/stylesheet.xsl
new file mode 100644
index 000000000..9af3e3cc6
--- /dev/null
+++ b/spss.slinterface/pages/test/stylesheet.xsl
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xmlspysamplexml e:\cio\projekte\erecht\beispiele\xmlDokument.xml?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:inst="urn:instance">
+ <xsl:output encoding="UTF-8" method="xml" indent="yes"/>
+ <xsl:template match="/inst:XMLDarstellung">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>HTML-Darstellung</title>
+ </head>
+ <body>
+ <p>
+ <xsl:for-each select="child::node()">
+ <xsl:choose>
+ <xsl:when test="./self::text()">
+ <xsl:value-of select="."/>
+ </xsl:when>
+ <xsl:when test="./self::inst:Bild">
+ <img>
+ <xsl:attribute name="src"><xsl:value-of select="./@Reference"/></xsl:attribute>
+ <xsl:attribute name="alt">alternative text</xsl:attribute>
+ </img>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </p>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>