aboutsummaryrefslogtreecommitdiff
path: root/spss.server/data/test/xml/VerifyCMSSignature/Req000.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 /spss.server/data/test/xml/VerifyCMSSignature/Req000.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 'spss.server/data/test/xml/VerifyCMSSignature/Req000.xml')
-rw-r--r--spss.server/data/test/xml/VerifyCMSSignature/Req000.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml b/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml
new file mode 100644
index 000000000..9866113ea
--- /dev/null
+++ b/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml
@@ -0,0 +1,46 @@
+<?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 sample request (containing all optional elementsand attributes)-->
+<VerifyCMSSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Signatories="1">
+ <DateTime>2001-12-17T09:30:47-05:00</DateTime>
+ <CMSSignature>U3Zlbg==</CMSSignature>
+ <DataObject>
+ <MetaInfo>
+ <MimeType>text/plain</MimeType>
+ <Description>anyURI</Description>
+ </MetaInfo>
+ <Content Reference="anyURI">
+ <Base64Content>U3Zlbg==</Base64Content>
+ </Content>
+ </DataObject>
+ <TrustProfileID>TrustProfile1</TrustProfileID>
+</VerifyCMSSignatureRequest>
+<!--the following modifications (individually and in combination) must return a valid response
+* no XML/@encoding
+* XML/@encoding = "ISO-8859-1"
+* no xsi:schemaLocation="...moa/20020822# ..."
+* VerifyCMSSignatureRequest/@Signatories = "oneValidInteger"
+* VerifyCMSSignatureRequest/@Signatories = "twoValidIntegers"
+* VerifyCMSSignatureRequest/@Signatories = "all"
+* no DateTime
+* a DateTime that is in the past and within the certificate validity period
+* no DataObject and CMSSignature w/ attached signature
+* no MetaInfo
+* attached/detached CMSSignature and no DataObject/@Reference but DataObject content
+* attached/detached CMSSignature and no DataObject content but DataObject/@Reference
+* attached CMSSignature and a DataObject representing different data (using Base64Content or @Reference)
+Total: 14 Testcases-->
+<!--each of the following modifications (individually) must return an error code
+* a request which does not validate against the Schema
+* no XML/@version
+* XML/@version = "wrongValue"
+* XML/@encoding = "wrongValue"
+* CreateXMLSigantureRequest/@xmlns="wrongValue"
+* VerifyCMSSignatureRequest/@Signatories = "0"
+* VerifyCMSSignatureRequest/@Signatories = "invalidInteger(tooLarge)"
+* DateTime: in the future
+* CMSSignature: invalidBase64Data
+* detached CMSSignature and no DataObject content and no DataObject/@Reference
+* detached CMSSignature and DataObject/@Reference or DataObject content representing different data
+* TrustProfileID: invalidTrustProfileID
+Total: 12 Testcases-->