diff options
Diffstat (limited to 'spss.server/data/test/xml/VerifyCMSSignature/Req000.xml')
-rw-r--r-- | spss.server/data/test/xml/VerifyCMSSignature/Req000.xml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml b/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml deleted file mode 100644 index 9866113ea..000000000 --- a/spss.server/data/test/xml/VerifyCMSSignature/Req000.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?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--> |