You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Michael Klink (Jira)" <ji...@apache.org> on 2019/09/17 09:15:00 UTC

[jira] [Commented] (PDFBOX-4651) Unexpected byte range values defining scope of signed data. Details: The signature byte range is invalid

    [ https://issues.apache.org/jira/browse/PDFBOX-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931217#comment-16931217 ] 

Michael Klink commented on PDFBOX-4651:
---------------------------------------

{quote}When i add the visual signature appearance in one page everything is working fine.

But when i'm trying to add the visual signature appearance in all the pages i'm getting following error in pdf file. {quote}

That sounds like you're doing something wrong when _trying to add the visual signature appearance in all the pages_.

Actually one can argue that already attempting to do so is the error; ISO 32000-2 after all requires *signature fields shall never refer to more than one annotation.* (There is a way to weasel out of this but that still clearly goes against the intention of the authors of the specification.)

Most likely, though, there also is a bug in your code doing that. But without that code one can hardly analyze it.

> Unexpected byte range values defining scope of signed data. Details: The signature byte range is invalid
> --------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4651
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4651
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Signing
>    Affects Versions: 2.0.10
>            Reporter: Shashidhara
>            Priority: Major
>
> I'm adding visual signature appearance in each page and after that hash i'm getting and sending to different server to get signature, which need to be added in pdf. So basically i'm working on external signature signing.
> When i add the visual signature appearance in one page everything is working fine.
> But when i'm trying to add the visual signature appearance in all the pages i'm getting following error in pdf file. 
> *Unexpected byte range values defining scope of signed data.*
> *Details: The signature byte range is invalid*



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org