public class PDEncryptionManager extends Object
|Modifier and Type||Method and Description|
This will get the correct security handler for the encryption dictionary.
This will allow the user to register new security handlers when unencrypting a document.
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.
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.