[
https://issues.apache.org/jira/browse/PDFBOX-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16904013#comment-16904013
]
Tilman Hausherr commented on PDFBOX-4609:
-----------------------------------------
I want to look at the input, not the output.
Please add this sequence on top of {{sign()}}:
{code:java}
byte[] ba = IOUtils.toByteArray(content);
FileOutputStream fos = new FileOutputStream("somepath/debug.data");
fos.write(ba);
fos.close();
content = new ByteArrayInputStream(ba);
{code}
When this works, please attach the produced debug file and the signed PDF to
this issue. This way I can tell whether you passed the correct data to the
signing part.
> At least one signature is invalid
> ----------------------------------
>
> Key: PDFBOX-4609
> URL: https://issues.apache.org/jira/browse/PDFBOX-4609
> Project: PDFBox
> Issue Type: Wish
> Components: .NET
> Affects Versions: 1.8.15
> Reporter: bal
> Priority: Major
> Attachments: keystore.p12
>
>
> I am getting signature is invalid error in the signature panel of pdf after
> pkcs 7 signature insertion. I can see the name of the signer with the signed
> by in signature panel. I am not able to find out disallowed changes pdfbox
> does resulting into invalid pdf by acrobat reader. Is it possible to
> validate the pdf with pdfbox? Thanks in advance.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]