diff options
Diffstat (limited to 'common/data/test/xml/VerifyXMLSignature/Req000.xml')
-rw-r--r-- | common/data/test/xml/VerifyXMLSignature/Req000.xml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/common/data/test/xml/VerifyXMLSignature/Req000.xml b/common/data/test/xml/VerifyXMLSignature/Req000.xml deleted file mode 100644 index 2ed8acff9..000000000 --- a/common/data/test/xml/VerifyXMLSignature/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 simple request (w/o Supplement and w/o SignatureManifestCheckParams) which must return 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>//dsig:Signature</VerifySignatureLocation> - </VerifySignatureInfo> - <ReturnHashInputData/> - <TrustProfileID>TrustProfile1</TrustProfileID> -</VerifyXMLSignatureRequest> -<!--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# ..." -* no DateTime -* a DateTime that is in the past and within the signing certificate validity period -* no ReturnHashInputData -Total: 6 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" -* VerifyXMLSignatureRequest/@xmlns="wrongValue" -* DateTime: in the future -* SignatureEnvironment with invalid signature that does not validate against XMLDSig-Schema -* VerifySignatureLocation: syntactically invalid XPath expression -* VerifySignatureLocation: XPath expression that does not reference a dsig:signature element -* TrustProfileID: invalidTrustProfileID -Total: 10 Testcases--> |