hi guys,
thx for the tips. I now switched to inherit from
EncodingSerializer.java (in the block/serializers part). This gives me
me more easy access to the flushing behaviour.
I solved the problem for now by putting 25 Newline characters add the
end, because after trying for hours I think I'm in
> 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 metho
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 ciph
>
> Hi Dominique !
>
> > I thought in that direction too, yet the flush() doesn't
> seem to do the
> > trick.
> > I just tried output.flush() before super.endDocument() and
> after, it
> > was called,
> > but I'm having the same problem.
> >
> > On 05/09/06, Bertrand Delacretaz <[EMAIL PRO
Hi Dominique !
I thought in that direction too, yet the flush() doesn't seem to do the
trick.
I just tried output.flush() before super.endDocument() and after, it
was called,
but I'm having the same problem.
On 05/09/06, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:
> On 9/5/06, Dominique
I thought in that direction too, yet the flush() doesn't seem to do the trick.
I just tried output.flush() before super.endDocument() and after, it
was called,
but I'm having the same problem.
On 05/09/06, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:
On 9/5/06, Dominique <[EMAIL PROTECTED]> wr
On 9/5/06, Dominique <[EMAIL PROTECTED]> wrote:
...it does not receive the last 20 bytes...
You're most probably missing a flush() call somewhere, maybe your
CipherOutputStream is not auto-flushing? You can override
endDocument() and do the flush there.
-Bertrand
Hi,
because I need to write XML streams to binary encrypted files, I made
a custom serializer, which replaces the outputStream with a
CipherOutputStream, based on the code of the XMLSerializer. This seems
to work, however, I got a problem:
it does not receive the last 20 bytes. When decrypting th