diff options
Diffstat (limited to 'spss.slinterface/pages/test/forms/verify.slxhtml.jsp')
-rw-r--r-- | spss.slinterface/pages/test/forms/verify.slxhtml.jsp | 99 |
1 files changed, 99 insertions, 0 deletions
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> +<?xml version="1.0" encoding="UTF-8"?> +<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"> + <SignatureInfo> + <SignatureEnvironment> + <XMLContent> +<dsig:Signature Id="signature-1-1" 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-1" URI="xmlDocument.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:import href="stylesheet.xsl"/> + </xsl:stylesheet></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>qWbsEi/iFwXaXZvCBanbFu7poqQ=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1-2" Type="http://www.buergerkarte.at/specifications/Security-Layer/20031113?Name=SignedImage&amp;InstanceDocRef=0" URI="bild1.gif"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>mCGwDv9ku7uHVbL4bkNC8o52LrE=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1-3" Type="http://www.buergerkarte.at/specifications/Security-Layer/20031113?Name=SignedImage&amp;InstanceDocRef=0" URI="bild2.jpg"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>Jc6oVCCGjgvFFYQR6jklGkGL4l4=</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://www.buergerkarte.at/specifications/Securitylayer/20020225#SignatureManifest" URI="#manifest-1-1"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>8HbxBKILDNRUeewGlObTKbBsB18=</dsig:DigestValue></dsig:Reference><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('etsi-signed-1-1')/child::etsi:QualifyingProperties/child::etsi:SignedProperties)"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>QixjzDGm3YVNnrWBVdkNLl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DgYDVR0PAQH/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-1-1"><dsig:Reference URI="stylesheet.xsl"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>/KjC84jSkt2ZHN35vNKXBvI2p80=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object><dsig:Object Id="etsi-signed-1-1"><etsi:QualifyingProperties Target="#signature-1-1" xmlns:etsi="http://uri.etsi.org/01903/v1.1.1#"><etsi:SignedProperties><etsi:SignedSignatureProperties><etsi:SigningTime>2003-12-03T10:13:28</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-1"><etsi:MimeType>text/html</etsi:MimeType></etsi:DataObjectFormat><etsi:DataObjectFormat ObjectReference="#reference-1-2"><etsi:MimeType>img/gif</etsi:MimeType></etsi:DataObjectFormat><etsi:DataObjectFormat ObjectReference="#reference-1-3"><etsi:MimeType>img/jpg</etsi:MimeType></etsi:DataObjectFormat></etsi:SignedDataObjectProperties></etsi:SignedProperties></etsi:QualifyingProperties></dsig:Object></dsig:Signature> + </XMLContent> + </SignatureEnvironment> + <SignatureLocation>/dsig:Signature</SignatureLocation> + </SignatureInfo> + <Supplement> + <Content Reference="stylesheet.xsl"> + <LocRefContent><% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/pages/test/stylesheet.xsl</LocRefContent> + </Content> + </Supplement> + <Supplement> + <Content Reference="xmlDocument.xml"> + <XMLContent> + <XMLDarstellung xmlns="urn:instance">Etwas Text. Dann kommt das erste Bild.<Bild Reference="bild1.gif"/>Wieder etwas Text. Dann kommt das zweite Bild.<Bild Reference="bild2.jpg"/>Und noch ein wenig finaler Text.</XMLDarstellung> + </XMLContent> + </Content> + </Supplement> + <Supplement> + <Content Reference="bild1.gif"> + <Base64Content>R0lGODlhHgAPAJEAAAD/AAAAAAAAAAAAACwAAAAAHgAPAAAIJAABCBxIsKDBgwgTKlzIsKHD +hxAjSpxIsaLFixgzatzIsePDgAA7</Base64Content> + </Content> + </Supplement> + <Supplement> + <Content Reference="bild2.jpg"> + <LocRefContent><% out.write(initPropertiesBean.getMOASLWebAppURL() + request.getContextPath()); %>/pages/test/bildspeicher/bild2.jpg</LocRefContent> + </Content> + </Supplement> +</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> |