| |
|
| java.lang.Object org.pdfbox.pdmodel.encryption.PDEncryptionManager
PDEncryptionManager | public class PDEncryptionManager (Code) | | This class will handle loading of the different security handlers.
See PDF Reference 1.4 section "3.5 Encryption"
author: Ben Litchfield version: $Revision: 1.7 $ |
getEncryptionDictionary | public static PDEncryptionDictionary getEncryptionDictionary(COSDictionary dictionary) throws IOException(Code) | | This will get the correct security handler for the encryption dictionary.
Parameters: dictionary - The encryption dictionary. An implementation of PDEncryptionDictionary(PDStandardEncryption for most cases). throws: IOException - If a security handler could not be found. |
registerSecurityHandler | public static void registerSecurityHandler(String filterName, Class handlerClass)(Code) | | This will allow the user to register new security handlers when unencrypting a
document.
Parameters: filterName - As described in the encryption dictionary. Parameters: handlerClass - A subclass of PDEncryptionDictionary that has a constructor that takesa COSDictionary. |
|
|
|