diff options
Diffstat (limited to 'common/data/test/xml/VerifyXMLSignature/Req001.xml')
-rw-r--r-- | common/data/test/xml/VerifyXMLSignature/Req001.xml | 49 |
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--> |