<?xml version="1.0" encoding="UTF-8"?> <!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Stephan Grill (Anecon) --> <!-- Req001 shows a Req000 request extended with additional transformation information; it must return a valid signature --> <CreateXMLSignatureRequest xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <KeyIdentifier>validKeyIdentifier(RSAinPKCS12)</KeyIdentifier> <SingleSignatureInfo SecurityLayerConformity="false"> <!-- @todo wozu braucht man SingleSignatureInfo/@CreateSignatureManifest wenn in DataObjectInfo/@ChildOfManifest angegeben wird ob das Datenobjekt in das Manifest kommt oder nicht ? --> <DataObjectInfo Structure="detached" ChildOfManifest="false"> <DataObject> <XMLContent>testdaten</XMLContent> </DataObject> <CreateTransformsInfoProfile> <CreateTransformsInfo> <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"> <!--@todo HR the actual stylesheet--> </xsl:stylesheet> </dsig:Transform> </dsig:Transforms> <FinalDataMetaInfo> <MimeType>text/xml</MimeType> </FinalDataMetaInfo> </CreateTransformsInfo> </CreateTransformsInfoProfile> </DataObjectInfo> </SingleSignatureInfo> </CreateXMLSignatureRequest> <!--the following modifications (individually and in combination) must return a valid signature * empty dsig:Transform element * Transform/@Algorithm = "http://www.w3.org/TR/1999/REC-xpath-19991116" * Transform/@Algorithm = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315" * Transform/@Algorithm = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments" * Transform/@Algorithm = "http://www.w3.org/2001/10/xml-exc-c14n#" * Transform/@Algorithm = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments" * Transform/@Algorithm = "http://www.w3.org/2000/09/xmldsig#enveloped-signature" * 2 dsig:Transform elements * Description: URI that resolves * a Supplement/Content/XMLContent is available where Supplement/Content/@Reference is referenced from the content of dsig: Transform * a Supplement/Content/XMLContent is available in a different DataObjectInfo where Supplement/Content/@Reference is referenced from the content of dsig: Transform * 2 Supplement elements * CreateTransformsInfoID: validID Total: 14 Testcases--> <!--each of the following modifications (individually) must return an error code * Transform/@Algorithm = "...xslt..." and Transform contains an XPath element * Transform/@Algorithm = "...xpath..." and Transform contains an XSLT * Description: URI that does not resolve * an URI of a Transform parameter does not resolve and no Supplement object is available * CreateTransformsInfoID: invalidID Total: 5 Testcases-->