public interface IPassword
External interface used by the PDF library to get possible passwords to open a document. When a PDF document is password protected, the library will call the getPasswords method in the interface to get a list of passwords from the host application. The library then tries to open the document using each of the passwords in the list until one of them (or none) work.
For simple fixed passwords, or when the passwords are from a short list, the
host application should use the implementation provided by the library,
For more complex implementations, the host application can create its own class that implements this interface.