- Posts: 2
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Submit your requests and polls about new features
Document Open using Stream
IP: 192.168.0.70
13 years 1 week ago #1544
by bororo
Document Open using Stream was created by bororo
I see there are two methods for opening a document
public int Open( String path, String opassword, String upassword )
public int OpenMem( byte[] data, String opassword, String upassword )
it there a chance for you to provide also a method that uses streams instead of a byte[]?
What we are intrested in is having the pdfs stored encrypted (using our own implementation) on the sd card and decrypting them on the fly (without using a temp-decrypted file). The byte[] method could work but since some of our pdfs are 80mb big, i doubt that android phones can hold all that in memory.
public int Open( String path, String opassword, String upassword )
public int OpenMem( byte[] data, String opassword, String upassword )
it there a chance for you to provide also a method that uses streams instead of a byte[]?
What we are intrested in is having the pdfs stored encrypted (using our own implementation) on the sd card and decrypting them on the fly (without using a temp-decrypted file). The byte[] method could work but since some of our pdfs are 80mb big, i doubt that android phones can hold all that in memory.
IP: 192.168.0.70
13 years 1 week ago #1548
by radaee
Replied by radaee on topic Document Open using Stream
i'm thinking.
maybe i need declare a new JAVA interface.
but... how the performance of java decrypting?
maybe i need declare a new JAVA interface.
but... how the performance of java decrypting?
IP: 192.168.0.70
13 years 1 week ago #1549
by bororo
Replied by bororo on topic Document Open using Stream
The performance is an issue i guess but it depends on the actual algorithm and shouldn't bother you. One could just perform a simple xor every x number of bytes (so it;s really a scrambled file) and this will have no impact on the reading if we are talking about streams.
IP: 192.168.0.70
13 years 1 week ago #1560
by ArtiomVIP
Replied by ArtiomVIP on topic Document Open using Stream
Working on the same task, so we're waiting for solution too.
Time to create page: 0.432 seconds