<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Nat,<br>
<br>
Generating signatures is tricky, and XMLDSig is trickier than most.
That being said, there are libraries that do it, and they do seem to
work.<br>
<br>
First of all, I'd be happier to see something other than XML, but if
XML has already been decided on, then I would not mind seeing something
other than XMLDSig, if the alternative is significantly for developers
to generate than XMLDSig. <br>
<br>
Allen<br>
<br>
Nat Sakimura wrote:
<blockquote
 cite="mid:bf26e2340906101724q60503989o8b84015866a80e15@mail.gmail.com"
 type="cite">Hmmm. <br>
  <br>
Perhaps I did not spell my intent in the original mail well enough. <br>
  <br>
My question was: <br>
  <br>
(1) Is XML DSig easy enough for you developers to use? <br>
(2) Is XML DSig supported in your environemnt? <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e.g., Google AppEngine, Force.com, your hosting environment,
your own server, etc. <br>
(3) If either (1) or (2) is negative, are you aimiable to use a very
simple alternative to it, <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or you do not bother signing XRD at all? <br>
  <br>
Best, <br>
  <br>
=nat<br>
  <br>
  <div class="gmail_quote">On Thu, Jun 11, 2009 at 4:16 AM, Santosh
Rajan <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:santrajan@gmail.com">santrajan@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I agree that in XML they are not equivalent. Yes but the signing process<br>
itself is binary, it has nothing to do with text or its meaning.<br>
    <div class="im"><br>
    <br>
Hans Granqvist wrote:<br>
&gt;<br>
&gt;&gt; Once you digitally sign a document, though physically the
document<br>
&gt;&gt; remains<br>
&gt;&gt; in tact and retains its content type, after the act of
signing, it is<br>
&gt;&gt; really<br>
&gt;&gt; a frozen bunch of bits. And if you dont make that distinction
you get<br>
&gt;&gt; into<br>
&gt;&gt; all sorts of tangles. And that was the mistake made by
XMLDSig. In other<br>
&gt;&gt; words after signing the Content-Type should be binary,
whatever you want<br>
&gt;&gt; to<br>
&gt;&gt; call it. After verification it takes up its original
Content-Type.<br>
&gt;<br>
&gt; In XML these two are equivalent:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
    </div>
    <div class="im">&gt; A signing process needs to understand this,
and that is what XML Dsig<br>
&gt; does.<br>
&gt; XML was not defined to be a wire format.<br>
&gt;<br>
&gt; Hans<br>
&gt; _______________________________________________<br>
&gt; general mailing list<br>
&gt; <a moz-do-not-send="true" href="mailto:general@openid.net">general@openid.net</a><br>
&gt; <a moz-do-not-send="true"
 href="http://openid.net/mailman/listinfo/general" target="_blank">http://openid.net/mailman/listinfo/general</a><br>
&gt;<br>
&gt;<br>
    <br>
    <br>
    </div>
    <div class="im">-----<br>
    <br>
Santosh Rajan<br>
    <a moz-do-not-send="true" href="http://santrajan.blogspot.com"
 target="_blank">http://santrajan.blogspot.com</a> <a
 moz-do-not-send="true" href="http://santrajan.blogspot.com"
 target="_blank">http://santrajan.blogspot.com</a><br>
--<br>
    </div>
View this message in context: <a moz-do-not-send="true"
 href="http://www.nabble.com/Signing-method-for-XRD-tp23956678p23969137.html"
 target="_blank">http://www.nabble.com/Signing-method-for-XRD-tp23956678p23969137.html</a><br>
    <div class="im">Sent from the OpenID - General mailing list archive
at Nabble.com.<br>
    <br>
_______________________________________________<br>
    </div>
    <div>
    <div class="h5">general mailing list<br>
    <a moz-do-not-send="true" href="mailto:general@openid.net">general@openid.net</a><br>
    <a moz-do-not-send="true"
 href="http://openid.net/mailman/listinfo/general" target="_blank">http://openid.net/mailman/listinfo/general</a><br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Nat Sakimura (=nat)<br>
  <a moz-do-not-send="true" href="http://www.sakimura.org/en/">http://www.sakimura.org/en/</a><br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:general@openid.net">general@openid.net</a>
<a class="moz-txt-link-freetext" href="http://openid.net/mailman/listinfo/general">http://openid.net/mailman/listinfo/general</a>
  </pre>
</blockquote>
<br>
</body>
</html>