diff options
4 files changed, 92 insertions, 7 deletions
diff --git a/spss.slinterface/test/forms/verify.default.html b/spss.slinterface/test/forms/verify.default.html index 2f381d9b8..51d7ebd77 100644 --- a/spss.slinterface/test/forms/verify.default.html +++ b/spss.slinterface/test/forms/verify.default.html @@ -46,7 +46,7 @@ V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data </SignatureInfo> <Supplement> <Content Reference="stylesheet.xsl"> - <LocRefContent>http://localhost:8080/moa-spss-sl/stylesheet.xsl</LocRefContent> + <LocRefContent>http://localhost:8080/moa-spss-sl/test/stylesheet.xsl</LocRefContent> </Content> </Supplement> <Supplement> @@ -64,7 +64,7 @@ hxAjSpxIsaLFixgzatzIsePDgAA7</Base64Content> </Supplement> <Supplement> <Content Reference="bild2.jpg"> - <LocRefContent>http://localhost:8080/moa-spss-sl/bildspeicher/bild2.jpg</LocRefContent> + <LocRefContent>http://localhost:8080/moa-spss-sl/test/bildspeicher/bild2.jpg</LocRefContent> </Content> </Supplement> </VerifyXMLSignatureRequest> diff --git a/spss.slinterface/test/forms/verify.default.stjoneu.html b/spss.slinterface/test/forms/verify.default.stjoneu.html index 66fb9b871..773f51c77 100644 --- a/spss.slinterface/test/forms/verify.default.stjoneu.html +++ b/spss.slinterface/test/forms/verify.default.stjoneu.html @@ -6,7 +6,7 @@ <body> <h1>Test Securitylayer-Interface f�r MOA</h1> <h2>Kein SLXHTML-Dokument</h2> -<form action="http://localhost:5555/moa-spss-sl/http-security-layer-request" method="post"> +<form action="http://193.154.247.51/moa-spss-sl/http-security-layer-request" method="post"> <p> XMLRequest: <textarea name="XMLRequest" cols=80 rows=20> @@ -46,7 +46,7 @@ V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data </SignatureInfo> <Supplement> <Content Reference="stylesheet.xsl"> - <LocRefContent>http://10.204.4.31/moa-spss-sl/stylesheet.xsl</LocRefContent> + <LocRefContent>http://10.204.4.31/moa-spss-sl/test/stylesheet.xsl</LocRefContent> </Content> </Supplement> <Supplement> @@ -64,7 +64,7 @@ hxAjSpxIsaLFixgzatzIsePDgAA7</Base64Content> </Supplement> <Supplement> <Content Reference="bild2.jpg"> - <LocRefContent>http://10.204.4.31/moa-spss-sl/bildspeicher/bild2.jpg</LocRefContent> + <LocRefContent>http://10.204.4.31/moa-spss-sl/test/bildspeicher/bild2.jpg</LocRefContent> </Content> </Supplement> </VerifyXMLSignatureRequest> diff --git a/spss.slinterface/test/forms/verify.slxhtml.html b/spss.slinterface/test/forms/verify.slxhtml.html index e01ae9dd0..fae8ddbcd 100644 --- a/spss.slinterface/test/forms/verify.slxhtml.html +++ b/spss.slinterface/test/forms/verify.slxhtml.html @@ -46,7 +46,7 @@ V/q4aiWD/nbGXdrn/AoKAvOSAQ3Qe6X+dT/1</dsig:X509Certificate></dsig:X509Data </SignatureInfo> <Supplement> <Content Reference="stylesheet.xsl"> - <LocRefContent>http://localhost:8080/moa-spss-sl/stylesheet.xsl</LocRefContent> + <LocRefContent>http://localhost:8080/moa-spss-sl/test/stylesheet.xsl</LocRefContent> </Content> </Supplement> <Supplement> @@ -64,7 +64,7 @@ hxAjSpxIsaLFixgzatzIsePDgAA7</Base64Content> </Supplement> <Supplement> <Content Reference="bild2.jpg"> - <LocRefContent>http://localhost:8080/moa-spss-sl/bildspeicher/bild2.jpg</LocRefContent> + <LocRefContent>http://localhost:8080/moa-spss-sl/test/bildspeicher/bild2.jpg</LocRefContent> </Content> </Supplement> </VerifyXMLSignatureRequest> diff --git a/spss.slinterface/test/forms/verify.slxhtml.stjoneu.html b/spss.slinterface/test/forms/verify.slxhtml.stjoneu.html new file mode 100644 index 000000000..11d7263da --- /dev/null +++ b/spss.slinterface/test/forms/verify.slxhtml.stjoneu.html @@ -0,0 +1,85 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>Test Securitylayer-Interface f�r MOA</title> +</head> + <body> +<h1>Test Securitylayer-Interface f�r MOA</h1> +<h2>SLXHTML-Dokument</h2> +<form action="http://193.154.247.51/moa-spss-sl/http-security-layer-request" method="post"> +<p> +XMLRequest: +<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>QixjzDGm3YVNnrWBVdkNLlp2Pmk=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>wAt9rJy+7xx4b5VcMyGC9iwAtK+bHpMrqsiz5fLyXQJ11Iq+ME/yHhglv3u3cp6d +BCsNAuMacqEM0qGJ2xoIaxVPS5QIPJoF6KuS7t4rPGRW9g04EgE8xyRkH6qyxP9J +ilfBOISA/1GJcEejFeJdOkTLFrH7toE+IqB2fEl7eKs=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIID1zCCA0SgAwIBAgIGAPMkfTU7MAkGBSsOAwIdBQAwgawxCzAJBgNVBAYTAkFU +MSYwJAYDVQQKEx1HUkFaIFVOSVZFUlNJVFkgT0YgVEVDSE5PTE9HWTFHMEUGA1UE +CxM+SW5zaXR1dGUgZm9yIEFwcGxpZWQgSW5mb3JtYXRpb24gUHJvY2Vzc2luZyBh +bmQgQ29tbXVuaWNhdGlvbnMxFTATBgNVBAsTD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u0m3y1pktT +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>http://193.154.247.51/moa-spss-sl/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>http://193.154.247.51/moa-spss-sl/test/bildspeicher/bild2.jpg</LocRefContent> + </Content> + </Supplement> +</VerifyXMLSignatureRequest> +</textarea> +<p> +<!-- +RedirectURL: <input name="RedirectURL" value="" size=70> +http://stud.fbi.fh-darmstadt.de/~adams/mathe/poesie.html#bit +<p>--> +DataURL: <input name="DataURL" value="10.204.4.31/moa-spss-sl/dataurl" size=70/> +<p> +<!--StylesheetURL: <input name="StylesheetURL" value="" size=70> +http://localhost/securitylayer.xsl--> +<p> +<input type="submit"> +</form> +</body> +</html> |