|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.encryption.PDCryptFilterDictionary
public class PDCryptFilterDictionary
This class is a specialized view of the crypt filter dictionary of a PDF document. It contains a low level dictionary (COSDictionary) and provides the methods to manage its fields.
| Field Summary | |
|---|---|
protected COSDictionary |
cryptFilterDictionary
COS crypt filter dictionary. |
| Constructor Summary | |
|---|---|
PDCryptFilterDictionary()
creates a new empty crypt filter dictionary. |
|
PDCryptFilterDictionary(COSDictionary d)
creates a new crypt filter dictionary from the low level dictionary provided. |
|
| Method Summary | |
|---|---|
COSDictionary |
getCOSDictionary()
This will get the dictionary associated with this crypt filter dictionary. |
COSName |
getCryptFilterMethod()
This will return the crypt filter method. |
int |
getLength()
This will return the Length entry of the crypt filter dictionary. |
void |
setCryptFilterMethod(COSName cfm)
This will set the crypt filter method. |
void |
setLength(int length)
This will set the number of bits to use for the crypt filter algorithm. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected COSDictionary cryptFilterDictionary
| Constructor Detail |
|---|
public PDCryptFilterDictionary()
public PDCryptFilterDictionary(COSDictionary d)
d - the low level dictionary that will be managed by the newly created object| Method Detail |
|---|
public COSDictionary getCOSDictionary()
public void setLength(int length)
length - The new key length.public int getLength()
public void setCryptFilterMethod(COSName cfm)
throws IOException
cfm - name of the crypt filter method.
IOException - If there is an error setting the data.
public COSName getCryptFilterMethod()
throws IOException
IOException - If there is an error accessing the data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||