Hi.. The text that I sign is too sample: <txt Id="txt"><content>abc</content></txt> Without tabs, cr or especial chars.
mBarbiero Em quinta-feira, 17 de janeiro de 2013 15h19min06s UTC-2, Kostya Vasilyev escreveu: > > 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" > <marco.b...@gmail.com<javascript:>> > написал: > >> 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 <marco.b...@gmail.com> >>> 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 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