Class StandardDecryptionMaterial

java.lang.Object
org.apache.pdfbox.pdmodel.encryption.DecryptionMaterial
org.apache.pdfbox.pdmodel.encryption.StandardDecryptionMaterial

public class StandardDecryptionMaterial extends DecryptionMaterial
Represents the necessary information to decrypt a document protected by the standard security handler (password protection). This is only composed of a password.
Author:
Benoit Guillon
  • Constructor Details

    • StandardDecryptionMaterial

      public StandardDecryptionMaterial(String pwd)
      Create a new standard decryption material with the given password.
      Parameters:
      pwd - The password.
  • Method Details

    • getPassword

      public String getPassword()
      Returns the password.
      Returns:
      The password used to decrypt the document.