public class PDCryptFilterDictionary extends Object implements COSObjectable
| Modifier and Type | Field and Description |
|---|---|
protected COSDictionary |
cryptFilterDictionary
COS crypt filter dictionary.
|
| Constructor and Description |
|---|
PDCryptFilterDictionary()
creates a new empty crypt filter dictionary.
|
PDCryptFilterDictionary(COSDictionary d)
creates a new crypt filter dictionary from the low level dictionary provided.
|
| Modifier and Type | Method and Description |
|---|---|
COSDictionary |
getCOSObject()
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.
The length in bits for the crypt filter algorithm. |
boolean |
isEncryptMetaData()
Will get the EncryptMetaData dictionary info.
|
void |
setCryptFilterMethod(COSName cfm)
This will set the crypt filter method.
|
void |
setEncryptMetaData(boolean encryptMetaData)
Set the EncryptMetaData dictionary info.
|
void |
setLength(int length)
This will set the number of bits to use for the crypt filter algorithm.
|
protected COSDictionary cryptFilterDictionary
public PDCryptFilterDictionary()
public PDCryptFilterDictionary(COSDictionary d)
d - the low level dictionary that will be managed by the newly created objectpublic COSDictionary getCOSObject()
getCOSObject in interface COSObjectablepublic void setLength(int length)
length - The new key length.public int getLength()
public void setCryptFilterMethod(COSName cfm)
cfm - name of the crypt filter method.public COSName getCryptFilterMethod()
public boolean isEncryptMetaData()
public void setEncryptMetaData(boolean encryptMetaData)
encryptMetaData - true if EncryptMetaData shall be set.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.