Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.encryption

public Class StandardDecryptionMaterial

extends DecryptionMaterial
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
StandardDecryptionMaterial(String
The password.
pwd
)

Create a new standard decryption material with the given password.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The password used to decrypt the document.
getPassword
()

Returns the password.

Field Detail

passwordback to summary
private final String password

Constructor Detail

StandardDecryptionMaterialback to summary
public StandardDecryptionMaterial(String pwd)

Create a new standard decryption material with the given password.

Parameters
pwd:String

The password.

Method Detail

getPasswordback to summary
public String getPassword()

Returns the password.

Returns:String

The password used to decrypt the document.