I am using PDFOpenStream to open PDF file in PDF viewer. After modifying pdf i want to save pdf locally in encrypted format. i don't want to use save or saveas method that u provided. How can i extract updated document data in NSData format from PDFDoc class so that i can manually encrypt data and save it. Please reply fast, its urgent.
I have written my own pdf stream class, where i am passing pdf data(nsdata) to create PDFstream and it is working fine, but when i save and get updated data from stream, to write my own file on disk, it seems to be encrypted. How can i get the decrypted data ?
As u mentioned above "save" method will keep encrypt info.