Article View: adobe.acrobat.sdk
Article #273Re: What is the matter of my plugin?
From: PDL
Date: Fri, 13 Mar 2009 04:28
Date: Fri, 13 Mar 2009 04:28
9 lines
1554 bytes
1554 bytes
Sorry, just so that I can clear up what's happening in my head: 1) You have a PDF file that is encrypted with AES by an external application, not using Acrobat's internal AES encryption. 2) You want to write a plug-in that will identify these files, decrypt them, and then read the decrypted stream from memory and open it in the Acrobat viewer. This is certainly possible, but by no means trivial. You would need to write your own handler to identify the encrypted files, decrypt them using your own implementation of AES (there are open-source libraries available you could use) and then write your own ASFileSys to read the unencrypted stream from memory. This begs the question - as of Acrobat 9, 256-bit AES encryption is supported by Acrobat natively. Why not just use the existing functionality? You can even write your own PDCryptHandler interface to it if you want to replace the existing interface, and that is still much less work than you are describing above.
Technical Details
Message-ID:
<59b83066.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b83066.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,4f163afad62834b4 X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: PDL@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Re: What is the matter of my plugin? Message-ID: <59b83066.3@webcrossing.la2eafNXanI> Date: Thu, 12 Mar 2009 21:28:28 -0700 References: <59b83066.-1@webcrossing.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit