Package | Description |
---|---|
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.encryption |
The encryption package will handle the PDF document security handlers and the functionality of pluggable security handlers.
|
Modifier and Type | Method and Description |
---|---|
void |
PDDocument.protect(ProtectionPolicy policy)
Protects the document with a protection policy.
|
Modifier and Type | Class and Description |
---|---|
class |
PublicKeyProtectionPolicy
The protection policy to use to protect a document with the public key security handler.
|
class |
StandardProtectionPolicy
The protection policy to add to a document for password-based protection.
|
Modifier and Type | Method and Description |
---|---|
SecurityHandler |
SecurityHandlerFactory.newSecurityHandlerForPolicy(ProtectionPolicy policy)
Returns a new security handler for the given protection policy, or null none is available.
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityHandlerFactory.registerHandler(String name,
Class<? extends SecurityHandler> securityHandler,
Class<? extends ProtectionPolicy> protectionPolicy)
Registers a security handler.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.