File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieving ByteArray from encrypted zip file

 
Joshi Sujit
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I am new this forum.

I have to retrieve the bytearray from encrypted zip file. I am using bouncycastle and de.idyl.crypto.zip utility to create the encrypted zip file.
With the help of these utilities i am able to create a encrypted zip file into some temporary location.

Now i wanted to read the encrypted zip file and get the bytearray so that i can send this bytearray to my response object. And user will see the option to save the response bytearray to his location. when user save the response bytearray as a zip file he should be prompted to enter the password when he try to open the zip file.

Currently with lots of googling i am getting the bytearray in response but when i opt the user to save it in a location and try to open it, it is giving me file corrupted message.

I am using flex for UI.

Please help me on this.

Thanks and Regards,
Sujit Joshi
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without more information it's impossible to help. I'd assume the zip file you're creating is malformed.
 
Joshi Sujit
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What information is required. Please do let me know i will post it accordingly :-(
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic