diff options
author | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2003-07-07 10:58:37 +0000 |
---|---|---|
committer | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2003-07-07 10:58:37 +0000 |
commit | ece7d18cf35374bf4e26d041799cda8f791c89f8 (patch) | |
tree | 33707cb77627b65a2a4e7327a2e93fb7751c1b76 /spss.server/data/test/xml/VerifyXMLSignature/Req002.xml | |
parent | 273aed93c03b18a6c6bb1af745ae46a13ad3c7f2 (diff) | |
download | moa-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/VerifyXMLSignature/Req002.xml')
-rw-r--r-- | spss.server/data/test/xml/VerifyXMLSignature/Req002.xml | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml b/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml new file mode 100644 index 000000000..a834f1225 --- /dev/null +++ b/spss.server/data/test/xml/VerifyXMLSignature/Req002.xml @@ -0,0 +1,63 @@ +<?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/ SignatureManifestCheckParams (but w/o Supplement) 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> + <SignatureManifestCheckParams ReturnReferenceInputData="true"> + <ReferenceInfo> + <VerifyTransformsInfoProfile> + <dsig:Transforms> + <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/> + </dsig:Transform> + </dsig:Transforms> + <TransformParameter URI="validURI"> + <Base64Content>PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8dGVzdD48L3Rlc3Q+</Base64Content> + </TransformParameter> + </VerifyTransformsInfoProfile> + <VerifyTransformsInfoProfileID>validID</VerifyTransformsInfoProfileID> + </ReferenceInfo> + </SignatureManifestCheckParams> + <TrustProfileID>aValidTrustProfileID</TrustProfileID> +</VerifyXMLSignatureRequest> +<!--the following modifications (individually and in combination) must return a valid response +* no SignatureManifestCheckParams/@ReturnReferenceInputData +* SignatureManifestCheckParams/@ReturnReferenceInputData = false +* no content of dsig:Transform +* 2 dsig:Transform elements +* TransformParameter/Hash statt TransformParameter/Base64Content +* TransformParameter/@URI und TranformParameter/Base64Content liefern unterschiedliche Werte - es wird der Wert aus Base64Content verwendet +* weder Base64Content noch Hash wird verwendet +* 0 TransformParameter +* 2 TransformParameter +* 2 VerifyTransformsInfoID +* 2 ReferenceInfo (for 2 dsig:Reference) +Total: 11 Testcases--> +<!--each of the following modifications (individually) must return an error code +* VerifyTransformsInfoID: invalidID +* number of ReferenceInfo is different from number of dsig:Reference in the signature +* mismatching dsig:Transform/@Algorithm and dsig:Transform content +* TransformParameter/@URI resolves but Hash does not match - which hashing algorithm? +* kein TransformParameter element obwohl in Transforms URIs referenziert werden + (Referenz-Eingangsdaten sind KEIN impliziter Transformationsparameter) +Total: 5 Testcases--> |