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 | Field and Description |
---|---|
private java.util.Map<java.lang.Class<? extends ProtectionPolicy>,java.lang.Class<? extends SecurityHandler>> |
SecurityHandlerFactory.policyToHandler |
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(java.lang.String name,
java.lang.Class<? extends SecurityHandler> securityHandler,
java.lang.Class<? extends ProtectionPolicy> protectionPolicy)
Registers a security handler.
|