Java org.apache.pdfbox.pdmodel.encryption StandardProtectionPolicy fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel.encryption StandardProtectionPolicy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel.encryption StandardProtectionPolicy.

The text is from its open source code.

Constructor

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.

Method

voidsetEncryptionKeyLength(int l)
set the length in (bits) of the secret key that will be used to encrypt document data.
voidsetPermissions(AccessPermission permissions)
Sets the access permissions