org.icepdf.core
Interface SecurityCallback


public interface SecurityCallback

Security callback. An application that uses ICEpdf can provide it with the callback. This will allow the document class to ask an application for security related resources.

Since:
1.1

Method Summary
 java.lang.String requestPassword(Document document)
          This method is called when a security manager needs to receive a password for opening an encrypted PDF document.
 

Method Detail

requestPassword

java.lang.String requestPassword(Document document)
This method is called when a security manager needs to receive a password for opening an encrypted PDF document.

Parameters:
document - document being opened.
Returns:
received password.