Windows (dot net) and Unix (android) default to different ways to represent line breaks.
Are line breaks in the xml you're signing encoded the same way on both sides? 17.01.2013 20:24 пользователь "mbarbiero" <[email protected]> написал: > Hi Nikolay... > > In the XMLs that I post the DigestValue (SHA1) is the same of the > DigestValue of canonicalized .net. > > I will try to create a program in Java pure to test if problem is in > Android implementation. What you think about? > > Em quinta-feira, 17 de janeiro de 2013 13h25min25s UTC-2, Nikolay Elenkov > escreveu: >> >> On Thu, Jan 17, 2013 at 11:11 PM, mbarbiero <[email protected]> >> wrote: >> > 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. >> >> Not too clear what you are saying here. Is the SHA1 of the canonical form >> of >> the two <SignedInfo>'s the same in both Java and C#? XML you posted above >> suggests otherwise. >> > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

