- From: Joseph M. Reagle Jr. <reagle@w3.org>
- Date: Thu, 18 Jan 2001 15:24:06 -0500
- To: "IETF/W3C XML-DSig WG" <w3c-ietf-xmldsig@w3.org>
In the Editors' draft I've updated the internal subset in the one signature example provided with the spec to account for external content under DTD validation and automated schema fetching. http://www.w3.org/Signature/Drafts/xmldsig-core/signature-example.xml <?xml version='1.0'?> <!DOCTYPE Signature SYSTEM "xmldsig-core-schema.dtd" [ <!ENTITY dsig "http://www.w3.org/2000/09/xmldsig#"> <!ENTITY % SignatureProperty.ANY '| ts:timestamp'> <!ELEMENT ts:timestamp (#PCDATA)> <!ATTLIST ts:timestamp xmlns:ts CDATA #FIXED 'http://www.example.org/rfc/rfcxxxx.txt'> <!ATTLIST Signature xmlns:xsi CDATA #FIXED 'http://www.w3.org/2000/10/XMLSchema-instance' xsi:schemaLocation CDATA #REQUIRED> ]> <Signature Id="MyFirstSignature" xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2000/09/xmldsig# http://www.w3.org/TR/2000/CR-xmldsig-core-20001031/xmldsig-core-schema.xsd"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2000/WD-xml-c14n-20000710"> </CanonicalizationMethod> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa"> </SignatureMethod> <Reference URI="http://www.w3.org/TR/xml-stylesheet/"> <Transforms> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#null"/> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"> </DigestMethod> <DigestValue>j6lwx3rvEPO0vKtMup4NbeVu8nk=</DigestValue> </Reference> <Reference URI="http://www.w3.org/TR/REC-xml-names/"> <Transforms> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"> </DigestMethod> <DigestValue>UrXLDLBIta6skoV5/A8Q38GEw44=</DigestValue> </Reference> </SignedInfo> <SignatureValue>MC0CFFrVLtRlkMc3Daon4BqqnkhCOlEaAhUAk8pH1iRNK+q1I+sisDTz2TFEALE=</SignatureValue> <KeyInfo> <KeyValue> <DSAKeyValue> <P>...</P><Q>...</Q><G>...</G><Y>...</Y> </DSAKeyValue> </KeyValue> </KeyInfo> <Object> <SignatureProperties> <SignatureProperty Target="#MyFirstSignature"> <ts:timestamp xmlns:ts="http://www.example.org/rfc/rfcxxxx.txt"> this is a test of the mixed content model</ts:timestamp> </SignatureProperty> </SignatureProperties> </Object> </Signature> __ Joseph Reagle Jr. W3C Policy Analyst mailto:reagle@w3.org IETF/W3C XML-Signature Co-Chair http://www.w3.org/People/Reagle/
Received on Thursday, 18 January 2001 15:24:09 UTC