A Detached Signature for the XHTML 1.0 Specification

From the XML Signature Candidate Recommendation:

<Signature Id="MyFirstSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"> 
   <SignedInfo> 
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2000/CR-xml-c14n-20001026"/> 
   <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/> 
   <Reference URI="http://www.w3.org/TR/2000/REC-xhtml1-20000126/"> 
     <Transforms> 
       <Transform Algorithm="http://www.w3.org/TR/2000/CR-xml-c14n-20001026"/> 
     </Transforms> 
     <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> 
     <DigestValue>j6lwx3rvEPO0vKtMup4NbeVu8nk=</DigestValue> 
   </Reference> 
 </SignedInfo> 
   <SignatureValue>MC0CFFrVLtRlk=...</SignatureValue> 
   <KeyInfo> 
    <KeyValue>
      <DSAKeyValue> 
        <P>...</P><Q>...</Q><G>...</G><Y>...</Y> 
      </DSAKeyValue> 
    </KeyValue> 
   </KeyInfo> 
 </Signature>


Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 9, 2000