private boolean hasUserKey() {
return false;
}
public void decrypt(PDFNode value) {
ObjectNode obj = value.getContainingObject();
if (obj == null)
return; // time to go back!
int objId = obj.getId();
int objVer = obj.getVersion();
// take all the strings and decrypt them...
if (value instanceof StringNode) {
StringNode strNode = (StringNode) value;
strNode.setValue(decryptString(strNode.getStringValue(), objId,
objVer));
}
if (value instanceof ObjectNode) {
ObjectNode o = (ObjectNode) value;
decrypt(o.getValue());
}
if (value instanceof DictionaryNode) {
DictionaryNode dict = (DictionaryNode) value;
for (int i = 0; i < dict.size(); i++) {