Re: Same text, different Signature with each execution

2013-04-01 Thread Manuel Alejandro Fernandez Casado
Hi Jens. I updated your JUnit with this method: private boolean verify(byte[] clearText, byte[] signature) throws Exception { signer.initVerify(keyPair.getPublic()); signer.update(clearText); return signer.verify(signature); } First argument i pass "Hello World!!!", and second the previ

Re: Same text, different Signature with each execution

2013-04-01 Thread Manuel Alejandro Fernandez Casado
Hi Jens. Thank you so much for your answer. I´ll take a look. El lunes, 1 de abril de 2013 01:50:56 UTC+2, Jens escribió: > > No idea. Only thing I would change is to explicitly use a Charset like > UTF-8 in String.getBytes() and probably inside Base64Utils.toBase64(). As > you only use JRE c

Re: Same text, different Signature with each execution

2013-03-31 Thread Manuel Alejandro Fernandez Casado
Anyone? :-( El sábado, 30 de marzo de 2013 18:27:32 UTC+1, Manuel Alejandro Fernandez Casado escribió: > > Hi. > > I´m using GWT 2.5 and I´m trying to sign a text, that is always the same. > > Code (exceptions ommited): > > public String sign(String text) { > Strin

Same text, different Signature with each execution

2013-03-30 Thread Manuel Alejandro Fernandez Casado
Hi. I´m using GWT 2.5 and I´m trying to sign a text, that is always the same. Code (exceptions ommited): public String sign(String text) { String sign = null; Signature signer = Signature.getInstance("SHA1withRSA"); signer.initSign(privKey); signer.update(text.getBytes()); sign = Base64Utils.t

Re: Tutorial for security in GWT + GAE (Cloud SQL) + Request Factory

2012-12-20 Thread Manuel Alejandro Fernandez Casado
filter. > > regards > ashwin > > On Wednesday, December 19, 2012, Manuel Alejandro Fernandez Casado wrote: > >> Any? :( >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >

Re: Tutorial for security in GWT + GAE (Cloud SQL) + Request Factory

2012-12-18 Thread Manuel Alejandro Fernandez Casado
Any? :( -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/s3sy6jBMjMwJ. To post to this group, send email to google-web-toolkit@googlegroups.com.

Tutorial for security in GWT + GAE (Cloud SQL) + Request Factory

2012-12-18 Thread Manuel Alejandro Fernandez Casado
Hi. I´m searching for information about how to secure an application with GWT + GAE + Request Factory. Again, information is disperse, official documentation is a little incomplete, and best advices comes from experience. My application has next features: - It uses his own users: i mean, t

vendo mi auto - fiat uno modelo 2005

2009-06-18 Thread Alejandro Fernandez
Les paso el link http://www.autofoco.com/detail.aspx?id=685355&utm_source=AF&utm_medium=mail&utm_campaign=AvisoPublicado saludos! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post t

GWT for WAP

2009-05-05 Thread Alejandro Fernandez
Hi: I am in a project about constructing a WAP application with Tomcat (Jboss). Do you know if GWT can help me in this case? Can you suggest me any framework that could help? Regards, Alex --~--~-~--~~~---~--~~ You received this message because you are subscribed