| Package | Description |
|---|---|
| org.sejda.sambox.pdmodel | |
| org.sejda.sambox.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 |
|---|---|
SecurityHandler |
PDDocument.getSecurityHandler() |
| Constructor and Description |
|---|
PDDocument(COSDocument document,
SecurityHandler securityHandler)
Constructor that uses an existing document.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PublicKeySecurityHandler
This class implements the public key security handler described in the PDF specification.
|
class |
StandardSecurityHandler
The standard security handler.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityHandler |
PDEncryption.getSecurityHandler()
Returns the security handler specified in the getCOSObject()'s Filter entry.
|
SecurityHandler |
SecurityHandlerFactory.newSecurityHandlerForFilter(String name)
Returns a new security handler for the given Filter name, or null none is available.
|
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 |
PDEncryption.setSecurityHandler(SecurityHandler securityHandler)
Sets the security handler used in this encryption getCOSObject()
|
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityHandlerFactory.registerHandler(String name,
Class<? extends SecurityHandler> securityHandler,
Class<? extends ProtectionPolicy> protectionPolicy)
Registers a security handler.
|
Copyright © 2020 sejda. All rights reserved.