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

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

Introduction

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

The text is from its open source code.

Constructor

PublicKeyProtectionPolicy()
Creates a new PublicKeyProtectionPolicy with an empty recipients list.

Method

voidaddRecipient(PublicKeyRecipient recipient)
Adds a new recipient to the recipients list.
voidsetEncryptionKeyLength(int l)
set the length in (bits) of the secret key that will be used to encrypt document data.