Simone Giannecchini ha scritto:
> Ciao mj,
> well if the question is if it possible to decrypt a geotiff on the fly
> using the actual GeoTiffReader (2.3.x and above) the answer is yeah
> (ok, I have to check but I am pretty positive :-) ). You would have to
> create your own ImageInputStream outside the reader  using a
> CypherInputStream.
>
> However the point here is not the GeoTiffReader but how ImageIO
> manages stream. It has its own stack of streams implementing the
> ImageInputStream interface, hence the best thing to do would be
> writing a dedicate ImageInputStream that uses the decorator
> pattern (much like FilterInputStream) to decrypt the image on the fly
> with highest performances. Once we are there we could even do the
> converse that is writing an ImageOutputStream that does the opposite.
> If you are interested we can find a way to implement this pretty
> quickly.
>
>
> Regards,
> Simone.
>
>
>
>
> On 11/13/06, mj <[EMAIL PROTECTED]> wrote:
>> Hello,
>> I encrypted a Image with javax.crypto, is possible  pass to the
>> GeoTiffReader a Cipher class to decrypt the image.
>>
>> Thanks
>>
>> Mario
>>
>>
>> ------------------------------------------------------------------------- 
>>
>> Using Tomcat but need to do more? Need to support web services, 
>> security?
>> Get stuff done quickly with pre-integrated technology to make your 
>> job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>
>
Ciao,
yes I am interessed in an ImageInputStream /ImageOutputStream  for teh 
encryption/decryption of images.
How I can contribute to help you?.

Regards

Mario


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to