Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

How to create writable stream from PDF data? 9 years 11 months ago #6223

  • Navdeep_rs
  • Navdeep_rs's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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? 9 years 11 months ago #6227

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
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