Re: newbie Question about PKCS#7
Joseph Reagle <[email protected]> Wed, 22 May 2002 10:27:15 -0400
| Newsgroups | gmane.ietf.xmldsig |
|---|---|
| Organization | W3C |
| Message-ID | <[email protected]> |
On Tuesday 21 May 2002 16:04, Tom Gindin wrote: > My question can be most simply stated as whether a reference with > neither type nor transform is to be interpreted as a transparent octet > stream to be fed to the digest algorithms, and if not, what syntax is > interpreted that way? As Christian noted, it depends on the URI. > I am trying to ensure that we have a syntax > defined for data that will NOT be interpreted as XML. A very simple > example would be the following: > <Reference URI="ftp://ftp.isi.edu/in-notes/rfc3075.txt"> > <DigestMethod Algorithm > ="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>Xyz=</DigestValue >> </Reference> Yes, it directly digests the octets in the HTTP entity-body returned upon dereferencing that URI.