🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.sdk
Article #275

Re: What is the matter of my plugin?

#275
From: PDL
Date: Fri, 13 Mar 2009 05:29
18 lines
1630 bytes

      first i use the sdk of version 7




That's OK. 7 supports everything from 40 - 128 bit RC4 and I believe 128-bit AES as well, but I'd have to verify that. RC4 for sure.

      so,at first i should find a way to solve the decrypt the pdf file,and
      then i can do some other work at that base




Acrobat's internal encryption does not expose raw methods for handling various encryption forms - it only has APIs for using it's own forms of encryption. You will need to choose an open-source encryption library that supports the algorithms you want to provide your users with, or write your own from scratch. Personally I recommend the crypto++ libraries - I have used it with much success in the past, but there are many other great options as well.

For the workflow you are describing, most of your development won't have anything to do with Acrobat. You'll need to do the file recognition and decryption entirely using non-SDK methods and libraries, and how you do this will depend entirely on which crypto library you decide on.
Technical Details
Message-ID: <59b83066.5@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <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.5@webcrossing.la2eafNXanI>
Date: Thu, 12 Mar 2009 22:29:19 -0700
References: <59b83066.-1@webcrossing.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit