> Hi Ard ! > > > Think the flush() and doFinal() things are not the problem > (look at > > the XMLSerializer, Dominique is doing more or less the same) > > Still think so! Made a giant effort and took a look at the doc : > > public void close() : > ... > This method invokes the doFinal method of the encapsulated cipher > object, which causes any bytes buffered by the encapsulated > cipher to be > processed. > ... > > So if we don't call close() on the stream, the necessary > doFinal() will > not be called. As we are not allowed to call close(), maybe it's a > workaround to call doFinal() on the underrlying Cipher object. But > that's a wierd hack ...
Sounds pretty convincing! If only Dominique could post wether it works :-) Ard > > A call to flush() is not sufficient. > > Greetings > > Andreas > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]