aboutsummaryrefslogtreecommitdiff
path: root/common/data/test/xml/VerifyXMLSignature/Req001.xml
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-07-07 10:58:37 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-07-07 10:58:37 +0000
commitece7d18cf35374bf4e26d041799cda8f791c89f8 (patch)
tree33707cb77627b65a2a4e7327a2e93fb7751c1b76 /common/data/test/xml/VerifyXMLSignature/Req001.xml
parent273aed93c03b18a6c6bb1af745ae46a13ad3c7f2 (diff)
downloadmoa-id-spss-ece7d18cf35374bf4e26d041799cda8f791c89f8.tar.gz
moa-id-spss-ece7d18cf35374bf4e26d041799cda8f791c89f8.tar.bz2
moa-id-spss-ece7d18cf35374bf4e26d041799cda8f791c89f8.zip
Initial commit
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@2 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'common/data/test/xml/VerifyXMLSignature/Req001.xml')
-rw-r--r--common/data/test/xml/VerifyXMLSignature/Req001.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/common/data/test/xml/VerifyXMLSignature/Req001.xml b/common/data/test/xml/VerifyXMLSignature/Req001.xml
new file mode 100644
index 000000000..7cb71f6d2
--- /dev/null
+++ b/common/data/test/xml/VerifyXMLSignature/Req001.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Stephan Grill (Anecon) -->
+<!--the given XML Data shows a simple request w/ Supplement (but w/o SignatureManifestCheckParams) which must return a valid return codes-->
+<VerifyXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
+ <DateTime>2002-12-01T09:30:47-05:00</DateTime>
+ <VerifySignatureInfo>
+ <VerifySignatureEnvironment>
+ <XMLContent>
+ <dsig:Signature>
+ <dsig:SignedInfo>
+ <dsig:CanonicalizationMethod Algorithm="aValidURI"/>
+ <dsig:SignatureMethod Algorithm="anValidURI"/>
+ <dsig:Reference>
+ <dsig:DigestMethod Algorithm="aValidURI"/>
+ <dsig:DigestValue>U3Zlbg==</dsig:DigestValue>
+ </dsig:Reference>
+ </dsig:SignedInfo>
+ <dsig:SignatureValue>U3Zlbg==</dsig:SignatureValue>
+ </dsig:Signature>
+ </XMLContent>
+ </VerifySignatureEnvironment>
+ <VerifySignatureLocation>anValidXPathExpression</VerifySignatureLocation>
+ </VerifySignatureInfo>
+
+ <SupplementProfile>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>aValidURI</Description>
+ </MetaInfo>
+ <Content Reference="aValidURI">
+ <Base64Content>U3Zlbg==</Base64Content>
+ </Content>
+ </SupplementProfile>
+
+ <SupplementProfileID>aValidSupplementProfileID</SupplementProfileID>
+ <TrustProfileID>aValidTrustProfileID</TrustProfileID>
+</VerifyXMLSignatureRequest>
+<!--the following modifications (individually and in combination) must return a valid response
+* no Supplement/MetaInfo/Description
+* no Supplement/MetaInfo
+* Supplement/Content/XMLContent instead of Supplement/Content/Base64Content
+* 2 Supplement elements
+* 2 SupplementProfileID elements
+Total: 5 Testcases-->
+<!--each of the following modifications (individually) must return an error code
+* an URI referenced in dsig:Signature does not resolve and no Supplement object is available
+* invalid MimeType
+* invalid SupplementProfileID
+Total: 3 Testcases-->