I am creating a C++ plugin where I want to secure and open a PDF file. The plugin will be creating will be a Adobe secured PDF, which only the plugin will be knowing the password to open and modify the security parameters of the PDF. This being the case, The plugin also controls the permissions of the file while opening the document using the VDocPermReqProc permReqProc, I need to modify the following things.
The hint I got from running through the SDK APIs is that I might be able to do this using a different PDCryptHandler instead of the Adobe "standard". Hence needed suggestions / help to achieve the above stated things. A sample usage of registering and using PDCryptHandler would give me a good starting point as how to proceed. Thank you.
Have something to add?