Hi Hoi, There is a problem with that version regarding the data to be signed, when the "Show me the content before signing" option is choosen, the input stream used is flushed out and then the process fails. This issue has been fixed in the upcoming version, you can test the new version using these jar files [1]. We are about to release the new version, we have planned it by the end of this month.
Best regards, [1] http://lab9052.inv.uji.es/~paul/test/v2.1/app/ 2010/12/17 Hoi Yuen Chong <[email protected]> > Hi, > I am using CryptoApplet v2.1.0, with Firefox v3.0.19 and JRE 1.6.0_18 > > I am integrating the CryptoApplet into Orbeon Forms and I have got a good > sample working. > > However, during the signing step, if I choose the option "Show me the > content before signing", > the signing process will fail. If I do not choose this option, then the > signing process will be fine. > > I have attached a screen capture to show you what is display in the preview > before signing. > Looks like there is a "null" before the XML. > > The error shown at the Java console is: > The signature could not be computed:Premature end of file. > > > Thank you for your assistance in this matter. > > Best Regards > HC > > > _______________________________________________ > CryptoApplet mailing list > [email protected] > http://llistes.uji.es/mailman/listinfo/cryptoapplet > > -- Paúl Santapau Nebot http://es.linkedin.com/pub/paul-santapau/4/53a/a99 Twitter: @psantapau
_______________________________________________ CryptoApplet mailing list [email protected] http://llistes.uji.es/mailman/listinfo/cryptoapplet
