[xmlsec] Modifications to example 2

Devin Heitmueller dheitmueller@netilla.com
30 Aug 2002 14:52:45 -0400


--=-5Z8968mEu9ipGq7EpHpq
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I have made a couple of modifications to example 2.  Here's my thinking:

Based on what I read in the document on example 2, it was supposed to be
like example 1, except it was supposed to build the signature section
dynamically.  However, it also changed the transform algorithm from
enveloped to C14N inclusive.  It also introduced the Reference Id.  I
think while these concepts are worthwhile, perhaps they don't belong in
the second example.

For simplicity's sake, I changed the transform back to enveloped and
removed the signature Id and URI.  This should make it easier for people
to understand the example when comparing it's functionality to Example
1.  It also eliminates the need for the doctype, which is something you
may not want to introduce so early in the example set.

I think the original Example 2 is still quite helpful, as it does
introduce concepts not demonstrated in example 1.  I just think that in
this case, it would be better to focus on the intended differences
between example 1 and example 2 (to demonstrate the dynamic addition of
the signature).  Logically, I think the new example should be 'example
2', and the other examples should be pushed up by one (example 2 becomes
3, 3 becomes 4).

Attached is the patch.  Hopefully it will be of help.

Thanks,

-- 
Devin Heitmueller
Senior Software Engineer
Netilla Networks Inc

--=-5Z8968mEu9ipGq7EpHpq
Content-Disposition: attachment; filename=diff-dsig2.gz
Content-Type: application/x-gzip; name=diff-dsig2.gz
Content-Transfer-Encoding: base64

H4sICKK8bz0AA2RpZmYtZHNpZzIApZNRb9owEMefyac4sYcCSSAObC2ZKoFaplVqeRib9rKXKL6A
pcRGjmmpqn332TFxRiZNTPND7Nh3f19+/0sYhnAsiwqzMBpH4/mEiqya4DEt9wVWE1qxbWyf46z3
JDgs9xLiOUTTJJon0RTiKIo93/fPVEKOL39V+iQZLA9bmEZAZsmMJOTGKi0WEJLr98E1+HZaLDww
YzIa2QWM4E5iqhA2bMtTdZAIXFCE5njihWaumtO1Obw19W0wczlWY9AvX0MX2R9+9PzLc9ffHh91
Rn0rywedpFuoz+HNBvTyvWRc6TBFUcqgv5JSyATylBVIQQnI7Fc5mR/c1AM9ifqNN7cZQDGJAhKB
X8+xQ9SS+YI5SuTZicwLUzvYfF4SSCugbIuVghLVTlBIOQXBsRUgszUomfIqF7I0ZTGeFQctkomy
RK4qvQFqhyedFrpvl7K5+g90SB94LpaUuupqZHbbRAde2DPDeOJk+m733XEvNEGUA0YHVxtR4n2q
0qvhUIf4dYhBdL4GtzbWOqs6Rf6zVSmlLePGp06T3Gs6Uryet0VjYPwhIEQbGN+Y2Rh4aXq3H+qK
f9qWb74wO0hH3pWpwX9tfD0HEIBFbK20aaYPVkftfMWe8bvun7uT/YZjN9jprvgzFmKP9Lffoi6m
JRxeTjgjM972osXsX56OTTFdjf9l/QtPIHSHNAUAAA==

--=-5Z8968mEu9ipGq7EpHpq--