|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.encryption.PDEncryptionManager
public class PDEncryptionManager
This class will handle loading of the different security handlers. See PDF Reference 1.4 section "3.5 Encryption"
| Method Summary | |
|---|---|
static PDEncryptionDictionary |
getEncryptionDictionary(COSDictionary dictionary)
Deprecated. This will get the correct security handler for the encryption dictionary. |
static void |
registerSecurityHandler(String filterName,
Class handlerClass)
Deprecated. This will allow the user to register new security handlers when unencrypting a document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerSecurityHandler(String filterName,
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 IOException
dictionary - The encryption dictionary.
IOException - If a security handler could not be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||