adultpdf.com Inc


PDF Password Recovery COM/SDK
V3.1
User Manual
(support Server/Client)




Contents

 





Introduction



     The PDF Password Recovery can be used to decrypt protected Adobe Acrobat PDF files, which have "owner" password set, preventing the file from editing (changing), printing, selecting text and graphics (and copying them into the Clipboard), or adding/changing annotations and form fields. Decryption is being done instantly. Decrypted file can be opened in any PDF viewer (e.g. Adobe Acrobat Reader) without any restrictions -- i.e. with edit/copy/print functions enabled. All versions of Adobe Acrobat (including 5.x,6.x,7.x which features 48-bit,128-bit and AES encryption) are supported.


     The standard security provided by PDF consists of two different methods and two different passwords. A PDF document may be protected by password for opening ('user' password) and the document may also specify operations that should be restricted even when the document is decrypted: printing; copying text and graphics out of the document; modifying the document; and adding or modifying text notes and AcroForm fields (using 'owner' password). 







Features










Functions description

Note: 
[SDK] = SDK function name
[COM] = COM function name







[SDK] DecryptPDF 
[COM] DecryptPDFEx

long DecryptPDF (const char *
inFileName, const char *outFileName, const char *OwnerPassword, const char *UserPassword, const char *keywords, const char *subject, const char *title, const char *author, const char *creator )

Description:

It can be used to decrypt protected Adobe Acrobat PDF files.

 

Parameter:

inFileName

Input pdf filename

 

outFileName

Output pdf filename

       

      OwnerPassword

Owner password, it may is NULL

 

      UserPassword

User password, it may is NULL

 

Keywords

Set keywords to the encrypted pdf document, it may is NULL

 

Subject

Set subject to the encrypted pdf document, it may is NULL

 

      Title

Set title to the encrypted pdf document, it may is NULL

 

Author

Set author to the encrypted pdf document, it may is NULL

 

Creator

Set creator to the encrypted pdf document, it may is NULL

 

Remark

If the Keywords ¡¢ Subject ¡¢ Title ¡¢ Author ¡¢ Creator is NULL, the information in the ¡°inFileName¡± will be used.

 

Return value

¡¤        -1: Open input PDF file failed(unrecognized file or the file is not exist).

¡¤        -2: Can't write to the output PDF file.

¡¤        -3: Insufficient memory.

¡¤        -4: File is not encrypted.

¡¤        -6: Password Error

¡¤        1:   Success (Acrobat Standard 40-bit security  )

¡¤        2:   Success (Acrobat Standard 128-bit security )

¡¤        3:   Success (Acrobat Standard AES security )

      

 

 

[SDK] IsPDFFormat
[COM]
IsPDFFormatEx
bool IsPDFFormat(char * inFileName)

 

Description:

It be used to confirmed  whether the format of the file is PDF.

 

Parameter:

inFileName : Input filename

 

Return value:

TRUE if it is successful; otherwise, it is FALSE.

 

 

 

 

[SDK] IsEncryptPDF
[COM]
IsEncryptPDFEx
bool IsEncryptPDF(char * inFileName)    

 

Description:

It be used to confirmed  whether the file is encrypted.

 

Parameter:

inFileName : Input filename

 

Return value£º

TRUE if it is successful; otherwise, it is FALSE.








Example

      

 

SDK examlple:  Please reference folder ¡°example_for_VC¡±,¡°example_for_C#¡±,¡°example_for_VB¡±,
¡°example_for_VB.net¡±,¡°example_for_
CB¡±,¡± example_for_delphi¡±.
COM example(client/server): Please reference folder ¡°example_for_asp¡±,¡°example_for_asp.net¡±,¡°example_for_jsp¡±.
Download address:
http://www.adultpdf.com/products/pwdremover/decryptcoms.zip



for asp example description( COM ):

Steps:
1.Copy the apPDFPasswordRecovery.dll and pdfdecryptcom.dll files to your system32 directory,
for example:
copy apPDFPasswordRecovery.dll c:\windows\system32
copy pdfdecryptcom.dll c:\windows\system32


2.Register the pdfdecryptcom.dll library in your system,
for example:
regsvr32 c:\windows\system32\pdfdecryptcom.dll

3.Put the serverSample.asp file into your IIS directory.
for example:
c:\Inetpub\wwwroot

4.Please create folder "d:\test" and copy the files "encrypt1.pdf", "encrypt2.pdf"
to your "d:\test\" directory.

5.Run the MS IE software, and open the file "http://127.0.0.1/serverSample.asp".

6.The result files are generated in the "d:\test\".




Requirements to system

Windows 98/ME/NT/2000/XP/2003 OS.





Limitations in the trial version


¡¤The trial version can only process the first half of pages in your PDF file
¡¤Popup a message box when open the result pdf file.






Contact

Info page
http://www.adultpdf.com/products/pwdremover/index.html
http://www.adultpdf.com/products/pwdremover/document/help_com.html
Order page

https://www.regnow.com/softsell/nph-softsell.cgi?item=13446-31

https://www.regnow.com/softsell/nph-softsell.cgi?item=13446-32

Main web site (more softwares)
http://www.adultpdf.com





Technical Support

If you have any technical questions, suggests, bug reports, please contact us at support@adultpdf.com
If you have ideas and suggestions on how could improve our software, we would love to hear your thoughts.

 

 

Copyright @ 2008Adultpdf.com Inc. All rights reserved.