public class PDEncryptionManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static PDEncryptionDictionary |
getEncryptionDictionary(COSDictionary dictionary)
Deprecated.
This will get the correct security handler for the encryption dictionary.
|
static void |
registerSecurityHandler(java.lang.String filterName,
java.lang.Class handlerClass)
Deprecated.
This will allow the user to register new security handlers when unencrypting a
document.
|
public static void registerSecurityHandler(java.lang.String filterName,
java.lang.Class handlerClass)
filterName - As described in the encryption dictionary.handlerClass - A subclass of PDEncryptionDictionary that has a constructor that takes
a COSDictionary.public static PDEncryptionDictionary getEncryptionDictionary(COSDictionary dictionary) throws java.io.IOException
dictionary - The encryption dictionary.java.io.IOException - If a security handler could not be found.