Example usage for Java org.apache.pdfbox.pdmodel.encryption StandardProtectionPolicy fields, constructors, methods, implement or subclass
The text is from its open source code.
StandardProtectionPolicy(String ownerPassword, String userPassword, AccessPermission permissions) Creates an new instance of the standard protection policy in order to protect a PDF document with passwords. |
void | setEncryptionKeyLength(int l) set the length in (bits) of the secret key that will be used to encrypt document data. |
void | setPermissions(AccessPermission permissions) Sets the access permissions |