Gnostice PDFOne Java
Std. Ed. v2.10


com.gnostice.pdfone
Interface PdfPasswordHandler


public interface PdfPasswordHandler

This interface provides an event that is raised when a password-protected document is being read.

See Also:
PdfEncryption

Method Summary
 String onPassword(PdfDocument d, boolean[] flags)
          Called when a password-protected document is read.
 

Method Detail

onPassword

String onPassword(PdfDocument d,
                  boolean[] flags)
Called when a password-protected document is read. User classes handling this event can return the password to have the document opened with document with restrictions attached to that password.

Parameters:
d - password-protected document that needs to be read
flags -
Returns:
password with which the document needs to be read

Gnostice PDFOne Java
Std. Ed. v2.10

To contact our support team, send an e-mail to support@gnostice.com.
 
© 2008 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com