public class StandardDecryptionMaterial extends DecryptionMaterial
PDDocument doc = PDDocument.load(in);
StandardDecryptionMaterial dm = new StandardDecryptionMaterial("password");
doc.openProtection(dm);
| Constructor and Description |
|---|
StandardDecryptionMaterial(java.lang.String pwd)
Create a new standard decryption material with the given password.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPassword()
Returns the password.
|