[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bouncycastle-crypto-dev
Subject:    Re: [dev-crypto] Change KeyBasedFileProcessor to handle Streams,
From:       David Hook <dgh () lockboxlabs ! com>
Date:       2009-01-19 20:13:34
Message-ID: 1232396014.6511.46.camel () echidna
[Download RAW message or body]


Have a look at the source and it will probably become more obvious. You
might want to have a look at the pgp tools and their source as well
(they have to do something similar). You can find them at:

http://www.lockboxlabs.org/content/downloads

Regards,

David

On Mon, 2009-01-19 at 16:59 -0200, Leandro Rodrigo Saad Cruz wrote:
> I'd like to change the KeyBasedFileProcessor to encypt/decrypt any
> kind of stream.
> 
> The problem is that I don't know how to replace this call:
> PGPUtil.writeFileToLiteralData(comData.open(bOut),
> PGPLiteralData.BINARY, new File(fileName));
> 
> Any help?
> 
> --
> Leandro Rodrigo Saad Cruz
> software developer - certified scrum master


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic