Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0 - Beta
-
Fix Version/s: 4.0 - Beta, 4.0
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:An encrypted PDF document.
Description
During testing, Mark identified two areas of concern when writing out encrypted pdf documents.
NameNode.decryptIfText(Object) :: line 136
- we create a new StringLiteral when decrypting a name tree node but don't copy the old parent reference neede for encryption.
URIAction.setURI(String) :: line 87
- uri was being saved a java.lang.String stead of StringObject.
NameNode.decryptIfText(Object) :: line 136
- we create a new StringLiteral when decrypting a name tree node but don't copy the old parent reference neede for encryption.
URIAction.setURI(String) :: line 87
- uri was being saved a java.lang.String stead of StringObject.
Issue Links
- blocks
-
PDF-72 PDF incremental updates
-
- Closed
-
Updated the the Literal string class to encrypt and decrypt strings as the algorithm isn't symmetric, for some reason I thought is was.
We are correctly encrypting and decrypting uri actions now but the output is being converted to unicode which is causing problems with reading the saved file.