- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Arne
I have not tested the API myself, but I think your code looks correct. Also, the steps you outlined look correct, it appears that you have the corresponding private key installed in the Windows certificate store of the machine that you are trying to view the encrypted PDF with.
Do you have access to Acrobat Pro? If so, I would suggest that you use it to encrypt the PDF (using the same public key that you have been testing with) then test the encrypted to see if it can be opened. This would help determine if the problem is with your code, or with the system used to view the document.
As for your last question, it should not matter that the windows machine is not part of a domain, assuming that the P12 or PFX file in installed on the machine itself ( and not being pulled or accessed from Active Directory, as you have stated that you have no connection to it)
Hope this helps.
Steve