XML
  Home arrow XML arrow Page 6 - XML Signatures: Behind the Curtain
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
XML

XML Signatures: Behind the Curtain
By: Larry Loeb
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 2 stars2 stars2 stars2 stars2 stars / 5
    2003-03-07

    Table of Contents:
  • XML Signatures: Behind the Curtain
  • Introduction
  • The Overview
  • What They Don't Tell You in the Specification
  • The Geek Part
  • Signature Elements
  • An Example to Mull Over
  • A Pithy Summary
  • The Resources

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    XML Signatures: Behind the Curtain - Signature Elements


    (Page 6 of 9 )

    Take a look at the signature element. The data objects are first digested (a digest is fixed-length representation of a variable length data object and is created using an algorithm like SHA-1) and the resulting value is placed in an element (with other information). This element is then digested and cryptographically signed. The signature element has the following structure (where "?" denotes zero or one occurrence, "+" denotes one or more occurrences, and "*" denotes zero or more occurrences):

    Listing 1
       <Signature>
         <SignedInfo>
           (CanonicalizationMethod)
           (SignatureMethod)
           (<Reference (URI=)? >
             (Transforms)?
             (DigestMethod)
             (DigestValue)
           </Reference>)+
         </SignedInfo>
         (SignatureValue)
        (KeyInfo)?
        (Object)*
       </Signature>

    More XML Articles
    More By Larry Loeb


     

    XML ARTICLES

    - Using Regions with XSL Formatting Objects
    - Using XSL Formatting Objects
    - More Schematron Features
    - Schematron Patterns and Validation
    - Using Schematron
    - Datatypes and More in RELAX NG
    - Providing Options in RELAX NG
    - An Introduction to RELAX NG
    - Path, Predicates, and XQuery
    - Using Predicates with XQuery
    - Navigating Input Documents Using Paths
    - XML Basics
    - Introduction to XPath
    - Simple Web Syndication with RSS 2.0
    - Java UI Design with an IDE







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek