Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

A

More
IP: 162.223.89.46 6 years 3 months ago - 4 years 5 months ago #14818 by AABBDD
A was created by AABBDD
H
Last edit: 4 years 5 months ago by AABBDD.
More
IP: 111.196.247.231 6 years 3 months ago - 6 years 3 months ago #14819 by radaee
Replied by radaee on topic AES Encryption
Dear user:
PDFAESStream can only open the file that encrypted by PDFAESStream itself. it encrypt each 4096 as block, so support fast random access.

PDFAESStream to create AES encrypted file:
Code:
PDFAESStream stream = new PDFAESStream; stream.Open("file path", key); stream.Write(pdf_data_from_not_encrypted_whole_file); stream.Close();
PDFAESStream to open PDF file:
Code:
PDFAESStream stream = new PDFAESStream; stream.Open("file path", key); Document doc = new Document; doc.OpenStream(stream); //do something... doc.Close(); stream.Close();

PDFAESStream is not standard encrypt method for PDF file.
PDFAESStream just process PDF file as binary data.

the standard encrypt for PDF file is to invoke Document.EncryptAs();
Document.EncryptAs can generate password protected PDF file.
Last edit: 6 years 3 months ago by radaee.
More
IP: 104.237.226.135 6 years 3 months ago - 4 years 5 months ago #14821 by AABBDD
Replied by AABBDD on topic A
s
Last edit: 4 years 5 months ago by AABBDD.
More
IP: 111.196.247.231 6 years 3 months ago #14822 by radaee
Replied by radaee on topic AES Encryption
EncryptAs shall not change page content.
can you attach both origin PDF file and encrypted PDF file?
More
IP: 111.196.247.231 6 years 3 months ago - 6 years 3 months ago #14823 by radaee
Replied by radaee on topic AES Encryption
one more thing:
do not forgot to update to last version, which we fixed AES decryption few days ago.
you shall only need replace nativer libraries, java code no effect on your issue.
Last edit: 6 years 3 months ago by radaee.
More
IP: 104.237.226.135 6 years 3 months ago - 4 years 5 months ago #14824 by AABBDD
Replied by AABBDD on topic A
j
Last edit: 4 years 5 months ago by AABBDD.
Time to create page: 0.448 seconds
Powered by Kunena Forum