The title says it: I would like to open a PDF on an iOS5 device, set a password on it and save it back using AES256 encryption as described in Adobe’s PDF specifications.
I know that opening and reading PDFs is easy with Core Graphics, but what about saving them/converting them and setting the limitations (no open, no printing, no copying, …)?
The title says it: I would like to open a PDF on an iOS5
Share
Yes, you can create encrypted PDF files using CoreGraphics. The CGPDFContextCreate method lets you specify in auxiliaryInfo parameter the passwords, access rights and key size. Only AllowCopy and AllowPrint access rights are supported. The document will be encrypted using RC4 algorithm, AES128 and AES256 are not supported.