Gunnsteinn Hall
5b1b9bd504
PdfObjectArray change to struct and receivers added Elements, Get, Set, Len. Fixes to resulting broken code.
2018-07-15 17:52:53 +00:00
Gunnsteinn Hall
14ee80e1fe
Preserve and allow output of hexadecimal strings
...
Refactored PdfObjectString into a struct with bool flag for hex. Fixed any code broken by the change.
Unexported non-essential functions for crypto (not used by model). Can unexport more later or refactor to internal package.
2018-07-14 02:25:29 +00:00
Gunnsteinn Hall
ad47c116aa
Address core golint recommendations in crypt, io
2017-08-03 15:13:40 +00:00
Gunnsteinn Hall
7f83a4ea2f
Add bounds check in crypt, parser. Avoid division by zero.
2017-07-23 20:20:05 +00:00
Gunnsteinn Hall
3639b5c279
Add check for ID array length
2017-07-23 12:30:21 +00:00
Gunnsteinn Hall
71807ecfa4
Exposed a reader function to check access rights. Fixed incorrect bit name for AccessPermissions (LimitPrintQuality->FullPrintQuality). Fix in owner password authentication. Closes #51 .
2017-07-12 09:48:16 +00:00
Gunnsteinn Hall
10c3be8c95
Change PdfObjectDictionary from map to struct and introduce ordered keys. Syntax change. Fixes all around to accommodate changes. Also fixes in test cases. Closes #56 .
2017-07-08 21:04:13 +00:00
Gunnsteinn Hall
d25fa23fb0
Fix issue with unremoved AES decrypted padding bytes #44
2017-04-24 21:36:07 +00:00
Gunnsteinn Hall
90caacec66
Improved crypto handling for encrypt dicts with references
2017-03-29 15:54:50 +00:00
Gunnsteinn Hall
6516adddc4
Cleaning up logging, more debug -> trace log level
2017-03-02 18:06:32 +00:00
Gunnsteinn Hall
a0a9fa6289
Fix for invalid crypto lengths (given in bits rather than bytes) for compatibility
2016-12-02 22:32:13 +00:00
Gunnsteinn Hall
1564f8ab06
Updates and fixes from master merged in
2016-12-02 15:17:19 +00:00
Gunnsteinn Hall
f358b3e26f
Refactoring in progress
...
Currently compiles with tests, but not fully functional yet.
2016-09-09 15:02:52 +00:00
Gunnsteinn Hall
19fd98d667
Refactoring into core and model. (in process)
...
As the package was growing large, there is a need to clean up. Testing
to refactor into a core (basic pdf parsing and primitive objects) and a
higher level model package.
2016-09-08 17:53:45 +00:00