How to create writable stream from PDF data? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: How to create writable stream from PDF data?

How to create writable stream from PDF data? 4 years 6 months ago #6223

  • Navdeep_rs
  • Navdeep_rs's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Hi,


We need to open AES256 Encrypted pdf in pdfViewer and all of that (decryption part) needs to be done in memory only and after updating(adding annotation etc) the PDF we have to store the updated PDF locally in encrypted form.

Document_openStream() opens filestream, but for that we first have to create a decrypted file and write it on disk.
Document_openMem() opens pdf in readonly mode only.

Can you suggest something here?
Is there any way here so that we can pass AES encrypted stream to viewer with key?
Is there any way we can create writable stream directly from decrypted NSData(dataWithContentsOfFile)?
Please help.

Please Log in or Create an account to join the conversation.

How to create writable stream from PDF data? 4 years 6 months ago #6227

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 847
  • Karma: 43
  • Thank you received: 12
Document_openStream() opens PDFStream object.
so, you can implement your owner PDFStream.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum