Hi...
I tested the canonical form and Sha1 hash code using a .net code to confirm 
the values. A strig format of <signedInfo> is OK.
Considering that PrivateKey is OK too, my suspects are, now, the byte code 
send to sign and the convertion to base64 of the results. Maybe 
little-endian x big-endian can explain this!

    CODE .NET:
            XmlDsigC14NTransform t = new XmlDsigC14NTransform();
            t.LoadInput(myDoc);
            Stream s = (Stream)t.GetOutput(typeof(Stream));
            SHA1 sha1 = SHA1.Create();

            byte[] hash = sha1.ComputeHash(s);

Best regards
mBarbiero


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to