Implementation of the IPassword interface that can hold either a single password or a list of passwords. In most cases, the host application should use this class to provide passwords to the library when opening encrypted documents.
|Constructor and Description|
Create an instance of the class that will hold a single fixed password.
Create an instance of the class that will hold a list of possible passwords.
public PDFPassword(String password)
password- The password to use when opening encrypted documents.
public PDFPassword(String pwdList)
pwdList- The list of possible passwords.
public String getPasswords()