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