public class StandardDecryptionMaterial extends DecryptionMaterial
PDDocument doc = PDDocument.load(in); StandardDecryptionMaterial dm = new StandardDecryptionMaterial("password"); doc.openProtection(dm);
Constructor and Description |
---|
StandardDecryptionMaterial(String pwd)
Create a new standard decryption material with the given password.
|
public StandardDecryptionMaterial(String pwd)
pwd
- The password.public String getPassword()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.