[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Is the XML Schema for XML Digital Signatures needed?

  • From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
  • To: "Costello, Roger L." <costello@mitre.org>,"xml-dev@l..." <xml-dev@l...>
  • Date: Fri, 27 Jul 2018 21:30:10 -0400

RE:  Is the XML Schema for XML Digital Signatures needed?
At 2018-07-27 20:03 +0000, Costello, Roger L. wrote:
> if something claims that it's signed,
> we should just accept that.

Ah, that's an interesting point. A digsig tool might not produce a correctly formatted <ds:Signature> and therefore it would be useful to validate the <ds:Signature> against the digsig XML Schema.
As part of a post-mortem, yes.

How might that be useful before being checked? If the tool does not produce a correctly-formatted signature, the signature-checking logic would throw a sufficient error that you would rightly not trust the signature or the signed document.

In my own experience with DigSig, I've never needed to use DigSig XML Schema except in a post-mortem after an abend. As long as the signature is checked without any errors, I've never been worried about schema validation.

That said, I have included DigSig in the UBL schema tree. Some UBL users may want to validate their entire document after their tools have created it and before they send it. Some enter into commitments of schema validity before transmission.

You started off this thread with a lot of what I thought was obvious, DigSig schema is useful probably only in a post-mortem. It isn't even useful in authoring, because I'm not about to generate a DigSig by hand. The available tools handle generation and checking.

. . . . . . Ken


--
Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/x/ |
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training class @ US$45 (5 hours free) |



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.