You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Thomas Chojecki (JIRA)" <ji...@apache.org> on 2013/11/20 19:50:35 UTC
[jira] [Resolved] (PDFBOX-1328) PDSignature should return byte
range as long array
[ https://issues.apache.org/jira/browse/PDFBOX-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Chojecki resolved PDFBOX-1328.
-------------------------------------
Resolution: Later
Assignee: Thomas Chojecki
I took a look at the code and the pdf specification and at the moment it is not possible to fix this issue.
Here is one part from the section 7.3.3 from the specification:
"PDF provides two types of numeric objects: integer and real. Integer objects represent mathematical integers. Real objects represent mathematical real numbers. The range and precision of numbers may be limited by the internal representations used in the computer on which the conforming reader is running"
Currently we interpret the Integer as Java int. So we would need to switch to long to solve this issue. Maybe we will do this later, so the issue will be solved automatically, but at the moment no fix is needed.
> PDSignature should return byte range as long array
> --------------------------------------------------
>
> Key: PDFBOX-1328
> URL: https://issues.apache.org/jira/browse/PDFBOX-1328
> Project: PDFBox
> Issue Type: Improvement
> Components: Parsing
> Affects Versions: 1.7.0
> Reporter: Petras
> Assignee: Thomas Chojecki
>
> Fix for PDFBOX-1196 should be propagated to PDSignature, which should return the byte range, that this signature covers, as long array (currently - int array).
--
This message was sent by Atlassian JIRA
(v6.1#6144)